/* Frevio — site styles
   Layout concept: a film-slate contact sheet. Sharp media frames with hairline borders,
   tracked slate labels and running timecodes, set on an editorial 12-column grid. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --paper: #F3EFE8;      /* ivory page */
  --paper-2: #EAE4DA;    /* tinted sections */
  --paper-3: #DFD7CA;    /* selected / hover */
  --ink: #1E1C1A;        /* text and primary buttons */
  --ink-2: #4A4540;      /* secondary text */
  --ink-soft: #6B655E;   /* captions */
  --brass: #A88A5A;      /* rules, large accents */
  --brass-ink: #7E6237;  /* small accent text */
  --line: #D6CEC1;       /* hairlines */
  --band-bg: #1E1C1A;    /* inverse band */
  --band-fg: #F3EFE8;
  --band-soft: #B5ADA2;
  --band-line: #3A3631;
  --media-bg: #2A2723;   /* behind images and video */
  --veil: rgba(22, 20, 18, 0.62);

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(3rem, 1.6rem + 5.4vw, 6.75rem);
  --fs-page: clamp(2.6rem, 1.5rem + 4vw, 5.25rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-h3: clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem);
  --fs-h4: 1.45rem;
  --fs-lead: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.72rem;

  --wrap: 1320px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 2.5rem + 6vw, 9rem);
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161412; --paper-2: #1F1C19; --paper-3: #2A2622;
    --ink: #F1ECE3; --ink-2: #CFC8BD; --ink-soft: #A39B90;
    --brass: #C2A06B; --brass-ink: #CDAB74; --line: #34302B;
    --band-bg: #F1ECE3; --band-fg: #1E1C1A; --band-soft: #5C564F; --band-line: #D3CABC;
    --media-bg: #0E0D0C; --veil: rgba(10, 9, 8, 0.66);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161412; --paper-2: #1F1C19; --paper-3: #2A2622;
  --ink: #F1ECE3; --ink-2: #CFC8BD; --ink-soft: #A39B90;
  --brass: #C2A06B; --brass-ink: #CDAB74; --line: #34302B;
  --band-bg: #F1ECE3; --band-fg: #1E1C1A; --band-soft: #5C564F; --band-line: #D3CABC;
  --media-bg: #0E0D0C; --veil: rgba(10, 9, 8, 0.66);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
em { font-style: italic; }
strong { font-weight: 500; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: #1E1C1A; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Type ---------- */
.label { font-family: var(--text); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-ink); line-height: 1.5; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.h2 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.01em; }
.h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.1; }
.h4 { font-family: var(--display); font-size: var(--fs-h4); line-height: 1.15; }
.h2 em, .h3 em, .hero-title em, .page-title em { color: var(--brass-ink); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 2px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease-out); }
.btn:hover::after { width: 30px; }
.btn:hover { background: var(--brass-ink); border-color: var(--brass-ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 0.25rem; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-play { position: relative; display: block; width: 12px; height: 12px; }
.icon-play::before { content: ""; position: absolute; left: 2px; top: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.wordmark { font-family: var(--display); font-size: 1.85rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; line-height: 1; }
.wordmark--large { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); }
.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.nav-list { display: flex; gap: 2rem; list-style: none; }
.nav-list a { position: relative; text-decoration: none; font-size: 0.92rem; color: var(--ink-2); padding-block: 0.5rem; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.menu-foot { display: none; }
.menu-toggle { display: none; align-items: center; gap: 0.75rem; min-height: 44px; padding: 0 0.25rem; background: none; border: 0; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.menu-toggle-icon { position: relative; width: 22px; height: 10px; }
.menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle-icon::before { top: 0; } .menu-toggle-icon::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter-r) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: var(--paper); border-top: 1px solid var(--line);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .35s var(--ease-out), visibility 0s; }
  .site-nav .nav-list { flex-direction: column; gap: 0; }
  .site-nav .nav-list a { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1.1; color: var(--ink); padding-block: 0.55rem; border-bottom: 1px solid var(--line); }
  .site-nav .nav-list a::after { display: none; }
  .site-nav .nav-list a[aria-current="page"] { color: var(--brass-ink); }
  .nav-cta { align-self: flex-start; min-height: 52px; }
  .menu-foot { display: block; color: var(--ink-soft); font-size: var(--fs-small); }
  .no-js .site-nav { flex-wrap: wrap; gap: 1rem; }
  .no-js .menu-toggle { display: none; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--flush { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); max-width: 46rem; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
  .section-head--split .lead { justify-self: end; }
}
.section-head .h2 + .lead { margin-top: 0.25rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.75rem, 1rem + 3vw, 4rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; align-items: end; }
.hero-copy { display: grid; gap: 1.5rem; align-content: end; }
.hero-title { font-family: var(--display); font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.015em; font-weight: 500; }
.hero-title em { display: inline-block; }
.hero-lead { max-width: 32em; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-soft); }
.hero-points li { display: flex; align-items: baseline; gap: 0.4rem; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); transform: translateY(-2px); }
.hero-points .mono { color: var(--ink); }
.hero-media { display: grid; gap: 0.85rem; align-content: end; min-width: 0; }
.tx--hero { width: 100%; }
.hero-caption { display: grid; gap: 0.3rem; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.5; }
.tx.is-auto .tx-cta { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(8px); }
/* Phones: headline, then the film, then the pitch, so the film is on screen as the page opens */
@media (max-width: 899px) {
  .hero-grid { gap: 1.25rem; }
  .hero-copy { display: contents; }
  .hero-copy > .label { order: 1; }
  .hero-title { order: 2; }
  .hero-media { order: 3; margin-top: 0.5rem; justify-items: start; }
  .tx--hero, .hero-caption { width: min(100%, 520px); }
  .hero-lead { order: 4; margin-top: 0.75rem; }
  .hero-copy > .actions { order: 5; }
  .hero-points { order: 6; }
  .hero-copy > .actions .btn { flex: 1 1 auto; }
}
.tc { font-size: 0.72rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.scroll-cue { display: inline-flex; align-items: center; gap: 1rem; margin-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); text-decoration: none; font-size: var(--fs-small); color: var(--ink-soft); }
.scroll-cue-line { position: relative; width: 64px; height: 1px; background: var(--line); overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: translateX(-100%); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.scroll-cue:hover { color: var(--ink); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .hero-grid { align-items: center; }
  .hero-copy { grid-column: 1 / span 7; padding-bottom: 2rem; }
  .hero-media { grid-column: 8 / span 5; justify-items: end; }
  .tx--hero, .hero-caption { width: min(100%, calc(min(68vh, 720px) * 0.75)); }
}
@media (min-width: 900px) and (max-height: 820px) {
  .hero-media { grid-column: 9 / span 4; }
  .hero-copy { grid-column: 1 / span 8; }
}

/* Hero load sequence (time-based, completes in under a second) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .tx--hero .tx-stage { animation: unveil 1.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Transform (before / after) ---------- */
.tx { margin: 0; display: grid; gap: 0; }
.tx-stage { position: relative; aspect-ratio: 3 / 4; background: var(--media-bg); overflow: hidden; cursor: pointer; isolation: isolate; max-width: 100%; }
.tx-video, .tx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-photo { z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path .95s var(--ease); }
.tx[data-state="motion"] .tx-photo { clip-path: inset(0 0 0 100%); }
.tx-edge { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; background: var(--brass); opacity: 0; pointer-events: none; }
.tx.is-wiping .tx-edge { opacity: 1; animation: edge .95s var(--ease) forwards; }
.tx.is-wiping[data-state="photo"] .tx-edge { animation-name: edge-back; }
@keyframes edge { from { left: 0; } to { left: calc(100% - 2px); } }
@keyframes edge-back { from { left: calc(100% - 2px); } to { left: 0; } }
.tx-tag { position: absolute; z-index: 4; left: 12px; top: 12px; padding: 0.35rem 0.6rem; background: var(--veil); color: #F3EFE8; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none; }
.tx[data-state="motion"] .tx-tag { background: #A88A5A; color: #1E1C1A; }
.tx-cta {
  position: absolute; z-index: 5; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.75rem; white-space: nowrap;
  min-height: 52px; padding: 0.75rem 1.35rem 0.75rem 1rem;
  background: #F3EFE8; color: #1E1C1A; border: 0; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.tx-cta:hover { transform: translateX(-50%) translateY(-2px); }
.tx-cta-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1E1C1A; }
.tx-cta-icon::before { content: ""; margin-left: 3px; border-left: 9px solid #F3EFE8; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.tx[data-state="motion"]:not(.is-ended) .tx-cta { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(8px); }
.tx-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(243, 239, 232, 0.25); opacity: 0; transition: opacity .3s ease; }
.tx-progress span { display: block; height: 100%; width: 0; background: #A88A5A; }
.tx[data-state="motion"] .tx-progress { opacity: 1; }
.tx-nojs { display: none; }
.no-js .tx-nojs { display: inline-block; position: absolute; z-index: 6; left: 12px; bottom: 12px; padding: 0.5rem 0.75rem; background: #F3EFE8; color: #1E1C1A; }
.no-js .tx-cta { display: none; }
.tx-bar { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.75rem; }
.tx-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tx-switch button { min-height: 38px; padding: 0.3rem 1rem; border: 0; border-radius: 999px; background: transparent; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.tx-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tx-play { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.tx-play:disabled { opacity: 0.35; cursor: default; }
.tx-play .icon-play { width: 12px; height: 12px; }
.tx-play[data-playing="true"] .icon-play::before { left: 1px; border: 0; width: 3px; height: 12px; background: currentColor; box-shadow: 6px 0 0 currentColor; }
.tx .tc { margin-left: auto; }
.tx-msg { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--brass-ink); }

/* ---------- Shot explorer (home) ---------- */
.explorer { display: grid; gap: 1.5rem; }
.room-tabs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); padding-bottom: 2px; }
.room-tabs::-webkit-scrollbar { display: none; }
.room-tab { flex: 0 0 auto; display: grid; gap: 0.1rem; text-align: left; min-height: 52px; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.room-tab:hover { border-color: var(--ink-soft); }
.room-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.room-name { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.room-meta { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.room-tab[aria-selected="true"] .room-meta { color: var(--band-soft); }
.room-panel { display: grid; gap: 1.75rem; }
.room-info { display: grid; gap: 1.25rem; align-content: start; }
.room-caption { font-family: var(--display); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); line-height: 1.25; }
.room-note { font-size: var(--fs-small); color: var(--ink-soft); }

@media (min-width: 900px) {
  .explorer { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2.5rem; align-items: start; }
  .room-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 0; border-top: 1px solid var(--line); }
  .room-tab { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1rem 0.25rem; background: transparent; position: relative; }
  .room-tab::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--brass); transform: scaleY(0); transition: transform .35s var(--ease-out); }
  .room-tab[aria-selected="true"] { background: transparent; color: var(--ink); padding-left: 1rem; }
  .room-tab[aria-selected="true"]::before { transform: scaleY(1); }
  .room-tab[aria-selected="true"] .room-meta { color: var(--brass-ink); }
  .room-tab { transition: padding .35s var(--ease-out); }
  .room-panel { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 2.5rem; align-items: start; }
  .tx--lg .tx-stage { max-height: min(78vh, 780px); }
}

/* Frame pair */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.75rem; max-width: 22rem; }
.pair-frame { margin: 0; display: grid; gap: 0.4rem; }
.pair-frame img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border: 1px solid var(--line); background: var(--media-bg); }
.pair-frame figcaption { font-size: 0.7rem; color: var(--ink-soft); line-height: 1.4; }
.pair-frame .mono { display: block; color: var(--ink-2); }
.pair-key { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-right: 0.25rem; border: 1px solid var(--brass); border-radius: 50%; font-size: 0.62rem; font-weight: 600; color: var(--brass-ink); }
.pair-path { position: relative; width: 52px; height: 1px; background: var(--brass); }
.pair-path::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--brass); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.pair-path span { position: absolute; left: 50%; top: -1.6rem; transform: translateX(-50%); font-size: 0.7rem; font-variant-numeric: tabular-nums; color: var(--brass-ink); white-space: nowrap; }

/* ---------- Services list (home) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease-out), background-color .3s ease; }
.svc-name { font-family: var(--display); font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem); line-height: 1.1; grid-column: 1; }
.svc-text { grid-column: 1; color: var(--ink-soft); max-width: 36em; }
.svc-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background-color .3s ease, border-color .3s ease; }
.svc-arrow::before { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1rem; }
.svc:hover .svc-arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.svc:hover .svc-name { color: var(--brass-ink); }
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center; padding: 2rem 0; }
  .svc-text { grid-column: 2; }
  .svc-arrow { grid-column: 3; grid-row: 1; }
  .svc:hover { padding-left: 1rem; }
}

/* ---------- Process (home) ---------- */
.process-intro { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.process-intro .section-head { margin-bottom: 0; }
.plan { margin: 0; display: grid; gap: 0.75rem; }
.plan-svg { width: 100%; height: auto; max-width: 520px; }
.plan figcaption { font-size: var(--fs-small); color: var(--ink-soft); }
.plan-wall { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.plan-window { stroke: var(--brass); stroke-width: 4; }
.plan-furniture { fill: var(--paper-3); stroke: var(--line); stroke-width: 1; }
.plan-cone { stroke: none; }
.plan-cone--a { fill: var(--brass); fill-opacity: 0.16; }
.plan-cone--b { fill: var(--brass); fill-opacity: 0.3; }
.plan-path { stroke: var(--brass-ink); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.plan-arrow { fill: none; stroke: var(--brass-ink); stroke-width: 1.5; }
.plan-cam { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.plan-cam--b { fill: var(--ink); }
.plan-text { fill: var(--ink-2); font-family: var(--text); font-size: 12px; letter-spacing: 0.04em; }
.plan-text--muted { fill: var(--ink-soft); font-size: 11px; }
@media (min-width: 900px) {
  .process-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; }
  .plan { justify-self: end; width: 100%; max-width: 520px; }
}
.steps { list-style: none; display: grid; gap: 2rem; counter-reset: none; }
.step { display: grid; gap: 0.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); align-content: start; }
.step p { color: var(--ink-soft); }
.step-n { font-family: var(--display); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--brass-ink); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Inverse band ---------- */
.band { background: var(--band-bg); color: var(--band-fg); padding-block: var(--section); }
.band .label { color: #C2A06B; }
:root[data-theme="dark"] .band .label { color: #7E6237; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band .label { color: #7E6237; } }
.band .lead, .band p { color: var(--band-soft); }
.band .h2 { color: var(--band-fg); }
.why { display: grid; gap: 0; border-top: 1px solid var(--band-line); }
.why-item { display: grid; gap: 0.6rem; padding: 1.6rem 0; border-bottom: 1px solid var(--band-line); }
.why-item .h4 { color: var(--band-fg); }
@media (min-width: 760px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .why-item { padding: 2rem 0; }
}

/* ---------- Featured case / film ---------- */
.case { display: grid; gap: 2.5rem; align-items: center; }
.case-copy { display: grid; gap: 1.25rem; align-content: center; }
.case-note { font-size: var(--fs-small); color: var(--ink-soft); padding-left: 1rem; border-left: 2px solid var(--brass); max-width: 34em; }
@media (min-width: 900px) {
  .case { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; }
}
.film { margin: 0; display: grid; gap: 0.75rem; }
.film-frame { position: relative; aspect-ratio: 3 / 4; background: var(--media-bg); overflow: hidden; max-width: 100%; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 0.75rem; white-space: nowrap;
  min-height: 52px; padding: 0.75rem 1.35rem 0.75rem 1rem; border: 0; border-radius: 999px;
  background: #F3EFE8; color: #1E1C1A; font-size: 0.92rem; font-weight: 500; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.film.is-playing .film-play { display: none; }
.film-caption { font-size: 0.78rem; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0.5rem 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 1rem; }
.facts dt { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); border-top: 1px solid var(--line); }
.cta-inner { display: grid; gap: 2rem; align-items: end; }
.cta-side { display: grid; gap: 1rem; justify-items: start; }
.cta-alt { font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; }
  .cta-side { justify-items: end; text-align: right; }
}
.email-line { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.email { text-decoration: none; border-bottom: 1px solid var(--brass); user-select: all; }
.copy-btn { min-height: 32px; padding: 0.15rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-hero--compact { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero-grid { display: grid; gap: 1.5rem; align-items: end; }
.page-hero .label { margin-bottom: 1rem; }
.page-title { font-family: var(--display); font-size: var(--fs-page); line-height: 1; letter-spacing: -0.012em; font-weight: 500; }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
}
.notfound .lead { margin: 1.5rem 0 2rem; }

/* ---------- Work page ---------- */
.project { padding-block: 0 var(--section); }
.project-head { display: grid; gap: 2.5rem; padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); border-top: 1px solid var(--line); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.project-head > div:first-child { display: grid; gap: 1.1rem; align-content: start; }
.project-side { display: grid; gap: 1rem; align-content: start; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--ink-2); }
.usage { font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 900px) {
  .project-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; }
}
.project-film { display: grid; gap: 2.5rem; margin-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }
.project-film .film { max-width: 520px; }
@media (min-width: 900px) { .project-film { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: end; } }
.sheet { margin: 0; display: grid; gap: 1.25rem; }
.sheet figcaption { display: grid; gap: 0.5rem; }
.sheet-cap { color: var(--ink-soft); font-size: var(--fs-small); max-width: 34em; }
.sheet-grid { position: relative; padding-left: 1.75rem; }
.sheet-key { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border: 1px solid var(--brass); border-radius: 50%; font-size: 0.62rem; font-weight: 600; color: var(--brass-ink); }
.sheet-key--b { top: calc(50% - 0.9rem); }
.sheet-cols { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.sheet-col { display: grid; gap: 0.5rem; align-content: start; }
.sheet-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--media-bg); border: 1px solid var(--line); }
.sheet-room { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-soft); line-height: 1.3; }
.shots { display: grid; gap: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.shot { display: grid; gap: 1.1rem; align-content: start; }
.shot-copy { display: grid; gap: 0.4rem; }
.shot-copy p { color: var(--ink-soft); max-width: 34em; }
.shot-meta { font-size: 0.78rem; letter-spacing: 0.04em; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shot:nth-child(even) { margin-top: 5rem; } }

/* ---------- Services page ---------- */
.service { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.service-head { display: grid; gap: 0.75rem; align-content: start; }
.service-body { display: grid; gap: 1.5rem; justify-items: start; }
.service-cols { display: grid; gap: 1.5rem; width: 100%; }
.service-cols p:not(.label) { color: var(--ink-soft); }
.ticks { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.6rem; }
.ticks li { position: relative; padding-left: 1.4rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.8rem; height: 1px; background: var(--brass); }
.service-cols .label { margin-bottom: 0.4rem; }
@media (min-width: 900px) {
  .service { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; }
  .service-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
}
.standards { display: grid; gap: 2rem; }
.never { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.never li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); line-height: 1.3; }
.never-x { position: relative; flex: 0 0 auto; width: 14px; height: 14px; transform: translateY(-1px); }
.never-x::before, .never-x::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--brass); }
.never-x::before { transform: rotate(45deg); } .never-x::after { transform: rotate(-45deg); }
@media (min-width: 900px) { .standards { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; } .standards .section-head { margin-bottom: 0; } }

/* ---------- Process page ---------- */
.process-steps { list-style: none; display: grid; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem); border-bottom: 1px solid var(--line); }
.process-steps li > div { display: grid; gap: 0.75rem; }
.process-steps p { color: var(--ink-soft); max-width: 40em; }
@media (min-width: 900px) {
  .process-steps li { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr); gap: 3rem; align-items: baseline; }
  .process-steps li > div { display: contents; }
  .process-steps .step-n { font-size: 2.2rem; }
}
.moves { display: grid; gap: 1.5rem; }
.move { margin: 0; display: grid; gap: 1rem; padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); align-content: start; }
.move-svg { width: 100%; height: auto; }
.move figcaption { display: grid; gap: 0.35rem; }
.move p { color: var(--ink-soft); font-size: 0.94rem; }
@media (min-width: 640px) { .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .moves { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guide-notes { list-style: none; display: grid; gap: 0.5rem 2rem; margin-top: 2rem; color: var(--ink-2); }
.guide-notes li { position: relative; padding-left: 1.4rem; }
.guide-notes li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.8rem; height: 1px; background: var(--brass); }
@media (min-width: 760px) { .guide-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq-wrap { display: grid; gap: 1rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--text); font-size: 1.4rem; font-weight: 300; color: var(--brass-ink); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 44em; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; } }

/* ---------- About ---------- */
.about-intro { display: grid; gap: 1.25rem; }
.about-intro p:not(.lead) { color: var(--ink-soft); max-width: 36em; }
.principles { display: grid; border-top: 1px solid var(--line); }
.principle { display: grid; gap: 0.6rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.principle-k { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; }
.principle p:not(.principle-k) { color: var(--ink-soft); max-width: 34em; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
.about-pilot { display: grid; gap: 2rem; }
.about-pilot > div { display: grid; gap: 1.1rem; align-content: start; }
.about-pilot p:not(.lead):not(.label) { color: var(--ink-soft); max-width: 36em; }
@media (min-width: 900px) { .about-pilot { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; align-items: start; } }
.form { display: grid; gap: 1.4rem; }
.field-row { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-soft); font-size: 0.78rem; margin-left: 0.25rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 0.95rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-bottom-color: var(--ink-soft); border-radius: 2px;
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, background-color .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.field [aria-invalid="true"] { border-color: #B4472F; box-shadow: 0 0 0 1px #B4472F; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); }
.field-error { font-size: 0.82rem; color: #B4472F; }
:root[data-theme="dark"] .field-error { color: #E28B72; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #E28B72; } }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 0.75rem; }
.field--check input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.field--check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 1rem; justify-items: start; padding-top: 0.5rem; }
.form-status { font-size: 0.92rem; color: var(--ink-2); max-width: 36em; }
.form-status.is-error { color: #B4472F; }
.form-status.is-success { color: var(--ink); }
.form.is-sent .field, .form.is-sent .field-row { opacity: 0.5; pointer-events: none; }
.contact-side { display: grid; gap: 2rem; align-content: start; padding-top: 0.25rem; }
.contact-side > div { display: grid; gap: 0.5rem; }
.contact-side p:not(.label) { color: var(--ink-2); }
.next { padding-left: 1.2rem; display: grid; gap: 0.4rem; color: var(--ink-2); }
.offer-note { padding: 1.25rem; border: 1px solid var(--brass); }

/* ---------- Prose (legal) ---------- */
.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose .h3 { margin-top: 1.75rem; font-size: 1.8rem; }
.prose p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); padding-block: clamp(3.5rem, 2rem + 4vw, 6rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer-brand { display: grid; gap: 0.75rem; align-content: start; }
.footer-tagline { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--brass-ink); }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-cols > div { display: grid; gap: 0.9rem; align-content: start; }
.footer-list { list-style: none; display: grid; gap: 0.45rem; font-size: 0.94rem; }
.footer-list a { text-decoration: none; color: var(--ink-2); }
.footer-list a:hover { color: var(--ink); text-decoration: underline; }
.footer-list a[aria-current="page"] { color: var(--ink); }
.theme-switch { display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 999px; padding: 3px; justify-self: start; margin-top: 0.5rem; }
.theme-switch button { min-height: 32px; padding: 0.2rem 0.75rem; border: 0; border-radius: 999px; background: transparent; font-size: 0.76rem; color: var(--ink-soft); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; font-size: 0.8rem; color: var(--ink-soft); }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .scroll-cue-line::after { display: none; }
}

/* ---------- Work page: featured film ---------- */
.feature { display: grid; gap: 1.5rem; margin-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); padding-top: clamp(2rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.feature .tx { max-width: 520px; }
.feature-copy { display: grid; gap: 0.9rem; align-content: center; }
.feature-copy p:not(.label) { color: var(--ink-soft); max-width: 34em; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: center; } }
