/* ============================================================
   1HAUS — "FIND" redesign
   Heavy grotesk typography · airy, layered, cinematic scroll.
   Two moods, toggled via html[data-dir]:
     day   — Daybreak: warm cream, blue→peach sky, black pills
     night — Nocturne: matte black, home glowing out of the dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

/* ---- shared tokens ---- */
:root {
  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace;
  --maxw: 1440px;
  --gut: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.16,.62,.23,.98);
  --radius: 8px;
}

/* ---- Daybreak (default) ---- */
html, html[data-dir="day"] {
  --body-bg: #f4efe7;
  --body-bg2:#ece5d9;
  --fg:      #191714;
  --fg-mid:  #6d675c;
  --muted:   #8a8479;
  --hair:    rgba(25,23,20,.14);
  --hair-soft: rgba(25,23,20,.07);
  --sky: linear-gradient(180deg, #8fb6de 0%, #b9cbdd 38%, #ecd9c4 70%, #f6ddc2 100%);
  --pill-bg: #14120f; --pill-fg: #f6f2ea;
  --head-fg: #14120f; --head-soft: #14120f;
  --head-shadow: none;
  --sub-lead: #14120f; --sub-dim: #6d675c;
  --cue-fg:  #4a453c;
  --ph-bg:   #e4ddd0;
  --ph-stripe: rgba(25,23,20,.07);
  --band-bg: #ece5d9;
  --logo-src: 1;   /* black mark used via markup */
  --cloud-1: rgba(255,255,255,.92);
  --cloud-2: rgba(255,255,255,.85);
  --cloud-3: rgba(255,252,247,.78);
  --cloud-base: rgba(255,255,255,.9);
  --build-mask: linear-gradient(to top, transparent 0%, #000 22%, #000 100%);
  --close-sky: linear-gradient(180deg, #b9cbdd 0%, #ecd9c4 60%, #f6ddc2 100%);
  --wordmark: rgba(255,255,255,.42);
  --fog: linear-gradient(to top, #f6ddc2 6%, rgba(246,221,194,.66) 34%, transparent 100%);
  --fog-core: radial-gradient(60% 100% at 50% 100%, rgba(255,255,255,.9), transparent 70%);
}

/* ---- Nocturne ---- */
html[data-dir="night"] {
  --body-bg: #0b0a09;
  --body-bg2:#131210;
  --fg:      #ece7df;
  --fg-mid:  #9a9488;
  --muted:   #7d776c;
  --hair:    rgba(236,231,223,.12);
  --hair-soft: rgba(236,231,223,.06);
  --sky: radial-gradient(125% 95% at 50% 105%, #5a3e24 0%, #2a2016 34%, #120d0a 66%, #0b0a09 100%);
  --pill-bg: #ece7df; --pill-fg: #0b0a09;
  --head-fg: #f3efe7; --head-soft: #6f6a60;
  --head-shadow: 0 2px 60px rgba(0,0,0,.5);
  --sub-lead: #f3efe7; --sub-dim: #9a9488;
  --cue-fg:  #b8b1a4;
  --ph-bg:   #17150f;
  --ph-stripe: rgba(236,231,223,.05);
  --band-bg: #131210;
  --cloud-1: rgba(140,90,50,.34);
  --cloud-2: rgba(95,72,50,.30);
  --cloud-3: rgba(120,80,45,.28);
  --cloud-base: rgba(58,40,24,.62);
  --build-mask: linear-gradient(to top, transparent 0%, #000 32%, #000 100%);
  --close-sky: radial-gradient(120% 120% at 50% 0%, #4a3320 0%, #1e1712 42%, #0b0a09 78%);
  --wordmark: rgba(90,62,36,.5);
  --fog: linear-gradient(to top, #0b0a09 4%, rgba(30,23,18,.72) 32%, transparent 100%);
  --fog-core: radial-gradient(60% 100% at 50% 100%, rgba(90,62,36,.55), transparent 70%);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--body-bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.7; letter-spacing: .005em;
  overflow-x: clip;
  transition: background .6s var(--ease), color .6s var(--ease);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fg); }

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vh, 160px); }

/* ---- type ---- */
.eyebrow { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.h-section { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; line-height: .98; }
.h-mono { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; display: flex; align-items: baseline; }
.h-mono .n { font-family: var(--mono); font-size: .8rem; letter-spacing: .18em; color: var(--muted); margin-right: 26px; font-weight: 500; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; color: var(--fg-mid); }
.body-dim { color: var(--fg-mid); }

/* ---- pills / links ---- */
.pill { display: inline-flex; align-items: center; gap: 12px; background: var(--pill-bg); color: var(--pill-fg);
  font-weight: 700; font-size: .95rem; padding: 16px 28px; border-radius: 100px; letter-spacing: .005em;
  transition: transform .3s var(--ease), opacity .3s var(--ease); }
.pill:hover { transform: translateY(-2px); color: var(--pill-fg); opacity: .92; }
.pill svg { width: 17px; height: 17px; }
.pill.ghost { background: transparent; color: var(--fg); border: 1px solid var(--hair); }
.pill.ghost:hover { color: var(--fg); border-color: var(--fg); }
.link-line { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: .95rem; color: var(--fg); }
.link-line .ln { width: 40px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-line:hover .ln { width: 66px; }

/* ---- loading intro: brandmark, drawn rule, then a cloud-parting reveal ---- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--sky);
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  transition: transform 1.3s cubic-bezier(.7,0,.2,1); }
.loader.done { transform: translateY(-105%); pointer-events: none; }
html.loading, html.loading body { overflow: hidden; }
html:not(.loading) #loader { display: none; }
.loader-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.loader-logo { width: clamp(56px, 9vw, 88px); height: auto; filter: brightness(0) invert(1);
  opacity: 0; animation: loFade 1s var(--ease) .15s forwards; }
.loader-logo.mk-day { display: var(--mk-day, block); }
.loader-logo.mk-night { display: var(--mk-night, none); }
.loader-word { margin-top: 12px; font-size: .6rem; letter-spacing: .42em; text-indent: .42em;
  text-transform: uppercase; font-weight: 600; color: var(--fg-mid);
  opacity: 0; animation: loFade .9s var(--ease) .6s forwards; }
.loader-rule { width: min(240px, 40vw); height: 1px; margin-top: 30px; position: relative; overflow: hidden;
  background: var(--hair); }
.loader-rule i { position: absolute; inset: 0; background: #c7a25a; transform: scaleX(0); transform-origin: left;
  animation: loDraw 1s var(--ease) 1.05s forwards; }
.loader-tag { margin-top: 26px; font-size: .78rem; letter-spacing: .34em; text-indent: .34em;
  text-transform: uppercase; font-weight: 600; color: var(--fg-mid);
  opacity: 0; animation: loFade 1s var(--ease) 1.5s forwards; }
@keyframes loFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loDraw { to { transform: scaleX(1); } }
/* cloud front at the panel's lower edge — sweeps up as it parts to reveal the site */
.loader-clouds { position: absolute; left: -8%; right: -8%; bottom: -8vh; height: 30vh; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.loader.done .loader-clouds { opacity: 1; }
.loader-clouds span { position: absolute; bottom: 0; border-radius: 50%; background: var(--cloud-base); filter: blur(44px); }
.loader-clouds span:nth-child(1) { width: 42%; height: 150%; left: -4%; }
.loader-clouds span:nth-child(2) { width: 50%; height: 190%; left: 28%; background: var(--cloud-1); }
.loader-clouds span:nth-child(3) { width: 44%; height: 160%; right: -2%; background: var(--cloud-2); }
@media (prefers-reduced-motion: reduce) {
  .loader-logo, .loader-word, .loader-rule i, .loader-tag { animation: none !important; opacity: 1 !important; transform: none !important; }
  .loader-rule i { transform: scaleX(1) !important; }
  .loader-clouds { display: none; }
}

/* ---- nav ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gut); transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s; }
.nav.scrolled { background: color-mix(in oklab, var(--body-bg) 82%, transparent); backdrop-filter: blur(14px); padding-block: 16px; border-bottom: 1px solid var(--hair-soft); }
.brand img { height: 40px; width: auto; }
.brand .mk-day { display: var(--mk-day, block); }
.brand .mk-night { display: var(--mk-night, none); }
html[data-dir="night"] { --mk-day: none; --mk-night: block; }
.nav-links { display: flex; gap: 36px; font-size: .95rem; font-weight: 600; }
.nav-links a { color: var(--fg); opacity: .9; }
.nav-links a:hover { opacity: 1; }
.nav-menu { display: none; align-items: center; gap: 12px; cursor: pointer; }

/* ---- hero ---- */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--sky);
  display: flex; flex-direction: column; align-items: center; }
/* giant wordmark emerging behind the house (reference hero_logo) */
.hero-wordmark { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%);
  z-index: 1; font-weight: 900; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(6.4rem, 24vw, 24rem); color: var(--wordmark); pointer-events: none;
  white-space: nowrap; user-select: none;
  -webkit-mask-image: linear-gradient(to top, transparent 4%, #000 42%);
          mask-image: linear-gradient(to top, transparent 4%, #000 42%); }
.hero-build { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 76vh; object-fit: cover; object-position: 50% 24%;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 20%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to top, transparent 0%, #000 20%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; will-change: transform; }
/* soft smoke band the house dissolves up out of (reference hero_smoke) */
.hero-fog { position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; z-index: 4;
  pointer-events: none; background: var(--fog); }
.hero-fog::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: var(--fog-core); filter: blur(40px); }
.cloud { position: absolute; border-radius: 50%; filter: blur(42px); z-index: 3; pointer-events: none; will-change: transform; }
/* layered puffs break the flat oval into a billowing cloud silhouette */
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%;
  background-color: inherit; filter: blur(30px); }
.cloud::before { width: 66%; height: 88%; left: -16%; bottom: -14%; opacity: .9;
  animation: puffA 34s ease-in-out infinite alternate; }
.cloud::after { width: 74%; height: 96%; right: -20%; bottom: -8%; opacity: .82;
  animation: puffB 41s ease-in-out infinite alternate; }
@keyframes puffA { from { transform: translate(0,0) scale(1); } to { transform: translate(7%, -5%) scale(1.09); } }
@keyframes puffB { from { transform: translate(0,0) scale(1); } to { transform: translate(-6%, 3%) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .cloud::before, .cloud::after { animation: none; } }
.hero-inner { position: relative; z-index: 5; text-align: center; margin-top: clamp(130px, 22vh, 240px); padding-inline: var(--gut); }
.hero-h1 { font-weight: 800; letter-spacing: -.038em; line-height: .98;
  font-size: clamp(3.2rem, 12vw, 11rem); color: var(--head-fg); text-shadow: var(--head-shadow); }
.hero-h1 .soft { color: var(--head-accent, var(--head-soft)); }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 600; margin-top: clamp(22px, 3vh, 38px); letter-spacing: -.01em; }
.hero-sub .lead-t { color: var(--sub-lead); }
.hero-sub .dim { color: color-mix(in oklab, var(--fg) 74%, transparent); }
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-top: clamp(28px, 4vh, 46px); flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 6; pointer-events: none;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cue-fg);
  display: flex; align-items: center; gap: 12px; font-weight: 600; }
.scroll-cue .bar { width: 1px; height: 40px; background: currentColor; opacity: .5; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.3;} 50%{ transform: scaleY(1); opacity:.6;} }
html[data-no-cue] .scroll-cue { display: none; }
@media (max-height: 760px) {
  .scroll-cue { display: none; }
}

/* word reveal (clip-free fade + rise so descenders never clip) */
.reveal-words .word { display: inline-block; vertical-align: top; }
.reveal-words .word > span { display: inline-block; transform: translateY(38%); opacity: 0;
  transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js .reveal-words.in .word > span, .reveal-words.in .word > span { transform: none; opacity: 1; }
.reveal-words .word:nth-child(2) > span { transition-delay: .08s; }
.reveal-words .word:nth-child(3) > span { transition-delay: .16s; }
.reveal-words .word:nth-child(4) > span { transition-delay: .24s; }

/* generic reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-words .word > span { opacity: 1 !important; transform: none !important; } }

/* ---- intro / about ---- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.intro-grid .col-meta { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }

/* ---- row head ---- */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: clamp(28px, 4vh, 54px); border-bottom: 1px solid var(--hair); }

/* ---- work grid ---- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.work-card { display: block; }
.work-card .ph { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; background: var(--ph-bg);
  position: relative; }
.work-card .ph img, .work-card .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%;
  transition: transform 1.1s var(--ease); }
.work-card:hover .ph img, .work-card:hover .ph video { transform: scale(1.045); }
/* diagonal-hatch placeholder for un-shot work */
.work-card .ph.empty::before { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 16px, var(--ph-stripe) 16px 17px); }
/* mono chip, bottom-left */
.work-card .ph .lbl { position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .02em; color: var(--muted);
  padding: 7px 11px; border: 1px solid var(--hair); border-radius: 4px;
  background: color-mix(in oklab, var(--body-bg) 55%, transparent); backdrop-filter: blur(4px); }
.work-card .cap { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
.work-card .cap .t { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.work-card .cap .k { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---- differentiator ---- */
.diff-stage { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; margin-top: 50px; align-items: stretch; }
.tracker { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ph-bg); aspect-ratio: 16/9; }
.tracker video { width: 100%; height: 100%; object-fit: cover; }
/* sideways-shot clip rotated upright to fill a landscape frame */
.tracker video.rot, .proj-media video.rot { position: absolute; left: 50%; top: 50%; width: 56.25%; height: 177.78%;
  transform: translate(-50%, -50%) rotate(-90deg); object-fit: cover; }
.tracker .tag { position: absolute; background: color-mix(in oklab, var(--body-bg) 75%, transparent);
  backdrop-filter: blur(8px); border: 1px solid var(--hair); color: var(--fg);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; padding: 7px 12px; border-radius: 4px; }
.reels .eyebrow { margin-bottom: 16px; }
.reel-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 6px; overflow: hidden; background: var(--ph-bg); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .badge { position: absolute; bottom: 8px; left: 8px; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .04em; color: #fff; background: rgba(0,0,0,.45); padding: 4px 7px; border-radius: 3px; backdrop-filter: blur(4px); }
.diff-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 54px; }
.diff-feat .ti { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 10px; }
.diff-feat p { color: var(--fg-mid); font-size: .95rem; margin: 0; }

/* ---- clients marquee ---- */
.clients { margin-top: clamp(48px, 7vw, 90px); }
.clients-head { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.clients-head .ln-rule { flex: 1; height: 1px; background: var(--hair); }
.clients-note { font-size: .8rem; color: var(--muted); font-weight: 600; }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: clamp(48px, 6vw, 90px); align-items: center; width: max-content; animation: marq 34s linear infinite; }
.logo-item img { height: 30px; width: auto; opacity: .55; filter: var(--logo-filter, none); }
html[data-dir="night"] .logo-item img { filter: brightness(0) invert(1); opacity: .5; }
html[data-dir="day"] .logo-item img { filter: grayscale(1) brightness(0); opacity: .5; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- KNMA quote ---- */
.knma-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.knma-quote { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.16; }
.knma-credit { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.knma-credit .km { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.knma-credit .kname { font-size: 1.4rem; font-weight: 800; letter-spacing: .02em; }
.ph-box { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--ph-bg); position: relative; display: flex; align-items: flex-end; }
.ph-box video, .ph-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-box .lbl { position: relative; font-family: var(--mono); font-size: .72rem; color: var(--muted); padding: 18px; }

/* ---- process ---- */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 54px; }
.proc-step { display: flex; gap: 18px; }
.proc-step .pnum { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 4px; }
.proc-step .pname { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.proc-step p { color: var(--fg-mid); font-size: .95rem; margin: 0; }

/* ---- closing ---- */
.closing { background: var(--close-sky); text-align: center; overflow: hidden; position: relative;
  padding-block: clamp(96px, 15vh, 190px); }
.closing h2 { font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -.038em; line-height: .94;
  color: var(--head-fg); position: relative; z-index: 3; text-shadow: var(--head-shadow); }
.closing p { max-width: 46ch; margin: 30px auto 42px; font-size: 1.15rem; color: var(--sub-dim); position: relative; z-index: 3; font-weight: 500; }
.closing .hero-cta { margin-top: 0; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--hair); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 38px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.footer .links { display: flex; gap: 26px; }
.footer .links a:hover { color: var(--fg); }
.footer .brand img { height: 38px; }

/* ---- project (work.html) ---- */
.proj-hero { padding-top: clamp(150px, 20vh, 240px); padding-bottom: clamp(40px, 6vh, 80px); }
.proj-meta { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(30px, 5vw, 70px); margin-top: 46px; justify-content: start; }
.proj-meta .m-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.proj-meta .m-v { font-weight: 700; font-size: 1.05rem; }
.proj-media { border-radius: var(--radius); overflow: hidden; background: var(--ph-bg); position: relative; }
.proj-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-text { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.spec-list { list-style: none; margin: 22px 0 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.spec-list .k { color: var(--muted); font-weight: 600; }
.spec-list .v { font-weight: 600; }
.proj-copy p { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; color: var(--fg); }
.proj-copy p + p { margin-top: 1em; color: var(--fg-mid); font-size: 1.05rem; font-weight: 400; line-height: 1.7; }
.reel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.social-stage { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(32px, 5vw, 76px); margin-top: 46px; align-items: center; }
.social-copy .spec-list { max-width: 40ch; }

/* ---- custom brand cursor (1H mark) ---- */
.house-cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  mix-blend-mode: difference; opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s var(--ease); will-change: transform; }
.house-cursor.on { opacity: 1; }
.house-cursor .hc-mark { width: auto; height: 22px; display: block;
  filter: brightness(0) invert(1);   /* force pure white so blend inverts cleanly */
  transition: transform .35s var(--ease), opacity .35s var(--ease); }
.house-cursor .hc-dot { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px;
  margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
/* over interactive targets — mark grows, subtle ring dot appears */
.house-cursor.hot .hc-mark { transform: scale(1.5); }
.house-cursor.hot .hc-dot { opacity: .8; transform: scale(1.4); }
.house-cursor.press .hc-mark { transform: scale(.82); }
/* hide the native cursor once ours is live (fine-pointer only) */
@media (pointer: fine) {
  html.has-house-cursor, html.has-house-cursor a, html.has-house-cursor button,
  html.has-house-cursor .pill, html.has-house-cursor .work-card,
  html.has-house-cursor .nav-menu, html.has-house-cursor [role="button"] { cursor: none; }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav { padding: 16px var(--gut); }
  .nav .pill { display: none; }              /* de-clutter — Contact lives in the menu */
  .nav-menu { display: inline-flex; padding: 9px 15px; border: 1px solid var(--hair);
    border-radius: 100px; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; background: color-mix(in oklab, var(--body-bg) 60%, transparent);
    backdrop-filter: blur(8px); }
  .nav-links { position: absolute; top: calc(100% + 8px); right: var(--gut); left: var(--gut);
    display: flex; flex-direction: column; gap: 4px; padding: 14px; font-size: 1.05rem;
    background: var(--body-bg); border: 1px solid var(--hair); border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-links a { padding: 12px 14px; border-radius: 8px; opacity: 1; }
  .nav-links a:active { background: var(--hair-soft); }
  .nav.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.menu-open { background: color-mix(in oklab, var(--body-bg) 90%, transparent); backdrop-filter: blur(14px); }

  .intro-grid, .diff-stage, .knma-grid, .proj-text, .social-stage { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .diff-feats, .proc { grid-template-columns: 1fr 1fr; }
  .proj-meta { grid-template-columns: 1fr 1fr; row-gap: 26px; }

  .footer-inner { flex-wrap: wrap; row-gap: 20px; }
}
@media (max-width: 560px) {
  .clients-head { flex-wrap: wrap; row-gap: 10px; }
  .clients-head .ln-rule { order: 3; flex-basis: 100%; }
  .section-pad { padding-block: clamp(56px, 9vh, 96px); }
  .hero-inner { margin-top: 30vh; }
  .hero-h1 { font-size: clamp(3rem, 15vw, 4.6rem); line-height: .96; }
  .hero-sub { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  .hero-cta .pill { width: 100%; max-width: 320px; justify-content: center; }

  .work-grid, .diff-feats, .proc, .reel-row { grid-template-columns: 1fr; }
  .work-card .ph { aspect-ratio: 16/10; }
  .reel-strip { grid-template-columns: repeat(3, 1fr); }        /* keep 3-up thumbnails */
  .social-stage .reel { max-width: 300px; margin-inline: auto; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .proj-meta { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}
