/* ==========================================================================
   PYZN Innovation Studio - design system (light / studio build)
   Warm bone-white, near-black ink, deep-gold accent. Oversized Sora headers
   with Cormorant-italic gold accents. Clean, airy, expansive - built to read
   as a parent studio, distinct from any single venture.
   ========================================================================== */

:root {
  /* palette - light */
  --bg:        #F6F2E9;   /* warm bone */
  --bg-2:      #FFFFFF;   /* clean panel */
  --bg-3:      #FBF8F1;   /* raised card on bone */
  --ink:       #15110A;   /* near-black, warm */
  --ink-soft:  #59513F;   /* body */
  --ink-faint: #8C8472;   /* meta / captions */
  --ink-dim:   #B3AC9C;   /* faint structural labels */
  --gold:      #9A7A2E;   /* deep gold, readable on light */
  --gold-br:   #C9A24A;   /* brighter gold, sparing */
  --red:       #B23A2E;
  --line:      rgba(21,17,10,0.12);   /* dark hairline on light */
  --line-2:    rgba(21,17,10,0.22);
  --line-soft: rgba(21,17,10,0.07);
  --paper-2:   #EFE9DB;   /* alt section tint */

  /* type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Sora", "Helvetica Neue", Arial, sans-serif;

  /* rhythm - generous */
  --pad-x: clamp(24px, 6vw, 100px);
  --pad-y: clamp(110px, 15vw, 220px);
  --max:   1320px;
  --measure: 660px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

::selection { background: rgba(154,122,46,0.18); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad-x); position: relative; z-index: 2; }
section { position: relative; padding-block: var(--pad-y); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex; align-items: baseline; gap: 0.75em;
  margin: 0 0 2.2rem;
}
.eyebrow .ix {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.5em; letter-spacing: 0; color: var(--gold);
  position: relative; top: 0.06em;
}
.eyebrow .ix::after {
  content: ""; display: inline-block; width: 30px; height: 1px; margin: 0 0 0.32em 0.7em;
  background: linear-gradient(90deg, var(--gold), transparent); vertical-align: middle;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-weight: 600; margin: 0; }

/* ---- the stretched header system ---- */
.display {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  text-wrap: balance;
}
.headline {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  text-wrap: balance;
}
.headline em, .display em {
  font-family: var(--serif);
  font-style: italic; font-weight: 500; color: var(--gold);
  letter-spacing: -0.005em;
}
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.6; color: var(--ink-soft);
  max-width: var(--measure); font-weight: 400;
}
.body { color: var(--ink-soft); line-height: 1.74; max-width: var(--measure); font-size: 1.05rem; }
.body + .body { margin-top: 1.2rem; }
.body strong, .lead strong { color: var(--ink); font-weight: 600; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.01em;
  padding: 1.05em 1.8em; border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink); background: transparent;
  cursor: pointer; transition: all .45s var(--ease);
}
.btn .arw { transition: transform .45s var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:hover .arw { transform: translateX(4px); }
.btn--solid {
  background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500;
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -18px rgba(21,17,10,0.5); }

/* link with sliding underline */
.ulink { position: relative; color: var(--ink); }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* shared section header block */
.sec__head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec__head .headline { max-width: 20ch; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,242,233,0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.nav__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x);
  height: 84px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 30px; height: 30px; }
.brand__lock { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--sans); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand__sub {
  font-family: var(--sans); font-weight: 500; font-size: 0.5rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-faint);
  margin-top: 4px;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }
.nav__links a.navlink {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-soft); transition: color .4s var(--ease); position: relative;
}
.nav__links a.navlink:hover, .nav__links a.navlink.active { color: var(--ink); }
.nav__links a.navlink.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--gold);
}
.nav__cta { margin-left: 0.6rem; padding: 0.7em 1.4em; }
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  background: transparent; border-radius: 999px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: all .35s var(--ease); }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav__links .navlink, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open { background: rgba(246,242,233,0.98); backdrop-filter: blur(14px) saturate(1.1); }
  .mobile-menu { position: absolute; top: 84px; left: 0; right: 0;
    background: rgba(246,242,233,0.99); backdrop-filter: blur(14px) saturate(1.1);
    border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); }
  .nav.open .mobile-menu { display: block; }
  .mobile-menu nav { display: flex; flex-direction: column; padding: 0.6rem var(--pad-x) 1.6rem; }
  .mobile-menu a { padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem; letter-spacing: 0; color: var(--ink); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a.cta { color: var(--gold); font-weight: 600; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(50% 50% at 86% 30%, rgba(201,162,74,0.16), transparent 70%),
    radial-gradient(46% 50% at 8% 96%, rgba(178,58,46,0.07), transparent 70%);
}
.hero__mark {
  position: absolute; right: -6%; top: 44%; transform: translate(0, calc(-50% + var(--py, 0px)));
  width: min(50vw, 620px); aspect-ratio: 1; z-index: 0;
  opacity: 0.5; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
          mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.hero__mark svg { width: 100%; height: 100%; }
.hero .wrap { width: 100%; }
.hero h1 { max-width: 22ch; margin-bottom: 2.4rem; }
.hero .lead { margin-bottom: 3rem; }
.hero__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

/* hero credential band */
.hero__foot {
  margin-top: clamp(3.5rem, 8vw, 7rem); padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: clamp(1.6rem, 4vw, 3.4rem); flex-wrap: wrap;
}
.hero__foot .lbl { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim); }
.hero__foot .areas { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); flex-wrap: wrap; }
.hero__foot .areas span {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.9em;
}
.hero__foot .areas span + span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-br);
  margin-right: 0.9em;
}

.scrollcue {
  position: absolute; left: var(--pad-x); bottom: 36px; z-index: 2;
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 0.8em;
}
.scrollcue span.l { width: 38px; height: 1px; background: var(--line-2); display: inline-block; position: relative; overflow: hidden; }
.scrollcue span.l::after { content:""; position:absolute; inset:0; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }
@media (prefers-reduced-motion: reduce){ .scrollcue span.l::after{ animation:none; } }
@media (max-width: 900px){ .scrollcue { display: none; } }
@media (max-width:560px){ .hero__mark{ opacity:0.4; right:-24%; top: 38%; } }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { padding-block: clamp(3.6rem, 6vw, 6rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.stat { padding-right: clamp(1rem, 2vw, 2rem); }
.stat__n {
  font-family: var(--sans); font-weight: 600; color: var(--ink);
  font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1; letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 0.06em;
}
.stat__n .u { font-size: 0.4em; color: var(--gold); font-style: italic; font-family: var(--serif); font-weight: 500; }
.stat__l {
  margin-top: 1.1rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-soft); line-height: 1.5; max-width: 22ch;
}
@media (max-width: 820px){ .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; } }
@media (max-width: 460px){ .stats__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   THESIS / generic editorial
   ========================================================================== */
.statement {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.5rem); line-height: 1.12; letter-spacing: -0.03em;
  max-width: 18ch; color: var(--ink); text-wrap: balance;
}
.statement em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -0.01em; }
.thesis__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.thesis__grid .col-r { padding-top: 0.6rem; }
@media (max-width: 860px){ .thesis__grid { grid-template-columns: 1fr; gap: 2.6rem; } .statement{ max-width: 24ch; } }

/* triad */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(3.5rem,6vw,5.5rem); border-top: 1px solid var(--line); }
.triad__item { padding: 2.4rem 2rem 0 0; border-right: 1px solid var(--line); padding-right: 2rem; }
.triad__item:last-child { border-right: 0; }
.triad__n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.9rem; }
.triad__t { font-size: 1.15rem; color: var(--ink); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
@media (max-width: 760px){ .triad { grid-template-columns: 1fr; }
  .triad__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.8rem 0; }
  .triad__item:last-child{ border-bottom: 0; } }

/* ==========================================================================
   PLATFORM / OPERATING SYSTEM
   ========================================================================== */
.platform { background: var(--paper-2); }
.platform__lead { max-width: 56ch; margin-top: 1.6rem; }
.os {
  margin-top: clamp(3.4rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.os__cell {
  padding: clamp(2rem, 3.2vw, 3rem);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; transition: background .5s var(--ease);
}
.os__cell:hover { background: rgba(255,255,255,0.6); }
.os__n {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold);
  margin-bottom: 1.4rem;
}
.os__t { font-family: var(--sans); font-weight: 600; font-size: 1.18rem; color: var(--ink); margin-bottom: 0.8rem; letter-spacing: -0.02em; }
.os__b { color: var(--ink-soft); line-height: 1.62; font-size: 0.98rem; max-width: 34ch; }
@media (max-width: 820px){ .os { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .os { grid-template-columns: 1fr; } }

/* ==========================================================================
   PORTFOLIO / VENTURES
   ========================================================================== */
.portfolio { background: var(--bg); }
.pf__head { display:flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(3rem,5vw,4.5rem); flex-wrap: wrap; }
.pf__count { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.pf__count b { color: var(--gold); font-weight: 700; }
.pf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.4vw, 2rem); }
@media (max-width: 820px){ .pf__grid { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(2rem, 3.4vw, 3.2rem);
  overflow: hidden; transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; min-height: 420px;
}
.card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(21,17,10,0.28); }
.card__glow { display: none; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__tag {
  font-size: 0.68rem; font-weight:600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); display:flex; align-items:center; gap:0.7em;
}
.card__tag .dot { width:6px; height:6px; border-radius:50%; background: var(--gold-br); box-shadow:0 0 0 4px rgba(201,162,74,0.16); }
.card__status {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 0.45em 0.95em; white-space: nowrap;
}
.card__name { font-family: var(--sans); font-weight: 600; font-size: clamp(2rem, 3.2vw, 3rem); margin: 1.6rem 0 0.5rem; letter-spacing:-0.035em; }
.card__kicker { color: var(--ink); font-size: 1.1rem; line-height:1.45; margin-bottom: 1.3rem; font-weight:500; letter-spacing: -0.01em; }
.card__body { color: var(--ink-soft); line-height: 1.68; font-size: 1rem; margin: 0; }
.card__meta {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft);
  display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); flex-wrap: wrap;
}
.card__meta div { display: flex; flex-direction: column; gap: 0.4em; }
.card__meta .k { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.card__meta .v { font-size: 0.85rem; color: var(--ink-soft); }
.card__foot { margin-top: auto; padding-top: 1.8rem; display:flex; align-items:center; gap:0.6em; color: var(--ink-faint); font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; transition: color .5s var(--ease); }
.card:hover .card__foot { color: var(--gold); }
.card__mark { position:absolute; right:-26px; bottom:-26px; width:140px; opacity:0.06; }

/* origination / pipeline card - full width */
.card--soon { background: transparent; border-style: dashed; border-color: var(--line-2); min-height: 0; }
.card--soon:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.card--soon .card__name { color: var(--ink-faint); }
.pf__grid .card--soon { grid-column: 1 / -1; padding-block: clamp(2rem, 3vw, 2.6rem);
  display: flex; flex-direction: row; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.pf__grid .card--soon .card__name { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); white-space: nowrap; }
.pf__grid .card--soon .card__body { margin: 0; max-width: 46ch; }
.pf__grid .card--soon .card__foot { margin: 0 0 0 auto; padding: 0; white-space: nowrap; }
@media (max-width: 680px){ .pf__grid .card--soon { flex-direction: column; align-items: flex-start; }
  .pf__grid .card--soon .card__foot { margin: 0; } }

/* ==========================================================================
   HOW WE WORK
   ========================================================================== */
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(3rem,5vw,4rem); border-top:1px solid var(--line); }
.work__item { padding: clamp(2.2rem,3.4vw,3.2rem) clamp(1.6rem,3vw,3rem) clamp(2.2rem,3.4vw,3.2rem) 0; border-bottom: 1px solid var(--line); position: relative; }
.work__item:nth-child(odd) { padding-right: clamp(2rem,4vw,4rem); }
.work__item:nth-child(even) { padding-left: clamp(2rem,3vw,3rem); border-left: 1px solid var(--line); }
.work__n { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--gold); margin-bottom: 1.2rem; }
.work__t { font-family: var(--sans); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin-bottom: 0.9rem; letter-spacing:-0.02em; }
.work__b { color: var(--ink-soft); line-height: 1.68; font-size: 1rem; max-width: 42ch; }
@media (max-width: 760px){ .work__grid { grid-template-columns: 1fr; }
  .work__item, .work__item:nth-child(even){ padding: 2.1rem 0; border-left: 0; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap { display: flex; flex-direction: column; align-items: center; }
.about__mark { width: 50px; margin-bottom: 2.2rem; }
.about__text {
  font-family: var(--sans); font-weight: 500; color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.24; letter-spacing:-0.03em;
  max-width: 22ch; text-wrap: balance;
}
.about__text .soft { color: var(--ink-faint); }
.about__text em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -0.01em; }
.about__sign {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.about__sign .who { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink); }
.about__sign .role { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { text-align: center; overflow: hidden; background: var(--bg); }
.contact__glow { position:absolute; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(50% 60% at 50% 36%, rgba(201,162,74,0.14), transparent 72%); }
.contact .wrap { position: relative; z-index: 2; display:flex; flex-direction:column; align-items:center; }
.contact__mark { width: 44px; margin-bottom: 2rem; }
.contact__title { max-width: 16ch; margin-bottom: 2.8rem; text-wrap: balance; }
.contact__email { margin-top: 2.6rem; font-size: 0.88rem; letter-spacing: 0.06em; color: var(--ink-faint); }
.contact__email a { transition: color .4s; }
.contact__email a:hover { color: var(--gold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3.6rem,5vw,5.5rem); background: var(--bg); }
.footer__in { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad-x);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.footer__brand { display:flex; align-items:center; gap: 12px; margin-bottom: 1.4rem; }
.footer__brand svg { width: 30px; height: 30px; }
.footer__brand b { font-weight: 700; font-size: 1.25rem; letter-spacing:-0.03em; }
.footer__tag { color: var(--ink-faint); font-size: 0.95rem; max-width: 32ch; line-height:1.6; }
.footer__col h4 {
  font-family: var(--sans); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 1.3rem;
}
.footer__col nav { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__col a, .footer__col span.li { color: var(--ink-soft); font-size: 0.92rem; transition: color .4s; width: fit-content; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { max-width: var(--max); margin: 3.2rem auto 0; padding-inline: var(--pad-x); padding-top: 2rem; border-top: 1px solid var(--line-soft);
  display:flex; justify-content: space-between; gap:1rem; flex-wrap: wrap; align-items: center; color: var(--ink-faint); font-size: 0.78rem; letter-spacing: 0.02em; }
.footer__bottom .seal { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 920px){ .footer__in { grid-template-columns: 1fr 1fr; } .footer__brand-col { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer__in { grid-template-columns: 1fr; } }

/* ==========================================================================
   reveal
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.in-done { opacity: 1 !important; transform: none !important; transition: none !important; }
html.js .reveal.d1 { transition-delay: .08s; }
html.js .reveal.d2 { transition-delay: .16s; }
html.js .reveal.d3 { transition-delay: .24s; }
html.js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ html.js .reveal { opacity:1 !important; transform:none !important; } }

/* scroll progress hairline */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 102;
  background: linear-gradient(90deg, var(--gold), var(--gold-br));
  transition: width .1s linear;
}
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero__mark svg { animation: drift 160s linear infinite; transform-origin: 50% 50%; }
}
@keyframes drift { to { transform: rotate(360deg); } }

/* ==========================================================================
   MULTI-PAGE: page headers, home directory, CTA strip
   ========================================================================== */
/* page header (top of every interior page; clears the fixed nav) */
.page-hero {
  padding: calc(84px + clamp(3.5rem, 8vw, 7rem)) 0 clamp(2.4rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.page-hero__title { max-width: 20ch; }
.page-hero__lead { margin-top: 1.9rem; max-width: 60ch; }
.page-hero .pf__count { margin-top: 1.6rem; display: inline-block; }
.page-hero__mark {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: min(34vw, 360px); aspect-ratio: 1; opacity: 0.4; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
          mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.page-hero__mark svg { width: 100%; height: 100%; }
@media (max-width: 760px){ .page-hero__mark { opacity: 0.28; right: -18%; width: 60vw; } }

/* generic interior content block */
.page-body { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(5rem, 9vw, 8rem); }
.page-body--tint { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.page-body + .page-body { padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }

/* sub-statement used on the thesis/model page */
.subhead { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(1.8rem, 4vw, 3.2rem); max-width: 16ch; margin-bottom: 1.8rem; text-wrap: balance; }
.subhead em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); }

/* home directory — the page index that replaces the long scroll */
.dir { border-top: 1px solid var(--line); margin-top: 0.5rem; }
.dir__row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 3.2vw, 2.6rem) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.dir__row:hover { padding-left: clamp(0.5rem, 2vw, 1.4rem); }
.dir__n { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold); }
.dir__t { font-family: var(--sans); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: -0.035em; color: var(--ink); transition: color .4s var(--ease); }
.dir__d { font-size: 0.84rem; color: var(--ink-faint); letter-spacing: 0.02em; text-align: right; max-width: 22ch; }
.dir__row .arw { color: var(--ink-faint); font-size: 1.2rem; transition: transform .45s var(--ease), color .45s var(--ease); }
.dir__row:hover .arw { transform: translateX(8px); color: var(--gold); }
.dir__row:hover .dir__t { color: var(--gold); }
@media (max-width: 680px){
  .dir__row { grid-template-columns: auto 1fr auto; }
  .dir__d { display: none; }
}

/* CTA strip before the footer on interior pages */
.cta-strip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cta-strip .wrap { display: flex; flex-direction: column; align-items: center; }
.cta-strip .eyebrow { justify-content: center; }
.cta-strip .headline { max-width: 18ch; margin-bottom: 2.4rem; }
