/* ─────────────────────────────────────────── base */
:root {
  --ink:         #0A1628;
  --ink-soft:    #12202F;
  --cream:       #F4F1EB;
  --cream-muted: rgba(244, 241, 235, 0.62);
  --cream-soft:  rgba(244, 241, 235, 0.38);
  --rule:        rgba(244, 241, 235, 0.14);
  --rule-strong: rgba(244, 241, 235, 0.28);
  --steel:       #8B9DC3;
  --gold:        #C9A961;
}

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

html { font-size: 17px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Subtle dotted texture — gives the navy some warmth */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,241,235,0.025) 1px, transparent 0);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

::selection { background: var(--cream); color: var(--ink); }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
a:hover { opacity: .7; }

.serif, h1, h2, h3, blockquote { font-family: 'Fraunces', ui-serif, Georgia, serif; font-optical-sizing: auto; }
.mono, .meta-line, .section-label, .section-count, .rule-label, .rule-value,
.foot-col.muted, .div-num, .div-meta, .contact-dl dt, .foot p {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

/* ─────────────────────────────────────────── nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
}
.mark {
  display: block;
  width: 44px; height: 44px;
  color: var(--cream);
}
.mark object { width: 100%; height: 100%; pointer-events: none; }

.nav-meta {
  display: flex; align-items: center; gap: 24px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.meta-line { color: var(--cream-muted); }
.nav-link { color: var(--cream); }

/* ─────────────────────────────────────────── hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 56px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.wordmark {
  font-weight: 400;
  font-size: clamp(76px, 13vw, 188px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 40px;
}
.wordmark span {
  display: block;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.wordmark em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--cream-muted);
  font-size: 0.48em;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.hero-sub {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  font-weight: 300;
  color: var(--cream-muted);
  max-width: 540px;
  line-height: 1.45;
  margin-bottom: 80px;
}
.underline-serif {
  border-bottom: 1px solid var(--cream-soft);
  padding-bottom: 1px;
  font-style: normal;
  color: var(--cream);
}

.hero-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  max-width: 780px;
}
.hero-rules > div {
  background: var(--ink);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rule-label {
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.rule-value {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  margin: 4px 0 8px;
}
.rule-desc {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--cream-muted);
}

/* ─────────────────────────────────────────── sections */
.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 20px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.section-count {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* ─────────────────────────────────────────── manifesto */
.manifesto {
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.manifesto .section-label { margin-bottom: 40px; }
.manifesto blockquote {
  max-width: 820px;
}
.manifesto p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.manifesto p em {
  font-weight: 400;
  color: var(--gold);
}
.manifesto footer {
  margin-top: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* ─────────────────────────────────────────── divisions */
.divisions {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.division-list {
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}
.division-list li {
  display: grid;
  grid-template-columns: 80px 260px 1fr auto;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background .25s ease;
}
.division-list li:hover {
  background: rgba(244,241,235,0.02);
}
.div-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.div-name {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.div-desc {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--cream-muted);
  line-height: 1.4;
}
.div-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  white-space: nowrap;
}
.div-meta a { color: var(--steel); }

/* ─────────────────────────────────────────── notes */
.notes {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.notes .section-label { margin-bottom: 56px; }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
  max-width: 1100px;
}
.notes-grid h3 {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.notes-grid h3::before {
  content: "· ";
  color: var(--gold);
}
.notes-grid p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--cream-muted);
  max-width: 460px;
}

/* ─────────────────────────────────────────── contact */
.contact {
  padding: 140px 48px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.contact .section-label { margin-bottom: 28px; }
.contact h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 72px;
}
.contact-dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-dl > div {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-dl > div:nth-last-child(-n+2) { border-bottom: none; }
.contact-dl > div:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--rule); padding-right: 40px; }
.contact-dl > div:nth-child(even) { padding-left: 40px; }
.contact-dl dt {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-soft);
  width: 100px;
  flex-shrink: 0;
}
.contact-dl dd {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
}
.contact-dl dd a { border-bottom: 1px solid var(--cream-soft); padding-bottom: 1px; }
.contact-note {
  margin-top: 36px;
  max-width: 520px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--cream-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────── footer */
.foot {
  border-top: 1px solid var(--rule);
  padding: 48px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.foot-mark {
  width: 36px; height: 36px;
  color: var(--cream-muted);
  opacity: 0.7;
}
.foot-center {
  text-align: center;
}
.foot-center p:first-child {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 6px;
}
.foot-center .muted,
.foot-right .muted {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.foot-right {
  text-align: right;
}
.foot-right .muted:first-child { margin-bottom: 6px; }

/* ─────────────────────────────────────────── press-on animation */
.wordmark span, .wordmark em, .hero-eyebrow, .hero-sub, .hero-rules {
  opacity: 0;
  animation: press-on 0.9s cubic-bezier(.16, .77, .2, .96) forwards;
}
.hero-eyebrow { animation-delay: 0.05s; }
.wordmark span { animation-delay: 0.15s; }
.wordmark em  { animation-delay: 0.35s; }
.hero-sub     { animation-delay: 0.55s; }
.hero-rules   { animation-delay: 0.75s; }

@keyframes press-on {
  from { opacity: 0; transform: translateY(6px); letter-spacing: inherit; }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────── responsive */
@media (max-width: 900px) {
  html { font-size: 16px; }
  .nav { padding: 24px; }
  .hero, .manifesto, .divisions, .notes, .contact { padding-inline: 24px; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero-rules { grid-template-columns: 1fr; }
  .hero-rules > div { padding: 22px 20px; }
  .division-list li {
    grid-template-columns: auto 1fr;
    gap: 4px 20px;
    padding: 28px 0;
  }
  .div-num { grid-row: 1; grid-column: 1; font-size: 20px; }
  .div-name { grid-row: 1; grid-column: 2; font-size: 24px; }
  .div-desc { grid-row: 2; grid-column: 1 / -1; font-size: 16px; margin-top: 8px; }
  .div-meta { grid-row: 3; grid-column: 1 / -1; margin-top: 12px; white-space: normal; }
  .notes-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-dl { grid-template-columns: 1fr; }
  .contact-dl > div { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .contact-dl > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .contact-dl > div:last-child { border-bottom: none; }
  .foot { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .foot-col { text-align: center; }
  .foot-right { text-align: center; }
}
