/* ==========================================================================
   Frazor — design tokens
   Pichola night (lake at night), marigold (palace lights), moonwater, bone.
   ========================================================================== */
:root {
  --ink: #070C1F;        /* Pichola night */
  --deep: #0F1A3A;       /* deep water */
  --gold: #F5A524;       /* marigold light */
  --moon: #8FD3E8;       /* moonwater */
  --bone: #F1EBDD;       /* text */
  --soft: #D6D0C3;       /* body text on ink */
  --mist: #9AA0B8;       /* secondary text */
  --line: rgba(241, 235, 221, 0.14);
  --line-strong: rgba(241, 235, 221, 0.28);

  --f-display: "Syne", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(6rem, 16vh, 11rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.no-gl body {
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(245,165,36,.16), transparent 60%),
    var(--ink);
}

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--moon); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Layers ---------- */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; display: block;
}
main, .nav { position: relative; z-index: 2; }
.nav { position: fixed; }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: none;
  clip-path: inset(0 0 0 0);
}
.js #loader {
  display: grid; place-items: center;
  animation: loader-failsafe .01s 4.5s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.loader-word {
  display: flex; overflow: hidden;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 13vw, 11rem); letter-spacing: -.03em; line-height: 1;
  padding-bottom: .06em;
}
.loader-word span { display: inline-block; }
.loader-count {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) * .8);
  font-family: var(--f-display); font-weight: 600; color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.4rem); font-variant-numeric: tabular-nums;
}
.loader-count::after { content: "%"; color: var(--mist); margin-left: .1em; }

/* ---------- Cursor (fine pointers only, set up in JS) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(245,165,36,.7);
  opacity: 0; transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s;
}
.cursor.on { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(245,165,36,.12);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--bone);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--f-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-primary { --bg: var(--gold); --fg: var(--ink); }
.btn-primary:hover { --bg: var(--bone); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-sm { min-height: 40px; padding: .6rem 1.1rem; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease-out), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 12, 31, .62);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.hidden { transform: translateY(-100%); }
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em;
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; fill: var(--gold); }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); margin-left: auto; }
.nav-links a {
  color: var(--mist); text-decoration: none; font-size: .95rem; font-weight: 500;
  position: relative; padding: .4rem 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  position: relative; padding: 0;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--bone);
  transition: transform .4s var(--ease-out);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35;
  background: rgba(7, 12, 31, .96);
  display: flex; align-items: flex-end;
  padding: 96px var(--gutter) 48px;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: .2rem; }
.menu a {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 10vw, 3.2rem);
  line-height: 1.15; letter-spacing: -.02em; text-decoration: none;
}
.menu a:last-child { color: var(--gold); margin-top: 1rem; }

@media (max-width: 899px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 6.6rem);
  line-height: .94; letter-spacing: -.04em;
  margin: 0;
}
.display .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
.display .word { display: inline-block; white-space: nowrap; }
.display .char { display: inline-block; will-change: transform; }

.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  line-height: 1; letter-spacing: -.035em;
  margin: 0; max-width: 16em;
}
.h3 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.05; letter-spacing: -.025em; margin: 0;
}
[data-reveal] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-reveal] .wi { display: inline-block; will-change: transform; }

.lede, .section-lede {
  color: var(--soft);
  font-size: clamp(1.06rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  max-width: 36em;
}
.section-lede { margin-top: 1.5rem; }

.section { padding-block: var(--section); }

/* Small text that sits over the particles gets a soft ink halo */
.ledger-text, .panel-body, .panel-claim, .includes li, .format, .step p, .section-lede,
.work-what, .work-where, .founder-copy p, .awards, .plain li, .faq details p, .hero-foot, .signoff-tag {
  text-shadow: 0 0 2px rgba(7,12,31,.9), 0 1px 16px rgba(7,12,31,.95), 0 0 34px rgba(7,12,31,.8);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; padding-bottom: 150px;
}
.hero::before {
  /* the horizon: a low glow where the lake meets the night */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 62% 62%, rgba(245,165,36,.13), transparent 70%);
}
.hero-title { text-shadow: 0 2px 40px rgba(7,12,31,.6); }
.hero-lede { margin-top: 2rem; max-width: 33em; text-shadow: 0 1px 20px rgba(7,12,31,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .88rem; color: var(--mist);
}
.clock { color: var(--bone); font-variant-numeric: tabular-nums; margin-left: .35rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: .75rem; }
.cue-line { width: 48px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.cue-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(7, 12, 31, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-list {
  display: flex; list-style: none; margin: 0; padding: 0;
}
.marquee-list li {
  display: flex; align-items: center; gap: 2.2rem; padding: 1.35rem 1.1rem 1.35rem 1.1rem;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em; white-space: nowrap;
}
.marquee-list li::after {
  content: ""; width: 10px; height: 10px; background: var(--gold);
  transform: rotate(45deg); margin-left: 1.1rem; flex: none;
}

/* ---------- Manifesto + ledger ---------- */
.manifesto-text {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 3.3rem);
  line-height: 1.14; letter-spacing: -.03em;
  max-width: 21em;
}
.manifesto-text .sw { transition: color .2s; }
.ledger { margin-top: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2rem; align-items: baseline;
  padding: clamp(1.2rem, 3vh, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.ledger-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3rem, 7.4vw, 7rem); line-height: .95; letter-spacing: -.05em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.ledger-text { color: var(--soft); max-width: 32ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }

/* ---------- Services (horizontal on desktop) ---------- */
.services { position: relative; }
.h-wrap { overflow: hidden; }
.h-track { display: flex; width: max-content; will-change: transform; }
.panel {
  width: 100vw; min-height: 100vh;
  padding: 120px var(--gutter) 120px;
  display: flex; flex-direction: column; justify-content: center;
}
.panel-inner { max-width: min(780px, 56vw); }
.panel-intro .h2 { max-width: 9em; }
.panel-intro .panel-body { margin-top: 1.6rem; }
.panel-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 5.2rem); line-height: .95; letter-spacing: -.045em;
  margin: 0; overflow-wrap: break-word;
}
.panel-claim {
  font-family: var(--f-display); font-weight: 600; color: var(--gold);
  font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em;
  margin-top: 1.25rem; max-width: 24em;
}
.panel-body { color: var(--soft); font-size: clamp(1.02rem, 1.25vw, 1.18rem); margin-top: 1.1rem; max-width: 36em; }
.includes {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem;
  border-top: 1px solid var(--line);
}
.includes li {
  padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--line);
  position: relative; font-size: .98rem;
}
.includes li::before {
  content: ""; position: absolute; left: 0; top: 1.32rem;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
.format { margin-top: 1.6rem; color: var(--bone); font-size: .98rem; }
.format span { display: block; color: var(--mist); font-size: .85rem; margin-bottom: .15rem; }
.h-hint { margin-top: 3rem; display: inline-flex; align-items: center; gap: .8rem; color: var(--mist); font-size: .92rem; }
.hint-arrow { width: 56px; height: 1px; background: var(--gold); position: relative; }
.hint-arrow::after {
  content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg);
}

.h-progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  font-size: .85rem; color: var(--mist);
}
.h-progress .h-label { transition: color .3s; }
.h-progress .h-label.on { color: var(--bone); }
.h-bar { grid-column: 1 / -1; height: 1px; background: var(--line); position: relative; }
.h-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.is-horizontal .h-progress { display: grid; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .h-track { display: block; width: auto; }
  .panel { width: auto; min-height: 0; padding-block: clamp(4rem, 10vh, 6rem); }
  .panel-inner { max-width: none; }
  .h-hint { display: none; }
}
@media (max-width: 560px) {
  .includes { grid-template-columns: 1fr; }
  .panel-title { font-size: 7.1vw; }
}

/* ---------- Method ---------- */
.method .section-lede { max-width: 32em; }
.pipeline {
  --p: 0;
  list-style: none; margin: clamp(3rem, 8vh, 5rem) 0 0; padding: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.pipeline::before, .pipeline::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: var(--line);
}
.pipeline::after {
  background: linear-gradient(90deg, var(--moon), var(--gold));
  transform-origin: left; transform: scaleX(var(--p));
}
.step { position: relative; padding-top: 2.6rem; }
.node {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--ink);
  transition: background .4s, border-color .4s, box-shadow .6s var(--ease-out);
}
.step.on .node { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(245,165,36,.16), 0 0 30px rgba(245,165,36,.6); }
.step-num {
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--mist);
  transition: color .4s;
}
.step.on .step-num { color: var(--gold); }
.step h3 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -.025em; margin: .35rem 0 .6rem;
}
.step p { color: var(--soft); max-width: 26ch; }

@media (max-width: 899px) {
  .pipeline { grid-template-columns: 1fr; gap: 2.2rem; }
  .pipeline::before, .pipeline::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipeline::after { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--moon), var(--gold)); }
  .step { padding: 0 0 0 2.6rem; }
  .node { top: .3rem; }
}

.credo-head { margin-top: clamp(6rem, 16vh, 10rem); }
.credo {
  display: flex; gap: 10px; margin-top: 3rem;
  height: clamp(300px, 46vh, 420px);
}
.credo-item {
  flex: 1 1 0; min-width: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.6rem);
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(15, 26, 58, .38);
  color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: flex-grow .8s var(--ease-io), background .5s, border-color .5s;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.credo-item:hover { border-color: var(--line-strong); }
.credo-item.is-active { flex-grow: 4.2; background: rgba(15, 26, 58, .82); border-color: rgba(245,165,36,.45); }
.credo-letter {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.4rem); line-height: .82; letter-spacing: -.04em;
  transition: color .5s;
}
.credo-item.is-active .credo-letter { color: var(--gold); }
.credo-body {
  display: flex; flex-direction: column; gap: .5rem;
  width: min(30ch, 60vw);
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s, transform .5s var(--ease-out);
}
.credo-item.is-active .credo-body { opacity: 1; transform: none; transition-delay: .3s; }
.credo-word { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.1; letter-spacing: -.02em; }
.credo-desc { color: var(--soft); }

@media (max-width: 899px) {
  .credo { flex-direction: column; height: auto; }
  .credo-item {
    flex: none; flex-direction: row; align-items: center; gap: 1.2rem;
    border-radius: 16px;
  }
  .credo-item.is-active { flex-grow: 0; }
  .credo-letter { font-size: 3rem; width: 1.1em; flex: none; }
  .credo-body { opacity: 1; transform: none; width: auto; }
}

/* ---------- Work ---------- */
.work-list { list-style: none; margin: clamp(3rem, 7vh, 4.5rem) 0 0; padding: 0; border-top: 1px solid var(--line); }
.work-row {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, .45fr);
  gap: 2rem; align-items: center;
  padding: clamp(1.3rem, 3vh, 2rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative; cursor: default; outline-offset: -2px;
}
.work-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(245,165,36,.1), transparent 70%);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out);
}
.work-row:hover::before, .work-row:focus-visible::before { transform: scaleY(1); }
.work-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.3vw, 3rem); line-height: 1.04; letter-spacing: -.03em;
  transition: transform .6s var(--ease-out), color .3s;
}
.work-row:hover .work-name, .work-row:focus-visible .work-name { color: var(--gold); transform: translateX(14px); }
.work-what { color: var(--soft); max-width: 40ch; }
.work-where { color: var(--mist); font-size: .92rem; text-align: right; }

.work-preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 290px; padding: 1.4rem 1.5rem 1.5rem;
  background: var(--bone); color: var(--ink); border-radius: 6px;
  opacity: 0; transform: scale(.6);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  display: none;
}
.has-fine-pointer .work-preview { display: block; }
.wp-metric { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.04em; }
.wp-caption { margin-top: .7rem; font-size: .95rem; line-height: 1.45; color: #2A2F45; }

@media (max-width: 899px) {
  .work-row { grid-template-columns: 1fr; gap: .45rem; }
  .work-where { text-align: left; order: -1; }
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.monogram { position: sticky; top: 110px; max-width: 460px; width: 100%; }
.monogram svg { width: 100%; height: auto; overflow: visible; }
.mono-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.mono-ring.faint { stroke: var(--line); stroke-dasharray: 2 6; }
.mono-orbit { font-family: var(--f-body); font-size: 15.5px; letter-spacing: .06em; fill: var(--mist); }
.mono-spin { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.mono-letters { font-family: var(--f-display); font-weight: 800; font-size: 104px; letter-spacing: -.05em; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.founder-role {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.25; letter-spacing: -.02em; color: var(--gold);
  margin: 1.4rem 0 1.6rem; max-width: 26em;
}
.founder-copy > p:not(.founder-role) { color: var(--soft); max-width: 38em; margin-top: 1rem; font-size: 1.08rem; }
.founder-lists {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem;
  margin-top: 3rem;
}
.list-title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 .8rem; }
.awards { margin: 0; border-top: 1px solid var(--line); }
.awards div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.awards dt { color: var(--bone); }
.awards dd { margin: 0; color: var(--gold); text-align: right; white-space: nowrap; }
.plain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plain li { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--soft); }

@media (max-width: 899px) {
  .founder-grid { grid-template-columns: 1fr; }
  .monogram { position: relative; top: 0; max-width: 280px; }
  .founder-lists { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: -.02em; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
  transition: transform .5s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { color: var(--soft); padding: 0 0 1.6rem; max-width: 44em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.contact .h2 { max-width: 11em; }
.direct { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 30rem; }
.direct li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.direct span { color: var(--mist); font-size: .9rem; }
.direct a {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -.015em; text-decoration: none; color: var(--bone); transition: color .3s;
}
.direct a:hover { color: var(--gold); }

.form {
  display: grid; gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line); border-radius: 24px;
  background: rgba(15, 26, 58, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .9rem; color: var(--mist); padding: 0; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--bone);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: .55rem 0; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold); }
.field [aria-invalid="true"] { border-bottom-color: #FF8A7A; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .6rem; width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--bone); font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s;
}
.chips input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chips input:focus-visible + span { outline: 2px solid var(--moon); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; color: var(--soft); font-size: .95rem; }
.form-status.error { color: #FF9C8F; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Sign-off ---------- */
.signoff {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.signoff-tag {
  position: absolute; left: 0; right: 0; top: 64%;
  text-align: center; color: var(--mist); font-size: clamp(.95rem, 1.4vw, 1.1rem);
}
.footer {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem;
  padding-top: 2rem; padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mist); font-size: .95rem;
}
.footer-name { color: var(--bone); font-weight: 600; }
.footer a { text-decoration: none; color: var(--bone); transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer-end { text-align: right; }
@media (max-width: 700px) {
  .footer { grid-template-columns: 1fr; }
  .footer-end { text-align: left; }
  .signoff-tag { top: 58%; }
}

/* ---------- Mobile type + layout ---------- */
@media (max-width: 899px) {
  .ledger-row { grid-template-columns: 1fr; gap: .4rem; }
  .hero { padding-bottom: 120px; }
  .hero-foot { bottom: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js #loader { display: none; }
  .cursor { display: none; }
}
