/* base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body, sans-serif);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.15;
}
p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: oklch(from var(--color-primary) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* Interactive elements: animate hover/focus transitions.
   Only clickable elements get hover states — see `shared/03-motion.md`.
   Never add :hover styles to non-interactive elements. */
a,
button,
[role='button'],
[role='link'],
input,
textarea,
select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Cefalia Development — plaster, walnut, espresso */
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.6rem + 6.4vw, 7.25rem);

  --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-12: 3rem; --space-16: 4rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: oklch(0.962 0.009 78);
  --color-surface: oklch(0.935 0.012 74);
  --color-text: oklch(0.22 0.012 55);
  --color-muted: oklch(0.46 0.014 60);
  --color-line: oklch(0.22 0.012 55 / 0.14);
  --color-primary: oklch(0.44 0.075 48);
  --color-dark: oklch(0.205 0.012 55);
  --color-on-dark: oklch(0.95 0.012 78);
  --color-on-dark-muted: oklch(0.8 0.014 70);
  --color-line-dark: oklch(0.95 0.012 78 / .16);
  --color-sand: oklch(0.82 0.05 60);

  --font-display: 'Gambetta', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  --radius-sm: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-interactive: 220ms var(--ease);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1240px;
  --max-wide: 1600px;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
p { max-width: 62ch; }
li { max-width: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--max-wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--color-text); color: var(--color-bg); padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow { font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--color-muted); margin-bottom: var(--space-4); max-width: none; }
.eyebrow.light { color: var(--color-on-dark-muted); }
.muted { color: var(--color-muted); }
.small { font-size: var(--text-xs); }

.h-sec { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.06; letter-spacing: -0.01em; }
.h-page { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.015em; max-width: 18ch; }
.lead { font-size: var(--text-lg); color: var(--color-muted); margin-top: var(--space-6); max-width: 52ch; line-height: 1.5; }

/* ---------- Motion primitives ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 38ms + var(--d, 0ms)); }
.js .split.in .w > span { transform: none; }

.js .rv { opacity: 0; transition: opacity 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; }

.rv-img { overflow: hidden; display: block; }
/* The clip sits on the image, not the observed wrapper: a fully clipped target never reports as intersecting. */
.js .rv-img > img { clip-path: inset(0 0 100% 0); }
.js .rv-img.in > img { clip-path: inset(0 0 0 0); }
.rv-img > img, .rv-img > picture > img { width: 100%; height: 100%; object-fit: cover; }
.js .rv-img > img { scale: 1.28; transition: scale 1.8s var(--ease), clip-path 1.35s var(--ease-io); transition-delay: var(--d, 0ms); }
.js .rv-img.in > img { scale: 1; }
.js .rv-img > img[data-par] { scale: 1.36; will-change: transform; }
.js .rv-img.in > img[data-par] { scale: 1.14; }

.js .rule { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io); }
.js .rule.in { transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
::view-transition-group(proj-hero) { animation-duration: .8s; animation-timing-function: var(--ease-io); }
::view-transition-old(proj-hero), ::view-transition-new(proj-hero) { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.5rem; background: var(--color-text); color: var(--color-bg); font-size: var(--text-sm); font-weight: 500; letter-spacing: .02em; border-radius: var(--radius-sm); overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--color-primary); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 1.1rem; }
.btn-light { background: var(--color-on-dark); color: var(--color-text); }
.btn-light::before { background: #fff; }
.link, .link-light { position: relative; display: inline-flex; gap: .5rem; align-items: center; font-size: var(--text-sm); font-weight: 500; padding-block: .5rem; }
.link::after, .link-light::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after, .link-light:hover::after { transform: scaleX(0); transform-origin: right; animation: linkdraw .9s var(--ease) forwards; }
@keyframes linkdraw { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link:hover { color: var(--color-primary); }
.link-light { color: var(--color-on-dark); }
.arrow { display: inline-block; transition: transform .4s var(--ease); }
a:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: oklch(0.962 0.009 78 / 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); transition: transform .5s var(--ease), background .3s var(--ease), border-color .3s; }
.site-header.over { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.over.scrolled { background: oklch(0.962 0.009 78 / 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--color-line); }
.site-header.hide { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; gap: var(--space-8); height: 76px; }
.brand { display: block; margin-right: auto; }
.logo { height: 34px; width: auto; }
.logo-light { display: none; }
.site-header.over:not(.scrolled):not(.open) .logo-light { display: block; }
.site-header.over:not(.scrolled):not(.open) .logo-dark { display: none; }
.nav { display: flex; gap: var(--space-8); }
.nav a { font-size: var(--text-sm); font-weight: 500; padding-block: .5rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.site-header.over:not(.scrolled):not(.open) .nav a { color: var(--color-on-dark); }
.site-header.over:not(.scrolled):not(.open) .header-cta { background: var(--color-on-dark); color: var(--color-text); }
.site-header.over:not(.scrolled):not(.open) .header-cta::before { background: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.site-header.over:not(.scrolled):not(.open) .menu-btn { color: var(--color-on-dark); }
.site-header.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-header.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { display: none; }

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .header-row { height: 64px; }
  .logo { height: 28px; }
  .site-header.open { background: var(--color-bg); border-color: var(--color-line); }
  .mnav { display: grid; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .6s var(--ease), visibility 0s .6s; padding-inline: var(--gutter); }
  .site-header.open .mnav { max-height: 460px; visibility: visible; padding-bottom: var(--space-6); transition: max-height .6s var(--ease), visibility 0s; }
  .mnav a { font-family: var(--font-display); font-size: var(--text-xl); padding-block: .6rem; border-top: 1px solid var(--color-line); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .site-header.open .mnav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 55ms + 80ms); }
  .mnav a.mnav-call { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-muted); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--color-on-dark); overflow: hidden; background: var(--color-dark); }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media > img, .hero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media > video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media > video.on { opacity: 1; }
.js .hero-img { scale: 1.08; transition: scale 2.8s var(--ease); }
.js .ready .hero-img, .js.ready .hero-img { scale: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.15 0.01 55 / .5) 0%, oklch(0.15 0.01 55 / 0) 26%, oklch(0.15 0.01 55 / .12) 48%, oklch(0.15 0.01 55 / .78) 100%); }
.hero-inner { position: relative; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 120px; will-change: opacity; }
.hero-h { font-family: var(--font-display); font-weight: 400; font-size: var(--text-hero); line-height: .98; letter-spacing: -0.02em; max-width: 13ch; text-wrap: balance; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-8); margin-top: var(--space-8); }
.hero-foot p { max-width: 44ch; color: var(--color-on-dark-muted); font-size: var(--text-base); }
.hero-btns { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.js .hero .rv { transition-duration: 1.4s; }
.hero-cap { position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-on-dark-muted); display: inline-flex; gap: 1rem; align-items: center; }
.hero-cap::before { content: ""; width: 1px; height: 56px; background: currentColor; transform-origin: top; animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-cap:hover { color: var(--color-on-dark); }
.hero-proj { min-height: 88svh; }
.hero-proj .hero-img { view-transition-name: proj-hero; }
.hero-h-proj { max-width: 14ch; }
@media (max-width: 860px) { .hero-cap { display: none; } }

/* ---------- Statement ---------- */
.intro { padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 8vw, 7rem); }
.intro-big { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2.1vw, 3rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 26ch; }
.js .scrub .sw { opacity: .16; transition: opacity .5s linear; }
.js .scrub .sw.lit { opacity: 1; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin-top: clamp(3rem, 6vw, 5rem); padding-top: var(--space-8); position: relative; }
.intro-stats .rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-line); }
.intro-stats div { display: grid; gap: .35rem; align-content: start; }
.intro-stats div > span:last-child { font-size: var(--text-sm); color: var(--color-muted); max-width: 22ch; }
.stat { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .intro-stats { grid-template-columns: 1fr; } }

/* ---------- Feature ---------- */
.feature { padding-bottom: clamp(5rem, 10vw, 9rem); }
.feature-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.f-main { display: block; aspect-ratio: 4/3.1; }
.f-side p { color: var(--color-muted); margin-top: var(--space-6); }
.f-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-block: var(--space-8); }
.f-thumbs .rv-img { aspect-ratio: 3/4; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Design band + filmstrip ---------- */
.design-band { background: var(--color-dark); color: var(--color-on-dark); padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.db-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.db-head .h-sec { max-width: 17ch; font-size: var(--text-3xl); line-height: 1.02; }
.db-copy p { color: var(--color-on-dark-muted); margin-bottom: var(--space-8); }
@media (max-width: 860px) { .db-head { grid-template-columns: 1fr; } }
.strip { display: flex; width: max-content; animation: strip 80s linear infinite; }
.strip:hover { animation-play-state: paused; }
.strip-set { display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); padding-right: clamp(.75rem, 1.5vw, 1.25rem); }
.strip-set img { height: clamp(260px, 46vh, 480px); width: auto; object-fit: cover; }
.strip-set img:nth-child(even) { margin-top: clamp(1.5rem, 4vh, 3.5rem); }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-4) var(--space-8); margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-head .eyebrow { flex-basis: 100%; margin-bottom: 0; }
.sec-head .h-sec { max-width: 20ch; margin-right: auto; }

/* ---------- Disciplines ---------- */
.disciplines { padding-block: clamp(5rem, 11vw, 10rem) clamp(4rem, 8vw, 7rem); }
.disc-list { position: relative; }
.disc { display: grid; grid-template-columns: 4rem minmax(10rem, 1fr) 2fr 3rem; gap: var(--space-6); align-items: baseline; padding-block: clamp(1.5rem, 3vw, 2.25rem); position: relative; transition: padding .5s var(--ease); }
.disc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-line); }
.disc:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-line); }
.disc-n { font-size: var(--text-xs); color: var(--color-muted); letter-spacing: .1em; }
.disc-t { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); transition: color .3s, transform .6s var(--ease); }
.disc p { color: var(--color-muted); max-width: 46ch; }
.disc-a { font-size: var(--text-lg); justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; transition: transform .5s var(--ease), color .2s; }
.disc-a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) {
  .disc-list:hover .disc:not(:hover) { opacity: .45; }
  .disc { transition: opacity .4s var(--ease); }
  .disc:hover .disc-a { transform: translateX(8px); color: var(--color-primary); }
  .disc:hover .disc-t { color: var(--color-primary); transform: translateX(10px); }
}
@media (max-width: 760px) { .disc { grid-template-columns: 2.5rem 1fr 2.5rem; } .disc p { grid-column: 2 / 3; } .disc-a { grid-row: 1; grid-column: 3; } }
.disc-prev { position: fixed; left: 0; top: 0; width: clamp(220px, 20vw, 320px); aspect-ratio: 4/5; pointer-events: none; z-index: 40; overflow: hidden; opacity: 0; clip-path: inset(50% 0 50% 0); transition: opacity .35s var(--ease), clip-path .7s var(--ease); will-change: transform; }
.disc-prev.on { opacity: 1; clip-path: inset(0); }
.disc-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.15; transition: opacity .5s var(--ease), scale 1.2s var(--ease); }
.disc-prev img.on { opacity: 1; scale: 1; }
@media (hover: none), (max-width: 860px) { .disc-prev { display: none; } }

/* ---------- Coast band (video) ---------- */
.coast { position: relative; min-height: clamp(420px, 82vh, 900px); display: flex; align-items: flex-end; color: var(--color-on-dark); overflow: hidden; background: var(--color-dark); }
.coast-media { position: absolute; inset: -8% 0; }
.coast-media > img, .coast-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coast-media > video { opacity: 0; transition: opacity 1.4s var(--ease); }
.coast-media > video.on { opacity: 1; }
.coast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.15 0.01 55 / .1) 30%, oklch(0.15 0.01 55 / .7) 100%); }
.coast-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-8); padding-block: clamp(2.5rem, 6vw, 5rem); }
.coast-h { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.015em; max-width: 12ch; }

/* ---------- Work grid (home) ---------- */
.work { padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 10vw, 9rem); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.work-card { display: block; }
.wc-img { background: var(--color-surface); }
.work-card .rv-img > img, .proj .rv-img > img, .nextp .rv-img > img { transition: scale 1.6s var(--ease), clip-path 1.35s var(--ease-io); }
@media (hover: hover) { .work-card:hover .rv-img.in > img[data-par], .proj:hover .rv-img.in > img[data-par] { scale: 1.2; } .proj:hover .rv-img.in > img:not([data-par]) { scale: 1.05; } }
.wc-meta { display: flex; justify-content: space-between; gap: var(--space-4); align-items: baseline; padding-top: var(--space-4); }
.wc-meta h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); }
.wc-meta span { font-size: var(--text-xs); color: var(--color-muted); letter-spacing: .06em; text-transform: uppercase; text-align: right; }
.wc-0 { grid-column: 1 / 8; } .wc-0 .wc-img { aspect-ratio: 4/3; }
.wc-1 { grid-column: 8 / 13; margin-top: 18%; } .wc-1 .wc-img { aspect-ratio: 4/5; }
.wc-2 { grid-column: 2 / 7; } .wc-2 .wc-img { aspect-ratio: 4/5; }
.wc-3 { grid-column: 7 / 13; margin-top: 10%; } .wc-3 .wc-img { aspect-ratio: 4/3; }
.work-more { display: flex; justify-content: center; margin-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 760px) { .work-card { grid-column: 1 / -1 !important; margin-top: 0 !important; } .work-card .wc-img { aspect-ratio: 4/3 !important; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--color-surface); padding-block: clamp(5rem, 10vw, 9rem); }
.rev-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rev-side .h-sec { margin-bottom: var(--space-8); }
.rev-sources { border-top: 1px solid var(--color-line); }
.rev-sources li { border-bottom: 1px solid var(--color-line); }
.rev-sources a { display: flex; justify-content: space-between; gap: var(--space-4); align-items: baseline; padding-block: var(--space-4); font-size: var(--text-sm); }
.rev-sources a:hover { color: var(--color-primary); }
.rev-sources b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); }
.rev-sources .star { color: var(--color-primary); font-size: .85em; }
.rev-sources span:last-child { color: var(--color-muted); }
.rev-list { display: grid; gap: var(--space-12); }
.rev { margin: 0; }
.rev blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.3vw, 2.1rem); line-height: 1.3; letter-spacing: -0.005em; max-width: 34ch; text-wrap: pretty; }
.rev-m blockquote { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); max-width: 42ch; }
.rev-l blockquote { font-size: clamp(1.1rem, .98rem + .6vw, 1.4rem); line-height: 1.42; max-width: 52ch; }
.rev figcaption { margin-top: var(--space-6); font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: .25rem .75rem; max-width: none; }
.rev figcaption a { color: var(--color-muted); border-bottom: 1px solid var(--color-line); }
.rev figcaption a:hover { color: var(--color-primary); }
.js .rev-list { display: grid; gap: 0; }
.js .rev { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.js .rev.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease) .25s, visibility 0s; }
.js .rev blockquote .w > span { transform: translateY(110%); transition: transform 0s .7s; }
.js .rev.is-active blockquote .w > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 12ms + 250ms); }
.rev-ctrl { display: none; align-items: center; gap: var(--space-6); margin-top: var(--space-12); }
.js .rev-ctrl { display: flex; }
.rev-ctrl button { width: 48px; height: 48px; border: 1px solid var(--color-line); border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; transition: background .3s var(--ease), color .3s, border-color .3s; }
.rev-ctrl button:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.rev-count { font-size: var(--text-xs); letter-spacing: .14em; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.rev-bar { flex: 1; height: 1px; background: var(--color-line); position: relative; overflow: hidden; }
.rev-bar i { position: absolute; inset: 0; background: var(--color-text); transform: scaleX(0); transform-origin: left; }
.rev-bar i.run { animation: revbar var(--dur, 8s) linear forwards; }
@keyframes revbar { to { transform: scaleX(1); } }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { padding-block: clamp(4rem, 9vw, 8rem); }
.steps-wrap { position: relative; }
.steps-wrap > .rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-text); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-right: 1px solid var(--color-line); }
.steps li + li { padding-left: var(--space-6); }
.steps li:last-child { border-right: 0; }
.step-n { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); display: block; margin-bottom: var(--space-8); }
.steps h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); }
.steps p { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: var(--space-6) 0; border-right: 0; border-bottom: 1px solid var(--color-line); display: grid; grid-template-columns: 3.5rem 1fr; column-gap: var(--space-4); } .step-n { margin: 0; grid-row: span 2; } }

/* ---------- Founder ---------- */
.founder { padding-block: clamp(4rem, 9vw, 8rem); }
.founder.tone { background: var(--color-surface); }
.founder-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.founder-img { aspect-ratio: 4/5; }
.founder-copy p:not(.eyebrow) { color: var(--color-muted); margin-top: var(--space-6); }
.founder-copy .link { margin-top: var(--space-8); }
.pull { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; color: var(--color-text) !important; max-width: 26ch; }
.pull + .pull-by { font-size: var(--text-xs); margin-top: var(--space-3) !important; }
.pull-by a { border-bottom: 1px solid var(--color-line); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---------- Press ---------- */
.press { padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }
.press .eyebrow { margin-bottom: var(--space-8); }
.press-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.press-row img { height: clamp(22px, 2.6vw, 32px); width: auto; max-width: 180px; opacity: .6; mix-blend-mode: multiply; transition: opacity .3s; }
.press-row a:hover img { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: var(--color-on-dark); padding-block: clamp(4rem, 9vw, 7rem) var(--space-8); }
.foot-cta { padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--color-line-dark); }
.foot-big { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.04; letter-spacing: -0.015em; max-width: 16ch; display: inline-block; transition: color .3s; }
.foot-big:hover { color: var(--color-sand); }
.foot-big .arrow { font-size: .7em; margin-left: .2em; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-8); padding-block: var(--space-12); }
.foot-logo { height: 32px; width: auto; margin-bottom: var(--space-4); }
.foot-h { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-on-dark-muted); margin-bottom: var(--space-3); }
.site-footer p, .site-footer li { font-size: var(--text-sm); line-height: 1.9; }
.site-footer .muted { color: var(--color-on-dark-muted); max-width: 34ch; line-height: 1.6; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--color-sand); }
.foot-base { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); font-size: var(--text-xs); color: var(--color-on-dark-muted); border-top: 1px solid var(--color-line-dark); padding-top: var(--space-6); }
.foot-base span:first-child { margin-right: auto; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.crumbs { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-6); display: flex; flex-wrap: wrap; gap: .6rem; }
.crumbs li { display: inline-flex; gap: .6rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { color: var(--color-text); }

/* ---------- Work index ---------- */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2.5vw, 2rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.proj { display: block; }
.proj-img { aspect-ratio: 3/2; background: var(--color-surface); }
.proj-meta { display: flex; flex-wrap: wrap; gap: .25rem var(--space-4); align-items: baseline; padding-top: var(--space-4); }
.proj-meta h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); margin-right: auto; }
.proj-meta span { font-size: var(--text-xs); color: var(--color-muted); letter-spacing: .06em; text-transform: uppercase; }
.proj-status { color: var(--color-primary) !important; }
.p-full { grid-column: 1 / -1; } .p-full .proj-img { aspect-ratio: 21/9; }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } .p-full .proj-img { aspect-ratio: 4/3; } }
.other { padding-bottom: clamp(4rem, 9vw, 8rem); }
.other-list { columns: 3 16rem; column-gap: var(--space-8); border-top: 1px solid var(--color-line); }
.other-list li { break-inside: avoid; padding-block: var(--space-3); border-bottom: 1px solid var(--color-line); font-size: var(--text-sm); }

/* ---------- Project page ---------- */
.proj-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); }
.pi-lede { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; max-width: 30ch; }
.pi-body p { color: var(--color-muted); margin-top: var(--space-6); }
.facts { border-top: 1px solid var(--color-text); align-self: start; }
.facts div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-line); font-size: var(--text-sm); }
.facts dt { color: var(--color-muted); }
.facts dd { text-align: right; }
.facts a { border-bottom: 1px solid var(--color-line); }
.facts a:hover { color: var(--color-primary); }
@media (max-width: 860px) { .proj-intro { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.g-row { display: flex; align-items: flex-start; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.g { flex: var(--r) 1 0%; min-width: 0; aspect-ratio: var(--r); margin: 0; background: var(--color-surface); }
.g-btn { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-btn > img { transition: scale 1.6s var(--ease), clip-path 1.35s var(--ease-io) !important; }
@media (hover: hover) { .g-btn.in:hover > img { scale: 1.04; } }
@media (max-width: 640px) { .g-row { flex-direction: column; align-items: stretch; } .g { flex: none; aspect-ratio: var(--rm); } }
.detail-strip { background: var(--color-dark); padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; margin-bottom: clamp(4rem, 8vw, 7rem); }
.nextp { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 70vh, 760px); color: var(--color-on-dark); overflow: hidden; background: var(--color-dark); }
.nextp .rv-img { position: absolute; inset: 0; }
.nextp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.15 0.01 55 / .15) 20%, oklch(0.15 0.01 55 / .75) 100%); transition: opacity .6s var(--ease); }
.nextp-inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 5rem); display: grid; gap: var(--space-2); }
.nextp-name { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.015em; }
@media (hover: hover) { .nextp:hover .rv-img.in > img { scale: 1.05; } .nextp:hover::after { opacity: .75; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: oklch(0.14 0.01 55 / .97); display: grid; place-items: center; opacity: 0; transition: opacity .35s var(--ease); touch-action: pan-y; }
.lb.show { opacity: 1; }
.lb[hidden] { display: none; }
.lb img { max-width: min(92vw, 1800px); max-height: 86vh; max-height: 86svh; object-fit: contain; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.lb img.swap { opacity: 0; transform: scale(.985); }
.lb button { position: absolute; color: var(--color-on-dark); font-size: 1.6rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; }
.lb button:hover { background: oklch(0.95 0.012 78 / .12); }
.lb button:focus-visible { outline-color: var(--color-on-dark); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); font-size: var(--text-xs); color: var(--color-on-dark-muted); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lb-prev { left: .25rem; } .lb-next { right: .25rem; } }

/* ---------- Services ---------- */
.svc-rows { border-top: 1px solid var(--color-line); margin-bottom: clamp(4rem, 8vw, 7rem); }
.svc-row { display: grid; grid-template-columns: 4rem 1.1fr 1.6fr auto; gap: var(--space-8); align-items: center; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--color-line); position: relative; }
.svc-row h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.05; transition: color .3s, transform .6s var(--ease); }
.svc-row p { color: var(--color-muted); }
.svc-row .n { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); }
.svc-row .thumb { width: clamp(120px, 14vw, 200px); aspect-ratio: 4/3; }
.svc-row a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) { .svc-row:hover h2 { color: var(--color-primary); transform: translateX(10px); } .svc-row:hover .rv-img.in > img { scale: 1.08; } }
.svc-row .rv-img > img { transition: scale 1.4s var(--ease), clip-path 1.35s var(--ease-io); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 2.5rem 1fr; } .svc-row p { grid-column: 2; } .svc-row .thumb { grid-column: 2; width: 100%; aspect-ratio: 16/9; } }

.svc-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-bottom: clamp(4rem, 8vw, 7rem); }
.svc-copy > p { color: var(--color-muted); margin-top: var(--space-6); }
.svc-copy > p:first-child { margin-top: 0; font-size: var(--text-lg); color: var(--color-text); line-height: 1.5; }
.svc-h { font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--color-muted); margin-top: var(--space-12); }
.svc-list { margin-top: var(--space-4); border-top: 1px solid var(--color-line); }
.svc-list li { padding-block: .8rem; border-bottom: 1px solid var(--color-line); font-size: var(--text-sm); display: flex; gap: var(--space-4); }
.svc-list li::before { content: "—"; color: var(--color-primary); }
.tool { margin-top: var(--space-16); padding: var(--space-8); background: var(--color-surface); display: grid; gap: var(--space-3); justify-items: start; }
.tool .eyebrow { margin-bottom: 0; }
.tool-h { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.1; }
.tool p:not(.eyebrow) { color: var(--color-muted); font-size: var(--text-sm); max-width: 48ch; }
.svc-pics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); position: sticky; top: 100px; }
.svc-pics .rv-img { aspect-ratio: 3/4; }
.svc-pics.n2 .rv-img:first-child { margin-top: 18%; }
.svc-pics.wide { grid-template-columns: 1fr; } .svc-pics.wide .rv-img { aspect-ratio: 4/3; margin-top: 0 !important; }
@media (max-width: 860px) { .svc-body { grid-template-columns: 1fr; } .svc-pics { position: static; } }
.related { padding-bottom: clamp(4rem, 8vw, 7rem); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.related-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.related-grid.c1 { grid-template-columns: minmax(0, 1fr); max-width: 980px; } .related-grid.c1 .proj-img { aspect-ratio: 16/9; }
.sale { margin-top: var(--space-8); padding: var(--space-6); background: var(--color-surface); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.sale p { flex: 1 1 100%; font-size: var(--text-sm); }
.related .proj-img { aspect-ratio: 4/3; }
.related .proj-meta h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); margin-right: auto; }
@media (max-width: 760px) { .related-grid, .related-grid.c2 { grid-template-columns: 1fr; } }
.svc-next { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-bottom: clamp(4rem, 8vw, 7rem); }
.svc-next a { font-size: var(--text-sm); padding: .6rem 1rem; border: 1px solid var(--color-line); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: background .3s var(--ease), color .3s, border-color .3s; }
.svc-next a:hover, .svc-next a[aria-current] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

/* ---------- Studio ---------- */
.studio-hero { aspect-ratio: 21/9; }
.studio-copy { padding-block: clamp(4rem, 9vw, 8rem); }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.sc-lede { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; }
.sc-body p { color: var(--color-muted); }
.sc-body p + p { margin-top: var(--space-6); }
.creds { padding-block: clamp(4rem, 9vw, 8rem); }
.cred-wrap { position: relative; }
.cred-wrap > .rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-text); }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-grid div { padding: var(--space-6) var(--space-6) var(--space-6) 0; }
.cred-grid div + div { border-left: 1px solid var(--color-line); padding-left: var(--space-6); }
.cred-grid dt { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.cred-grid dd { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 860px) { .sc-grid { grid-template-columns: 1fr; } .studio-hero { aspect-ratio: 4/3; } .cred-grid { grid-template-columns: 1fr 1fr; } .cred-grid div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .cred-grid { grid-template-columns: 1fr; } .cred-grid div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-line); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); padding-block: clamp(4rem, 10vw, 8rem); }
.ct-info { margin-top: var(--space-12); border-top: 1px solid var(--color-line); }
.ct-info div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-line); font-size: var(--text-sm); }
.ct-info dt { color: var(--color-muted); }
.ct-info a:hover { color: var(--color-primary); }
.ct-form { background: var(--color-surface); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: var(--space-6); align-self: start; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips legend { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-3); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--color-line); border-radius: 999px; font-size: var(--text-sm); transition: background .3s var(--ease), color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--color-text); }
.chips input:checked + span { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.chips input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.field { display: grid; gap: .4rem; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field label { font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1px solid oklch(0.22 0.012 55 / .3); padding: .6rem 0; font-size: var(--text-base); border-radius: 0; resize: vertical; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: none; }
.field input:focus, .field textarea:focus { outline: none; }
.field input[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: oklch(0.5 0.16 30); }
.form-err { color: oklch(0.45 0.16 30); font-size: var(--text-sm); }
.ct-form .btn { justify-self: start; }
.ct-img { aspect-ratio: 21/8; margin-bottom: clamp(4rem, 8vw, 6rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } .ct-img { aspect-ratio: 4/3; } }

.prose p { margin-top: var(--space-6); color: var(--color-muted); }
.prose a { text-decoration: underline; }

/* ---------- Cursor badge ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--color-on-dark); color: var(--color-text); display: grid; place-items: center; font-size: var(--text-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; scale: 0; opacity: 0; transition: scale .5s var(--ease), opacity .3s var(--ease); will-change: transform; }
.cur.on { scale: 1; opacity: 1; }
@media (hover: none) { .cur { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .split .w > span, .js .rv, .js .rv-img, .js .rv-img > img, .js .rule, .js .scrub .sw, .js .hero-img { transform: none !important; opacity: 1 !important; clip-path: none !important; scale: 1 !important; }
  .strip { animation: none; }
  .design-band, .detail-strip { overflow-x: auto; }
  .hero-cap::before { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media (max-width: 860px) { .site-footer li a, .site-footer p a { display: inline-block; padding-block: .3rem; } }
