/* Genius Loci · landing · nocturne */

:root {
  --paper: #171C0F;
  --card: #232917;
  --well: #10140A;
  --ink: #EDE8D5;
  --soft: #CBC7B2;
  --faded: #8D9077;
  --line: #3A4128;
  --gold: #C9A15C;
  --goldline: #6B5A31;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", "HK Grotesk", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.serif { font-family: "Baskervville", Georgia, "Times New Roman", serif; font-weight: 400; }
.it { font-style: italic; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cap { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faded); font-weight: 500; }
.chapter { font-family: "Baskervville", Georgia, serif; font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.underlink { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 34px; border: 0; border-radius: 999px;
  background: var(--gold); color: var(--paper);
  font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s ease;
}
.cta:hover { color: var(--paper); background: #D8B36E; }
.body { font-size: 17px; line-height: 1.65; color: var(--soft); font-weight: 300; }
.ledger { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glow { filter: drop-shadow(0 0 18px rgba(201,161,92,.45)); }
.h1 { font-size: 96px; line-height: .98; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.h2 { font-size: 56px; line-height: 1.04; color: var(--ink); text-wrap: pretty; }
.lead { font-size: 64px; line-height: 1.12; color: var(--ink); text-wrap: pretty; max-width: 1000px; }

/* nav */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span { font-size: 20px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; color: var(--ink);
}
.menu {
  position: fixed; inset: 0; z-index: 10;
  background: rgba(16,20,10,.96);
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  padding: 24px;
}
.menu[data-open="true"] { display: flex; }
.menu a { font-size: 34px; color: var(--ink); }
.menu .cta { font-size: 13px; }
.menu-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
body[data-menu="open"] { overflow: hidden; }

/* hero */
.hero { position: relative; height: 960px; height: clamp(640px, 100svh, 960px); overflow: hidden; background: #0C0F08; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,28,15,.55) 0%, rgba(23,28,15,.12) 40%, rgba(23,28,15,.92) 100%); }
.hero-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 72px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 860px; }
.hero-copy .body { max-width: 520px; font-size: 18px; color: var(--ink); }

/* sections */
.manifesto { padding: 160px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.manifesto .body { max-width: 640px; font-size: 18px; }
.object-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.object-top img { width: 100%; height: 720px; object-fit: cover; }
.object-copy { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 80px 96px; background: var(--well); }
.object-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.object-row img { width: 100%; height: 520px; object-fit: cover; }
.materials { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); }

.dossier { padding: 160px var(--gutter) 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.dossier-head { grid-column: span 4; display: flex; flex-direction: column; gap: 28px; }
.dossier-head .h2 { font-size: 52px; }
.dossier-head .body { max-width: 360px; }
.dossier-grid { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.entry { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.entry .num { font-size: 44px; color: var(--gold); }
.entry .name { font-size: 26px; }
.entry .body { font-size: 15px; }
.entry.wide { grid-column: 1 / -1; }

.ritual { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: 80px var(--gutter) 160px; align-items: center; background: radial-gradient(60% 50% at 70% 50%, rgba(201,161,92,.10) 0%, rgba(23,28,15,0) 70%); }
.ritual-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.ritual-copy .h2 { font-size: 52px; }
.ritual-copy .body { max-width: 420px; }
.ritual-copy .underlink { align-self: flex-start; }
.ritual-phone { grid-column: 7 / span 6; display: flex; justify-content: center; }
.phone { width: 390px; max-width: 100%; height: 720px; border-radius: 52px; background: var(--card); border: 1px solid var(--goldline); box-shadow: 0 0 80px -30px rgba(201,161,92,.5); padding: 56px 24px 24px; display: flex; flex-direction: column; gap: 24px; }
.phone .greeting { color: var(--faded); }
.phone .title { font-size: 34px; color: var(--ink); line-height: 1.05; }
.phone .orb { display: flex; justify-content: center; padding: 8px 0; color: var(--gold); }
.phone .orb svg { display: block; width: 200px; height: 200px; }
.phone .status { display: flex; justify-content: center; }
.phone .ledgers { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.phone .ledger { padding: 12px 0; }
.phone .ledger .val { font-size: 13px; color: var(--ink); }
.phone .ledger .val.serif { font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--gold); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }

.extracts { padding: 0 var(--gutter) 160px; display: flex; flex-direction: column; gap: 56px; }
.extracts-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.extracts-head > div { display: flex; flex-direction: column; gap: 24px; }
.extracts-head .h2 { font-size: 60px; }
.extracts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.extract { display: flex; flex-direction: column; gap: 20px; }
.extract .glow { color: var(--gold); }
.extract .glow svg { display: block; width: 140px; height: 140px; }
.extract .name { font-size: 40px; }
.extract .body { font-size: 15px; }
.extract .notes { color: var(--gold); }

.behind { position: relative; min-height: 720px; overflow: hidden; display: flex; align-items: center; }
.behind-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; }
.behind-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,28,15,.95) 0%, rgba(23,28,15,.6) 55%, rgba(23,28,15,.2) 100%); }
.behind-copy { position: relative; padding: 120px var(--gutter); max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.behind-copy .h2 { font-size: 52px; }
.behind-copy .body strong { font-weight: 300; color: var(--ink); }

.final { padding: 140px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.final .glow { color: var(--gold); }
.final .glow svg { display: block; width: 120px; height: 120px; }
.final .h2 { max-width: 820px; }

/* form */
.form { display: flex; gap: 12px; width: 560px; max-width: 100%; }
.field {
  flex: 1; min-width: 0; height: 54px; border-radius: 999px;
  background: var(--well); border: 1px solid var(--line);
  padding: 0 24px; font: inherit; font-size: 15px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--faded); }
.field:focus { border-color: var(--goldline); outline: none; }
.form-note { min-height: 1.5em; }
.form-note[data-state="success"] { color: var(--gold); }
.form-note[data-state="error"] { color: #D89A7A; }
.form[data-state="sent"] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.footer { margin: 0 var(--gutter); padding: 32px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { height: 44px; width: auto; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { color: var(--faded); }
.footer-links a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* tablet */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .nav-links { gap: 28px; }
  .h1 { font-size: 72px; }
  .h2, .dossier-head .h2, .ritual-copy .h2, .behind-copy .h2 { font-size: 44px; }
  .extracts-head .h2 { font-size: 48px; }
  .lead { font-size: 46px; }
  .manifesto { padding: 120px var(--gutter) 96px; gap: 40px; }
  .object-top img { height: 560px; }
  .object-copy { padding: 56px 48px; gap: 24px; }
  .object-row img { height: 400px; }
  .dossier { padding: 120px var(--gutter) 96px; grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .dossier-head, .dossier-grid { grid-column: auto; }
  .ritual { padding: 64px var(--gutter) 120px; }
  .ritual-copy { grid-column: span 6; }
  .ritual-phone { grid-column: 7 / span 6; }
  .phone { height: 660px; }
  .extracts { padding-bottom: 120px; }
  .extracts-grid { gap: 32px; }
  .extract .name { font-size: 32px; }
  .extract .glow svg { width: 110px; height: 110px; }
  .behind { min-height: 600px; }
  .behind-copy { padding: 96px var(--gutter); }
  .final { padding: 120px var(--gutter) 96px; }
}

/* phone */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav { padding: 20px var(--gutter); }
  .nav-links, .nav .underlink { display: none; }
  .burger { display: inline-flex; }
  .hero { height: 760px; height: clamp(600px, 100svh, 820px); }
  .hero-img { object-position: 50% 45%; }
  .hero-text { bottom: 40px; flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-copy { gap: 20px; }
  .h1 { font-size: 52px; line-height: 1.02; }
  .h2, .dossier-head .h2, .ritual-copy .h2, .behind-copy .h2, .extracts-head .h2 { font-size: 38px; }
  .lead { font-size: 34px; line-height: 1.18; }
  .body, .hero-copy .body, .manifesto .body { font-size: 16px; }
  .cta { width: 100%; }
  .manifesto { padding: 96px var(--gutter) 80px; gap: 32px; }
  .object-top { grid-template-columns: minmax(0, 1fr); }
  .object-top img { height: 460px; }
  .object-copy { padding: 48px var(--gutter) 56px; gap: 24px; }
  .object-row { grid-template-columns: minmax(0, 1fr); }
  .object-row img { height: 380px; }
  .object-row img:nth-child(3) { display: none; }
  .materials { padding: 20px var(--gutter); justify-content: flex-start; }
  .dossier { padding: 96px var(--gutter) 80px; gap: 40px; }
  .dossier-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .entry .num { font-size: 36px; }
  .entry .name { font-size: 24px; }
  .ritual { padding: 40px var(--gutter) 96px; grid-template-columns: minmax(0, 1fr); gap: 48px; background: radial-gradient(80% 40% at 50% 70%, rgba(201,161,92,.10) 0%, rgba(23,28,15,0) 70%); }
  .ritual-copy, .ritual-phone { grid-column: auto; }
  .phone { height: 640px; padding: 44px 20px 20px; border-radius: 44px; }
  .extracts { padding: 0 var(--gutter) 96px; gap: 40px; }
  .extracts-head { flex-direction: column; align-items: flex-start; padding-bottom: 24px; }
  .extracts-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .extract .name { font-size: 34px; }
  .extract .glow svg { width: 120px; height: 120px; }
  .behind { min-height: 0; }
  .behind-veil { background: linear-gradient(180deg, rgba(23,28,15,.9) 0%, rgba(23,28,15,.75) 100%); }
  .behind-copy { padding: 80px var(--gutter); gap: 24px; }
  .final { padding: 96px var(--gutter) 80px; gap: 28px; }
  .form { flex-direction: column; }
  .footer { margin: 0 var(--gutter); flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }
}

/* very small phones */
@media (max-width: 380px) {
  .h1 { font-size: 44px; }
  .lead { font-size: 30px; }
}
