/* oneheus — site styles.
   Calm, editorial, monochrome. White page, black bands where film and work live.
   One display serif + one sans. The mark is the only graphic. No accent color. */

:root {
  --paper: #FFFFFF;
  --ink: #111110;
  --ink-2: #5A5955;
  --line: #E4E3DF;
  --night: #0E0E0D;
  --night-ink: #F2F1ED;
  --night-2: #A4A39D;
  --night-line: #2A2A28;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --wordmark: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --gap: clamp(20px, 2.4vw, 36px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, .serif {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  letter-spacing: -.015em;
  line-height: 1.02;
}
em { font-style: italic; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.night { background: var(--night); color: var(--night-ink); }
.night ::selection { background: var(--night-ink); color: var(--night); }

/* The mark (inline <svg><use href="#oh"/></svg>) */
.mark { fill: currentColor; aspect-ratio: 506 / 298; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #33322F; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px currentColor; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.night .btn-solid { background: var(--night-ink); color: var(--night); }
.night .btn-solid:hover { background: #FFFFFF; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.lockup .mark { width: 38px; }
.lockup-word { font-family: var(--wordmark); font-weight: 500; font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 36; font-size: 25px; line-height: 1; letter-spacing: -.01em; transform: translateY(-1px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta { color: var(--paper); background: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 500; }
.nav .nav-cta:hover { color: var(--paper); background: #33322F; }
@media (max-width: 720px) {
  .head-row { height: 64px; }
  .lockup-word { display: none; }
  .lockup .mark { width: 44px; }
  .nav .nav-link { display: none; }
}

/* Menu: full-screen, one list for every screen size (button and panel are added by site.js) */
.nav-toggle { display: inline-flex; align-items: center; gap: 12px; font: 500 15px/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.nt-lines { display: inline-grid; gap: 6px; width: 26px; }
.nt-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .3s ease; }
.menu-open .nt-lines i:first-child { transform: translateY(3.75px) rotate(20deg); }
.menu-open .nt-lines i:last-child { transform: translateY(-3.75px) rotate(-20deg); }
.nav .nav-link { display: none; }
.menu-panel { position: fixed; inset: 0; z-index: -1; padding: 120px var(--pad) 40px; background: var(--night); color: var(--night-ink); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-panel li { counter-increment: m; border-top: 1px solid var(--night-line); }
.menu-panel li:last-child { border-bottom: 1px solid var(--night-line); }
.menu-panel li a { display: flex; align-items: baseline; gap: 22px; padding: clamp(10px, 1.6vw, 20px) 0; font: 400 clamp(38px, 7.4vw, 104px)/1.05 var(--display); letter-spacing: -.02em; color: var(--night-ink); text-decoration: none; transition: opacity .25s, padding-left .3s ease; }
.menu-panel li a::before { content: "0" counter(m); font: 400 14px/1 var(--sans); letter-spacing: .04em; color: var(--night-2); min-width: 2ch; }
.menu-panel ol:hover li a { opacity: .38; }
.menu-panel ol li a:hover { opacity: 1; padding-left: 14px; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 28px 0 0; font-size: 15px; color: var(--night-2); }
.menu-foot a { color: var(--night-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.menu-open { background: var(--night); border-bottom-color: var(--night-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .lockup, .menu-open .nav-toggle { color: var(--night-ink); }
.menu-open .nav .nav-cta { background: var(--night-ink); color: var(--night); }
.menu-lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel:not([hidden]) li { animation: menuIn .5s cubic-bezier(.2,.7,.2,1) both; }
  .menu-panel:not([hidden]) li:nth-child(2) { animation-delay: .04s; } .menu-panel:not([hidden]) li:nth-child(3) { animation-delay: .08s; }
  .menu-panel:not([hidden]) li:nth-child(4) { animation-delay: .12s; } .menu-panel:not([hidden]) li:nth-child(5) { animation-delay: .16s; } .menu-panel:not([hidden]) li:nth-child(6) { animation-delay: .2s; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .nav { gap: 6px; } .nt-lines { width: 22px; } }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(80px, 11vw, 168px); }
.kicker { font: 500 14px/1.4 var(--sans); letter-spacing: .01em; color: var(--ink-2); margin-bottom: 22px; }
.night .kicker { color: var(--night-2); }
.h2 { font-size: clamp(40px, 5.6vw, 84px); max-width: 15ch; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.night .lede { color: var(--night-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 132px) clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.hero-text { grid-column: 1 / span 8; }
.hero-mark { grid-column: 9 / span 4; justify-self: end; width: 100%; max-width: 280px; color: var(--ink); margin-bottom: .9em; }
.hero h1 { font-size: clamp(54px, 9.4vw, 152px); line-height: .96; letter-spacing: -.03em; }
.hero h1 em { font-variation-settings: "SOFT" 0, "WONK" 0; font-variant-ligatures: none; letter-spacing: -.02em; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-top: clamp(36px, 4vw, 56px); }
.hero-sub { grid-column: 1 / span 6; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-2); }
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-actions { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: flex-end; }
.hero-link { font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-link:hover { opacity: .65; }
@media (max-width: 900px) {
  .hero-grid, .hero-foot { grid-template-columns: 1fr; }
  .hero-text, .hero-mark, .hero-sub, .hero-actions { grid-column: 1 / -1; }
  .hero-mark { order: -1; justify-self: start; width: 44vw; max-width: 220px; margin: 0 0 36px; }
  .hero-actions { justify-content: flex-start; margin-top: 28px; }
}

/* ---------- Film band (hero film slot) ---------- */
.film-band { position: relative; overflow: hidden; }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; display: grid; place-items: center; }
.film-frame video, .film-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meet { width: clamp(150px, 26vw, 400px); color: var(--night-ink); fill: currentColor; overflow: visible; }
.meet .o, .meet .h { transition: transform 1.6s var(--ease), opacity 1.2s var(--ease); }
.js.motion .meet:not(.met) .o { transform: translateX(-46px); opacity: .0; }
.js.motion .meet:not(.met) .h { transform: translateX(46px); opacity: .0; }
.film-caption { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(18px, 3vw, 36px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; color: rgba(242,241,237,.86); text-shadow: 0 1px 12px rgba(0,0,0,.45); pointer-events: none; }
.film-caption-title { font-family: var(--display); font-size: 17px; color: var(--night-ink); }
.film-count { margin-left: 6px; opacity: .7; font-variant-numeric: tabular-nums; }
.hero-film { max-height: 92vh; }
.hero-film::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); pointer-events: none; }
.js .hero-film .film-sound { left: auto; right: var(--pad); bottom: auto; top: clamp(16px, 2.4vw, 28px); opacity: 1; z-index: 2; }
@media (max-width: 720px) {
  .film-caption { position: static; padding: 14px var(--pad) 0; text-shadow: none; color: var(--night-2); }
  .hero-film { aspect-ratio: auto; display: block; }
  .hero-film video { position: relative; aspect-ratio: 16 / 9; height: auto; }
  .hero-film::after { display: none; }
  .film-band { padding-bottom: 8px; }
}

/* ---------- Work ---------- */
.work { padding-top: clamp(72px, 9vw, 140px); }
.work-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.work-head .h2 { grid-column: 1 / span 7; }
.work-head .lede { grid-column: 9 / span 4; }
.project { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; text-decoration: none; color: inherit; border-top: 1px solid var(--night-line); padding-top: clamp(28px, 3vw, 40px); }
.project-plate { grid-column: 1 / span 7; background: var(--paper); color: var(--ink); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.project-plate .plate-inner { display: grid; justify-items: center; gap: clamp(14px, 2vw, 26px); transition: transform .8s var(--ease); }
.project:hover .plate-inner { transform: scale(1.03); }
.project-plate .mark { width: clamp(140px, 22vw, 330px); }
.plate-word { font-family: var(--wordmark); font-weight: 500; font-variation-settings: "SOFT" 0, "opsz" 72; font-size: clamp(28px, 3.6vw, 54px); line-height: 1; letter-spacing: -.01em; }
.project-text { grid-column: 9 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.project-no { font: 500 14px/1.4 var(--sans); color: var(--night-2); margin-bottom: 18px; }
.project-title { font-size: clamp(34px, 3.6vw, 54px); margin-bottom: 14px; }
.label { display: inline-block; font: 500 13px/1.3 var(--sans); padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-2); }
.idea { margin-top: 26px; font-size: 18px; line-height: 1.6; color: var(--night-ink); }
.idea b { font-weight: 500; }
.project-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; align-self: flex-start; }
/* Films in Work */
.films { border-top: 1px solid var(--night-line); padding-top: clamp(28px, 3vw, 40px); margin-bottom: clamp(56px, 7vw, 104px); }
.films-text { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.films-text > div { grid-column: 1 / span 6; }
.films-text .idea { grid-column: 8 / span 5; margin-top: 0; }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.film-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-sound { display: none; }
.js .film-sound {
  display: inline-flex; position: absolute; left: 12px; bottom: 12px;
  font: 500 13px/1 var(--sans); color: var(--night-ink); cursor: pointer;
  background: rgba(14,14,13,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 0; border-radius: 999px; padding: 9px 13px;
  opacity: 0; transition: opacity .25s;
}
.film-media:hover .film-sound, .film-sound:focus-visible, .film-sound[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .js .film-sound { opacity: 1; } }
.film-grid--five { grid-template-columns: repeat(6, 1fr); row-gap: clamp(32px, 4vw, 56px); }
.film-grid--five .film-item { grid-column: span 2; }
.film-grid--five .film-item:nth-child(n+4) { grid-column: span 3; }
.film-grid--six { grid-template-columns: repeat(3, 1fr); row-gap: clamp(32px, 4vw, 56px); }
.ads { margin-top: 0; }
.film-label { margin: 6px 0 0; font-size: 14px; color: var(--night-2); }
.film-item figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; color: var(--night-2); }
.film-item figcaption span:first-child { color: var(--night-ink); }
@media (max-width: 900px) {
  .films-text { grid-template-columns: 1fr; row-gap: 20px; }
  .films-text > div, .films-text .idea { grid-column: 1 / -1; }
  .film-grid, .film-grid--five, .film-grid--six { grid-template-columns: 1fr; row-gap: 32px; }
  .film-grid--five .film-item, .film-grid--five .film-item:nth-child(n+4) { grid-column: auto; }
}

.work-note { margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--night-line); color: var(--night-2); font-size: 15px; }
@media (max-width: 900px) {
  .work-head, .project { grid-template-columns: 1fr; }
  .work-head .h2, .work-head .lede, .project-plate, .project-text { grid-column: 1 / -1; }
  .work-head .lede { margin-top: 20px; }
}

/* ---------- What we do ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); }
.service { border-top: 1px solid var(--ink); padding-top: 24px; }
.service h3 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 14px; }
.service p { color: var(--ink-2); margin-bottom: 22px; max-width: 24em; }
.service li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 16px; }
.services-close { margin-top: clamp(40px, 5vw, 64px); font-family: var(--display); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; row-gap: 48px; } }

/* ---------- How it works ---------- */
.how { background: #F5F4F1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); counter-reset: step; }
.step-no { display: block; font-family: var(--display); font-size: clamp(64px, 7vw, 112px); line-height: 1; letter-spacing: -.04em; color: var(--ink); margin-bottom: 26px; font-variation-settings: "SOFT" 100; }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 22em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; row-gap: 48px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; }
.about-grid > div:first-child { grid-column: 1 / span 5; grid-row: span 2; }
.about-grid .h2 { max-width: 9ch; }
.about-body { grid-column: 7 / span 6; display: grid; gap: 1.1em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; }
.about-body p:first-child { color: var(--ink); }
.about-body p { color: var(--ink-2); }
.facts { grid-column: 7 / span 6; display: grid; grid-template-columns: max-content 1fr; column-gap: 28px; font-size: 16px; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div:first-child, .about-body, .facts { grid-column: 1 / -1; grid-row: auto; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 2px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; }
.faq-grid > div:first-child { grid-column: 1 / span 5; }
.faq-list { grid-column: 7 / span 6; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font-family: var(--display); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 26px; color: var(--ink-2); max-width: 34em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child, .faq-list { grid-column: 1 / -1; } }

/* ---------- Let's connect ---------- */
.connect-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 48px; }
.connect-intro { grid-column: 1 / span 5; }
.connect-intro .h2 { margin-bottom: 26px; }
.form { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.field { display: grid; gap: 10px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--night-2); }
.field label span { opacity: .75; }
.field input, .field textarea {
  width: 100%; font: 400 18px/1.5 var(--sans); color: var(--night-ink);
  background: transparent; border: 0; border-bottom: 1px solid #4A4A46; border-radius: 0;
  padding: 10px 0 12px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--night-ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--night-ink); outline-offset: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.form-note { font-size: 15px; color: var(--night-2); }
.privacy { grid-column: 1 / -1; font-size: 14px; color: var(--night-2); }
.connect-email { margin-top: 28px; font-size: 17px; color: var(--night-2); }
.connect-email a { color: var(--night-ink); text-underline-offset: 4px; }
.foot-small a { color: var(--night-ink); text-decoration: none; }
.foot-small a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .connect-grid { grid-template-columns: 1fr; }
  .connect-intro, .form { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-foot { padding-block: clamp(64px, 8vw, 112px) 36px; border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; align-items: end; }
.foot-mark { grid-column: 1 / span 5; color: var(--night-ink); width: clamp(140px, 18vw, 240px); }
.foot-nav { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; font-size: 15px; }
.foot-nav a { text-decoration: none; color: var(--night-2); }
.foot-nav a:hover { color: var(--night-ink); }
.foot-small { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--night-2); }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } .foot-mark, .foot-nav { grid-column: 1 / -1; } .foot-nav { justify-content: flex-start; } }

/* ---------- Reveal on scroll (JS + motion only) ---------- */
.js.motion .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.motion .rise.in { opacity: 1; transform: none; }

/* =========================================================
   Case study page (project-001-identity.html)
   ========================================================= */
.cs-hero { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.cs-back { display: inline-block; font-size: 15px; color: var(--ink-2); text-decoration: none; margin-bottom: clamp(32px, 4vw, 56px); }
.cs-back:hover { color: var(--ink); }
.cs-hero h1 { font-size: clamp(52px, 8.4vw, 136px); line-height: .96; letter-spacing: -.03em; max-width: 12ch; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cs-meta .label { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.cs-idea { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.cs-idea p { grid-column: 1 / span 7; font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -.01em; }
.cs-idea p b { font-weight: 500; }
.cs-idea .cs-purpose { grid-column: 9 / span 4; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink-2); letter-spacing: 0; }

.chapter { padding-block: clamp(64px, 8vw, 128px); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.night.chapter + .chapter, .chapter + .night.chapter { border-top: 0; }
.ch-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.ch-head .ch-no { grid-column: 1 / span 1; font: 500 14px/1.4 var(--sans); color: var(--ink-2); align-self: start; padding-top: .6em; }
.night .ch-no { color: var(--night-2); }
.ch-head h2 { grid-column: 2 / span 6; font-size: clamp(34px, 4vw, 60px); }
.ch-head p { grid-column: 9 / span 4; color: var(--ink-2); }
.night .ch-head p { color: var(--night-2); }
.figure img { width: 100%; background: #fff; }
.figure figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 46em; }
.night .figure figcaption { color: var(--night-2); }
.fig-pair { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: start; }

.detail { aspect-ratio: 21 / 9; background: var(--night); color: var(--night-ink); overflow: hidden; display: grid; }
.detail svg { width: 100%; height: 100%; }

.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.size-plate { padding: clamp(28px, 4vw, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); }
.size-plate.dark { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.size { display: grid; justify-items: center; gap: 12px; font-size: 12px; color: var(--ink-2); }
.size-plate.dark .size { color: var(--night-2); }
.size svg { fill: currentColor; color: var(--ink); }
.size-plate.dark .size svg { color: var(--night-ink); }

.uses { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); }
.use-end { aspect-ratio: 16 / 9; background: #000; color: #F2F1ED; display: grid; place-items: center; }
.use-end .mark { width: 30%; }
.use-side { display: grid; gap: var(--gap); grid-template-rows: auto 1fr; }
.use-header { border: 1px solid var(--line); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-2); }
.use-header .lockup .mark { width: 30px; }
.use-header .lockup-word { font-size: 20px; display: inline; }
.use-avatar-row { display: flex; gap: var(--gap); align-items: flex-end; }
.use-avatar { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #000; color: #F2F1ED; display: grid; place-items: center; }
.use-avatar .mark { width: 62%; }
.use-avatar.square { border-radius: 22%; width: 30%; }
.use-caption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

.cs-next { text-align: left; }
.cs-next .h2 { max-width: 16ch; margin-bottom: 32px; }

@media (max-width: 900px) {
  .cs-idea, .ch-head { grid-template-columns: 1fr; }
  .cs-idea p, .cs-idea .cs-purpose, .ch-head .ch-no, .ch-head h2, .ch-head p { grid-column: 1 / -1; }
  .ch-head .ch-no { padding: 0 0 12px; }
  .cs-idea .cs-purpose { margin-top: 24px; }
  .ch-head p { margin-top: 16px; }
  .fig-pair, .sizes, .uses { grid-template-columns: 1fr; }
  .detail { aspect-ratio: 4 / 3; }
}

/* Plain text pages (privacy) */
.prose { max-width: 40em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; color: var(--ink-2); }
.prose a { color: var(--ink); }
.prose-note { font-size: 14px; margin-top: 2.4em; }

/* Thank-you page */
.thanks .thanks-mark { width: clamp(120px, 16vw, 220px); margin-bottom: clamp(28px, 4vw, 48px); display: block; }
.thanks h1 em { font-variation-settings: "SOFT" 0, "WONK" 0; font-variant-ligatures: none; }
.thanks .lede { max-width: 32em; margin-top: 24px; }
.hero-actions-plain { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

.faq-lede { margin: 18px 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 22em; }
