:root {
  --ink: #f2ede4;          /* warm ivory */
  --ink-dim: rgba(242, 237, 228, 0.62);
  --bg: #060504;           /* obsidian */
  --bg-2: #0d0b08;
  --gold: #e8b04b;         /* molten gold */
  --gold-hi: #ffd57a;
  --hair: rgba(232, 176, 75, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", system-ui, sans-serif;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #171106; }

em { font-style: normal; color: var(--gold); }

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  gap: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: rgba(242, 237, 228, 0.85);
  mix-blend-mode: difference;
}
.nav-brand .dim { color: var(--gold); margin: 0 2px; }
.nav-mid { font-size: 10px; opacity: 0.55; }
.nav-cta {
  color: var(--gold-hi);
  text-decoration: none;
  border: 1px solid rgba(255, 213, 122, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold-hi); color: #171106; }

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 520vh; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.cinematic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(0,0,0,0.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 22%, transparent 72%, rgba(0,0,0,0.72) 100%);
}

/* ---------- Overlay copy ---------- */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px;
}
.reveal-line {
  grid-area: 1 / 1;
  max-width: 92vw;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 7.5vw, 6.4rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
  opacity: 0;
  text-shadow: 0 6px 60px rgba(0, 0, 0, 0.8);
  will-change: opacity, transform;
}
.reveal-line.gold {
  color: var(--gold-hi);
  text-shadow: 0 0 70px rgba(232, 176, 75, 0.45);
}

/* ---------- Corner labels ---------- */
.corner {
  position: absolute;
  z-index: 12;
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(232, 176, 75, 0.75);
}
.tl { top: 92px; left: 32px; }
.tr { top: 92px; right: 32px; }
.bl { bottom: 60px; left: 32px; }
.br { bottom: 60px; right: 32px; }

.scroll-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-dim);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ---------- Shared section chrome ---------- */
.eyebrow {
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin-bottom: 34px;
}

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 9vw, 160px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.manifesto h2 {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  line-height: 1.28;
  max-width: 20ch;
}
.manifesto .sub {
  margin-top: 36px;
  max-width: 52ch;
  color: var(--ink-dim);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  transition-delay: 0.15s;
}

/* ---------- Works ---------- */
.works { padding: 130px clamp(24px, 9vw, 160px); background: var(--bg-2); }
.work {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: baseline;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--hair);
  transition: opacity 0.9s ease, transform 0.9s ease, background 0.4s;
}
.work:last-child { border-bottom: 1px solid var(--hair); }
.work:hover { background: rgba(232, 176, 75, 0.04); }
.work-num {
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.work h3 {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  letter-spacing: 0.02em;
}
.work p { margin-top: 10px; color: var(--ink-dim); font-weight: 300; max-width: 58ch; line-height: 1.7; }
.work-tag {
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.work-link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 213, 122, 0.4);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}
.work-link:hover { color: var(--ink); border-color: var(--ink); }
.inline-link { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(255, 213, 122, 0.35); }
.inline-link:hover { color: var(--ink); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--hair);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.stat {
  background: var(--bg);
  padding: 70px 30px;
  text-align: center;
  display: grid;
  gap: 14px;
}
.stat-num {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--gold-hi);
}
.stat-label {
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
}

/* ---------- Capabilities ---------- */
.caps { padding: 130px clamp(24px, 9vw, 160px); background: var(--bg-2); }
.cap-list { list-style: none; }
.cap-list li {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 34px 0;
  border-top: 1px solid var(--hair);
}
.cap-list li:last-child { border-bottom: 1px solid var(--hair); }
.cap-list b {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.06em;
}
.cap-list span { color: var(--ink-dim); font-weight: 300; line-height: 1.7; }

/* ---------- Outro ---------- */
.outro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: 120px 32px 40px;
  background: radial-gradient(80% 60% at 50% 10%, rgba(232, 176, 75, 0.1), transparent 60%), var(--bg);
}
.outro .eyebrow { margin-bottom: 0; }
.outro h2 {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.12;
}
.big-mail {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 213, 122, 0.4);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}
.big-mail:hover { color: var(--ink); border-color: var(--ink); }
.contact-links {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
}
.contact-links a { color: var(--ink-dim); text-decoration: none; transition: color 0.3s; }
.contact-links a:hover { color: var(--gold-hi); }
.contact-links span { color: var(--ink-dim); }
.caps.edu { padding-top: 0; }
.outro footer {
  margin-top: auto;
  padding-top: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--ink-dim);
}

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .nav-mid { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 16px; font-size: 9px; letter-spacing: 0.16em; }
  .corner { font-size: 8px; letter-spacing: 0.14em; }
  .tl, .tr { top: 64px; }
  .work { grid-template-columns: 1fr; gap: 10px; }
  .work-tag { white-space: normal; }
  .cap-list li { grid-template-columns: 1fr; gap: 8px; }
}
