/* Michael Kocher · Dark Editorial
   Palette: warm near-black canvas, bone text, one amber accent. */
:root {
  --bg: #0f0e0c;
  --bg-2: #17150f;
  --ink: #f3efe8;
  --ink-70: rgba(243,239,232,.72);
  --ink-50: rgba(243,239,232,.5);
  --line: rgba(243,239,232,.09);
  --accent: #e8b04a;
  --accent-ink: #0f0e0c;
  --paper: #f3efe8;
  --paper-ink: #0f0e0c;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 8px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { 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-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #f3c96c; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.display em { font-style: italic; color: var(--accent); }
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.eyebrow--dark { color: #8a6420; }
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--ink-50); }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-70); max-width: 34em; }
.fine { font-size: 14px; color: var(--ink-50); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; min-height: 48px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(232,176,74,0); }
.btn--accent:hover { background: #f3c96c; color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(232,176,74,.55); }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: #2a261e; color: var(--paper); transform: translateY(-1px); }
.btn--sm { padding: 11px 20px; font-size: 14px; min-height: 40px; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(15,14,12,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__brand { color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; }
.nav__menu { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__menu a { color: var(--ink-70); }
.nav__menu a:hover { color: var(--ink); }
.nav__menu .btn { color: var(--accent-ink); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.grain { position: relative; }
.grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 72px); }
.hero__copy { display: flex; flex-direction: column; gap: 26px; position: relative; }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.hero__alt { font-size: 15px; color: var(--ink-50); }
.hero__alt strong { color: var(--ink); }
.hero__photo { position: relative; aspect-ratio: 3 / 4; max-height: 680px; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.9) contrast(1.04); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,14,12,0) 55%, rgba(15,14,12,.92) 100%); }
.hero__photo figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.hero__photo figcaption .display { font-size: clamp(22px, 2vw, 30px); }

/* Logos */
.logos { padding: 20px var(--gutter) 56px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-50); letter-spacing: .02em; }

/* Story */
.split { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; padding: clamp(64px, 7vw, 96px) var(--gutter); border-top: 1px solid var(--line); }
.story__text { font-size: clamp(26px, 3vw, 44px); line-height: 1.22; text-wrap: pretty; }

/* Cards */
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.card h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { color: var(--ink-70); }
.card--link { transition: border-color .25s, transform .25s var(--ease); }
.card--link:hover { border-color: rgba(232,176,74,.5); transform: translateY(-2px); color: var(--ink); }
.who { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; padding: 0 var(--gutter) clamp(64px, 7vw, 96px); }

/* Program (paper section) */
.program { background: var(--paper); color: var(--paper-ink); display: grid; grid-template-columns: 5fr 7fr; gap: 32px; padding: clamp(64px, 7vw, 96px) var(--gutter); }
.program .lede { color: rgba(15,14,12,.72); }
.program__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.program__intro h2 { font-size: clamp(48px, 5vw, 72px); }
.program__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.program__grid li { border: 1px solid rgba(15,14,12,.14); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.program__grid h3 { font-size: 17px; font-weight: 700; }
.program__grid p { font-size: 15px; color: rgba(15,14,12,.68); line-height: 1.55; }

/* How */
.how { padding: clamp(64px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; gap: 44px; }
.how header { display: flex; flex-direction: column; gap: 14px; }
.how h2 { font-size: clamp(34px, 3.8vw, 52px); text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.steps li { border-top: 1px solid rgba(243,239,232,.18); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.steps__n { font-size: 30px; color: var(--accent); }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { color: var(--ink-70); font-size: 16px; }

/* Proof */
.proof { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; padding: 0 var(--gutter) clamp(64px, 7vw, 96px); align-items: start; }
.stats { display: flex; flex-direction: column; gap: 26px; }
.stats li { display: flex; flex-direction: column; gap: 4px; }
.stats .display { font-size: clamp(48px, 5vw, 64px); line-height: 1; }
.stats span:last-child { font-size: 14px; color: var(--ink-50); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.quotes li { background: var(--bg-2); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.quotes__wide { grid-column: span 2; }
.quotes blockquote { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.quotes cite { font-style: normal; font-size: 14px; color: var(--ink-50); }

/* Elsewhere */
.elsewhere { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; padding: clamp(48px, 6vw, 72px) var(--gutter); border-top: 1px solid var(--line); }
.elsewhere h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 10px; }
.elsewhere .card { background: transparent; }
.elsewhere > div { align-self: center; }

/* Footer */
.footer { background: var(--bg-2); padding: clamp(56px, 6vw, 80px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 52px; }
.newsletter { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; }
.newsletter h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.newsletter .fine { margin-top: 10px; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter input { flex: 1 1 auto; min-width: 0; background: transparent; border: 1px solid rgba(243,239,232,.22); border-radius: 999px; padding: 14px 22px; font: inherit; color: var(--ink); min-height: 48px; }
.newsletter input::placeholder { color: var(--ink-50); }
.newsletter input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.newsletter__msg { grid-column: 1 / -1; font-size: 14px; color: var(--accent); min-height: 1.4em; }
.footer__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-50); border-top: 1px solid var(--line); padding-top: 24px; }
.footer__bar nav { display: flex; gap: 22px; }
.footer__bar a { color: var(--ink-50); }
.footer__bar a:hover { color: var(--ink); }

/* Reveal motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { max-height: none; order: -1; aspect-ratio: 4 / 5; }
  .program { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .stats { flex-direction: row; flex-wrap: wrap; gap: 28px 40px; }
  .elsewhere { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .who, .program__grid, .steps, .quotes { grid-template-columns: 1fr; }
  .quotes__wide { grid-column: auto; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter__row { flex-direction: column; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .hero__photo figcaption { left: 18px; right: 18px; bottom: 16px; }
}
