/* Photographer template: "The split stage".
   Tokens first. Everything below uses the tokens only. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0f1f10;
  --surface: #162a17;
  --ink: #ffffff;
  --muted: #a9b3a9;
  --accent: #c6f19d;
  --accent-ink: #0f1f10;
  --field-1: #000000;
  --field-1-ink: #ffffff;
  --field-2: #ffffff;
  --field-2-ink: #0f1f10;
  --field-2-muted: #46544a;
  --line: #7d917e;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  --step-display: clamp(4.5rem, 11vw, 10rem);

  --m: clamp(16px, 2.2vw, 32px);
  --pad: clamp(24px, 4.5vw, 72px);
  --sec: clamp(72px, 9vw, 150px);
  --stage-w: 47vw;
  --bar-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--step-body); line-height: 1.5; font-weight: 400;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.about :focus-visible, .contact .c-left :focus-visible, .slip :focus-visible { outline-color: var(--field-2-ink); }
.accent-focus :focus-visible { outline-color: var(--ink); }

.skip-in { position: absolute; left: var(--m); top: var(--m); z-index: 6; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-in:focus { width: auto; height: auto; overflow: visible; clip-path: none; padding: 12px 20px; background: var(--ink); color: var(--bg); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-body); line-height: 1.2; text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--ink); }
.btn:active { transform: translateY(2px); }
.textlink { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; display: inline-block; min-height: 24px; }
.textlink:hover { text-decoration-thickness: 4px; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--m); background: var(--bg);
  transition: transform .3s ease;
}
.bar.away { transform: translateY(-100%); }
.bar-menu {
  min-height: 44px; padding: 8px 18px; background: var(--surface); border: 0; border-radius: 0;
  font-weight: 600; font-size: var(--step-small);
}
.bar-menu:hover { background: var(--accent); color: var(--accent-ink); }
.bar-nav { position: fixed; inset: var(--bar-h) 0 auto 0; background: var(--bg); padding: 8px var(--m) 28px; display: none; }
.bar-nav.open { display: block; }
.bar-nav ul { display: grid; gap: 4px; }
.bar-nav a { display: flex; align-items: center; min-height: 52px; font-size: var(--step-lead); text-decoration: none; letter-spacing: -0.01em; }
.bar-nav a:hover { text-decoration: underline; }
.bar-nav .bar-cta { margin-top: 12px; width: 100%; justify-content: center; font-size: var(--step-body); }
.bar-top-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-small); text-decoration: none;
}

/* ---------- the stage (desktop only) ---------- */
.page { position: relative; }
.stage { display: none; }
.sec-pic { display: block; margin: 0 calc(-1 * var(--m)) 32px calc(-1 * var(--pad)); aspect-ratio: 4 / 5; max-height: 72svh; overflow: hidden; background: var(--surface); }
.sec-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; background: var(--bg); padding: calc(var(--bar-h) + 12px) 0 56px; }
.hero .sec-pic { margin: 0 12px; height: 58svh; max-height: none; aspect-ratio: auto; }
.wordmark {
  font-size: 22vw; line-height: 0.9; letter-spacing: -0.04em; font-weight: 400; text-transform: lowercase;
  margin: 24px 20px 0; padding-bottom: 0.08em; position: relative; z-index: 5;
}
.wm { display: inline-block; white-space: nowrap; }
.wm.two { white-space: nowrap; }
.hero-body { padding: 28px 20px 0; display: grid; gap: 28px; justify-items: start; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; letter-spacing: -0.005em; }
.hero .lead { font-size: var(--step-lead); max-width: 26ch; }

/* ---------- column sections ---------- */
.col { position: relative; z-index: 2; }
.inner { padding: var(--sec) var(--m) var(--sec) var(--pad); display: grid; gap: 28px; align-content: start; }
.inner > * { min-width: 0; }
.inner h2, .work-head h2, .contact h2 { font-size: var(--step-head); }
.intro { max-width: 52ch; }

/* work */
.full { position: relative; z-index: 3; }
.work { background: var(--field-1); color: var(--field-1-ink); }
.work-head { padding: var(--sec) var(--m) 40px; display: grid; gap: 16px; }
.work-head p { max-width: 52ch; }
.proj { position: relative; height: 210svh; }
.proj-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--field-1); }
.panes { position: absolute; inset: 0; }
.pane {
  position: absolute; top: -20svh; height: 140svh; width: 50%; padding: 0; border: 0; border-radius: 0; overflow: hidden;
  background: var(--surface); will-change: transform;
}
.pane-l { left: 0; }
.pane-r { left: 50%; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pane:hover img { transform: scale(1.03); }
.pane::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); pointer-events: none; }
.seam { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; }
.seam-info { position: absolute; left: 0; right: 0; bottom: 96px; display: grid; justify-items: center; text-align: center; gap: 10px; pointer-events: none; z-index: 2; }
.seam-title { position: relative; width: 100vw; padding-inline: var(--m); display: grid; place-items: center; font-size: 12.5vw; line-height: 0.85; letter-spacing: -0.04em; color: #fff; overflow-wrap: anywhere; }
.seam-title .t { grid-area: 1 / 1; width: 100%; text-align: center; will-change: transform; }
.seam-title .t-l { clip-path: inset(0 50% 0 0); }
.seam-title .t-r { clip-path: inset(0 0 0 50%); }
.seam-title .t-r::before { content: attr(data-t); }
.seam-meta { font-size: var(--step-body); color: #fff; }
.count::before { content: " \00b7\0020"; }
.seam-blurb { max-width: 36ch; color: #fff; font-size: var(--step-body); padding-inline: var(--m); }
.seam-info .open-all {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0; font-weight: 600;
  transition: transform .18s ease, background-color .18s ease;
}
.seam-info .open-all:hover { background: #fff; }
.seam-info .open-all:active { transform: translateY(2px); }
.reel { position: absolute; left: var(--m); right: var(--m); bottom: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.reel li { flex: none; }
.reel button { display: block; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: var(--surface); transition: transform .18s ease; }
.reel button:hover { transform: translateY(-3px); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .more { background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body); }

/* packages */
.packages { background: var(--bg); }
.builder { display: grid; gap: 28px; }
.bf { border: 0; padding: 0; margin: 0; min-width: 0; }
.bf legend { font-weight: 600; font-size: var(--step-body); margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px; background: var(--surface);
  font-size: var(--step-body); transition: background-color .18s ease, color .18s ease;
}
.opt span::before { content: ""; width: 10px; height: 10px; background: var(--muted); flex: none; }
.opt:hover span { background: #21401f; }
.opt input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.opt input:checked + span::before { background: var(--accent-ink); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt .opt-sub { color: inherit; opacity: 1; font-weight: 400; }
.result { background: var(--field-1); color: var(--field-1-ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.result .sec-pic { margin: calc(-1 * clamp(20px, 3vw, 36px)) calc(-1 * clamp(20px, 3vw, 36px)) 0; aspect-ratio: 3 / 2; }
.res-name { font-size: var(--step-lead); line-height: 1.15; }
.res-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1; }
.res-price .from { font-size: var(--step-body); letter-spacing: 0; color: var(--muted); }
.res-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.res-facts dt { color: var(--muted); font-size: var(--step-small); }
.res-facts dd { font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.res-inc { display: grid; gap: 8px; }
.res-inc li { display: flex; gap: 12px; align-items: baseline; }
.res-inc li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: translateY(-1px); }
.res-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.res-note { color: var(--muted); font-size: var(--step-small); }
.pk-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; background: none; border: 0; font-weight: 600; font-size: var(--step-body); text-align: left; }
.pk-toggle::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.pk-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pk-toggle:hover { text-decoration: underline; text-underline-offset: .2em; }
.pk-list { display: grid; gap: 28px; margin-top: 16px; }
.pk h3 { font-size: var(--step-lead); line-height: 1.15; }
.pk-price { font-weight: 600; margin-top: 4px; }
.pk-meta { color: var(--muted); font-size: var(--step-body); margin-top: 4px; }
.pk ul { margin-top: 10px; display: grid; gap: 4px; }
.pk li { padding-left: 18px; position: relative; }
.pk li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; background: var(--muted); }
.note { color: var(--muted); font-size: var(--step-small); max-width: 60ch; }

/* about */
.about { background: var(--field-2); color: var(--field-2-ink); }
.letter { display: grid; gap: 22px; max-width: 520px; }
.letter p { line-height: 1.55; }
.letter-text { display: grid; gap: 22px; }
.round { display: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sign { display: grid; gap: 2px; margin-top: 6px; }
.sign strong { font-size: var(--step-body); font-weight: 600; }
.sign span { color: var(--field-2-muted); font-size: var(--step-small); }

/* process */
.process { background: var(--field-1); color: var(--field-1-ink); }
.slip {
  background: var(--field-2); color: var(--field-2-ink); width: 100%; max-width: 480px;
  padding: 8px 24px 64px; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),100.000% calc(100% - 10px),95.833% 100%,91.667% calc(100% - 10px),87.500% 100%,83.333% calc(100% - 10px),79.167% 100%,75.000% calc(100% - 10px),70.833% 100%,66.667% calc(100% - 10px),62.500% 100%,58.333% calc(100% - 10px),54.167% 100%,50.000% calc(100% - 10px),45.833% 100%,41.667% calc(100% - 10px),37.500% 100%,33.333% calc(100% - 10px),29.167% 100%,25.000% calc(100% - 10px),20.833% 100%,16.667% calc(100% - 10px),12.500% 100%,8.333% calc(100% - 10px),4.167% 100%,0.000% calc(100% - 10px));
}
.grp h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; margin-top: 28px; margin-bottom: 8px; }
.grp li { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-size: var(--step-body); }
.grp .what { flex: 0 1 auto; max-width: 66%; }
.dots { flex: 1 1 12px; min-width: 12px; overflow: hidden; white-space: nowrap; color: var(--field-2-muted); line-height: 1; }
.dots::before { content: "\00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7 \00b7"; font-weight: 600; }
.grp .when { flex: none; text-align: right; }
.slip .result-row {
  margin-top: 30px; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--field-2-ink); color: var(--field-2); font-weight: 600;
}
.slip .result-row .dots { color: var(--field-2); }
.vidctl {
  position: fixed; left: 40px; bottom: 40px; z-index: 40; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.vidctl:hover { background: #fff; }

/* faq */
.faq { background: var(--surface); }
.facts { display: grid; gap: 10px; font-size: var(--step-body); }
.facts div { display: grid; gap: 0; }
.facts dt { color: var(--muted); font-size: var(--step-small); }
.qa { display: grid; gap: 28px; margin-top: 8px; }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; font-size: var(--step-body); font-weight: 600; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.qa summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.qa details p { color: var(--muted); margin-top: 12px; max-width: 56ch; font-size: var(--step-body); }
.faq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }

/* rights */
.rights { background: var(--bg); }
.rights-text { max-width: 58ch; }

/* contact */
.contact { background: var(--field-2); color: var(--field-2-ink); }
.contact-grid { display: grid; gap: 40px; padding: var(--sec) var(--m); }
.c-left { display: grid; gap: 28px; align-content: start; }
.c-sentence { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }
.c-meta { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.c-pic { width: 96px; height: 96px; object-fit: cover; }
.c-q { font-weight: 600; margin-bottom: 8px; }
.c-links { display: grid; gap: 4px; }
.c-links a { display: inline-block; min-height: 28px; font-size: var(--step-body); }
.c-reply { font-size: var(--step-small); color: var(--field-2-muted); }
.c-hours h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.contact .kit-hours > div { justify-content: flex-start; gap: 4px 16px; }
.contact .kit-hours dt { min-width: 8ch; }
.contact .kit-btn { background: var(--field-2-ink); color: var(--field-2); border-color: var(--field-2-ink); }
.contact .kit-map a { color: var(--field-2-ink); }
.c-form { background: var(--bg); color: var(--ink); padding: clamp(24px, 3.4vw, 48px); }
.c-form h3 { font-size: var(--step-lead); margin-bottom: 20px; }
.f { display: grid; gap: 6px; margin-bottom: 18px; }
.f label { font-weight: 600; font-size: var(--step-small); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); border-radius: 0;
}
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.f-row { display: grid; gap: 0 18px; }
.c-form .btn { width: 100%; }
.c-form .kit-form-notice a { color: var(--ink); }
.kit-status { color: var(--ink); }

/* footer */
.foot { background: var(--bg); padding: var(--sec) var(--m) 0; position: relative; z-index: 3; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-social a { display: inline-block; min-height: 28px; font-size: var(--step-body); }
.totop {
  display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; font-size: var(--step-lead); transition: transform .18s ease;
}
.totop:hover { transform: translateY(-3px); }
.foot-mark { font-size: 15vw; line-height: 0.9; letter-spacing: -0.04em; text-transform: lowercase; padding-bottom: 0.1em; }
.foot-mark span { display: inline-block; white-space: nowrap; }
.foot-mark span.two { white-space: nowrap; }
.foot .kit-legal-footer { margin-inline: calc(-1 * var(--m)); }
.foot .kit-footer-inner { max-width: none; padding-inline: var(--m); }
.foot .kit-credits { color: var(--muted); max-width: 110ch; }
.foot .kit-credits a { color: var(--ink); }

/* ---------- lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100svh; max-width: none; max-height: none; background: #000; color: #fff; }
.lb::backdrop { background: #000; }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--m); gap: 16px; }
.lb-count { font-variant-numeric: tabular-nums; }
.lb-fig { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--m); }
.lb-fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--m) 20px; }
.lb-cap { max-width: 70ch; font-size: var(--step-small); }
.lb-btn { min-width: 52px; min-height: 52px; padding: 8px 18px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0; font-weight: 600; }
.lb-btn:hover { background: #fff; }
.lb-nav { display: flex; gap: 8px; }

/* ---------- desktop: the split stage ---------- */
@media (min-width: 960px) {
  :root { --bar-h: 64px; }
  .bar { left: var(--stage-w); justify-content: flex-end; padding-right: var(--m); }
  .bar-menu, .bar-top-cta { display: none; }
  .bar-nav { position: static; display: block; padding: 0; background: none; }
  .bar-nav ul { display: flex; align-items: center; gap: 28px; }
  .bar-nav a { min-height: 44px; font-size: var(--step-small); }
  .bar-nav .bar-cta {
    margin: 0; width: auto; padding: 8px 20px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-small);
  }
  .bar-nav .bar-cta:hover { background: var(--ink); text-decoration: none; }

  .stage { display: block; position: sticky; top: 0; height: 100svh; width: var(--stage-w); margin-bottom: -100svh; z-index: 1; pointer-events: none; }
  .stage-frame { position: absolute; inset: var(--m) 0 var(--m) var(--m); overflow: hidden; background: var(--surface); }
  .stage-frame::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.22); z-index: 5; pointer-events: none; }
  .layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
  .layer.on { opacity: 1; visibility: visible; }
  html:not(.motion-ok) .layer { transition: opacity .5s ease, visibility .5s; }
  @media (prefers-reduced-motion: reduce) { html:not(.motion-ok) .layer { transition: none; } }
  .layer img, .layer video { width: 100%; height: 100%; object-fit: cover; }
  .stage-cap { position: absolute; left: 24px; bottom: 24px; z-index: 6; color: #fff; font-size: var(--step-body); font-weight: 600; }

  .sec-pic { display: none; }
  .hero .sec-pic { display: none; }
  .hero, .col { margin-left: var(--stage-w); }
  .hero { min-height: 100svh; padding: 0; }
  .hero-body { position: absolute; top: 44%; left: var(--pad); right: var(--m); padding: 0; transform: translateY(-50%); gap: 28px; }
  .wordmark { position: absolute; left: -10vw; width: calc(63vw - var(--m)); bottom: 40px; margin: 0; font-size: 7vw; }
  .inner { padding: var(--sec) var(--m) var(--sec) var(--pad); }
  .round { display: block; }
  .letter { gap: 22px; }

  .work-head { grid-template-columns: 1fr 1fr; align-items: end; padding-inline: var(--m); }
  .seam-title { font-size: clamp(5rem, 11vw, 10rem); }

  .res-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .process .inner { gap: 32px; }

  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .c-left { grid-column: 1 / 6; }
  .c-form { grid-column: 7 / 13; }
  .c-meta { grid-template-columns: 160px minmax(0, 1fr); }
  .c-pic { width: 160px; height: 160px; }
  .f-row { grid-template-columns: 1fr 1fr; }

  .foot-mark { font-size: 11vw; }
}

@media (max-width: 959px) {
  .bar { justify-content: space-between; }
  .vidctl { display: none !important; }
  .pane-l img, .pane-r img { object-position: var(--fx, 50% 50%); }

  /* work on a phone: title, count, blurb, button, then the whole pictures one under another */
  .proj { height: auto; margin: 0 0 clamp(64px, 16vw, 96px); }
  .proj-stage { position: static; height: auto; overflow: visible; display: flex; flex-direction: column; gap: 0; }
  .seam { order: 1; position: static; inset: auto; display: block; place-content: normal; justify-items: start; text-align: left; padding-inline: var(--m); pointer-events: auto; }
  .seam-info { order: 2; position: static; left: auto; right: auto; bottom: auto !important; justify-items: start; text-align: left; padding: 14px var(--m) 28px; gap: 12px; pointer-events: auto; }
  .seam-blurb { padding-inline: 0; }
  .seam-meta > span:first-child { display: none; }
  .count::before { content: none; }
  .seam-title { width: auto; padding-inline: 0; display: block; text-align: left; font-size: clamp(3rem, 14vw, 5rem); }
  .seam-title .t { width: auto; text-align: left; will-change: auto; }
  .seam-title .t-l { clip-path: none; transform: none !important; }
  .seam-title .t-r { display: none; }
  .panes { order: 3; position: static; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; }
  .pane, .pane-l, .pane-r { position: static; top: auto; left: auto; width: 100%; height: auto; transform: none !important; will-change: auto; }
  .pane::after { content: none; }
  .pane[aria-hidden="true"] { display: none; }
  .pane img { position: static; inset: auto; width: 100%; height: auto; }
  .pane:hover img { transform: none; }
  .reel { display: none; }

  /* section pictures: full width of the screen, whole photo shape, no gap at the right */
  .sec-pic { aspect-ratio: auto; max-height: none; height: auto; max-width: none; width: calc(100% + var(--m) + var(--pad)); }
  .sec-pic img { width: 100%; height: auto; max-height: 80svh; object-fit: cover; }
  .hero .sec-pic { width: auto; height: 58svh; }
  .hero .sec-pic img { height: 100%; max-height: none; }
  .result .sec-pic { aspect-ratio: 3 / 2; width: calc(100% + 2 * clamp(20px, 3vw, 36px)); }
  .result .sec-pic img { height: 100%; max-height: none; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .panes { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 520px) {
  .res-facts { grid-template-columns: 1fr 1fr; }
  .opt { flex: 1 1 calc(50% - 8px); }
  .opt span { width: 100%; }
  .opts.cov .opt { flex: 1 1 100%; }
}

/* ---------- motion helpers (only hidden when Motion has loaded) ---------- */
.motion-ok .rise { opacity: 0; }
.wordmark { transform-origin: right bottom; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

