/* ==========================================================================
   AI Headshot Guru — "Studio contact sheet"
   Ink-navy studio, warm backdrop paper, one tungsten flash of orange.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color — raw */
  --ink-950: #0b1320;
  --ink-900: #111b2b;
  --ink-800: #1b2739;
  --ink-700: #2b384c;
  --ink-500: #5a6475;
  --ink-400: #7b8494;
  --paper-50: #fbf9f5;
  --paper-100: #f5f1ea;
  --paper-200: #ece6dc;
  --paper-300: #ddd5c7;
  --flash-500: #ff5b2e;
  --flash-600: #e8461a;
  --flash-100: #ffe7de;
  --teal-600: #0e7f78;
  --teal-100: #d9efec;

  /* Color — semantic roles */
  --bg: var(--paper-100);
  --bg-inverse: var(--ink-950);
  --surface: var(--paper-50);
  --surface-raised: #ffffff;
  --surface-sunken: var(--paper-200);
  --text: var(--ink-950);
  --text-muted: #525c6c;
  --text-subtle: #6b7482;
  --text-inverse: var(--paper-100);
  --text-inverse-muted: #a9b1bd;
  --border: #dcd4c6;
  --border-strong: #c7bdac;
  --border-inverse: rgba(245, 241, 234, 0.14);
  --accent: var(--flash-500);
  --accent-hover: var(--flash-600);
  --accent-soft: var(--flash-100);
  --accent-text: #c23a12; /* AA on paper */
  --brand: var(--teal-600);
  --brand-soft: var(--teal-100);
  --success: #177245;
  --success-soft: #dcefe3;
  --warning: #a35d00;
  --warning-soft: #f8ead0;
  --danger: #b4261a;
  --danger-soft: #f8dcd8;
  --focus: #1c64f2;

  /* Type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-2xs: 0.6875rem; /* 11 */
  --fs-xs: 0.75rem; /* 12 */
  --fs-sm: 0.875rem; /* 14 */
  --fs-base: 1rem; /* 16 */
  --fs-md: 1.125rem; /* 18 */
  --fs-lg: 1.375rem; /* 22 */
  --fs-xl: 1.75rem; /* 28 */
  --fs-2xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
  --fs-4xl: clamp(2.9rem, 1.5rem + 4.6vw, 5.4rem);
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --tracking-caps: 0.12em;

  /* Space (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;

  /* Shape */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 19, 32, 0.06), 0 1px 1px rgba(11, 19, 32, 0.04);
  --shadow-2: 0 2px 4px rgba(11, 19, 32, 0.04), 0 8px 24px -6px rgba(11, 19, 32, 0.14);
  --shadow-3: 0 4px 8px rgba(11, 19, 32, 0.05), 0 24px 48px -12px rgba(11, 19, 32, 0.28);
  --shadow-print: 0 1px 1px rgba(11, 19, 32, 0.08), 0 14px 30px -14px rgba(11, 19, 32, 0.45);
  --ring: 0 0 0 3px var(--paper-50), 0 0 0 5px var(--focus);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 120ms;
  --dur-2: 220ms;
  --dur-3: 420ms;
  --dur-4: 720ms;
  --dur-5: 1200ms;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Film grain over everything — subtle, fixed, never intercepts input */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
/* Default icon size; components override where needed */
svg[class^="i-"] { width: 1.15em; height: 1.15em; flex: none; }
.h-4 > svg[class^="i-"] { display: inline-block; vertical-align: -0.2em; margin-right: 6px; color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
::selection { background: var(--flash-500); color: #fff; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink-950); color: var(--paper-100); padding: 10px 16px; border-radius: var(--r-sm); transition: top var(--dur-2) var(--ease-out); }
.skip-link:focus { top: 12px; }
.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; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.tabular { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- 3. Typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: var(--lh-tight); }
.display em, .display i { font-style: italic; }
.h-hero { font-size: var(--fs-4xl); }
.h-1 { font-size: var(--fs-3xl); }
.h-2 { font-size: var(--fs-2xl); line-height: 1.06; }
.h-3 { font-size: var(--fs-xl); line-height: 1.15; }
.h-4 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; line-height: var(--lh-snug); }
.lede { font-size: var(--fs-md); color: var(--text-muted); max-width: 56ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mono { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; }
.caps { text-transform: uppercase; letter-spacing: var(--tracking-caps); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--ink-950);
  --btn-fg: var(--paper-100);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), color var(--dur-2);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg.i-arrow-right, .btn:hover svg.i-arrow-up-right { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: var(--dur-1); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-flash { --btn-bg: var(--flash-500); --btn-fg: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(232, 70, 26, 0.7); }
.btn-flash:hover { --btn-bg: var(--flash-600); }
.btn-ink:hover { --btn-bg: var(--ink-800); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn-ghost:hover { --btn-bg: var(--surface-raised); --btn-bd: var(--ink-950); }
.btn-paper { --btn-bg: var(--paper-100); --btn-fg: var(--ink-950); }
.btn-paper:hover { --btn-bg: #fff; }
.btn-ghost-inverse { --btn-bg: transparent; --btn-fg: var(--paper-100); --btn-bd: var(--border-inverse); }
.btn-ghost-inverse:hover { --btn-bd: var(--paper-100); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.btn .spinner { width: 18px; height: 18px; }
.link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); }
.link:hover { text-decoration-color: var(--accent); }

/* ---------- 5. Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), backdrop-filter var(--dur-3); }
.nav.is-scrolled { background: rgba(245, 241, 234, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; gap: var(--s-5); height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.03em; }
.logo-mark { width: 30px; height: 30px; }
.logo b { font-weight: 800; }
.logo span { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.32em; letter-spacing: -0.01em; line-height: 1; color: var(--accent-text); margin-left: -3px; }
.nav-links { display: flex; gap: 4px; margin-left: var(--s-5); }
.nav-links a { text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); padding: 8px 12px; border-radius: var(--r-pill); transition: color var(--dur-2), background-color var(--dur-2); }
.nav-links a:hover { color: var(--text); background: rgba(11, 19, 32, 0.05); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.nav-toggle { display: none; }
.nav-sheet { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-actions .hide-m { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-sheet { display: block; position: fixed; inset: 72px 0 auto 0; background: var(--paper-100); border-bottom: 1px solid var(--border); padding: var(--s-4) var(--gutter) var(--s-5); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all var(--dur-2) var(--ease-out); box-shadow: var(--shadow-2); }
  .nav-sheet.open { transform: none; opacity: 1; visibility: visible; }
  .nav-sheet a:not(.btn) { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; font-size: var(--fs-md); border-bottom: 1px solid var(--border); }
  .nav-sheet .btn { margin-top: var(--s-4); }
}

.user-chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-950); color: var(--paper-100); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; }

/* ---------- 6. Reveal motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
.view-enter { animation: viewIn var(--dur-3) var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: clamp(24px, 5vw, 64px) 0 var(--s-9); overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 40%;
  height: 900px;
  background: radial-gradient(closest-side, rgba(255, 91, 46, 0.14), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(14, 127, 120, 0.12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: var(--s-5) 0 var(--s-5); }
.hero h1 em { color: var(--accent-text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item strong { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-item span { font-size: var(--fs-sm); color: var(--text-muted); }
.stars { display: inline-flex; gap: 2px; color: var(--brand); }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* Contact sheet collage */
.sheet { position: relative; max-width: 540px; margin-left: auto; width: 100%; padding: 28px 0 44px 13%; }
.sheet-board { position: relative; background: var(--ink-950); border-radius: var(--r-md); padding: 18px 18px 40px; box-shadow: var(--shadow-3); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.sheet-board::after { content: "AI HEADSHOT GURU · ROLL 01 · PORTRAIT 400 · AI DEVELOPED"; position: absolute; left: 18px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: #6d7788; }
.sheet-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--ink-800); }
.sheet-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.sheet-frame.keeper { z-index: 2; }
.sheet-frame .fno { position: absolute; left: 6px; bottom: 4px; font-family: var(--font-mono); font-size: 9px; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.08em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.sheet-circle { position: absolute; inset: -12% -14%; pointer-events: none; overflow: visible; }
.sheet-circle path { fill: none; stroke: var(--flash-500); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.in .sheet-circle path, .sheet-circle.in path { animation: draw 1.1s var(--ease-in-out) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.polaroid { position: absolute; left: 0; bottom: 0; width: 38%; background: #fff; padding: 8px 8px 30px; border-radius: 3px; box-shadow: var(--shadow-3); transform: rotate(-6deg); z-index: 2; }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(0.85) contrast(0.92) brightness(1.03); }
.polaroid figcaption { position: absolute; left: 10px; right: 10px; bottom: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-500); display: flex; justify-content: space-between; }
.tag-keeper { position: absolute; z-index: 3; right: -12px; top: 0; white-space: nowrap; background: var(--paper-50); border-radius: var(--r-pill); padding: 8px 14px 8px 10px; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow-2); font-size: var(--fs-sm); font-weight: 700; }
.tag-keeper .score { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--success); background: var(--success-soft); padding: 2px 8px; border-radius: var(--r-pill); }
.arrow-doodle { position: absolute; left: 22%; bottom: 36%; width: 20%; z-index: 3; color: var(--ink-950); transform: rotate(-8deg); }

/* ---------- 8. Sections ---------- */
.section { padding: var(--s-9) 0; position: relative; }
.section-tight { padding: var(--s-8) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: end; margin-bottom: var(--s-7); }
.section-head .lede { justify-self: end; }
.inverse { background: var(--bg-inverse); color: var(--text-inverse); }
.inverse .muted, .inverse .lede { color: var(--text-inverse-muted); }
.inverse .eyebrow { color: var(--text-inverse-muted); }
.inverse ::selection { background: var(--paper-100); color: var(--ink-950); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; }
.stat .lbl { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }

/* Steps */
.steps { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); }
.steps-sticky { position: sticky; top: 120px; align-self: start; }
.step-list { list-style: none; counter-reset: step; }
.step-item { display: grid; grid-template-columns: 76px 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--border); }
.step-item:last-child { border-bottom: 1px solid var(--border); }
.step-no { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.9; color: var(--accent-text); font-style: italic; }
.step-item h3 { margin-bottom: var(--s-2); }
.step-item p { color: var(--text-muted); max-width: 52ch; }
.step-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
.chip svg { width: 14px; height: 14px; }

/* Style strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: var(--s-4); overflow-x: auto; padding: 4px var(--gutter) var(--s-5); scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: var(--gutter); }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.strip-card { scroll-snap-align: start; }
.print { position: relative; background: #fff; padding: 8px 8px 0; border-radius: var(--r-xs); box-shadow: var(--shadow-print); }
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; }
.print-cap { display: flex; justify-content: space-between; gap: 8px; padding: 10px 2px 10px; font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 0.06em; color: var(--ink-500); text-transform: uppercase; }
.print-cap b { color: var(--ink-950); font-weight: 500; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.compare-col { padding: var(--s-6); }
.compare-col + .compare-col { background: var(--ink-950); color: var(--paper-100); }
.compare-col h3 { margin-bottom: var(--s-5); }
.compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 14px 0; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.compare-col + .compare-col .compare-row { border-color: var(--border-inverse); }
.compare-row dt { color: var(--text-muted); }
.compare-col + .compare-col .compare-row dt { color: var(--text-inverse-muted); }
.compare-row dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.compare-row dd.hi { color: #ff8a66; }

/* Retoucher showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: center; }
.feature-list { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); align-items: start; }
.feature-list .ficon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 241, 234, 0.08); color: var(--paper-100); }
.feature-list .ficon svg { width: 18px; height: 18px; }
.feature-list b { display: block; font-weight: 700; }
.feature-list span { color: var(--text-inverse-muted); font-size: var(--fs-sm); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-5); }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.quote blockquote { margin: 0; }
.quote-lg blockquote { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.12; letter-spacing: -0.01em; }
.quote-sm blockquote { font-size: var(--fs-md); font-weight: 500; line-height: 1.5; }
.quote-stack { display: grid; gap: var(--s-5); }
.quote-by { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.quote-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-by b { display: block; font-size: var(--fs-sm); }
.quote-by span { font-size: var(--fs-xs); color: var(--text-muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan-pop { background: var(--ink-950); color: var(--paper-100); border-color: var(--ink-950); box-shadow: var(--shadow-3); }
.plan-pop .muted { color: var(--text-inverse-muted); }
.plan-badge { position: absolute; top: -12px; left: var(--s-6); background: var(--flash-500); color: #fff; font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-family: var(--font-display); font-size: 4rem; line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.plan-feats { list-style: none; display: grid; gap: 10px; font-size: var(--fs-sm); }
.plan-feats li { display: flex; gap: 10px; align-items: center; }
.plan-feats svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.plan-pop .plan-feats svg { color: #5fd3c7; }
.plan .btn { margin-top: auto; }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--s-6); color: var(--text-muted); font-size: var(--fs-sm); text-align: center; }
.guarantee svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.teams { margin-top: var(--s-7); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid #bfe0db; }
.teams .t-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); }
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; font-weight: 700; font-size: var(--fs-md); min-height: 48px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur-3) var(--ease-out); color: var(--text-muted); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 var(--s-5); color: var(--text-muted); max-width: 62ch; }

/* Final CTA + footer */
.cta-band { border-radius: var(--r-xl); padding: clamp(32px, 6vw, 80px); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 91, 46, 0.35), transparent 50%), radial-gradient(90% 120% at 0% 100%, rgba(14, 127, 120, 0.35), transparent 55%), var(--ink-950); color: var(--paper-100); display: grid; grid-template-columns: 1.3fr auto; gap: var(--s-6); align-items: end; overflow: hidden; position: relative; }
.footer { padding: var(--s-8) 0 var(--s-6); color: var(--text-muted); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--border); }
.footer h4 { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text); margin-bottom: var(--s-3); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-5); }

/* ---------- 9. Forms & auth ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-form-wrap { display: flex; flex-direction: column; padding: var(--s-5) var(--gutter); }
.auth-form { width: 100%; max-width: 400px; margin: auto; padding: var(--s-7) 0; }
.auth-form h1 { margin: var(--s-4) 0 var(--s-2); }
.auth-side { position: relative; background: var(--ink-950); color: var(--paper-100); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-7); }
.auth-mosaic { position: absolute; inset: -10% -20% auto -10%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; transform: rotate(-8deg); opacity: 0.9; }
.auth-mosaic img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; width: 100%; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 19, 32, 0) 20%, rgba(11, 19, 32, 0.9) 60%, var(--ink-950) 80%); z-index: 1; }
.auth-side > *:not(.auth-mosaic) { position: relative; z-index: 2; }
.form { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.input-wrap { position: relative; }
.input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  font-size: var(--fs-base);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.input::placeholder { color: #8a92a0; }
.input:hover { border-color: var(--ink-400); }
.input:focus { outline: none; border-color: var(--ink-950); box-shadow: 0 0 0 4px rgba(11, 19, 32, 0.1); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 38, 26, 0.1); }
.input-wrap .reveal { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--text-muted); border-radius: var(--r-sm); }
.input-wrap .reveal svg { width: 18px; height: 18px; }
.field-error { font-size: var(--fs-sm); color: var(--danger); display: flex; gap: 6px; align-items: center; }
.field-error svg { width: 14px; height: 14px; }
.field-hint { font-size: var(--fs-xs); color: var(--text-subtle); }
.form-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger); font-size: var(--fs-sm); font-weight: 600; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.demo-box { margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--r-md); border: 1px dashed var(--border-strong); font-size: var(--fs-sm); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.divider { display: flex; align-items: center; gap: var(--s-3); color: var(--text-subtle); font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- 10. App shell ---------- */
.app-main { padding-block: var(--s-6) var(--s-9); min-height: calc(100dvh - 72px); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-6); }
.banner { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); border: 1px solid; font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.banner svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.banner b { display: block; font-size: var(--fs-base); }
.banner code { font-family: var(--font-mono); font-size: 0.85em; background: rgba(11, 19, 32, 0.06); padding: 1px 6px; border-radius: 4px; }
.banner-warn { background: var(--warning-soft); border-color: #ecd3a6; color: #6b3d00; }
.banner-danger { background: var(--danger-soft); border-color: #f0bbb4; color: #7d1a11; }
.banner-info { background: var(--surface); border-color: var(--border); color: var(--text); }
.banner .btn { margin-left: auto; }

/* Shoot cards */
.shoots { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }
.shoot-card { grid-column: span 4; display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-2); }
.shoot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.shoot-card:first-child { grid-column: span 8; grid-row: span 2; }
.shoot-cover { position: relative; aspect-ratio: 16 / 10; background: var(--ink-900); overflow: hidden; }
.shoot-card:first-child .shoot-cover { aspect-ratio: auto; flex: 1; min-height: 320px; }
.shoot-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform var(--dur-5) var(--ease-out); }
.shoot-card:hover .shoot-cover img { transform: scale(1.03); }
.shoot-cover .badge-row { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.shoot-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-3); }
.shoot-body h3 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; }
.shoot-card:first-child .shoot-body h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); }
.new-card { grid-column: span 4; display: grid; place-items: center; text-align: center; gap: var(--s-3); padding: var(--s-6); border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg); text-decoration: none; color: var(--text-muted); min-height: 220px; transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2); }
.new-card:hover { border-color: var(--ink-950); color: var(--text); background: var(--surface); }
.new-card .plus { width: 52px; height: 52px; border-radius: 50%; background: var(--ink-950); color: var(--paper-100); display: grid; place-items: center; margin: 0 auto; transition: transform var(--dur-3) var(--ease-spring); }
.new-card:hover .plus { transform: rotate(90deg); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); background: rgba(251, 249, 245, 0.92); color: var(--ink-950); backdrop-filter: blur(6px); }
.badge svg { width: 12px; height: 12px; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warn { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-live { background: var(--flash-500); color: #fff; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s var(--ease-in-out) infinite; }
.badge-ink { background: var(--ink-950); color: var(--paper-100); }
@keyframes pulse { 50% { opacity: 0.3; } }

.empty { text-align: center; padding: var(--s-9) var(--s-5); border: 1.5px dashed var(--border-strong); border-radius: var(--r-xl); }
.empty .display { margin: var(--s-5) 0 var(--s-3); }
.empty .lede { margin: 0 auto var(--s-6); }
.empty-art { display: flex; justify-content: center; }
.empty-art .print { width: 110px; }
.empty-art .print:nth-child(1) { transform: rotate(-8deg) translateX(18px); }
.empty-art .print:nth-child(2) { z-index: 1; transform: translateY(-8px); }
.empty-art .print:nth-child(3) { transform: rotate(8deg) translateX(-18px); }

/* ---------- 11. Studio (shoot flow) ---------- */
.stepper { display: flex; gap: 0; list-style: none; margin: 0 0 var(--s-7); border-top: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { flex: 1; min-width: 120px; padding: 14px 0 0; position: relative; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.stepper li::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: transparent; transition: background-color var(--dur-3); }
.stepper li b { display: block; font-family: var(--font-body); font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; font-weight: 700; margin-top: 2px; color: var(--text-subtle); }
.stepper li.done { color: var(--text-muted); }
.stepper li.done::before { background: var(--ink-950); }
.stepper li.done b { color: var(--text-muted); }
.stepper li.current { color: var(--accent-text); }
.stepper li.current::before { background: var(--flash-500); }
.stepper li.current b { color: var(--text); }

.studio-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-7); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); }
.panel-ink { background: var(--ink-950); color: var(--paper-100); border-color: var(--ink-950); }
.panel h3 { margin-bottom: var(--s-3); }

.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: var(--s-3); min-height: 300px; padding: var(--s-6); border-radius: var(--r-lg); border: 1.5px dashed var(--border-strong); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(11, 19, 32, 0.018) 14px 28px), var(--surface); cursor: pointer; transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-3) var(--ease-out); }
.dropzone:hover { border-color: var(--ink-950); }
.dropzone.drag { border-color: var(--flash-500); background: var(--accent-soft); transform: scale(1.01); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--ink-950); color: var(--paper-100); display: grid; place-items: center; margin: 0 auto; }
.dz-icon svg { width: 28px; height: 28px; }
.dz-compact { min-height: 0; padding: var(--s-4); grid-template-columns: auto 1fr; text-align: left; place-items: center start; }
.dz-compact .dz-icon { width: 44px; height: 44px; border-radius: 14px; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--s-3); margin-top: var(--s-5); }
.thumb { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-sunken); animation: popIn var(--dur-3) var(--ease-spring) both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .rm { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; background: rgba(11, 19, 32, 0.72); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.thumb .rm:hover { background: var(--danger); transform: scale(1.06); }
.thumb .rm svg { width: 16px; height: 16px; }
.thumb .idx { position: absolute; left: 6px; bottom: 5px; font-family: var(--font-mono); font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
@keyframes popIn { from { opacity: 0; transform: scale(0.92); } }

.add-more { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: var(--s-5); align-items: center; }
.add-more .h-4 > svg { color: var(--accent-text); }
.dropzone.busy { pointer-events: none; opacity: 0.7; }
.rm-photo { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(11, 19, 32, 0.72); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; transition: background-color var(--dur-2); }
.rm-photo:hover { background: var(--danger); }
.rm-photo svg { width: 16px; height: 16px; }
.rm-inline { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-subtle); display: grid; place-items: center; cursor: pointer; transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2); }
.rm-inline:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }
.rm-inline svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .add-more { grid-template-columns: 1fr; } }
.guide { list-style: none; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.guide li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.guide .gi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.guide .gi svg { width: 15px; height: 15px; }
.gi-yes { background: var(--success-soft); color: var(--success); }
.gi-no { background: var(--danger-soft); color: var(--danger); }
.guide b { display: block; }
.guide span { color: var(--text-muted); }

.actions-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--border); }

/* Photo check */
.verdict { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center; padding: var(--s-6); border-radius: var(--r-xl); background: var(--ink-950); color: var(--paper-100); position: relative; overflow: hidden; }
.verdict::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, var(--verdict-glow, rgba(95, 211, 199, 0.28)), transparent); pointer-events: none; }
.verdict .muted { color: var(--text-inverse-muted); }
.ring { --size: 132px; --val: 0; --col: #5fd3c7; position: relative; width: var(--size); height: var(--size); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: rgba(245, 241, 234, 0.12); }
.ring .bar { stroke: var(--col); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--val) / 100); transition: stroke-dashoffset 1.4s var(--ease-out); }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .val strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.ring .val span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-inverse-muted); }
.ring-light .track { stroke: var(--paper-200); }
.ring-light .val span { color: var(--text-muted); }

.photo-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.pcheck { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 124px 1fr; animation: rise var(--dur-4) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.pcheck.skip { background: var(--paper-200); }
.pcheck-img { position: relative; }
.pcheck-img img { width: 100%; height: 100%; object-fit: cover; }
.pcheck.skip .pcheck-img img { filter: grayscale(1) contrast(0.9); opacity: 0.7; }
.pcheck-body { padding: var(--s-3) var(--s-4); display: grid; gap: var(--s-2); }
.pcheck-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcheck-score { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.meters { display: grid; gap: 5px; }
.meter { display: grid; grid-template-columns: 78px 1fr 18px; gap: 8px; align-items: center; font-size: var(--fs-2xs); color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.02em; }
.meter-track { height: 5px; background: var(--paper-200); border-radius: 3px; overflow: hidden; }
.meter-fill { height: 100%; width: calc(var(--v) * 10%); background: var(--mcol, var(--ink-950)); border-radius: 3px; transform-origin: left; animation: grow 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.meter b { text-align: right; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.issues { display: flex; flex-wrap: wrap; gap: 4px; }
.issue { font-size: var(--fs-2xs); font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); background: var(--warning-soft); color: var(--warning); }
.tips { list-style: none; display: grid; gap: var(--s-3); }
.tips li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: var(--fs-sm); }
.tips li svg { width: 18px; height: 18px; color: var(--accent-text); margin-top: 2px; }

/* Scanning skeleton */
.scan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); }
.scan { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--ink-900); }
.scan img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: grayscale(0.6); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 36%; top: -36%; background: linear-gradient(180deg, transparent, rgba(255, 91, 46, 0.35) 80%, rgba(255, 170, 140, 0.95) 99%, transparent); animation: scan 2.2s var(--ease-in-out) infinite; animation-delay: calc(var(--i, 0) * 180ms); }
.scan .corners { position: absolute; inset: 14%; border: 0; background:
  linear-gradient(#fff, #fff) left top / 18px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 18px no-repeat,
  linear-gradient(#fff, #fff) right top / 18px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 18px no-repeat,
  linear-gradient(#fff, #fff) left bottom / 18px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 18px no-repeat,
  linear-gradient(#fff, #fff) right bottom / 18px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 18px no-repeat; opacity: 0.85; }
@keyframes scan { to { top: 100%; } }
.scan.idle::after { display: none; }
.scan.idle img { opacity: 0.9; filter: none; }
.status-line { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; margin-bottom: var(--s-5); }
.skel { background: linear-gradient(90deg, var(--paper-200) 0%, var(--paper-100) 50%, var(--paper-200) 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--r-sm); }
.skel-line { height: 12px; margin: 8px 0; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.spinner { width: 20px; height: 20px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Looks */
.look-builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); align-items: start; }
.opt-group + .opt-group { margin-top: var(--s-6); }
.opt-group h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-4); }
.backdrops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.opt { position: relative; min-width: 0; grid-template-columns: minmax(0, 1fr); text-align: left; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface-raised); padding: 8px; cursor: pointer; transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); display: grid; gap: 8px; }
.opt:hover { border-color: var(--ink-400); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--ink-950); box-shadow: 0 0 0 1px var(--ink-950); }
.opt .sw { aspect-ratio: 16 / 10; border-radius: 6px; }
.opt .opt-name { font-weight: 700; font-size: var(--fs-sm); }
.opt .opt-sub { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }
.opt .tick { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-950); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform var(--dur-3) var(--ease-spring); }
.opt .tick svg { width: 14px; height: 14px; }
.opt[aria-pressed="true"] .tick { transform: scale(1); }
.opt:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.outfits { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill-opt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--surface-raised); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2); }
.pill-opt:hover { border-color: var(--ink-400); }
.pill-opt[aria-pressed="true"] { background: var(--ink-950); color: var(--paper-100); border-color: var(--ink-950); }
.pill-opt .swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.look-summary { position: sticky; top: 96px; }
.look-slots { list-style: none; display: grid; gap: var(--s-2); margin: var(--s-4) 0; }
.look-slot { display: grid; grid-template-columns: 52px 1fr auto; gap: var(--s-3); align-items: center; padding: 8px; border-radius: var(--r-md); background: rgba(245, 241, 234, 0.06); border: 1px solid var(--border-inverse); animation: popIn var(--dur-3) var(--ease-spring) both; }
.look-slot img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.look-slot b { display: block; font-size: var(--fs-sm); }
.look-slot span { font-size: var(--fs-xs); color: var(--text-inverse-muted); }
.look-slot button { background: none; border: 0; color: var(--text-inverse-muted); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.look-slot button:hover { color: #fff; background: rgba(245, 241, 234, 0.08); }
.look-slot button svg { width: 16px; height: 16px; }
.look-slot.empty-slot { border-style: dashed; grid-template-columns: 1fr; min-height: 70px; place-items: center; color: var(--text-inverse-muted); font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; animation: none; }
.tally { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s-4) 0; border-top: 1px solid var(--border-inverse); margin-top: var(--s-2); }
.tally strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* Develop (generation) */
.develop-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-5); }
.progress { height: 6px; background: var(--paper-200); border-radius: 3px; overflow: hidden; margin-bottom: var(--s-6); }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--ink-950), var(--flash-500)); border-radius: 3px; transition: width var(--dur-4) var(--ease-out); }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); background: var(--ink-950); padding: var(--s-4); border-radius: var(--r-lg); }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--ink-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; animation: develop 1.6s var(--ease-out) both; }
@keyframes develop { from { filter: blur(14px) sepia(0.9) brightness(0.5) contrast(1.3); transform: scale(1.04); } to { filter: none; transform: none; } }
.frame .fcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(11, 19, 32, 0.85)); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 6px; }
.frame.pending { background: linear-gradient(110deg, var(--ink-800) 30%, #243149 50%, var(--ink-800) 70%); background-size: 250% 100%; animation: shimmer 2.4s linear infinite; }
.frame.rendering::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 42%, rgba(255, 91, 46, 0.45), transparent 70%); animation: glow 2.2s var(--ease-in-out) infinite alternate; }
.frame.rendering .silhouette, .frame.pending .silhouette { position: absolute; inset: 22% 18% 0; opacity: 0.18; color: var(--paper-100); }
@keyframes glow { from { opacity: 0.35; transform: scale(0.95); } to { opacity: 1; transform: scale(1.05); } }
.frame.error { display: grid; place-items: center; text-align: center; padding: var(--s-3); color: #ffb4a3; background: #2a1a1f; font-size: var(--fs-xs); }
.frame.error svg { width: 22px; height: 22px; margin: 0 auto 6px; }
.frame-state { position: absolute; top: 8px; left: 8px; }

/* Proofs (results) */
.proof-hero { display: grid; grid-template-columns: minmax(0, 0.95fr) 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: var(--s-8); }
.best-print { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.best-print .print { padding: 12px 12px 0; transform: rotate(-1.5deg); }
.best-print .print img { cursor: zoom-in; }
.best-print .sheet-circle { inset: -6% -9% -2%; }
.best-print .sheet-circle path { stroke-width: 2.6; }
.best-tag { position: absolute; top: -14px; right: -10px; z-index: 2; background: var(--flash-500); color: #fff; font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; padding: 8px 12px; border-radius: var(--r-pill); display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 8px 20px -8px rgba(232, 70, 26, 0.8); transform: rotate(4deg); }
.best-tag svg { width: 12px; height: 12px; }
.proof-hero h1 { margin: var(--s-4) 0 var(--s-4); }
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--s-6) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.scoreboard > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; }
.scoreboard > div + div { padding-left: var(--s-4); border-left: 1px solid var(--border); }
.scoreboard strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.scoreboard span { font-size: var(--fs-xs); color: var(--text-muted); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 84px 1fr 34px; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.bar-row .meter-track { height: 6px; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--border); background: transparent; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 8px; transition: all var(--dur-2); }
.filter:hover { border-color: var(--ink-400); }
.filter[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--paper-100); }
.filter .n { font-family: var(--font-mono); font-size: var(--fs-2xs); opacity: 0.7; }

.proofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); margin-top: var(--s-5); }
.proof { position: relative; animation: rise var(--dur-4) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.proof .print { transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.proof:hover .print { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-3); }
.proof button.open { all: unset; display: block; cursor: zoom-in; border-radius: 1px; }
.proof button.open:focus-visible { box-shadow: var(--ring); }
.proof .score-badge { position: absolute; top: 16px; right: 16px; }
.proof.is-best .print { outline: 2px solid var(--flash-500); outline-offset: 3px; }
.proof-note { font-size: var(--fs-xs); color: var(--text-muted); padding: 0 2px 12px; line-height: 1.45; min-height: 3.4em; }
.proof-actions { display: flex; align-items: center; min-height: 40px; padding: 0 0 8px; margin-top: -4px; }
.pick-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-xs); font-weight: 700; color: var(--text-muted); cursor: pointer; transition: border-color var(--dur-2), color var(--dur-2), background-color var(--dur-2); }
.pick-btn:hover { border-color: var(--flash-500); color: var(--accent-text); background: var(--accent-soft); }
.pick-btn svg, .pick-label svg { width: 14px; height: 14px; }
.pick-label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--accent-text); padding: 0 4px; }
.score-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; background: rgba(251, 249, 245, 0.94); box-shadow: var(--shadow-1); font-variant-numeric: tabular-nums; }
.score-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.g-keeper { --c: var(--success); }
.g-solid { --c: var(--warning); }
.g-retake { --c: var(--danger); }

.refs { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.refs img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1080px, 100vw - 24px); width: 100%; max-height: calc(100dvh - 24px); color: var(--paper-100); overflow: visible; }
dialog.lightbox::backdrop { background: rgba(8, 12, 20, 0.86); backdrop-filter: blur(6px); animation: fade var(--dur-3) var(--ease-out); }
dialog.lightbox[open] { animation: zoomIn var(--dur-3) var(--ease-out); }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.96); } }
@keyframes fade { from { opacity: 0; } }
.lb { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); background: var(--ink-950); border-radius: var(--r-lg); overflow: hidden; max-height: calc(100dvh - 24px); }
.lb-img { background: #05080e; display: grid; place-items: center; min-height: 0; }
.lb-img img { max-height: calc(100dvh - 24px); width: 100%; object-fit: contain; }
.lb-side { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); overflow-y: auto; }
.lb-side .meter-track { background: rgba(245, 241, 234, 0.12); }
.lb-side .bar-row b { color: var(--paper-100); }
.lb-close { position: absolute; top: -8px; right: -8px; z-index: 2; }
.lb-nav { display: flex; gap: var(--s-2); margin-top: auto; }

/* Toasts */
.toasts { position: fixed; z-index: 150; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink-950); color: var(--paper-100); box-shadow: var(--shadow-3); font-size: var(--fs-sm); animation: toastIn var(--dur-3) var(--ease-spring) both; }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.toast.error svg { color: #ff8a73; }
.toast.success svg { color: #6fdca8; }
.toast.out { animation: toastOut var(--dur-2) var(--ease-out) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

.disclaimer { font-size: var(--fs-xs); color: var(--text-subtle); display: flex; gap: 6px; align-items: flex-start; }
.disclaimer svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

.loading-page { display: grid; gap: var(--s-4); padding-top: var(--s-6); }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1080px) {
  .proofs { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .look-builder { grid-template-columns: minmax(0, 1fr); }
  .look-summary { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .steps, .showcase, .faq, .section-head, .quotes, .studio-grid, .proof-hero, .auth, .cta-band { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .steps-sticky { position: static; }
  .sheet { margin: var(--s-4) auto 0; max-width: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-pop { order: -1; }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .auth-side { display: none; }
  .shoot-card, .shoot-card:first-child, .new-card { grid-column: span 12; grid-row: auto; }
  .shoot-card:first-child .shoot-cover { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .teams { flex-direction: column; align-items: flex-start; }
  .lb { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-img img { max-height: 62dvh; }
  .best-print { max-width: 340px; }
}
@media (max-width: 640px) {
  .section { padding: var(--s-8) 0; }
  .proofs { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .proof-note { display: none; }
  .proof .print-cap span { display: none; }
  .contact { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
  .backdrops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verdict { grid-template-columns: 1fr; padding: var(--s-5); }
  .ring { --size: 112px; }
  .pcheck { grid-template-columns: 92px 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-proof { gap: var(--s-4); }
  .step-item { grid-template-columns: 52px 1fr; gap: var(--s-3); }
  .step-no { font-size: 2.6rem; }
  .scoreboard strong { font-size: 2rem; }
  .actions-bar .btn { flex: 1 1 auto; }
  .page-head .btn { width: 100%; }
  .print-cap { font-size: 9px; }
  .quote-lg blockquote { font-size: var(--fs-xl); }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .sheet-circle path { stroke-dashoffset: 0; }
  .scan::after { display: none; }
}
