/* ==========================================================================
   JNDS Web Design — 2026 "Pixel perfect"
   Everything is built from the square in the JNDS logo.
   No build step: edit this file directly.
   ========================================================================== */

/* ---------- Fonts (Matter, hosted in /fonts) ---------- */
@font-face { font-family: "Matter"; src: url("/fonts/matter-light-webfont.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Matter"; src: url("/fonts/matter-regular-webfont.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Matter"; src: url("/fonts/matter-medium-webfont.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Matter"; src: url("/fonts/matter-semibold-webfont.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Matter"; src: url("/fonts/matter-bold-webfont.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Matter"; src: url("/fonts/matter-heavy-webfont.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #10cce5;
  --red: #ff5a5a;
  --lead: var(--blue);     /* the colour picked with the switch */
  --second: var(--red);    /* the other one */

  --ink: #1f2024;
  --ink-2: #2a2b31;
  --ink-3: #3a3b42;
  --paper: #ffffff;
  --fog: #f0f0ee;
  --stone: #6c6868;
  --mute: #a4a1a1;
  --line: rgba(31, 32, 36, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font: "Matter", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 3.6vw, 3.75rem);
  --section: clamp(5rem, 11vw, 10rem);
  --header-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  interpolate-size: allow-keywords;
}
html[data-accent="red"] { --lead: var(--red); --second: var(--blue); }
@media (max-width: 900px) { :root { --header-h: 68px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--lead); color: var(--ink); }

:focus-visible { outline: 3px solid var(--lead); outline-offset: 4px; }
main [data-theme="accent"] :focus-visible, .on-accent :focus-visible { outline-color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 400; background: var(--lead); color: var(--ink); padding: 0.8rem 1.1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Page-load states set by the inline script in <head>. Fail-safe: content shows after 3s regardless. */
html.pt-in, html.is-loading { background: var(--ink); }
html.pt-in body, html.is-loading body { visibility: hidden; animation: jnds-unhide 0s 3s forwards; }
@keyframes jnds-unhide { to { visibility: visible; } }

/* ---------- Type ---------- */
.t-display { font-size: clamp(3.4rem, 10.4vw, 13rem); font-weight: 700; letter-spacing: -0.062em; line-height: 0.86; }
.t-xl { font-size: clamp(2.9rem, 8vw, 9.5rem); font-weight: 700; letter-spacing: -0.058em; line-height: 0.88; }
.t-l { font-size: clamp(2.2rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.96; }
.t-m { font-size: clamp(1.55rem, 2.7vw, 2.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.t-lead { font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.45; }
.t-small { font-size: 0.95rem; }
.muted { color: var(--stone); }
.on-dark .muted, .footer .muted { color: var(--mute); }
.label { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; font-weight: 500; }
.label::before { content: ""; width: 0.55rem; height: 0.55rem; background: var(--lead); flex: none; transition: background-color 0.5s; }
.sq { display: inline-block; width: 0.6rem; height: 0.6rem; background: var(--sq, var(--lead)); flex: none; }

/* ---------- Layout ---------- */
.pad { padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.on-dark { background: var(--ink); color: #fff; }
.on-accent { background: var(--lead); color: var(--ink); transition: background-color 0.6s; }
.on-fog { background: var(--fog); }
main { position: relative; z-index: 1; background: var(--paper); }

/* ---------- Roll text (hover swaps to a second copy) ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.15; }
.roll > span { grid-area: 1 / 1; transition: transform 0.55s var(--ease-out); }
.roll > span + span { transform: translateY(105%); }
a:hover .roll > span:first-child, button:hover .roll > span:first-child,
a:focus-visible .roll > span:first-child, button:focus-visible .roll > span:first-child { transform: translateY(-105%); }
a:hover .roll > span + span, button:hover .roll > span + span,
a:focus-visible .roll > span + span, button:focus-visible .roll > span + span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--lead); --b-fg: var(--ink); --b-fill: var(--ink); --b-fill-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem; overflow: hidden; isolation: isolate;
  padding: 1.05rem 1.5rem; min-height: 3.4rem; font-weight: 600; font-size: 1.0625rem; line-height: 1;
  background: var(--b-bg); color: var(--b-fg); border: 0; transition: color 0.45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--b-fill-fg); }
.btn .sq { --sq: currentColor; width: 0.5rem; height: 0.5rem; transition: rotate 0.5s var(--ease-out); }
.btn:hover .sq { rotate: 45deg; }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ink { --b-bg: var(--ink); --b-fg: #fff; --b-fill: #fff; --b-fill-fg: var(--ink); }
.btn--paper { --b-bg: #fff; --b-fg: var(--ink); }
.btn--sm { padding: 0.8rem 1.1rem; min-height: 2.75rem; font-size: 0.98rem; }
main .on-dark .btn--ghost:hover, .footer .btn--ghost:hover { --b-fill: #fff; --b-fill-fg: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* The big square call to action: turns into a diamond on hover, like the logo switch */
.sq-cta {
  position: relative; display: grid; place-items: center; text-align: center; isolation: isolate;
  width: clamp(8.5rem, 11.5vw, 12rem); aspect-ratio: 1; padding: 1rem;
  color: var(--ink); font-weight: 600; font-size: clamp(1rem, 1.15vw, 1.2rem); line-height: 1.15;
  transition: transform 0.6s var(--ease-out);
}
.sq-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lead);
  transition: rotate 0.8s var(--ease-out), scale 0.8s var(--ease-out), background-color 0.6s;
}
.sq-cta:hover::before, .sq-cta:focus-visible::before { rotate: 45deg; scale: 0.86; }
.sq-cta .mag-inner { display: grid; gap: 0.4rem; justify-items: center; transition: transform 0.6s var(--ease-out); }
.sq-cta .sq { --sq: var(--ink); width: 0.55rem; height: 0.55rem; transition: rotate 0.6s var(--ease-out); }
.sq-cta:hover .sq { rotate: 45deg; }

/* Text link with growing underline */
.u-link { position: relative; justify-self: start; font-weight: 600; display: inline-flex; align-items: center; gap: 0.6rem; padding-bottom: 0.2rem; }
.u-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease-out); }
.u-link:hover::after { transform: scaleX(0); }
.u-link .sq { --sq: var(--lead); transition: rotate 0.5s var(--ease-out); }
.u-link:hover .sq { rotate: 45deg; }

/* ---------- Logo ---------- */
.logo { width: auto; height: 44px; aspect-ratio: 968 / 522; }
.logo use { transition: fill 0.4s; }

/* ---------- Header ---------- */
.header {
  --hc: #fff; --logo-ink: #fff; --logo-accent: var(--lead);
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); padding-inline: var(--pad);
  color: var(--hc); transition: transform 0.7s var(--ease-io), color 0.35s ease;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header[data-theme="light"] { --hc: var(--ink); --logo-ink: var(--ink); }
.header[data-theme="accent"] { --hc: var(--ink); --logo-ink: var(--ink); --logo-accent: #fff; }
.header.is-hidden { transform: translateY(-115%); }
.brand { display: block; flex: none; }
.nav { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); margin-left: auto; font-weight: 500; }
.nav a { position: relative; padding-block: 0.35rem; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -0.35rem; width: 6px; height: 6px; margin-left: -3px; background: var(--lead); }
.header-clock { display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-clock .sq { width: 0.45rem; height: 0.45rem; animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.header .btn { --b-bg: var(--hc); --b-fg: var(--ink); --b-fill: var(--lead); --b-fill-fg: var(--ink); }
.header[data-theme="light"] .btn, .header[data-theme="accent"] .btn { --b-fg: #fff; }
.header[data-theme="accent"] .btn { --b-fill: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 0.6rem 0; font-weight: 600; font-size: 1.05rem; }

/* Colour switch: blue diamond / red square — the active one turns 45° */
.swatches { display: flex; gap: 0.2rem; }
.swatch { --c: var(--blue); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: none; border: 0; padding: 0; }
.swatch[data-accent="red"] { --c: var(--red); }
.swatch span { width: 1rem; height: 1rem; border: 2.5px solid var(--c); transition: rotate 0.7s var(--ease-out), background-color 0.3s; }
.swatch:hover span { rotate: 90deg; }
.swatch[aria-pressed="true"] span { rotate: 45deg; background: var(--c); }
.swatch[aria-pressed="true"]:hover span { rotate: 225deg; }
html:not([data-accent="red"]) .header[data-theme="accent"] .swatch[data-accent="blue"] span,
html:not([data-accent="red"]) .on-accent .swatch[data-accent="blue"] span,
html[data-accent="red"] .header[data-theme="accent"] .swatch[data-accent="red"] span,
html[data-accent="red"] .on-accent .swatch[data-accent="red"] span { border-color: var(--ink); }

@media (max-width: 1100px) { .header-clock { display: none; } }
@media (max-width: 900px) {
  .logo { height: 38px; }
  .nav, .header .header-cta { display: none; }
  .header .swatches { margin-left: auto; }
  .menu-btn { display: block; }
}

/* ---------- Full-screen menu (mobile) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 2rem) var(--pad) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s 0.8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-io); }
.menu nav { display: grid; gap: 0.2rem; }
.menu nav a { font-size: clamp(2.8rem, 13vw, 5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.05; display: flex; align-items: center; gap: 1rem; overflow: hidden; }
.menu nav a > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.menu.is-open nav a > span { transform: none; transition-delay: calc(0.25s + var(--i) * 0.07s); }
.menu nav a[aria-current="page"] > span::after { content: ""; display: inline-block; width: 0.22em; height: 0.22em; background: var(--lead); margin-left: 0.25em; vertical-align: middle; }
.menu-foot { margin-top: auto; display: grid; gap: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); opacity: 0; transition: opacity 0.6s 0.5s; }
.menu.is-open .menu-foot { opacity: 1; }
html.menu-open { overflow: hidden; }
html.menu-open .header { --hc: #fff; --logo-ink: #fff; --logo-accent: var(--lead); transform: none; }

/* ---------- Pixel overlay (page transitions, intro, colour wipe) ---------- */
.pixels {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; overflow: hidden; visibility: visible;
  display: grid; grid-template-columns: repeat(var(--cols), var(--size)); grid-auto-rows: var(--size);
}
.pixels i { display: block; background: var(--c, var(--lead)); transform: scale(0); transition: transform var(--dur, 0.45s) var(--ease-io) calc(var(--d) * var(--spread, 0.5s)); }
.pixels.is-in i { transform: scale(1.04); }
.pixels.no-anim i { transition: none !important; }
.pixels.is-busy { pointer-events: auto; }
.pixels i.c-lead { --c: var(--px-lead, var(--lead)); }
.pixels i.c-second { --c: var(--second); }
.pixels i.c-ink { --c: var(--ink); }
.pixels i.c-ink2 { --c: var(--ink-2); }
.pixels i.c-paper { --c: #fff; }

.loader { position: fixed; inset: 0; z-index: 260; pointer-events: none; color: #fff; visibility: visible; display: grid; grid-template-rows: 1fr auto; padding: var(--pad); transition: opacity 0.4s; }
.loader .logo { --logo-ink: #fff; --logo-accent: var(--lead); height: clamp(56px, 8vw, 96px); place-self: center; }
.loader-count { justify-self: end; font-size: clamp(4rem, 14vw, 12rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; font-variant-numeric: tabular-nums; }
.loader.is-done { opacity: 0; }

/* ---------- Custom cursor (fine pointers only) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #fff; mix-blend-mode: difference;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out), rotate 0.45s var(--ease-out), background-color 0.3s, opacity 0.3s;
  display: grid; place-items: center;
}
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; rotate: 45deg; }
.cursor.is-down { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.cursor.is-view { width: 108px; height: 108px; margin: -54px 0 0 -54px; mix-blend-mode: normal; background: var(--lead); rotate: 0deg; }
.cursor.is-hidden { opacity: 0; }
.cursor-label { font-size: 0.95rem; font-weight: 600; color: var(--ink); opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.45s var(--ease-out); white-space: nowrap; }
.cursor.is-view .cursor-label { opacity: 1; transform: none; }

/* ---------- Split text reveals ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; padding-right: 0.02em; }
.split .wi { display: inline-block; }
html.js:not(.reduced) .split .wi { transform: translateY(108%); transition: transform 1.1s var(--ease-out) calc(var(--i) * 55ms + var(--delay, 0ms)); }
html.js:not(.reduced) .split.chars .wi { transform: none; transition: none; }
.split.chars .c { display: inline-block; }
html.js:not(.reduced) .split.chars .c { transform: translateY(110%); transition: transform 1.1s var(--ease-out) calc(var(--ci) * 22ms + var(--delay, 0ms)); }
html.js:not(.reduced) .split.is-in .wi, html.js:not(.reduced) .split.is-in .c { transform: none; }
.line { display: block; }

html.js:not(.reduced) [data-reveal="fade"] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out) var(--delay, 0ms), transform 1.2s var(--ease-out) var(--delay, 0ms); }
html.js:not(.reduced) [data-reveal="fade"].is-in { opacity: 1; transform: none; }
html.js:not(.reduced) [data-reveal="line"] { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) var(--delay, 0ms); }
html.js:not(.reduced) [data-reveal="line"].is-in { transform: none; }

/* Pixel image reveal: a grid of brand squares that dissolves away */
.px-wrap { position: relative; overflow: hidden; }
.px-mask { position: absolute; inset: -1px; z-index: 2; display: grid; grid-template-columns: repeat(var(--pc), 1fr); grid-template-rows: repeat(var(--pr), 1fr); pointer-events: none; }
.px-mask i { background: var(--c); transition: transform 0.5s var(--ease-io) calc(var(--d) * 0.6s); }
.px-mask i.c-lead { --c: var(--lead); } .px-mask i.c-second { --c: var(--second); } .px-mask i.c-ink { --c: var(--ink); }
.is-in > .px-mask i, .px-wrap.is-in .px-mask i { transform: scale(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 3rem) var(--pad) clamp(1.5rem, 3vw, 2.75rem); overflow: hidden; isolation: isolate;
}
.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero h1 { max-width: 14ch; }
.hero h1 .line:nth-child(2) { padding-left: clamp(0rem, 9vw, 12rem); }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; margin-top: clamp(2rem, 4.5vw, 4rem); }
.hero-foot .t-lead { max-width: 30ch; color: #d9d7d7; }
.hero-foot .sq-cta { justify-self: end; }
.scroll-cue { display: grid; justify-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--mute); }
.scroll-cue i { position: relative; width: 1px; height: 3.5rem; background: var(--line-dark); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; background: var(--lead); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-8px); } 70%, 100% { transform: translateY(3.6rem); } }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero-foot .sq-cta { justify-self: start; }
  .hero h1 .line:nth-child(2) { padding-left: 0; }
}

/* ---------- Intro / word highlight ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: end; }
.words .hw { transition: opacity 0.2s linear; }
html.js:not(.reduced) .words .hw { opacity: 0.16; }
.intro-side { display: grid; gap: 1.25rem; }
.portrait { aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.intro-side p { color: var(--stone); max-width: 34ch; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } .intro-side { max-width: 440px; } }

/* ---------- Horizontal work reel ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-track { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); padding-inline: var(--pad); will-change: transform; align-items: stretch; }
.h-intro { flex: 0 0 min(30vw, 480px); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-block: 0.5rem; }
.h-intro p { color: var(--mute); max-width: 28ch; }
.h-card { --c: var(--lead); flex: 0 0 auto; width: min(60vw, 1000px, calc((100svh - var(--header-h) - 11rem) * 1.6)); display: grid; gap: 1.1rem; }
.h-media {
  aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; padding: clamp(1rem, 3.5vw, 3.5rem);
  background: radial-gradient(110% 80% at 50% 105%, color-mix(in oklab, var(--c) 55%, transparent), transparent 72%), color-mix(in oklab, var(--c) 20%, var(--ink-2));
}
.h-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease-out); }
.h-card:hover .h-media img { transform: scale(1.045) translateY(-1%); }
.h-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; }
.h-meta h3 { font-size: clamp(1.4rem, 2.3vw, 2.4rem); letter-spacing: -0.035em; font-weight: 600; }
.h-kind { display: flex; align-items: center; gap: 0.55rem; color: var(--mute); font-size: 0.95rem; white-space: nowrap; }
.h-kind .sq { --sq: var(--c); }
.hscroll-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.5rem, 3vw, 2.5rem); height: 2px; background: var(--line-dark); }
.hscroll-bar span { position: absolute; inset: 0; background: var(--lead); transform-origin: left; transform: scaleX(0); }
.hscroll-count { position: absolute; right: var(--pad); top: calc(var(--header-h) + 1rem); font-size: 0.95rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.hscroll.is-static .hscroll-sticky { position: static; height: auto; padding-block: var(--section); }
.hscroll.is-static .hscroll-track { flex-direction: column; transform: none !important; gap: 3.5rem; }
.hscroll.is-static .h-intro, .hscroll.is-static .h-card { flex: none; width: 100%; }
.hscroll.is-static .hscroll-bar, .hscroll.is-static .hscroll-count { display: none; }
@media (max-width: 760px) { .h-meta { flex-direction: column; gap: 0.5rem; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(1.1rem, 2.6vw, 2.25rem); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; gap: 0.32em; padding-right: 0.32em; white-space: nowrap; font-size: clamp(2.6rem, 7.4vw, 8rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.marquee-item i { width: 0.3em; height: 0.3em; background: currentColor; rotate: 45deg; flex: none; }

/* ---------- Service rows ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem) var(--pad); border-top: 1px solid var(--line); transition: color 0.5s var(--ease-out);
}
.row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.65s var(--ease-out); }
.row h3 { font-size: clamp(1.8rem, 4vw, 4.25rem); font-weight: 600; letter-spacing: -0.045em; transition: transform 0.65s var(--ease-out); }
.row p { color: var(--stone); max-width: 42ch; transition: color 0.5s; }
.row .row-sq { width: clamp(1rem, 1.6vw, 1.5rem); aspect-ratio: 1; border: 2.5px solid currentColor; transition: rotate 0.7s var(--ease-out), background-color 0.4s, border-color 0.4s; }
a.row:hover, a.row:focus-visible { color: #fff; }
a.row:hover::before, a.row:focus-visible::before { transform: scaleY(1); }
a.row:hover h3 { transform: translateX(clamp(0.5rem, 1.5vw, 1.5rem)); }
a.row:hover p { color: var(--mute); }
a.row:hover .row-sq { rotate: 45deg; background: var(--lead); border-color: var(--lead); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr auto; } .row p { grid-column: 1 / -1; grid-row: 2; } }

/* Services page: expanding rows */
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding: clamp(1.5rem, 2.8vw, 2.4rem) var(--pad); position: relative; isolation: isolate; transition: color 0.5s var(--ease-out); }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fog); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out); }
.svc summary:hover::before, .svc[open] summary::before { transform: scaleY(1); }
.svc h3 { font-size: clamp(1.8rem, 4.2vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; }
.svc .row-sq { width: clamp(1rem, 1.6vw, 1.5rem); aspect-ratio: 1; border: 2.5px solid currentColor; transition: rotate 0.7s var(--ease-out), background-color 0.4s, border-color 0.4s; }
.svc[open] .row-sq { rotate: 45deg; background: var(--lead); border-color: var(--lead); }
.svc::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease-out), content-visibility 0.6s allow-discrete; }
.svc[open]::details-content { block-size: auto; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; padding: 0 var(--pad) clamp(1.75rem, 3vw, 2.75rem); background: var(--fog); }
.svc-body p { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.5; max-width: 48ch; grid-column: 2; }
@media (max-width: 760px) { .svc-body { grid-template-columns: 1fr; } .svc-body p { grid-column: 1; } }

/* ---------- Logo wall ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wall li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wall a { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; padding: 1.5rem; overflow: hidden; isolation: isolate; }
.wall a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fog); transform: scale(0.0); transition: transform 0.7s var(--ease-out); }
.wall a:hover::before, .wall a:focus-visible::before { transform: scale(1); }
.wall img { max-height: 64px; max-width: min(70%, 220px); width: auto; filter: grayscale(1) contrast(1.15); opacity: 0.6; transition: filter 0.5s, opacity 0.5s, transform 0.7s var(--ease-out); }
.wall .is-wide img { max-height: 40px; }
.wall a:hover img, .wall a:focus-visible img { filter: none; opacity: 1; transform: scale(1.08); }
.wall .wall-name { position: absolute; left: 1rem; bottom: 0.8rem; font-size: 0.88rem; font-weight: 500; transform: translateY(160%); transition: transform 0.6s var(--ease-out); }
.wall a:hover .wall-name, .wall a:focus-visible .wall-name { transform: none; }
@media (max-width: 760px) { .wall a { aspect-ratio: 1; padding: 0.9rem; } .wall img { max-height: 44px; } .wall .is-wide img { max-height: 26px; } .wall .wall-name { display: none; } }

/* ---------- Stacked testimonials ---------- */
.stack-list { display: grid; gap: 0; }
.stack-card {
  --bg: #fff; --fg: var(--ink);
  position: sticky; top: calc(var(--header-h) + var(--i) * 1.1rem);
  min-height: min(72svh, 680px); margin-bottom: 7vh; background: var(--bg); color: var(--fg);
  display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; padding: clamp(1.75rem, 4.5vw, 4.5rem);
  transform-origin: 50% 0; will-change: transform; transition: background-color 0.6s;
}
.stack-card:last-child { margin-bottom: 0; }
.stack-card.k-lead { --bg: var(--lead); }
.stack-card.k-second { --bg: var(--second); }
.stack-card.k-ink { --bg: var(--ink-2); --fg: #fff; }
.stack-top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 0.95rem; }
.stack-card blockquote p { font-size: clamp(1.6rem, 3.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; max-width: 26ch; }
.stack-card.is-long blockquote p { font-size: clamp(1.3rem, 2.2vw, 2.25rem); line-height: 1.22; max-width: 40ch; }
.stack-card figcaption { display: flex; align-items: center; gap: 1rem; }
.stack-card figcaption img { width: 72px; height: 72px; object-fit: cover; }
.stack-card cite { font-style: normal; display: grid; line-height: 1.3; }
.stack-card cite strong { font-weight: 600; font-size: 1.1rem; }
.stack-card cite span { opacity: 0.72; }

/* ---------- Footer (slides up from behind the page on desktop) ---------- */
.footer { position: relative; z-index: 0; background: var(--ink); color: #fff; padding: clamp(5rem, 9vw, 8rem) var(--pad) 1.75rem; }
.footer .logo { --logo-ink: #fff; --logo-accent: var(--lead); }
@media (min-width: 901px) and (min-height: 760px) { .footer { position: sticky; bottom: 0; } }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-dark); }
.footer-cta .t-lead { color: var(--mute); margin-bottom: 1.25rem; }
.big-link { display: inline-block; }
.big-link .c { transition: translate 0.6s var(--ease-out) calc(var(--ci) * 18ms), color 0.4s calc(var(--ci) * 18ms), transform 1.1s var(--ease-out) calc(var(--ci) * 22ms + var(--delay, 0ms)); }
.big-link:hover .c { translate: 0 -0.08em; color: var(--lead); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr)); gap: 2.5rem; padding-block: 3rem; }
.footer-grid h2 { font-size: 0.92rem; font-weight: 500; color: var(--mute); letter-spacing: 0; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a:hover { color: var(--lead); }
.copy-btn { background: none; border: 0; padding: 0; font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; text-align: left; display: inline-flex; align-items: center; gap: 0.8rem; }
.copy-btn .tag { font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.55rem; background: var(--ink-3); color: #fff; letter-spacing: 0; transition: background-color 0.3s, color 0.3s; }
.copy-btn:hover .tag, .copy-btn.is-copied .tag { background: var(--lead); color: var(--ink); }
.clock-big { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--mute); font-size: 0.92rem; }
.to-top { background: none; border: 0; color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 0.6rem; }
.to-top .sq { transition: transform 0.6s var(--ease-out); }
.to-top:hover .sq { transform: translateY(-4px) rotate(45deg); }
@media (max-width: 900px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Page intros (inner pages) ---------- */
.page-intro { padding: calc(var(--header-h) + clamp(3rem, 9vw, 8rem)) var(--pad) clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.page-intro .label { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.intro-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); }
.intro-row .t-lead { max-width: 36ch; }
.count { font-size: 0.32em; vertical-align: top; letter-spacing: -0.02em; font-weight: 500; margin-left: 0.15em; }
@media (max-width: 760px) { .intro-row { grid-template-columns: 1fr; } }

/* ---------- Work index (hover preview) ---------- */
.index { border-bottom: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 14rem) auto; gap: 1rem 2rem; align-items: center; padding: clamp(1.25rem, 2.4vw, 2rem) var(--pad); border-top: 1px solid var(--line); position: relative; transition: color 0.4s; }

.index-row .h-kind { color: var(--stone); }
.index-row .row-sq { width: 1.1rem; aspect-ratio: 1; border: 2.5px solid currentColor; transition: rotate 0.7s var(--ease-out), background-color 0.4s, border-color 0.4s; }
.index:hover .index-row { color: color-mix(in oklab, var(--ink) 30%, #fff); }
.index:hover .index-row:hover { color: var(--ink); }

.index-row:hover .row-sq { rotate: 45deg; background: var(--c); border-color: var(--c); }
@media (max-width: 760px) { .index-row { grid-template-columns: 1fr auto; } .index-row .h-kind { grid-column: 1; grid-row: 2; } }
.preview { position: fixed; left: 0; top: 0; z-index: 80; width: clamp(280px, 26vw, 420px); aspect-ratio: 16 / 10; pointer-events: none; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path 0.6s var(--ease-out); }
.preview.is-on { clip-path: inset(0 0 0 0); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1rem; background: color-mix(in oklab, var(--c) 22%, var(--ink-2)); opacity: 0; transition: opacity 0.35s; }
.preview img.is-on { opacity: 1; }

/* ---------- Project detail ---------- */
.project { --c: var(--lead); padding: clamp(3rem, 7vw, 6.5rem) var(--pad); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.project-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.project-head h2 { font-size: clamp(2.4rem, 6.5vw, 7.5rem); font-weight: 700; letter-spacing: -0.058em; line-height: 0.9; }
.project-head .h-kind { color: var(--stone); margin-bottom: 1.25rem; }
.project-head .t-lead { color: var(--ink); }
.project-media { aspect-ratio: 16 / 8.5; display: grid; place-items: center; overflow: hidden; padding: clamp(1.25rem, 5vw, 5rem) clamp(1.25rem, 10vw, 12rem); background: radial-gradient(110% 80% at 50% 110%, color-mix(in oklab, var(--c) 45%, transparent), transparent 72%), color-mix(in oklab, var(--c) 16%, var(--fog)); }
.project-media img { width: 100%; height: 100%; object-fit: contain; will-change: transform; }
.project-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 4rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); align-items: start; }
.project-quote { display: grid; gap: 1.1rem; }
.project-quote p { font-size: clamp(1.15rem, 1.6vw, 1.55rem); line-height: 1.4; letter-spacing: -0.015em; }
.project-quote figcaption { display: flex; align-items: center; gap: 0.85rem; font-size: 0.95rem; line-height: 1.3; }
.project-quote img { width: 48px; height: 48px; object-fit: cover; }
.project-quote cite { font-style: normal; }
.project-quote cite span { color: var(--stone); display: block; }
@media (max-width: 860px) {
  .project-head, .project-foot { grid-template-columns: 1fr; }
  .project-media { aspect-ratio: 4 / 3; }
}

/* ---------- About: journey timeline ---------- */
.journey { position: relative; display: grid; gap: 0; }
.journey-line { position: absolute; left: calc(var(--pad) + 0.55rem); top: 0; bottom: 0; width: 2px; background: var(--line-dark); }
.journey-line span { position: absolute; inset: 0; background: var(--lead); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 1rem 3rem; padding: clamp(1.75rem, 3.5vw, 3rem) var(--pad) clamp(1.75rem, 3.5vw, 3rem) calc(var(--pad) + 3rem); }
.step::before { content: ""; position: absolute; left: var(--pad); top: clamp(2.1rem, 3.9vw, 3.4rem); width: 1.1rem; height: 1.1rem; background: var(--ink); border: 2.5px solid var(--mute); transition: rotate 0.7s var(--ease-out), background-color 0.4s, border-color 0.4s; }
.step.is-on::before { rotate: 45deg; background: var(--lead); border-color: var(--lead); }
.step-n { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; color: var(--ink-3); transition: color 0.6s; }
.step.is-on .step-n { color: var(--lead); }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -0.035em; margin-bottom: 0.75rem; }
.step p { color: var(--mute); max-width: 48ch; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; } }

.about-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: end; }
.about-photo { aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); will-change: transform; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 2rem var(--pad) 2.25rem; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -0.035em; margin-bottom: 0.7rem; }
.facts p { color: var(--stone); max-width: 36ch; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts li { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Services: sticky process ---------- */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem clamp(2rem, 6vw, 7rem); padding-inline: var(--pad); }
.process-big { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.process-num { display: block; height: 1em; overflow: hidden; font-size: clamp(7rem, 20vw, 22rem); font-weight: 700; letter-spacing: -0.07em; line-height: 1; color: var(--lead); transition: color 0.6s; }
.process-num span { display: block; transition: transform 0.9s var(--ease-out); }
.process-steps { display: grid; }
.process-step { padding-block: clamp(2.5rem, 6vh, 4.5rem); border-top: 1px solid var(--line-dark); opacity: 0.35; transition: opacity 0.6s; }
.process-step.is-on { opacity: 1; }
.process-step h3 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.045em; margin-bottom: 1rem; }
.process-step p { color: #cfcccc; max-width: 40ch; font-size: clamp(1.1rem, 1.35vw, 1.3rem); }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; }
  .process-big { display: none; }
  .process-step { opacity: 1; }
  .process-step h3::before { content: attr(data-n) " "; color: var(--lead); }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 2rem clamp(2rem, 5vw, 6rem); padding-inline: var(--pad); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding-block: 1.5rem; font-size: clamp(1.2rem, 1.7vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .row-sq { width: 0.9rem; aspect-ratio: 1; border: 2.5px solid currentColor; flex: none; transition: rotate 0.6s var(--ease-out), background-color 0.3s, border-color 0.3s; }
.faq details[open] .row-sq { rotate: 45deg; background: var(--lead); border-color: var(--lead); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.55s var(--ease-out), content-visibility 0.55s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding-bottom: 1.6rem; color: var(--stone); max-width: 60ch; font-size: 1.1rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact { padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 6rem)) var(--pad) var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem clamp(2rem, 6vw, 7rem); align-items: start; }
.contact-side { display: grid; gap: 2.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.contact-side .t-lead { max-width: 30ch; }
.contact-details { display: grid; gap: 1.5rem; border-top: 1.5px solid var(--ink); padding-top: 1.75rem; }
.contact-details h2 { font-size: 0.92rem; font-weight: 500; letter-spacing: 0; margin-bottom: 0.4rem; opacity: 0.7; }
.contact-details a, .contact-details p { font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; }
.contact .copy-btn .tag { background: var(--ink); color: #fff; }
.contact .copy-btn:hover .tag, .contact .copy-btn.is-copied .tag { background: #fff; color: var(--ink); }
.form { display: grid; gap: 2rem; }
.field { position: relative; display: grid; }
.field label, .field legend { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(31, 32, 36, 0.45); padding: 0.6rem 0 0.9rem; font-size: clamp(1.15rem, 1.5vw, 1.4rem); color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(31, 32, 36, 0.5); }
.field input:focus, .field textarea:focus { outline: none; }
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar { transform: scaleX(1); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #9b1c1c; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.choices { border: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.75rem; }
.chips label { position: relative; font-size: 1rem; font-weight: 500; letter-spacing: 0; margin: 0; }
.chips input { position: absolute; inset: 0; opacity: 0; }
.chips span { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.05rem; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color 0.3s, color 0.3s; }
.chips span::before { content: ""; width: 0.5rem; height: 0.5rem; border: 2px solid currentColor; transition: rotate 0.5s var(--ease-out), background-color 0.3s; }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:checked + span::before { rotate: 45deg; background: var(--lead); border-color: var(--lead); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.honey { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-side { position: static; } }
@media (max-width: 560px) { .form-two { grid-template-columns: 1fr; } }

/* ---------- Message pages (thanks, 404) ---------- */
.message { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 3rem) var(--pad) clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.message .t-lead { max-width: 38ch; margin-top: 1.75rem; }
.message .btn-row { margin-top: 2.25rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Shared bits added for pages ---------- */
.t-statement { font-size: clamp(1.75rem, 3.7vw, 4rem); font-weight: 500; letter-spacing: -0.038em; line-height: 1.08; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .t-lead { max-width: 34ch; }
.index-row .index-name { font-size: clamp(2rem, 5.5vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; transition: transform 0.7s var(--ease-out); }
.index-row:hover .index-name { transform: translateX(clamp(0.5rem, 2vw, 2rem)); }
.big-quote { display: grid; gap: 2rem; max-width: 1200px; }
.big-quote blockquote p::before { content: ""; display: block; width: 1rem; height: 1rem; background: var(--lead); margin-bottom: 2rem; transition: background-color 0.5s; }
.big-quote figcaption { display: flex; align-items: center; gap: 1rem; }
.big-quote figcaption img { width: 72px; height: 72px; object-fit: cover; }
.big-quote cite { font-style: normal; display: grid; line-height: 1.3; }
.big-quote cite strong { font-weight: 600; font-size: 1.1rem; }
.big-quote cite span { color: var(--stone); }
.journey-steps { list-style: none; padding: 0; }
.footer.no-curtain { position: relative; }
.message-mark { width: clamp(3rem, 5vw, 4.5rem); aspect-ratio: 1; background: var(--ink); rotate: 45deg; margin-bottom: 2.5rem; }
.on-dark .message-mark { background: var(--lead); }
