/* Roomanise - the company website.
   One stylesheet for every page. Colours, type and spacing are tokens on :root;
   sections switch to the dark palette with .is-dark. */

:root {
  --ink: #1a1814;
  --ink-2: #23201b;
  --ink-3: #34302a;
  --paper: #f4efe6;
  --paper-2: #ebe3d5;
  --card: #fbf8f2;
  --sand: #e2d8c7;
  --stone: #a1978a;
  --muted: #6c6458;
  --clay: #b4572f;
  --clay-2: #c8673c;
  --clay-soft: #e7b593;
  --line: rgba(26, 24, 20, .14);
  --line-2: rgba(26, 24, 20, .08);

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --rule: var(--line);
  --accent: var(--clay);

  /* headings: Newsreader, a classic editorial serif; Fraunces only for the "roomanise" wordmark */
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-brand: "Fraunces", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-hero: clamp(3.1rem, 1.1rem + 7.6vw, 9.2rem);
  --fs-h1: clamp(2.8rem, 1rem + 6vw, 7.4rem);
  --fs-h2: clamp(2.3rem, 1.1rem + 3.9vw, 5.2rem);
  --fs-h3: clamp(1.45rem, 1.05rem + 1.1vw, 2.1rem);
  --fs-lead: clamp(1.12rem, 1rem + .45vw, 1.38rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;

  --gutter: clamp(20px, 4.2vw, 56px);
  --container: 1360px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;

  --mk-a: var(--ink);
  --mk-b: var(--sand);
  --mk-c: var(--clay);
}

.is-dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-2: #b3aa9c;
  --rule: rgba(244, 239, 230, .16);
  --accent: var(--clay-2);
  --mk-a: var(--paper);
  --mk-b: #4a453c;
  --mk-c: var(--clay-2);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* paper grain over everything, very faint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: calc(1680px + var(--gutter) * 2); }

/* ---------- type ---------- */
.display, h1, h2, .h2 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50;
  font-weight: 360;
  letter-spacing: -.022em;
  line-height: .98;
}
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 50;
  font-weight: 400;
  font-size: var(--fs-h3);
  letter-spacing: -.02em;
  line-height: 1.08;
}
/* emphasis is the same upright face in clay - no slanted swash letters */
em, .em { font-style: normal; color: var(--accent); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-2, var(--muted)); max-width: 36ch; }
.muted { color: var(--fg-2, var(--muted)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-2, var(--muted)); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }

/* split-text lines: each line is a mask that the words rise through */
/* the masks lines rise through: tall enough below the line for g, y, p and q tails */
.split-line, .split-l-mask { display: block; overflow: clip; padding-bottom: .28em; margin-bottom: -.28em; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper); --b-hover: var(--clay);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 550; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--b-hover);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--clay { --b-bg: var(--clay); --b-fg: #fff8f0; --b-hover: var(--ink); }
.is-dark .btn--clay { --b-hover: var(--paper); }
.is-dark .btn--clay:hover { color: var(--ink); }
.btn--line { --b-bg: transparent; --b-fg: var(--fg, var(--ink)); --b-hover: var(--fg, var(--ink)); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--line:hover { color: var(--bg, var(--paper)); box-shadow: inset 0 0 0 1px transparent; }
.btn--sm { height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { height: 64px; padding: 0 34px; font-size: 1.06rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 550;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  transition: transform .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(244, 239, 230, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-2); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 23px; height: 30px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) translateY(-1px); }
.brand-word {
  font-family: var(--f-brand); font-size: 1.62rem; line-height: 1; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144, "SOFT" 60; font-weight: 400; transform: translateY(-1px);
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink);
  transition: background-color .3s var(--ease);
}
.nav a:hover { background: rgba(26, 24, 20, .06); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--clay); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: 1.08; letter-spacing: -.025em;
  padding: 6px 0; border-bottom: 1px solid var(--line-2);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .18s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .24s; }
.menu-foot { display: flex; flex-direction: column; gap: 16px; }
.menu-open { overflow: hidden; }

/* ---------- page curtain (between pages) ---------- */
.curtain { position: fixed; inset: 0; z-index: 120; pointer-events: none; display: grid; place-items: center; background: var(--ink); transform: scaleY(0); transform-origin: bottom; }
.curtain svg { width: 40px; height: 52px; opacity: 0; --mk-a: var(--paper); --mk-b: #4a453c; --mk-c: var(--clay-2); }
html.is-arriving .curtain { transform-origin: top; animation: curtain-out .95s cubic-bezier(.76, 0, .24, 1) .12s both; }
html.is-arriving .curtain svg { animation: mark-out .45s ease .05s both; }
@keyframes curtain-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes mark-out { from { opacity: 1; } to { opacity: 0; } }

/* ---------- reveal on scroll (JS adds .is-in; without JS everything shows) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(40px, 9vh, 96px)) 0 0; position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.hero-drawing { margin: 0 0 -6px; width: clamp(320px, 31vw, 470px); --iso-top: #fbf8f2; --iso-front: #ece5d8; --iso-side: #e2d8c7; }
.hero-drawing figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 550; }
.hero-drawing figcaption .mono { font-size: .74rem; font-weight: 400; color: var(--muted); letter-spacing: .06em; }
.iso { width: 100%; height: auto; overflow: visible; }
.iso-f { stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; }
.iso-d { stroke: var(--ink); stroke-width: .8; opacity: .5; fill: none; }
.iso-ext { stroke: var(--clay); stroke-width: .8; stroke-dasharray: 3 3; fill: none; opacity: .7; }
.iso-dim { stroke: var(--clay); stroke-width: 1.2; fill: none; }
.iso-dot { fill: var(--clay); }
.iso-label rect { fill: var(--paper); stroke: var(--clay); stroke-width: 1; }
.iso-label text { font: 500 11px var(--f-mono); fill: var(--clay); letter-spacing: .04em; }
/* drawn in, line by line (JS sets --i and adds .is-drawing) */
.js .iso.is-ready .iso-f, .js .iso.is-ready .iso-d, .js .iso.is-ready .iso-dim { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .iso.is-ready .iso-f { fill-opacity: 0; }
.js .iso.is-ready .iso-ext, .js .iso.is-ready .iso-dot, .js .iso.is-ready .iso-label { opacity: 0; }
.js .iso.is-drawing .iso-f { animation: iso-line 1.1s var(--ease) forwards, iso-fill .8s ease forwards; animation-delay: calc(var(--i) * 45ms), calc(var(--i) * 45ms + .5s); }
.js .iso.is-drawing .iso-d { animation: iso-line .8s var(--ease) 1.1s forwards; }
.js .iso.is-drawing .iso-dim { animation: iso-line .9s var(--ease) forwards; animation-delay: calc(1.3s + var(--j) * .18s); }
.js .iso.is-drawing .iso-ext { animation: iso-fade .6s ease forwards; animation-delay: calc(1.2s + var(--j) * .18s); }
.js .iso.is-drawing .iso-dot, .js .iso.is-drawing .iso-label { animation: iso-fade .5s ease forwards; animation-delay: calc(1.7s + var(--j) * .18s); }
@keyframes iso-line { to { stroke-dashoffset: 0; } }
@keyframes iso-fill { to { fill-opacity: 1; } }
@keyframes iso-fade { to { opacity: 1; } }
.iso-ext { --o: .7; }
@media (max-width: 1100px) { .hero-top { grid-template-columns: minmax(0, 1fr); } .hero-drawing { display: none; } }
.hero-title { font-size: var(--fs-hero); line-height: .95; letter-spacing: -.03em; font-weight: 360; margin: 0; }
.hero-title .split-line:last-child { padding-bottom: .34em; margin-bottom: -.34em; }
.hero-title em { color: var(--clay); }
.measure { position: relative; display: inline-block; }
.measure-line {
  position: absolute; left: 0; right: .06em; bottom: -.12em; height: 18px; color: var(--clay); pointer-events: none;
}
.measure-line svg { width: 100%; height: 100%; overflow: visible; }
.measure-line .tick { stroke: currentColor; stroke-width: 1.5; }
.measure-line .rule { stroke: currentColor; stroke-width: 1.5; }
.measure-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-mono); font-size: 12px; font-style: normal; letter-spacing: .06em; color: var(--clay);
  background: var(--paper); padding: 0 8px; line-height: 1;
}
.hero-foot { margin-top: clamp(30px, 5vh, 52px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; }
.hero-foot .lead { margin: 0; max-width: 44ch; color: var(--muted); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stage-wrap { margin-top: clamp(40px, 7vh, 80px); }

/* ---------- before / after ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2);
  container-type: size; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: 0 40px 80px -48px rgba(26, 24, 20, .55), 0 2px 0 rgba(26, 24, 20, .04);
}
.ba--hero { aspect-ratio: 16 / 9; max-height: 86vh; width: 100%; transform-origin: 50% 0; }
.ba-canvas { position: absolute; left: 0; width: 100%; aspect-ratio: 4 / 3; top: calc((100cqh - 75cqw) * .55); }
.ba-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255, 252, 246, .95); box-shadow: 0 0 18px rgba(0, 0, 0, .25); }
.ba-knob {
  position: absolute; top: 50%; left: 0; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(255, 252, 246, .96); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .4s var(--ease);
}
.ba.is-dragging .ba-knob { transform: scale(.88); }
.ba-knob svg { width: 26px; height: 26px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; }
.ba input[type="range"]:focus-visible ~ .ba-handle .ba-knob { outline: 2px solid var(--clay); outline-offset: 3px; }
.ba-tag {
  position: absolute; top: 18px; z-index: 2; pointer-events: none;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; background: rgba(26, 24, 20, .62); color: #fbf6ee;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .4s var(--ease);
}
.ba-tag--before { left: 18px; }
.ba-tag--after { right: 18px; }
.ba-chip {
  position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, -100%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 12px 8px 9px; border-radius: 999px; background: rgba(255, 252, 246, .94); color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); font-size: .82rem; font-weight: 550;
  opacity: 0; transition: opacity .5s var(--ease), translate .6s var(--ease);
  translate: 0 8px;
}
.ba-chip.is-on { opacity: 1; translate: 0 0; }
.ba-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(180, 87, 47, .18); }
.ba-chip small { font-family: var(--f-mono); font-size: .74rem; font-weight: 400; color: var(--muted); letter-spacing: .02em; }
.ba-chip::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 1px; height: 16px; background: rgba(255, 252, 246, .9); }
.hero-caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.hero-caption .mono { font-size: .78rem; }

/* ---------- facts ---------- */
.facts { padding: clamp(72px, 11vw, 140px) 0 clamp(40px, 6vw, 80px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 28px 28px 8px 0; border-right: 1px solid var(--line-2); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact-num {
  display: flex; align-items: baseline; gap: 4px; font-family: var(--f-display); font-weight: 330;
  font-size: clamp(3rem, 2rem + 3.2vw, 5.4rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "SOFT" 30;
}
.fact-num small { font-size: .38em; letter-spacing: -.01em; color: var(--clay); }
.fact-num .approx { font-size: .5em; color: var(--stone); margin-right: 2px; }
.fact p { margin: 16px 0 0; color: var(--muted); max-width: 24ch; font-size: .98rem; }

/* ---------- statement ---------- */
.statement { padding: clamp(60px, 10vw, 150px) 0; }
.statement-text {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "SOFT" 60;
  font-size: clamp(1.9rem, 1rem + 3.1vw, 4.1rem); line-height: 1.14; letter-spacing: -.018em; max-width: 21ch; margin: 0;
}
.statement-text .w { opacity: .14; transition: opacity .2s linear; }
.no-js .statement-text .w, .statement-text.is-static .w { opacity: 1; }
.statement-foot { display: flex; align-items: center; gap: 18px; margin-top: 40px; color: var(--muted); font-size: .95rem; }
.statement-foot::before { content: ""; width: 48px; height: 1px; background: var(--clay); }

/* ---------- section heads ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head p { margin: 0; color: var(--fg-2); max-width: 40ch; font-size: 1.06rem; }
.section-head h2 { max-width: 14ch; }

/* ---------- looks ---------- */
.looks { background: var(--paper-2); }
/* the photos are phone photos, mostly upright: the frame is 4:5 and as tall as the window allows */
.looks-grid { --stage-w: min(46vw, calc(min(78vh, 760px) * .8)); display: grid; grid-template-columns: minmax(0, 1fr) var(--stage-w); gap: clamp(32px, 6vw, 96px); align-items: center; }
.looks-copy h2 { max-width: none; }
.looks-copy > p { color: var(--muted); max-width: 38ch; margin: 28px 0 36px; }
.looks-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.look-tab {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 17px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 1.42rem; letter-spacing: -.02em; line-height: 1.1;
  color: var(--stone); transition: color .4s var(--ease);
}
.look-tab .idx { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; color: var(--stone); }
.look-tab .note { font-family: var(--f-body); font-size: .82rem; color: var(--stone); letter-spacing: 0; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.look-tab:hover { color: var(--ink); }
.look-tab[aria-selected="true"] { color: var(--ink); }
.look-tab[aria-selected="true"] .idx { color: var(--clay); }
.look-tab[aria-selected="true"] .note { opacity: 1; transform: none; color: var(--muted); }
.look-tab .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; }
.looks-stage {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand);
  box-shadow: 0 40px 80px -50px rgba(26, 24, 20, .6); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
/* each look is its finished photo with the photo it started from on top, shown while held */
.look { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.look.is-active { opacity: 1; z-index: 1; }
.look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look-after { transform: scale(1.04); transition: transform 1.6s var(--ease); }
.look.is-active .look-after { transform: none; }
.look-before { opacity: 0; transition: opacity .35s var(--ease); }
.looks-stage.is-holding .look.is-active .look-before { opacity: 1; }
.looks-label .when-before, .looks-stage.is-holding .looks-label .when-after { display: none; }
.looks-stage.is-holding .looks-label .when-before { display: inline; }
.looks-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: rgba(26, 24, 20, .62); color: #fbf6ee; font-size: .82rem; font-weight: 500; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; transition: opacity .3s var(--ease);
}
.looks-hint .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(251, 246, 238, .8); display: grid; place-items: center; }
.looks-hint .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fbf6ee; animation: press 2.2s var(--ease) infinite; }
@keyframes press { 0%, 100% { transform: scale(1); } 40% { transform: scale(.55); } 70% { transform: scale(1); } }
.looks-stage.is-holding .looks-hint { opacity: 0; }
.looks-label { position: absolute; left: 18px; top: 18px; z-index: 3; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 100px); }
.how-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .6s var(--ease); }
.how-step.is-active { opacity: 1; }
.how-step:first-child { min-height: 56vh; justify-content: flex-start; padding-top: 12vh; }
.how-step:last-child { min-height: 64vh; }
.how-num { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; color: var(--clay); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.how-num::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.how-step h3 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.6rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 20px; font-weight: 360; }
.how-step p { color: var(--muted); max-width: 40ch; font-size: 1.06rem; }
.how-step .facts-mini { display: flex; gap: 22px; margin-top: 12px; font-family: var(--f-mono); font-size: .78rem; color: var(--stone); letter-spacing: .04em; }
.how-shot-mobile { display: none; }
.how-sticky { position: relative; }
.how-sticky-inner { position: sticky; top: calc(50vh - min(28vw, 330px)); }
.browser {
  border-radius: 16px; overflow: hidden; background: var(--card);
  box-shadow: 0 50px 90px -50px rgba(26, 24, 20, .55), 0 0 0 1px rgba(26, 24, 20, .07);
}
.browser-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #efe9de; border-bottom: 1px solid var(--line-2); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d8cfc0; }
.browser-url {
  margin: 0 auto; transform: translateX(-20px); display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .72rem; color: var(--muted); background: var(--card); padding: 5px 14px; border-radius: 999px;
}
.browser-url svg { width: 11px; height: 11px; }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.browser-view > img, .browser-view > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .7s var(--ease), transform 1s var(--ease); transform: scale(1.015); }
.browser-view > .is-active { opacity: 1; transform: none; }
.how-counter { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; color: var(--muted); }
.how-dots { display: flex; gap: 8px; }
.how-dots i { width: 26px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .5s var(--ease), width .5s var(--ease); }
.how-dots i.is-active { background: var(--clay); width: 44px; }

/* ---------- live demo ---------- */
.demo { overflow: hidden; }
.demo .section-head h2 { max-width: 11ch; }
.demo-frame { border-radius: calc(var(--radius) + 6px); background: var(--ink-2); padding: 10px; box-shadow: 0 0 0 1px rgba(244, 239, 230, .08); }
.demo-stage {
  position: relative; aspect-ratio: 4 / 3; width: 100%; max-width: calc(78vh * 4 / 3); margin: 0 auto; border-radius: var(--radius); overflow: hidden; outline: none;
  background: #2a2620; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.demo-stage > img, .demo-stage > canvas, .demo-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-stage > img { object-fit: cover; }
.demo-stage > canvas { pointer-events: none; }
.demo-stage > svg { pointer-events: none; overflow: visible; }
.demo-stage.is-over-piece { cursor: grab; }
.demo-stage.is-over-ring { cursor: alias; }
.demo-stage.is-dragging { cursor: grabbing; }
.demo-ring { fill: rgba(255, 252, 246, .06); stroke: rgba(255, 252, 246, .92); stroke-width: 2; stroke-dasharray: 7 6; }
.demo-ring-marker { fill: var(--clay-2); stroke: #fff8f0; stroke-width: 2.5; }
.demo-dims {
  position: absolute; z-index: 4; transform: translate(-50%, -100%); pointer-events: none; white-space: nowrap;
  display: flex; align-items: center; gap: 10px; padding: 8px 13px; border-radius: 999px;
  background: rgba(26, 24, 20, .78); color: #fbf6ee; font-size: .82rem; font-weight: 550;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .3s var(--ease);
}
.demo-dims small { font-family: var(--f-mono); font-weight: 400; font-size: .76rem; color: #d9cfbf; letter-spacing: .02em; }
.demo-hint {
  position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff8f0; text-align: center;
  font-weight: 550; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); transition: opacity .5s var(--ease);
}
.demo-hint .hand { width: 54px; height: 54px; animation: nudge 2.4s var(--ease) infinite; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45)); }
@keyframes nudge { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(14px); } }
.demo-stage.is-touched .demo-hint { opacity: 0; }
.demo-toast {
  position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 252, 246, .95); color: var(--ink); font-size: .86rem; font-weight: 550;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: opacity .35s var(--ease), transform .45s var(--ease); white-space: nowrap;
}
.demo-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.demo-loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 7; background: rgba(26, 24, 20, .35); color: #fbf6ee; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; transition: opacity .6s var(--ease); }
.demo-loading.is-done { opacity: 0; pointer-events: none; }
.demo-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 16px 8px 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(244, 239, 230, .07); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .1); }
.seg button {
  height: 40px; padding: 0 16px; border-radius: 999px; font-size: .9rem; font-weight: 550; color: #cfc6b8; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.seg button:hover { color: #fff8f0; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.seg button .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.demo-read { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 0 6px; }
.demo-read strong { font-weight: 550; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-read span { font-family: var(--f-mono); font-size: .78rem; color: #b3aa9c; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.demo-read span .flush { color: #9fd3a8; display: none; }
.demo-read span .flush.is-on { display: inline; }
.demo-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.icon-btn {
  height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(244, 239, 230, .07); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .12); color: #ece4d6; font-size: .88rem; font-weight: 550;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.icon-btn:hover { background: rgba(244, 239, 230, .14); color: #fff; }
.icon-btn[aria-pressed="true"] { background: var(--clay-2); box-shadow: none; color: #fff8f0; }
.icon-btn svg { width: 18px; height: 18px; }
.demo-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.demo-foot div { border-top: 1px solid rgba(244, 239, 230, .14); padding-top: 18px; }
.demo-foot strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; letter-spacing: -.02em; margin-bottom: 8px; }
.demo-foot p { color: #b3aa9c; margin: 0; font-size: .96rem; max-width: 34ch; }

/* ---------- film ---------- */
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fbf6ee; }
.film-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-poster { position: absolute; inset: 0; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.62); transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.film-frame:hover .film-poster img { transform: scale(1.08); }
.film-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 3.4vw, 44px); }
.film-over h3 { font-size: clamp(1.8rem, 1rem + 2.4vw, 3.4rem); max-width: 14ch; letter-spacing: -.03em; }
.film-play {
  position: absolute; left: 50%; top: 50%; width: clamp(76px, 9vw, 116px); height: clamp(76px, 9vw, 116px); margin: calc(clamp(76px, 9vw, 116px) / -2) 0 0 calc(clamp(76px, 9vw, 116px) / -2);
  border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 246, .14); color: #fff8f0;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 252, 246, .35);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.film-play svg { width: 30%; height: 30%; margin-left: 6%; }
.film-frame:hover .film-play { transform: scale(1.06); background: rgba(255, 252, 246, .22); }
.film-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #e8dfd2; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 252, 246, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--clay-2); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.film-frame.is-playing .film-poster, .film-frame.is-playing .film-over, .film-frame.is-playing .film-play { opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }

/* ---------- retailers ---------- */
.retail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.retail-head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.retail-head h2 { max-width: 9ch; }
.retail-head > p { color: var(--muted); max-width: 36ch; margin: 28px 0 0; }
.phones { position: relative; height: clamp(420px, 44vw, 600px); margin-top: 48px; }
.phone {
  position: absolute; width: clamp(180px, 17vw, 250px); aspect-ratio: 720 / 1558; border-radius: clamp(26px, 2.6vw, 38px); overflow: hidden;
  background: var(--ink); padding: 7px; box-shadow: 0 40px 70px -36px rgba(26, 24, 20, .65), 0 0 0 1px rgba(26, 24, 20, .2);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(20px, 2.1vw, 31px); }
.phone::after { content: ""; position: absolute; top: 13px; left: 50%; width: 30%; height: 18px; margin-left: -15%; border-radius: 999px; background: var(--ink); }
.phone--a { left: 0; top: 0; transform: rotate(-4deg); }
.phone--b { left: clamp(130px, 13vw, 190px); top: 48px; transform: rotate(5deg); }
.retail-list { border-top: 1px solid var(--line); counter-reset: r; }
.retail-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: clamp(26px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--line); }
.retail-item .idx { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; color: var(--clay); padding-top: 9px; }
.retail-item h3 { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.2rem); margin-bottom: 12px; }
.retail-item p { color: var(--muted); margin: 0; max-width: 46ch; }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: hidden; padding: 0 0 clamp(90px, 12vw, 170px); }
.marquee { overflow: hidden; padding: clamp(36px, 6vw, 72px) 0; border-bottom: 1px solid rgba(244, 239, 230, .1); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--f-display); font-size: clamp(3rem, 2rem + 6vw, 8.6rem); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap;
  padding-right: .5em; color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 230, .38); font-weight: 350;
}
.marquee-track span em { -webkit-text-stroke: 0; color: var(--clay-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px 64px; align-items: end; padding-top: clamp(64px, 9vw, 120px); }
.cta-inner h2 { font-size: var(--fs-h1); max-width: 12ch; }
.cta-inner p { color: var(--fg-2); max-width: 36ch; margin-bottom: 32px; font-size: 1.06rem; }
.cta-mail { display: block; margin-top: 22px; color: var(--fg-2); font-size: .95rem; }
.cta-mail a { color: var(--fg); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); padding: clamp(64px, 8vw, 110px) 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer-top p { color: var(--muted); max-width: 30ch; margin-top: 18px; }
.footer-col h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; padding: 5px 0; font-weight: 500; width: fit-content; }
.footer-col a:hover { color: var(--clay); }
.footer-word {
  font-family: var(--f-brand); font-weight: 340; font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(5rem, 22.4vw, 21rem); line-height: .74; letter-spacing: -.055em; text-align: center; margin: 0 0 -.06em;
  color: var(--ink); white-space: nowrap; user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); position: relative; z-index: 1; background: var(--paper); }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 12vh, 140px)) 0 clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.03em; max-width: 13ch; }
.page-hero .lead { margin-top: 32px; max-width: 46ch; }
.prose { font-size: 1.12rem; line-height: 1.65; color: var(--ink-3); }
.prose p { margin-bottom: 1.15em; }
.prose p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--clay); font-variation-settings: "SOFT" 100; }
.about-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.about-figure { border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 32px); box-shadow: 0 40px 80px -50px rgba(26, 24, 20, .55); }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-figure figcaption { position: absolute; left: 16px; top: auto; bottom: 16px; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pipe-card { position: relative; }
.pipe-card .pic { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.pipe-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pipe-card:hover .pic img { transform: scale(1.04); }
.pipe-card .step { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.pipe-card .step::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pipe-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pipe-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.principles { border-top: 1px solid var(--rule); }
.principle { display: grid; grid-template-columns: minmax(0, .2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 16px 40px; padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.principle .idx { font-family: var(--f-display); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); line-height: 1; color: var(--accent); }
.principle h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem); letter-spacing: -.03em; }
.principle p { color: var(--fg-2); margin: 0; max-width: 46ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.contact-side .lead { margin-top: 28px; }
.contact-direct { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-direct span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.contact-direct a { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -.02em; width: fit-content; }
.next-steps { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next-steps li b { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; color: var(--clay); padding-top: 3px; }
.next-steps li p { margin: 0; color: var(--muted); }
.next-steps li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.form-card { background: var(--card); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 40px 80px -60px rgba(26, 24, 20, .55), 0 0 0 1px var(--line-2); position: relative; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { position: relative; margin-bottom: 22px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--stone); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0 12px; font-size: 1.05rem; border-radius: 0;
  transition: border-color .3s var(--ease); -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field .err { position: absolute; right: 0; top: 2px; font-size: .8rem; color: var(--clay); opacity: 0; transition: opacity .3s; }
.field.is-invalid .err { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.chips span:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form-foot small { color: var(--stone); font-size: .82rem; max-width: 32ch; }
.form-status { margin-top: 16px; font-size: .92rem; color: var(--clay); min-height: 1.4em; }
.form-done { position: absolute; inset: 0; background: var(--card); display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.form-card.is-sent .form-done { opacity: 1; visibility: visible; }
.form-done svg { width: 64px; height: 64px; color: var(--clay); margin-bottom: 26px; }
.form-done svg circle { stroke-dasharray: 190; stroke-dashoffset: 190; }
.form-done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-card.is-sent .form-done svg circle { transition: stroke-dashoffset 1s var(--ease) .1s; stroke-dashoffset: 0; }
.form-card.is-sent .form-done svg path { transition: stroke-dashoffset .6s var(--ease) .8s; stroke-dashoffset: 0; }
.form-done h2 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); max-width: 12ch; }
.form-done p { color: var(--muted); margin-top: 18px; max-width: 36ch; }
.btn.is-busy { pointer-events: none; opacity: .75; }

/* legal + 404 */
.legal { max-width: 760px; padding-bottom: clamp(80px, 10vw, 140px); }
.legal h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 48px 0 14px; letter-spacing: -.02em; line-height: 1.1; }
.legal p, .legal li { color: var(--ink-3); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; color: var(--stone); text-transform: uppercase; }
.lost { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-top: var(--header-h); }
.lost h1 { font-size: var(--fs-h1); line-height: .97; letter-spacing: -.03em; }
.lost p { color: var(--muted); max-width: 34ch; margin: 24px 0 36px; font-size: 1.1rem; }
.lost figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(26, 24, 20, .55); position: relative; }
.lost figure img { width: 100%; }
.lost figure .ba-tag { left: 18px; }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta .btn { display: none; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .looks-grid, .how-grid, .retail-grid, .about-intro, .contact-grid, .cta-inner, .lost { grid-template-columns: minmax(0, 1fr); }
  .looks-stage { width: min(100%, calc(min(78vh, 760px) * .8)); justify-self: center; }
  .looks-copy h2 { max-width: 14ch; }
  .how-sticky { display: none; }
  .how-step { min-height: 0; opacity: 1; padding: 0 0 72px; }
  .how-step:first-child { min-height: 0; padding-top: 0; }
  .how-step:last-child { min-height: 0; padding-bottom: 0; }
  .how-shot-mobile { display: block; margin-top: 28px; }
  .how-shot-mobile .browser-view > img { opacity: 1; transform: none; }
  .retail-head { position: static; }
  .phones { height: clamp(360px, 90vw, 560px); max-width: 520px; }
  .phone { width: clamp(160px, 42vw, 240px); }
  .phone--b { left: clamp(120px, 34vw, 230px); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .principle { grid-template-columns: minmax(0, 1fr); }
  .about-figure { position: relative; top: 0; }
  .about-figure img { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .demo-foot { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lost figure { order: -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --radius: 16px; }
  .brand-word { font-size: 1.42rem; }
  .brand-mark { width: 20px; height: 26px; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .ba--hero { aspect-ratio: 4 / 3; }
  .measure-line { bottom: -.42em; height: 14px; }
  .measure-label { font-size: 10.5px; padding: 0 6px; }
  .hero-title .split-line:last-child { padding-bottom: .62em; margin-bottom: -.62em; }
  .film-meta span:last-child { display: none; }
  .ba-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .ba-chip { display: none; }
  .ba-tag { top: 12px; font-size: .66rem; padding: 6px 10px; }
  .ba-tag--before { left: 12px; }
  .ba-tag--after { right: 12px; }
  .hero-caption { flex-direction: column; gap: 4px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 24px 0 8px; border-right: 0; }
  .fact:nth-child(n + 2) { border-top: 1px solid var(--line-2); }
  .look-tab { font-size: 1.22rem; padding: 14px 0; }
  .look-tab .note { display: none; }
  .demo-frame { padding: 6px; margin: 0 calc(var(--gutter) * -1 + 6px); }
  .demo-bar { grid-template-columns: minmax(0, 1fr); padding: 14px 4px 6px; }
  .demo-tools { justify-content: flex-start; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 0 10px; }
  .film-frame { aspect-ratio: 4 / 5; }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .retail-item { grid-template-columns: minmax(0, 1fr); }
  .retail-item .idx { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
  .marquee-track { animation: none; }
}
