/* Hallmark · shape: marketing site, 10 pages · genre: editorial · theme: custom (brand: Impulse Media logo violet)
 * paper: oklch(96.4% 0.004 85) · accent: oklch(46.5% 0.29 281) · display: Gloock · body: Schibsted Grotesk · hero: full-bleed client video under a scrim, headline + two-step form · nav: fixed bar, transparent over the hero, solid after · footer: night band, brand + two link columns · signature: the listing-photo strip that tracks the walkthrough as it plays
 * axes: light/high-contrast-serif/chromatic-violet · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the argument is "only what's in your photos", carried by the strip and the 29-photo contact sheet */
/* ---------- tokens ---------- */
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f4f3f0;
  --paper-2: #e9e7e1;
  --white: #fefdfb;
  --ink: #0d0b14;
  --ink-2: #45424e;
  --ink-3: #5f5b69;
  --line: rgb(13 11 20 / 0.14);
  --line-strong: rgb(13 11 20 / 0.28);
  --violet: #5400fa;
  --violet-deep: #3d00b8;
  --violet-tint: #ebe5ff;
  --lilac: #b9a4ff;
  --night: #0e0c16;
  --night-2: #191622;
  --night-line: rgb(244 243 240 / 0.14);
  --on-night: #f4f3f0;
  --on-night-2: #aaa6b6;
  --scrim: 13 11 20;
  --danger: #b3261e;
  --danger-on-dark: #ffb4ab;
  --ok: #1f7a4d;

  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2.25rem, 1.55rem + 2.7vw, 3.9rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  --fs-lead: clamp(1.125rem, 1.03rem + 0.4vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.875rem;

  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --max: 76rem;
  --section: clamp(5rem, 3.2rem + 6vw, 9.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lift: 0 18px 40px -18px rgb(13 11 20 / 0.45);
  --header-h: 4.5rem;
  --col-gap: clamp(2rem, 1rem + 4vw, 5rem);

  --ink-hover: #26222f;
  --wash: rgb(127 127 127 / 0.16);
  --on-photo: rgb(244 243 240 / 0.86);
  --on-photo-2: rgb(244 243 240 / 0.8);
  --on-photo-line: rgb(244 243 240 / 0.5);
  --glass-dark: rgb(13 11 20 / 0.35);
  --glass-dark-2: rgb(13 11 20 / 0.6);
  --danger-tint: rgb(179 38 30 / 0.12);
  --shadow-float: 0 20px 50px -24px rgb(0 0 0 / 0.55);
  --shadow-media: 0 30px 60px -30px rgb(13 11 20 / 0.55);
  --shadow-tall: 0 40px 80px -40px rgb(13 11 20 / 0.6);
  --shadow-menu: 0 24px 40px -20px rgb(13 11 20 / 0.4);
  --shadow-card: 0 30px 70px -40px rgb(13 11 20 / 0.45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; overflow-x: clip;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.55;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--violet); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--fs-display); line-height: 0.98; }
h2 { font-size: var(--fs-h2); line-height: 1.02; }
h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.01em; }
::selection { background: var(--violet); color: var(--white); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.on-night :focus-visible { outline-color: var(--white); }
html { scrollbar-color: var(--ink-3) var(--paper-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: var(--pill); border: 3px solid var(--paper-2); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--violet); }
.tnum { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 1rem; }
.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; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-night { background: var(--night); color: var(--on-night); }
.on-paper-2 { background: var(--paper-2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.on-night .lead { color: var(--on-night-2); }
.measure { max-width: 62ch; }
.muted { color: var(--ink-2); }
.on-night .muted { color: var(--on-night-2); }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--violet); --fg: var(--white); --bg-hover: var(--violet-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: var(--pill);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:hover { background: var(--bg-hover); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn .btn-icon { width: 1.1em; height: 1.1em; flex: none; transition: transform 200ms var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn--light { --bg: var(--white); --fg: var(--ink); --bg-hover: var(--paper); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bg-hover: var(--ink-hover); }
.btn--small { min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn.is-busy { cursor: progress; }
.btn.is-busy .btn-label::after { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-left: 0.6em; vertical-align: -0.12em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--paper); --logo-violet: var(--lilac);
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.site-header.is-solid, .layout-plain .site-header {
  background: var(--paper); color: var(--ink); --logo-violet: var(--violet);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; flex: none; }
.brand svg { height: 2.1rem; width: auto; }
.brand svg .logo-violet { fill: var(--logo-violet); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) { padding: 0.55rem 0.8rem; border-radius: var(--pill); text-decoration: none; font-weight: 500; font-size: 0.975rem; transition: background-color 160ms var(--ease-out); }
.nav a:not(.btn):hover { background: var(--wash); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--logo-violet); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.nav .btn { margin-left: 0.75rem; }
.site-header:not(.is-solid) .nav .btn { --bg: var(--white); --fg: var(--ink); --bg-hover: var(--violet-tint); }
.layout-plain .site-header .nav .btn { --bg: var(--violet); --fg: var(--white); --bg-hover: var(--violet-deep); }
.menu-toggle { display: none; margin-left: auto; min-height: 2.75rem; padding: 0 1rem; border: 1px solid currentColor; border-radius: var(--pill); background: transparent; font-weight: 600; cursor: pointer; }
.menu-toggle:hover { background: var(--wash); }

@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  html:not(.js) .nav a:not(.btn) { display: none; }
  html:not(.js) .nav .btn { margin: 0; }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem; background: var(--paper); color: var(--ink);
    box-shadow: var(--shadow-menu); border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .nav a:not(.btn) { padding: 1rem 0; font-size: 1.25rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { background: transparent; color: var(--violet); }
  .nav .btn { margin: 1.25rem 0 0; }
  .site-header .nav .btn, .site-header:not(.is-solid) .nav .btn { --bg: var(--violet); --fg: var(--white); --bg-hover: var(--violet-deep); }
  .site-header.menu-open { background: var(--paper); color: var(--ink); --logo-violet: var(--violet); }
}

/* Inner pages that open on a dark band keep a matching header until it scrolls away. */
.header-night .site-header:not(.is-solid):not(.menu-open) { background: var(--night); color: var(--on-night); --logo-violet: var(--lilac); box-shadow: 0 1px 0 var(--night-line); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(40rem, 100svh); max-height: 70rem; display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--scrim) / 0.84) 0%, rgb(var(--scrim) / 0.68) 38%, rgb(var(--scrim) / 0.18) 68%, rgb(var(--scrim) / 0) 100%),
    linear-gradient(0deg, rgb(var(--scrim) / 0.72) 0%, rgb(var(--scrim) / 0.4) 16%, rgb(var(--scrim) / 0) 40%),
    linear-gradient(180deg, rgb(var(--scrim) / 0.62) 0%, rgb(var(--scrim) / 0) 20%);
}
.hero-body { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); width: 100%; }
.hero h1 { max-width: 17ch; color: var(--white); font-size: min(var(--fs-display), calc((100vw - 2 * var(--gutter)) / 9.2)); }
.hero .lead { color: var(--on-photo); margin: 1.25rem 0 2rem; max-width: 36rem; }
.hero .lead, .hero .form-note, .hero-caption, .hero h1 { text-shadow: 0 1px 14px rgb(var(--scrim) / 0.55); }
.layout-hero .site-header:not(.is-solid):not(.menu-open) .nav a:not(.btn) { text-shadow: 0 1px 10px rgb(var(--scrim) / 0.6); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-caption { display: flex; align-items: center; gap: 0.85rem; max-width: 22rem; font-size: var(--fs-small); color: var(--on-photo-2); text-align: right; }
.hero-caption p { margin: 0; }
.media-toggle {
  flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--on-photo-line); background: var(--glass-dark); color: var(--white); cursor: pointer;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.media-toggle:hover { background: var(--glass-dark-2); border-color: var(--white); }
.media-toggle svg { width: 1rem; height: 1rem; }
.media-toggle .i-play { display: none; }
.media-toggle[aria-pressed="true"] .i-play { display: block; }
.media-toggle[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 52rem) {
  .hero { align-items: flex-end; min-height: max(38rem, 100svh); max-height: none; }
  .hero::before {
    background:
      linear-gradient(0deg, rgb(var(--scrim) / 0.9) 0%, rgb(var(--scrim) / 0.78) 46%, rgb(var(--scrim) / 0.2) 74%, rgb(var(--scrim) / 0) 100%),
      linear-gradient(180deg, rgb(var(--scrim) / 0.62) 0%, rgb(var(--scrim) / 0) 20%);
  }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .hero-caption { text-align: left; max-width: none; }
}

/* ---------- the sample form ---------- */
.sample-form { width: 100%; max-width: 36rem; }
.field-row { display: flex; gap: 0.5rem; padding: 0.4rem; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow-float); }
.field-row input {
  flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 0 0.6rem 0 1.1rem; color: var(--ink); font-size: 1rem;
  border-radius: var(--pill);
}
.field-row input::placeholder { color: var(--ink-3); }
.field-row input:focus { outline: none; }
.field-row:focus-within { box-shadow: 0 0 0 3px var(--lilac), var(--shadow-float); }
.on-night .field-row:focus-within { box-shadow: 0 0 0 3px var(--white); }
.hero:has(.is-step-2) { max-height: none; }
.hero-foot .sample-form > .field-error { color: var(--danger-on-dark); margin-top: 0.6rem; font-weight: 500; }
.form-note { margin: 0.9rem 0 0; font-size: var(--fs-small); color: var(--on-photo-2); }
.sample-form .step-2 { display: none; margin-top: 0.75rem; padding: 1.25rem; border-radius: var(--r-md); background: var(--white); color: var(--ink); box-shadow: var(--shadow-float); }
.sample-form.is-step-2 .step-2 { display: grid; gap: 0.9rem; animation: drop-in 320ms var(--ease-out); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.step-2 .step-title { font-weight: 600; font-size: 1.0625rem; margin: 0; }
.step-2 .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
@media (max-width: 30rem) { .step-2 .grid-2 { grid-template-columns: minmax(0, 1fr); } .field-row { flex-direction: column; border-radius: var(--r-md); } .field-row input { min-height: 3.25rem; padding: 0 1rem; } }

.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--fs-label); font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-tint); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-tint); }
.field-error { font-size: var(--fs-label); color: var(--danger); min-height: 0; margin: 0; }
.field-error:empty { display: none; }
.form-status { margin: 0; font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--danger); }
.form-done { display: none; padding: 1.5rem; border-radius: var(--r-md); background: var(--white); color: var(--ink); }
.sample-form.is-done > :not(.form-done) { display: none; }
.sample-form.is-done .form-done { display: block; animation: drop-in 320ms var(--ease-out); }
.form-done .done-title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 0.5rem; }
.form-done p { margin: 0; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem var(--col-gap); align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.head p { margin: 0; font-size: var(--fs-lead); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.on-night .head p { color: var(--on-night-2); }
@media (max-width: 52rem) { .head { grid-template-columns: minmax(0, 1fr); } }
.head--stack { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.head--stack h2 { max-width: 16ch; }
.head--stack p { max-width: 52ch; }

/* ---------- one move, two photos ---------- */
.move { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem); align-items: center; }
.move figure { margin: 0; }
.move img, .move video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--paper-2); }
.move figcaption { margin-top: 0.7rem; font-size: var(--fs-small); color: var(--ink-2); display: flex; justify-content: space-between; gap: 1rem; }
.move figcaption strong { color: var(--ink); font-weight: 600; }
.move .is-clip video { box-shadow: var(--shadow-media); }
@media (max-width: 52rem) { .move figcaption span { display: none; } }
.move-arrow { display: none; }
@media (max-width: 52rem) {
  .move { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .move .is-clip { grid-column: 1 / -1; order: -1; }
}

.steps { list-style: none; margin: clamp(3rem, 2rem + 3vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3.5rem); counter-reset: step; }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; counter-increment: step; }
.steps h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.steps h3::before { content: counter(step) ". "; color: var(--violet); }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 52rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- screening room ---------- */
.screen-frame { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; }
.screen-frame video { width: 100%; height: 100%; object-fit: cover; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 1.1rem 0 0.9rem; font-size: var(--fs-small); color: var(--on-night-2); }
.screen-bar .now { display: flex; align-items: baseline; gap: 0.75rem; min-width: 0; flex-wrap: wrap; }
.screen-bar .now strong { color: var(--on-night); font-weight: 600; font-size: 1.0625rem; }
.screen-bar .controls { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.screen-bar .time { min-width: 6.5em; text-align: right; }
.screen-play { border-color: var(--night-line); background: var(--night-2); }

.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 15), minmax(0, 1fr)); gap: 8px; }
.strip button {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: var(--night-2); aspect-ratio: 16 / 10; opacity: 0.5; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out);
}
.strip button img { width: 100%; height: 100%; object-fit: cover; }
.strip button:hover { opacity: 0.85; }
.strip button[aria-current="true"] { opacity: 1; transform: translateY(-4px); }
.strip button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--lilac); }
.strip button[aria-current="true"]::after { background: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.strip-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--on-night-2); }
@media (max-width: 52rem) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.5rem; padding-top: 8px; scrollbar-width: thin; scrollbar-color: var(--on-night-2) transparent; }
  .strip li { flex: 0 0 5.5rem; scroll-snap-align: center; }
}

.samples { list-style: none; margin: clamp(3rem, 2rem + 3vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.samples button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: var(--r-md); }
.samples .thumb { display: block; position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--night-2); }
.samples .thumb { transition: box-shadow 200ms var(--ease-out); }
.samples .thumb img, .samples .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.samples button:focus-visible .thumb { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--white); }
.samples button:hover .thumb { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--on-night-2); }
.samples .thumb video { opacity: 0; transition: opacity 300ms var(--ease-out); }
.samples button.is-previewing .thumb video { opacity: 1; }
.samples .meta { display: block; padding: 0.85rem 0.1rem 0; }
.samples .meta strong { display: block; font-weight: 600; color: var(--on-night); }
.samples .meta span { display: block; font-size: var(--fs-small); color: var(--on-night-2); }
.samples button[aria-current="true"] .thumb { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--lilac); }
.samples-note { margin: 1.5rem 0 0; font-size: var(--fs-small); color: var(--on-night-2); max-width: 62ch; }
@media (max-width: 64rem) {
  .samples { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 0.75rem; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--on-night-2) transparent; }
  .samples li { flex: 0 0 min(15rem, 68%); scroll-snap-align: start; }
}

/* ---------- formats ---------- */
.formats { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--col-gap); align-items: center; }
.places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.formats .places { margin-top: 2rem; }
.places li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.places strong { font-weight: 600; }
.places span { color: var(--ink-2); }
.vertical { justify-self: center; width: min(100%, 21rem); }
.vertical video, .vertical img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--paper-2); box-shadow: var(--shadow-tall); }
.vertical figcaption { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--ink-2); text-align: center; }
@media (max-width: 52rem) { .formats { grid-template-columns: minmax(0, 1fr); } .places li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } .vertical { width: min(100%, 17rem); } }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.price { padding: 2rem clamp(1.25rem, 0.5rem + 2vw, 2.5rem) 2.25rem 0; display: flex; flex-direction: column; }
.price + .price { padding-left: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); border-left: 1px solid var(--line); }
.price h3 { font-size: 1.6rem; }
.price .amount { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); line-height: 1; margin: 1.25rem 0 0.35rem; letter-spacing: -0.02em; }
.price .amount small { font-family: var(--font-text); font-size: 1rem; letter-spacing: 0; color: var(--ink-2); margin-left: 0.35rem; }
.price .per { color: var(--ink-2); margin: 0 0 1.5rem; font-size: var(--fs-small); }
.price ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.7rem; }
.price li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.6rem; line-height: 1.45; }
.price li svg { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; color: var(--violet); }
.price .btn { margin-top: auto; align-self: flex-start; }
.price a:not(.btn) { color: inherit; text-decoration-color: currentColor; }
.price.is-plan { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1rem var(--col-gap); align-items: start; background: var(--night); color: var(--on-night); border-radius: var(--r-md); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin: 0.5rem 0 0; border-left: 0; }
.price.is-plan .per { margin-bottom: 0; max-width: 34ch; }
.price.is-plan ul { margin-bottom: 1.75rem; }
.price.is-plan .plan-body .btn { margin-top: 0; }
.price.is-plan--card { grid-column: auto; display: flex; padding: 2rem clamp(1.25rem, 0.5rem + 2vw, 2.5rem) 2.25rem; margin: -1px 0 0 clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
.price .amount .pre { margin: 0 0.35rem 0 0; }
.price.is-plan .amount small, .price.is-plan .per { color: var(--on-night-2); }
.price.is-plan li svg { color: var(--lilac); }
.price.is-plan :focus-visible { outline-color: var(--white); }
.price-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-small); }
.price-foot p { margin: 0; max-width: 46ch; }
.price-foot strong { color: var(--ink); font-weight: 600; }
.prices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 60rem) {
  .prices, .prices--two { grid-template-columns: minmax(0, 1fr); }
  .price { padding: 2rem 0; }
  .price + .price { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .price.is-plan, .price.is-plan--card { grid-template-columns: minmax(0, 1fr); margin: 0.5rem 0 0; padding: 2rem 1.5rem; border-top: 0; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2.5rem var(--col-gap); }
.faq-head p { margin-top: 1.25rem; color: var(--ink-2); max-width: 32ch; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--violet); }
.faq-list summary svg { flex: none; width: 1.25rem; height: 1.25rem; transition: transform 240ms var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 62ch; }
.faq-list .answer p:last-child { margin-bottom: 0; }
@media (max-width: 52rem) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--col-gap); align-items: center; }
.founder figure { margin: 0; background: var(--paper); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; }
.founder figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-size: var(--fs-lead); color: var(--ink-2); max-width: 48ch; }
.founder blockquote p:first-of-type { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.founder .sig { margin-top: 1.5rem; font-weight: 600; }
.founder .sig span { display: block; font-weight: 400; color: var(--ink-2); }
@media (max-width: 52rem) { .founder { grid-template-columns: minmax(0, 1fr); } .founder figure { max-width: 20rem; } }

/* ---------- closing call to action ---------- */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem var(--col-gap); align-items: start; }
.closing h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); max-width: 10ch; }
.closing .lead { margin-top: 1.5rem; }
.closing .sample-form { max-width: none; }
.closing .form-note { color: var(--on-night-2); }
.closing .form-note a { color: var(--on-night); }
@media (max-width: 52rem) { .closing { grid-template-columns: minmax(0, 1fr); } }

/* full sample form (closing + /sample/) */
.full-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 0.8rem + 2vw, 2rem); border-radius: var(--r-md); background: var(--white); color: var(--ink); }
.full-form .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.full-form .btn { justify-self: start; }
.full-form .fine { margin: 0; font-size: var(--fs-label); color: var(--ink-3); }
@media (max-width: 36rem) { .full-form .grid-2 { grid-template-columns: minmax(0, 1fr); } .full-form .btn { justify-self: stretch; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0 2rem; --logo-violet: var(--lilac); border-top: 1px solid var(--night-line); }
.section:has(> .closing) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--lilac); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 2.5rem var(--col-gap); padding-bottom: 3rem; border-bottom: 1px solid var(--night-line); }
.footer-top .brand { color: var(--on-night); }
.footer-top .brand svg { height: 2.4rem; }
.footer-top p { margin: 1.25rem 0 0; max-width: 34ch; }
.footer-top h2 { font-family: var(--font-text); font-size: var(--fs-label); font-weight: 600; color: var(--on-night-2); letter-spacing: 0; margin-bottom: 1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.75rem; font-size: var(--fs-label); }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
@media (max-width: 52rem) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner pages ---------- */
.layout-plain main { padding-top: var(--header-h); }
.page-hero { padding-block: clamp(4rem, 2.5rem + 5vw, 8rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 1.5rem; max-width: 44ch; }
.prose { max-width: 62ch; }
.prose .lead { max-width: none; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 3rem 0 1rem; }
.prose h3 { font-family: var(--font-text); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; margin: 2rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--violet); }
.prose .checks { padding-left: 0; }
.updated { color: var(--ink-3); font-size: var(--fs-small); margin: 1rem 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--col-gap); align-items: start; }
@media (max-width: 52rem) { .split { grid-template-columns: minmax(0, 1fr); } }

.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.checks li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.75rem; }
.checks svg { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; color: var(--violet); }
.on-night .checks svg { color: var(--lilac); }

.rows { border-top: 1px solid var(--line-strong); }
.rows > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 0.5rem var(--col-gap); padding: 1.75rem 0; border-bottom: 1px solid var(--line-strong); }
.rows h3 { font-size: 1.5rem; }
.rows p { margin: 0; color: var(--ink-2); }
@media (max-width: 52rem) { .rows > div { grid-template-columns: minmax(0, 1fr); } }

.notfound { min-height: 70svh; display: grid; align-content: center; }
.notfound h1 { max-width: 12ch; }
.notfound p { margin-top: 1.25rem; }

/* page tops */
.page-top { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.section--tight { padding-top: clamp(1.5rem, 0.5rem + 3vw, 3.5rem); }
.page-hero--legal { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line); }
.section--legal { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.split--media { align-items: center; }
.split--media h1 { font-size: clamp(2.6rem, 1.7rem + 3.4vw, 4.75rem); max-width: 13ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.media-card { margin: 0; }
.media-card video, .media-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-media); }
.media-card figcaption { margin-top: 0.8rem; font-size: var(--fs-small); color: var(--ink-2); max-width: 46ch; }
.portrait { margin: 0; justify-self: end; width: min(100%, 26rem); aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 52rem) { .portrait { justify-self: start; width: min(100%, 20rem); } }
.sticky-head { align-self: start; }
@media (min-width: 52.01rem) { .sticky-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.sticky-head .lead { margin-top: 1.25rem; }
.rows--stack > div { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.split > .rows, .split > .places { border-top-color: var(--line-strong); }

/* work page */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--night-line); }
.facts dt { font-size: var(--fs-label); color: var(--on-night-2); }
.facts dd { margin: 0.25rem 0 0; font-weight: 600; }
@media (max-width: 52rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sheet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.sheet img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--paper-2); }
/* 29 photos: the first one takes a 2x2 cell so the sheet ends on a full row (8 or 4 columns). */
.sheet li:first-child { grid-column: span 2; grid-row: span 2; }
.sheet li:first-child img { height: 100%; aspect-ratio: auto; }
@media (max-width: 52rem) { .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; } .sheet img { border-radius: 4px; } }
.reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 2vw, 3rem) clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.reel figure { margin: 0; }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--night); }
.reel figcaption { margin-top: 0.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-small); color: var(--ink-2); }
.reel figcaption strong { color: var(--ink); font-weight: 600; font-size: var(--fs-body); }
@media (max-width: 40rem) { .reel { grid-template-columns: minmax(0, 1fr); } .reel figcaption { flex-direction: column; gap: 0.15rem; } }
.reel-media { position: relative; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 4rem; height: 4rem; translate: -50% -50%; }
.reel-play svg { width: 1.25rem; height: 1.25rem; }
.reel-play .i-pause { display: none; }
.reel-play .i-play { display: block; }

/* steps with more columns */
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.steps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; gap: 2rem clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.steps--four h3, .steps--five h3 { font-size: 1.35rem; }
@media (max-width: 64rem) { .steps--four, .steps--five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps--four, .steps--five { grid-template-columns: minmax(0, 1fr); } }

/* sample page */
.page-hero--form .split { align-items: start; }
.page-hero--form .checks { margin-top: 2rem; }
.form-card .full-form { box-shadow: var(--shadow-card); }
.form-aside { margin-top: 2rem; font-size: var(--fs-small); color: var(--ink-2); }
.prose .checks + p { margin-top: 1.5rem; }
.form-card .sample-form.is-done .form-done { border: 1px solid var(--line); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
  .js .hero h1 .line > span { display: block; animation: rise 1100ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js .hero .lead, .js .hero .sample-form { animation: fade-up 900ms var(--ease-out) both; animation-delay: 520ms; }
  .js .hero .sample-form { animation-delay: 640ms; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
