@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter+Tight:wght@300;400;500;600&display=swap");

:root {
  --bg: #09090a;
  --bg-2: #0f0f11;
  --ink: #ece7dd;
  --ink-2: #a8a39a;
  --ink-3: #6d6a64;
  --line: rgba(236, 231, 221, .12);
  --line-2: rgba(236, 231, 221, .22);
  --gold: #c9a96a;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 12px; }

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

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 9, 10, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: .01em; line-height: 1; }
.site-header nav { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.site-header nav a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  transition: color .3s;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav .nav-cta { color: var(--ink); border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 100px; }
.site-header nav .nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 72% 50%, rgba(201, 169, 106, .07), transparent 70%),
    var(--bg);
}
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
}
.sep { width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(52px, 9.2vw, 152px); line-height: .94; letter-spacing: -.02em;
}
.hero h1 em { color: var(--gold); }
.hero-sub { max-width: 34em; margin: 34px 0 0; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); font-weight: 300; }
.hero-foot {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 30px;
  display: flex; gap: 28px; align-items: center;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.scroll-cue { margin-left: auto; width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 2px; height: 6px; margin-left: -1px; background: var(--ink); border-radius: 2px; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.rise { opacity: 0; transform: translateY(28px); animation: rise 1.4s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
section.wrap, .convictions, .contact { padding-top: clamp(96px, 14vw, 200px); }
.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px);
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
}
.label span { font-family: var(--serif); font-size: 15px; letter-spacing: 0; color: var(--gold); font-style: italic; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
h2 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -.015em;
}
h2 em { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: end; }
.split > p { margin: 0; color: var(--ink-2); font-weight: 300; max-width: 30em; }

/* Thesis */
.thesis-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 6vw, 110px); }
.thesis-copy p { margin: 0 0 1.2em; color: var(--ink-2); font-weight: 300; }
blockquote {
  margin: 2em 0 0; padding: 0 0 0 22px; border-left: 1px solid var(--gold);
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--ink);
}
.portrait { margin: clamp(56px, 8vw, 120px) 0 0; position: relative; overflow: hidden; border-radius: 2px; }
.portrait img { width: 100%; height: clamp(320px, 52vw, 680px); object-fit: cover; object-position: 50% 35%; filter: grayscale(.85) contrast(1.06) brightness(.82); transform: scale(1.08); transition: transform 1.8s var(--ease), filter 1.2s; }
.portrait.in img { transform: scale(1); }
.portrait:hover img { filter: grayscale(.3) contrast(1.05) brightness(.9); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,9,10,.6), transparent 40%); pointer-events: none; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 32px 28px 0 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; margin-bottom: 14px; }
.facts dd { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 22em; }

/* Ventures */
.venture-list { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.venture-list li {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 20px;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease);
}
.venture-list li:hover { padding-left: 16px; }
.venture-list .idx { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; }
.venture-list .name { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 64px); line-height: 1; }
.venture-list .tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.aside { margin: 40px 0 0; max-width: 36em; color: var(--ink-3); font-size: 15px; }

/* Convictions */
.convictions { padding-bottom: clamp(40px, 6vw, 80px); }
.conviction-list { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.conviction-list li {
  counter-increment: c; position: relative;
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 70px); line-height: 1.06; letter-spacing: -.012em;
  padding: clamp(22px, 3vw, 40px) 0 clamp(22px, 3vw, 40px) clamp(48px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}
.conviction-list li::before {
  content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: clamp(32px, 4.2vw, 58px);
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--ink-3);
}
.conviction-list em { color: var(--gold); }

/* Questions */
.question-list { list-style: none; margin: 0; padding: 0; }
.question-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 300; }
.question-list li:first-child { border-top: 1px solid var(--line); }
.questions .split { align-items: start; }

/* Perspectives */
.text-link { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; justify-self: start; }
.text-link::after { content: " \2197"; color: var(--gold); }
.text-link:hover { color: var(--gold); }
.essay-list { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.essay-list a {
  display: grid; grid-template-columns: 240px 1fr 60px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative;
}
.essay-list a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .8s var(--ease); }
.essay-list a:hover::before { width: 100%; }
.essay-list .cat { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.essay-list .title { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 36px); line-height: 1.12; transition: transform .6s var(--ease), color .3s; }
.essay-list a:hover .title { transform: translateX(10px); color: var(--gold); }
.essay-list .time { font-size: 13px; color: var(--ink-3); text-align: right; }

/* Range */
.range-cloud { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 50px); line-height: 1.3; margin: 0; color: var(--ink-2); }
.range-cloud i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .6; vertical-align: middle; margin: 0 .5em; }
.range-close { margin: 36px 0 0; color: var(--ink-3); }
.range-close em { font-family: var(--serif); font-size: 1.3em; color: var(--ink); }

/* Contact */
.contact { padding-bottom: clamp(96px, 12vw, 180px); background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(201,169,106,.08), transparent 70%); }
.contact h2 { font-size: clamp(42px, 7vw, 112px); line-height: .98; max-width: 14em; }
.contact h2 em { color: var(--gold); }
.contact p { color: var(--ink-2); font-weight: 300; max-width: 32em; margin: 32px 0 0; }
.contact-actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-top: 44px; }
.button {
  display: inline-block; padding: 18px 30px; border: 1px solid var(--ink); border-radius: 100px;
  font-size: 15px; letter-spacing: .04em; transition: background .4s var(--ease), color .4s var(--ease);
}
.button:hover { background: var(--ink); color: var(--bg); }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Article pages (profile, perspectives) */
.article-page main { padding: clamp(130px, 16vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); }
.longform { max-width: 760px; margin: 0 auto; }
.longform .essay-list { margin-top: 48px; }
.longform .essay-list a { grid-template-columns: 1fr 50px; }
.longform .essay-list .cat { grid-column: 1 / -1; margin-bottom: -14px; }
.back-link { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 48px; transition: color .3s; }
.back-link:hover { color: var(--gold); }
.article-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.longform h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.dek { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--ink-2); margin: 28px 0 0; }
.article-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; color: var(--ink-3); }
.article-body { margin-top: 56px; font-size: 18px; line-height: 1.75; color: #d8d3c9; font-weight: 300; }
.article-body p { margin: 0 0 1.4em; }
.article-body h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin: 2.2em 0 .8em; color: var(--ink); }
.article-body a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.article-body a:hover { color: var(--gold); }
.article-body small { display: inline-block; margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.article-body blockquote { margin: 2em 0; font-size: clamp(24px, 2.6vw, 32px); }
.article-body em { color: var(--ink); }
.article-end { display: flex; justify-content: space-between; align-items: center; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.article-end a { color: var(--ink); }
.article-end a:hover { color: var(--gold); }
.article-page .site-header { background: rgba(9, 9, 10, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.reading-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* 404 */
.not-found { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }

/* Responsive */
@media (max-width: 960px) {
  .split, .thesis-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .essay-list a { grid-template-columns: 1fr 50px; }
  .essay-list .cat { grid-column: 1 / -1; margin-bottom: -14px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; z-index: 2; }
  .site-header nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 26px; padding: 0 var(--gutter); background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
  }
  .site-header nav a { font-family: var(--serif); font-size: 44px; letter-spacing: 0; text-transform: none; color: var(--ink); }
  .site-header nav .nav-cta { border: 0; padding: 0; color: var(--gold); }
  .menu-open .site-header nav { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .hero { justify-content: flex-end; padding-bottom: 120px; }
  .hero-foot span { display: none; }
  .facts div, .facts div + div { padding: 24px 12px 0 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .venture-list li { grid-template-columns: 44px 1fr; }
  .venture-list .tag { grid-column: 2; }
  .site-footer { flex-direction: column; gap: 8px; }
  .article-body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .scroll-cue i { animation: none; }
}

/* Grab-and-spin sphere */
html.field-grab, html.field-grab body { cursor: grab; }
html.field-grabbing, html.field-grabbing * { cursor: grabbing !important; user-select: none; }
.drag-hint { display: none; margin-left: auto; color: var(--gold); opacity: .75; }
@media (hover: hover) and (pointer: fine) { .drag-hint { display: inline; } }
.hero-inner > * { width: fit-content; max-width: 100%; }
