/* A Piper's Tale — site styles (no build step required) */
:root {
  --paper: #f9f8f6;
  --white: #ffffff;
  --stone-950: #0c0a09; --stone-900: #1c1917; --stone-800: #292524; --stone-700: #44403c;
  --stone-600: #57534e; --stone-500: #78716c; --stone-400: #a8a29e; --stone-300: #d6d3d1;
  --stone-200: #e7e5e4; --stone-100: #f5f5f4; --stone-50: #fafaf9;
  --em-950: #022c22; --em-900: #064e3b; --em-800: #065f46; --em-700: #047857;
  --em-600: #059669; --em-500: #10b981; --em-400: #34d399; --em-200: #a7f3d0;
  --em-100: #d1fae5; --em-50: #ecfdf5;
  --amber-900: #78350f; --amber-600: #d97706; --amber-500: #f59e0b; --amber-100: #fef3c7; --amber-50: #fffbeb;
  --red-50: #fef2f2; --red-200: #fecaca; --red-700: #b91c1c;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 80rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--em-950); -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) { .page { scroll-behavior: auto !important; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { overscroll-behavior: none; margin: 0; font-family: var(--sans); color: var(--stone-800); background: transparent; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--em-200); color: var(--em-900); }
:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: var(--stone-900); padding: .75rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Page scroller ----------
   The home page scrolls inside .page rather than the browser window. The window itself
   never scrolls, so it can't rubber-band / stretch and expose anything behind the page
   (iOS Safari and macOS trackpads ignore overscroll settings on the window). */
html.has-page, html.has-page body { height: 100%; overflow: hidden; }
.page {
  position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: none; -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth; background: var(--paper); outline: none;
}
.page.no-scroll { overflow: hidden; }

/* ---------- Background photo: fixed, but clipped to each dark band ----------
   Each .band clips its own fixed photo layer, so the photo can never show
   outside the bands (e.g. when the page is over-scrolled). */
.band-photo {
  position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100lvh; z-index: 0;
  background: #0c0a09 url('images/hero-mobile.webp') center / cover no-repeat;
  pointer-events: none;
}
@media (min-width: 768px) { .band-photo { background-image: url('images/hero-desktop.webp'); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .875rem; font-weight: 600; letter-spacing: .03em; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--em-700); color: #fff; box-shadow: 0 10px 15px -3px rgba(6,78,59,.5); }
.btn-primary:hover { background: var(--em-600); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { width: 100%; background: var(--em-900); color: var(--stone-50); font-weight: 700; }
.btn-dark:hover { background: var(--em-950); }
.btn-dark[disabled] { opacity: .6; cursor: wait; }
.btn-caps { text-transform: uppercase; letter-spacing: .12em; padding: .75rem 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: var(--sbw, 0px); z-index: 50;
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.site-header.is-solid { background: rgba(12,10,9,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 25px -5px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 6rem; transition: height .3s; }
.site-header.is-solid .header-inner { height: 5rem; }
.logo img { height: 3rem; width: auto; }
.nav { display: none; gap: 2rem; align-items: center; }
.nav a { color: var(--stone-300); text-decoration: none; font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.nav a:hover { color: #fff; }
.menu-toggle { background: none; border: 0; color: #fff; padding: .5rem; display: inline-flex; }
.mobile-nav { display: none; background: rgba(12,10,9,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.5rem; }
.mobile-nav.is-open { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav a { color: var(--stone-300); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; font-weight: 500; }
.mobile-nav .btn { margin-top: .5rem; color: #fff; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Dark photo bands ---------- */
.band { position: relative; overflow: hidden; color: var(--stone-300); background: #0c0a09; clip-path: inset(0); }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(12,10,9,.8); z-index: 1; pointer-events: none; }
.band > *:not(.band-photo) { position: relative; z-index: 2; }
.band--hero::after { background: rgba(12,10,9,.72); }
.band--deep::after { background: rgba(12,10,9,.86); }

.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 8rem 0 4rem; text-align: center; }
.hero-inner { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--em-400); }
.eyebrow::before, .eyebrow::after { content: ''; height: 1px; width: 3rem; background: var(--em-500); }
.hero h1 { color: #fff; font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--em-400); }
.hero .lede { font-size: 1.125rem; color: var(--stone-300); max-width: 42rem; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-note { margin-top: 1.5rem; font-size: .875rem; color: var(--stone-400); }

/* ---------- Light sections ---------- */
.section { background: var(--paper); padding: 5rem 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }
.section-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: 2.25rem; color: var(--stone-900); margin-bottom: 1.5rem; }
.section-head p { font-size: 1.125rem; color: var(--stone-600); }
[id] { scroll-margin-top: 6rem; }

.band-head { text-align: center; margin-bottom: 4rem; }
.band-head h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .band-head h2::before, .band-head h2::after { content: ''; height: 1px; width: 4rem; background: var(--em-700); } }
.band-head p { font-size: 1.125rem; font-weight: 300; max-width: 48rem; margin: 0 auto; }

/* ---------- Portfolio ---------- */
.stories { max-width: 72rem; }
/* Horizontal swipe rows on phones (gallery + process); normal grids from 768px */
.snap-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 -1rem; padding: .25rem 1rem 1rem; scroll-padding: 0 1rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  list-style: none;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .snap-row { grid-auto-columns: 22rem; margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; scroll-padding: 0 1.5rem; } }
@media (min-width: 768px) {
  .snap-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0 auto; padding: 0; gap: 1.5rem; }
}
.snap-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.snap-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 999px; background: var(--stone-300); transition: background-color .2s, width .2s; }
.snap-dots button[aria-current="true"] { background: var(--em-700); width: 1.5rem; }
.snap-dots--dark button { background: rgba(255,255,255,.3); }
.snap-dots--dark button[aria-current="true"] { background: var(--em-500); }
@media (min-width: 768px) { .snap-dots { display: none; } }
.story { background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; flex-direction: column; transition: box-shadow .2s; }
.story:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.story-cover { position: relative; min-height: 17rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--stone-200); flex-grow: 1; }
@media (min-width: 640px) { .story-cover { min-height: 23.75rem; padding: 2rem; } }
.story-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-cover::after { content: ''; position: absolute; inset: 0; background: rgba(28,25,23,.65); transition: background-color .5s; }
.story:hover .story-cover::after { background: rgba(28,25,23,.5); }
.story-cover > *:not(img) { position: relative; z-index: 1; }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 1rem; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--em-50); background: rgba(6,78,59,.85); border: 1px solid rgba(4,120,87,.5); padding: .25rem .5rem; border-radius: var(--radius); }
.story-quote { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.2rem; line-height: 1.6; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.story-body { padding: 1.5rem; }
.story-body h3 { font-weight: 600; color: var(--stone-900); font-size: 1.25rem; }
.story-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.play-btn { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--stone-100); color: var(--stone-700); transition: background-color .2s, color .2s, transform .2s; }
.play-btn:hover { background: var(--em-800); color: var(--stone-50); }
.play-btn[aria-pressed="true"] { background: var(--em-900); color: var(--stone-50); transform: scale(1.05); box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); }
.play-btn svg { width: 18px; height: 18px; }
.play-btn .i-pause { display: none; }
.play-btn[aria-pressed="true"] .i-play { display: none; }
.play-btn[aria-pressed="true"] .i-pause { display: block; }
.play-btn .i-play { margin-left: 3px; }
.link-btn { background: none; border: 0; padding: .25rem 0; display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--em-700); }
.link-btn:hover { color: var(--em-900); }
.link-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.link-btn:hover svg { transform: translateX(3px); }
.portfolio-more { text-align: center; margin-top: 2.5rem; color: var(--stone-600); }
.portfolio-more a { color: var(--em-700); font-weight: 600; }

/* ---------- Story dialog ---------- */
dialog.story-dialog { border: 0; padding: 0; width: min(42rem, calc(100% - 2rem)); max-height: 90vh; background: var(--paper); border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); color: var(--stone-800); }
dialog.story-dialog[open] { display: flex; flex-direction: column; }
dialog.story-dialog::backdrop { background: rgba(12,10,9,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2rem; height: 2rem; border-radius: 999px; border: 0; background: rgba(231,229,228,.7); color: var(--stone-600); display: inline-flex; align-items: center; justify-content: center; }
.dialog-close:hover { background: var(--stone-300); color: var(--stone-900); }
.dialog-body { padding: 2rem; overflow-y: auto; }
@media (min-width: 640px) { .dialog-body { padding: 3rem; } }
.dialog-kicker { display: block; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--em-700); margin-bottom: .5rem; }
.dialog-body h3 { font-size: clamp(1.875rem, 5vw, 2.25rem); color: var(--stone-900); margin-bottom: 1.5rem; padding-right: 2rem; }
.dialog-body p { font-size: 1.125rem; font-weight: 300; color: var(--stone-600); line-height: 1.7; }
.dialog-foot { border-top: 1px solid var(--stone-200); background: var(--stone-50); padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .dialog-foot { padding: 1.5rem 3rem; } }
.dialog-foot .play-btn { width: 2.5rem; height: 2.5rem; background: var(--stone-200); }
.dialog-foot .play-btn svg { width: 14px; height: 14px; }
.duration { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--stone-500); font-weight: 500; margin-left: 1rem; }
.btn-outline { border: 1px solid var(--stone-300); background: transparent; color: var(--stone-700); padding: .625rem 1.5rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: var(--radius); }
.btn-outline:hover { background: var(--stone-200); }

/* ---------- Mini player ---------- */
.mini-player { position: fixed; right: calc(1rem + var(--sbw, 0px)); bottom: 1rem; z-index: 60; min-width: 17.5rem; max-width: calc(100% - 2rem); background: rgba(28,25,23,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); padding: .75rem; display: flex; align-items: center; gap: 1rem; transform: translateY(5rem); opacity: 0; pointer-events: none; transition: transform .4s, opacity .4s; }
.mini-player.is-visible { transform: none; opacity: 1; pointer-events: auto; }
@media (min-width: 640px) { .mini-player { right: calc(2rem + var(--sbw, 0px)); bottom: 2rem; max-width: 24rem; } }
.mini-icon { width: 2.5rem; height: 2.5rem; background: var(--em-800); color: var(--em-100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-text { flex: 1; min-width: 0; background: none; border: 0; text-align: left; padding: 0; color: inherit; }
.mini-status { display: block; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--em-400); }
.mini-title { display: block; font-family: var(--serif); color: #fff; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-progress { height: 2px; background: rgba(255,255,255,.12); margin-top: .4rem; border-radius: 2px; overflow: hidden; }
.mini-progress span { display: block; height: 100%; width: 0; background: var(--em-400); }
.mini-player .play-btn { width: 2.5rem; height: 2.5rem; background: #fff; color: var(--em-900); transform: none; box-shadow: none; }
.mini-player .play-btn:hover { background: var(--em-50); }
.mini-player .play-btn svg { width: 16px; height: 16px; }
.mini-close { width: 2rem; height: 2rem; background: none; border: 0; color: var(--stone-400); display: inline-flex; align-items: center; justify-content: center; }
.mini-close:hover { color: #fff; }

/* ---------- Process ---------- */
.process { padding: 6rem 0; min-height: 70vh; display: flex; align-items: center; }
.steps { max-width: 72rem; }
@media (min-width: 768px) { .steps { gap: 2rem; } }
.step { background: rgba(28,25,23,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; padding: 2rem; text-align: center; }
.step-num { width: 4rem; height: 4rem; margin: 0 auto 2rem; border-radius: 999px; background: var(--em-800); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; box-shadow: 0 10px 15px -3px rgba(6,78,59,.5); }
.step h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.step p { font-size: .875rem; font-weight: 300; line-height: 1.7; }

/* ---------- Commission widget ---------- */
.commission { max-width: 48rem; margin: 0 auto; background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgba(231,229,228,.6); overflow: hidden; }
.commission-head { background: var(--em-950); padding: 1.5rem; text-align: center; }
.commission-head h2 { color: var(--amber-50); font-size: 1.5rem; }
.commission-head p { color: var(--em-400); font-size: .875rem; margin-top: .25rem; }
.tabs { display: flex; border-bottom: 1px solid var(--stone-200); background: var(--stone-50); }
.tab { flex: 1; position: relative; padding: 1rem .5rem; border: 0; background: transparent; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--stone-500); transition: color .2s, background-color .2s; }
.tab:hover { color: var(--stone-700); background: var(--stone-100); }
.tab[aria-selected="true"] { color: var(--em-900); background: #fff; }
.tab[aria-selected="true"]::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--amber-600); }
.tab small { display: block; font-weight: 500; letter-spacing: .02em; text-transform: none; margin-top: .15rem; font-size: .75rem; }
.panel { padding: 2rem; }
@media (min-width: 640px) { .panel { padding: 2.5rem; } }
.panel-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.panel-top h3 { font-size: 1.25rem; color: var(--stone-900); }
.price { font-family: var(--serif); font-size: 1.875rem; color: var(--em-900); white-space: nowrap; }
.price small { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; color: var(--stone-500); }
.panel-desc { color: var(--stone-600); font-size: .9375rem; margin-bottom: 2rem; }
.panel-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--stone-100); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--stone-800); }
.panel-facts span { display: inline-flex; align-items: center; gap: .5rem; }
.panel-facts svg { color: var(--amber-600); width: 16px; height: 16px; }
.features { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1rem; font-size: .9375rem; }
.features li { display: flex; gap: .75rem; align-items: flex-start; color: var(--stone-700); }
.features svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; color: var(--em-600); }
.features li.no { color: var(--stone-400); }
.features li.no span { text-decoration: line-through; }
.features li.no svg { color: var(--stone-300); }
.panel-note { text-align: center; font-size: .8125rem; color: var(--stone-500); margin-top: 1rem; line-height: 1.7; }
.panel-note a { color: var(--em-700); }
.addons { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--amber-50); border: 1px solid var(--amber-100); border-radius: var(--radius); font-size: .875rem; color: var(--stone-700); }
.addons strong { color: var(--amber-900); font-family: var(--serif); font-weight: 600; font-size: 1rem; display: block; margin-bottom: .35rem; }

/* ---------- Form ---------- */
.brief-form { padding: 2rem; }
@media (min-width: 640px) { .brief-form { padding: 2.5rem; } }
.back-btn { background: none; border: 0; padding: 0; margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--em-700); }
.back-btn:hover { color: var(--em-800); }
.form-summary { background: var(--em-50); border: 1px solid var(--em-100); padding: .875rem 1rem; border-radius: var(--radius); font-size: .875rem; color: var(--em-900); margin-bottom: 2rem; }
.fields { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .fields .half { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.fields .half { display: grid; gap: 1.5rem; }
.field label, .field legend { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--stone-700); margin-bottom: .5rem; padding: 0; }
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--stone-500); }
.field .hint { font-size: .8125rem; color: var(--stone-500); margin-top: .4rem; }
.field input[type=text], .field input[type=email], .field input[type=date], .field select, .field textarea {
  width: 100%; border: 1px solid var(--stone-300); background: var(--stone-50); color: var(--stone-800); font: inherit; font-size: .9375rem; border-radius: var(--radius); padding: .75rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--em-700); box-shadow: 0 0 0 1px var(--em-700); }
.field select:disabled { background: var(--stone-200); color: var(--stone-500); cursor: not-allowed; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: var(--stone-700); cursor: pointer; }
.check input { margin-top: .3rem; width: 1rem; height: 1rem; accent-color: var(--em-700); flex-shrink: 0; }
.notice { padding: 1rem; border-radius: var(--radius); font-size: .875rem; }
.notice--warn { background: var(--amber-50); border: 1px solid var(--amber-100); color: var(--amber-900); }
.notice--error { background: var(--red-50); border: 1px solid var(--red-200); color: var(--red-700); font-weight: 500; margin-bottom: 1.5rem; }
.notice a { color: inherit; font-weight: 600; }
.counter { float: right; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--stone-400); }
.turnstile-box { display: flex; justify-content: center; margin-bottom: .75rem; min-height: 65px; }
.turnstile-msg { text-align: center; font-size: .8125rem; color: var(--red-700); margin-bottom: 1rem; }
.turnstile-msg a { color: inherit; font-weight: 600; }
.check-hint { font-size: .8125rem; color: var(--stone-500); margin: -.75rem 0 0 1.75rem; }
.form-fine { text-align: center; font-size: .75rem; color: var(--stone-500); margin-top: 1rem; }
.form-fine a { color: var(--em-700); }
[hidden] { display: none !important; }

/* ---------- Credentials ---------- */
.creds { padding: 6rem 0; }
.creds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
@media (min-width: 768px) { .creds-grid { grid-template-columns: repeat(4, 1fr); } }
.cred { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cred svg { width: 40px; height: 40px; color: var(--amber-500); margin-bottom: 1rem; }
.cred strong { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; }
.cred span { font-size: .875rem; color: var(--stone-400); margin-top: .25rem; }
@media (min-width: 1024px) { .cred strong { font-size: 1rem; } }

/* ---------- Immortalise ---------- */
.lead-copy { max-width: 56rem; margin: 0 auto 4rem; text-align: center; }
.lead-copy h2 { font-size: 2.25rem; color: var(--stone-900); margin-bottom: 1.5rem; }
.lead-copy p { font-size: 1.125rem; color: var(--stone-600); margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .lead-copy p { font-size: 1.25rem; } }
.duo { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .duo { grid-template-columns: 1fr 1fr; } }
.card { padding: 2rem; border-radius: var(--radius); }
.card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.card--green { background: rgba(236,253,245,.6); border: 1px solid rgba(209,250,229,.8); }
.card--green h3 { color: var(--em-900); }
.card--amber { background: rgba(255,251,235,.6); border: 1px solid rgba(254,243,199,.8); }
.card--amber h3 { color: var(--amber-900); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; color: var(--stone-700); }
.ticks li { display: flex; gap: .75rem; }
.ticks svg { width: 20px; height: 20px; color: var(--em-600); flex-shrink: 0; margin-top: .15rem; }
.deliverables { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; color: var(--stone-700); }
.deliverables strong { display: block; color: var(--stone-900); margin-bottom: .25rem; }
.deliverables em { font-style: normal; font-size: .8125rem; color: var(--stone-500); }

/* ---------- About ---------- */
.about { padding: 6rem 0; min-height: 80vh; display: flex; align-items: center; }
.about-grid { display: grid; gap: 3rem; max-width: 72rem; margin: 0 auto; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 1023px) { .about-photo { max-width: 26rem; margin: 0 auto; aspect-ratio: 4 / 3; } }
.about h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; }
.about h2::after { content: ''; height: 1px; width: 4rem; background: var(--em-700); }
.about-copy { display: grid; gap: 1.5rem; font-size: 1.0625rem; font-weight: 300; line-height: 1.75; }
.about-copy blockquote { margin: .5rem 0; padding-left: 1.5rem; border-left: 2px solid var(--em-700); font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.5rem); color: #fff; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--stone-200); }
.faq details:first-of-type { border-top: 1px solid var(--stone-200); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-family: var(--serif); font-size: 1.125rem; color: var(--stone-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--em-700); }
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 0 1.5rem; color: var(--stone-600); display: grid; gap: .75rem; }
.faq .answer a { color: var(--em-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--em-950); color: rgba(209,250,229,.7); padding: 4rem 0; border-top: 1px solid var(--em-900); position: relative; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer img { height: 3rem; width: auto; margin-bottom: 1.5rem; }
.site-footer p { font-size: .875rem; max-width: 24rem; }
.site-footer h4 { color: #fff; font-size: 1.125rem; margin-bottom: 1.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: .875rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.footer-base { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(6,78,59,.6); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-base div { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
@media (min-width: 768px) { .footer-base { flex-direction: row; } }

/* ---------- Simple pages (track, terms) ---------- */
.simple-body { background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.simple-nav { background: var(--stone-950); padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.simple-nav .wrap { display: flex; justify-content: space-between; align-items: center; }
.simple-nav img { height: 2.5rem; width: auto; }
.simple-nav a.back { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--stone-400); text-decoration: none; }
.simple-nav a.back:hover { color: #fff; }
.simple-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.simple-foot { padding: 2rem; text-align: center; font-size: .625rem; color: var(--stone-500); text-transform: uppercase; letter-spacing: .12em; }

.status-card { max-width: 36rem; width: 100%; background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgba(0,0,0,.15); overflow: hidden; }
.status-head { background: var(--em-950); padding: 2rem; text-align: center; }
.status-head h1 { color: var(--amber-50); font-size: 1.875rem; margin-bottom: .5rem; }
.status-head p { color: var(--em-400); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; word-break: break-all; }
.status-body { padding: 2rem; }
@media (min-width: 640px) { .status-body { padding: 2.5rem; } }
.progress { position: relative; display: flex; justify-content: space-between; margin-bottom: 3rem; list-style: none; padding: 0; }
.progress::before { content: ''; position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; height: 2px; background: var(--stone-100); }
.progress-fill { position: absolute; z-index: 1; top: 1.25rem; left: 1.25rem; height: 2px; background: var(--em-600); width: 0; transition: width 1s; }
.progress li { z-index: 2; }
.progress li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 4.5rem; text-align: center; }
.progress .dot { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--stone-200); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.progress li.done .dot { background: var(--em-700); }
.progress li span:last-child { font-size: .625rem; font-weight: 700; text-transform: uppercase; color: var(--stone-500); letter-spacing: .02em; line-height: 1.3; }
.status-text { text-align: center; }
.status-text h2 { font-size: 1.5rem; color: var(--stone-900); margin-bottom: 1rem; }
.status-text p { color: var(--stone-600); font-size: .9375rem; max-width: 22rem; margin: 0 auto; }
.status-action { margin-top: 2.5rem; }
.status-action p { font-size: .625rem; text-align: center; margin-top: .75rem; color: var(--stone-500); text-transform: uppercase; letter-spacing: .12em; }

.legal { max-width: 46rem; margin: 0 auto; padding: 4rem 1rem 5rem; }
.legal h1 { font-size: 2.5rem; color: var(--stone-900); margin-bottom: .5rem; }
.legal .updated { color: var(--stone-500); font-size: .875rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.5rem; color: var(--stone-900); margin: 2.5rem 0 1rem; }
.legal p, .legal li { color: var(--stone-700); margin-bottom: .75rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--em-700); }

/* Flex-centred bands: keep the inner wrapper at full width so swipe rows can't widen it */
.process > .wrap, .about > .wrap, .creds > .wrap { width: 100%; min-width: 0; }

/* Commission widget on the dark photo band */
.commission-band { padding: 6rem 0; }
@media (min-width: 1024px) { .commission-band { padding: 8rem 0; } }
.commission-band .commission { box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); border: 0; }

/* Crafting process on the light background */
.process--light { min-height: 0; display: block; }
.process--light .band-head h2 { color: var(--stone-900); }
.process--light .band-head p { color: var(--stone-600); font-weight: 400; }
.process--light .step { background: #fff; border: 1px solid var(--stone-200); box-shadow: 0 1px 2px rgba(0,0,0,.05); backdrop-filter: none; -webkit-backdrop-filter: none; }
.process--light .step h3 { color: var(--stone-900); }
.process--light .step p { color: var(--stone-600); font-weight: 400; }
