:root {
  --night: #061f26;
  --night-2: #0b3038;
  --mint: #e1f5ef;
  --mint-line: #b9ded4;
  --paper: #f8fcfa;
  --gold: #e8bd4b;
  --gold-dark: #b78b25;
  --aubergine: #4a2d4f;
  --ink: #102b30;
  --muted: #496167;
  --white: #ffffff;
  --error: #ffb5aa;
  --success: #b9f0d8;
  --max: 1320px;
  --rule: rgba(16, 43, 48, .24);
  --rule-dark: rgba(225, 245, 239, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 12px 18px; border: 2px solid var(--night); background: var(--paper); color: var(--night); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--gold-dark); font-size: .84rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--rule-dark); background: var(--night); color: var(--paper); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; color: var(--paper); text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; line-height: .92; letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; text-decoration: none; font-size: .91rem; font-weight: 700; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { margin-left: 10px; border: 1px solid var(--gold); padding-inline: 18px; }
.nav-toggle { display: none; width: 48px; min-height: 48px; padding: 10px; border: 1px solid var(--mint-line); border-radius: 2px; background: transparent; color: var(--paper); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

.home-hero { position: relative; min-height: min(calc(100svh - 88px), 760px); display: grid; grid-template-columns: minmax(420px, .76fr) minmax(0, 1.34fr); background: var(--night); color: var(--paper); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 72px 68px 76px max(40px, calc((100vw - var(--max)) / 2)); border-right: 1px solid rgba(232,189,75,.75); }
.hero-copy h1 { max-width: 630px; margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 5.6vw, 7rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy p { max-width: 540px; margin: 0 0 34px; color: #d5e7e3; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero-actions { display: grid; justify-items: start; gap: 18px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 24px; border: 1px solid var(--gold); border-radius: 1px; background: var(--gold); color: var(--night); text-decoration: none; font-weight: 800; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover { background: #f3cf6b; transform: translateY(-2px); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid currentColor; color: var(--paper); text-decoration: none; }
.hero-media { position: relative; min-height: min(calc(100svh - 88px), 760px); background: var(--night-2); }
.hero-media img { width: 100%; height: 100%; min-height: min(calc(100svh - 88px), 760px); object-fit: cover; object-position: 58% center; }
.coordinate { position: absolute; left: -7px; top: 18%; width: 14px; height: 14px; border: 2px solid var(--gold); border-radius: 50%; background: var(--night); }
.coordinate::after { content: ""; position: absolute; left: 5px; top: 12px; width: 1px; height: 160px; background: var(--gold); }

.band { position: relative; padding: 104px 0; }
.band.mint { background: var(--mint); }
.band.paper { background: var(--paper); }
.band.dark { background: var(--night); color: var(--paper); }
.display-title { margin: 0 0 30px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5vw, 5.7rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.16rem; }
.dark .lead { color: #c8dcd8; }

.manifesto-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, .6fr); gap: 120px; align-items: end; }
.manifesto-copy p { max-width: 620px; color: var(--muted); }
.manifesto-art { min-height: 300px; border-left: 1px solid var(--mint-line); background: url("../images/topography.svg") center / contain no-repeat; }

.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.moment { padding: 38px 42px 38px 0; }
.moment + .moment { padding-left: 42px; border-left: 1px solid var(--rule); }
.moment-index { color: var(--gold-dark); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.moment h3 { margin: 16px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 400; }
.moment p { color: var(--muted); }
.moment a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }

.compass-shell { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.25fr) minmax(240px, .62fr); gap: 54px; align-items: start; }
.compass-intro { padding-top: 6px; }
.compass-intro .display-title { font-size: clamp(2.35rem, 3.1vw, 3.6rem); }
.tool-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule-dark); color: #c8dcd8; font-size: .9rem; }
.compass-form { display: grid; gap: 24px; }
.choice-group { margin: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--rule-dark); }
.choice-group legend { margin-bottom: 13px; font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices label { min-height: 48px; display: grid; place-items: center; padding: 8px 10px; border: 1px solid var(--rule-dark); cursor: pointer; text-align: center; font-size: .9rem; }
.choices label + label { border-left: 0; }
.choices input { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.choices label:has(input:checked) { background: var(--mint); color: var(--night); font-weight: 800; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: flex-end; }
.tool-reset { min-height: 48px; padding: 10px 16px; border: 0; background: transparent; color: var(--paper); text-decoration: underline; cursor: pointer; }
.compass-summary { min-height: 320px; padding-left: 34px; border-left: 1px solid var(--gold); }
.summary-title { margin: 0 0 18px; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.summary-text { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.35; }
.summary-next { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule-dark); color: #c8dcd8; }

.method-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.method-step { padding-top: 30px; border-top: 1px solid var(--gold); }
.method-step strong { display: block; margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: 2.1rem; font-weight: 400; }
.method-step h3 { margin: 0 0 10px; font-size: 1rem; }
.method-step p { margin: 0; color: var(--muted); font-size: .94rem; }

.journal-grid { display: grid; grid-template-columns: minmax(280px, .78fr) repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule-dark); }
.journal-intro, .article-card { padding: 34px; }
.journal-intro .display-title { font-size: clamp(2.25rem, 2.8vw, 2.8rem); overflow-wrap: anywhere; }
.article-card { border-left: 1px solid var(--rule-dark); }
.article-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 24px; }
.article-card h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.article-card p { color: #c8dcd8; }
.article-card a { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold); font-weight: 800; }
.journal-panel { color: var(--paper); background: var(--night); }
.action-gap { margin-top: 38px; }
.note-muted { color: var(--muted); }

.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 80px; align-items: center; }
.cta-band .display-title { margin: 0; font-size: clamp(2.4rem, 4vw, 4.5rem); }
.cta-copy p { color: var(--muted); }

.site-footer { padding: 68px 0 28px; background: var(--night); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 38px; }
.footer-brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; text-transform: uppercase; }
.footer-col h2 { margin: 0 0 14px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { min-height: 44px; display: flex; align-items: center; color: #cfdfdc; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.demo-note { color: #a8c0bb; font-size: .86rem; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 10px 28px; color: #b9cbc7; font-size: .88rem; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }

.page-hero { position: relative; padding: 112px 0 96px; background: var(--night); color: var(--paper); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(320px, .62fr); gap: 90px; align-items: end; }
.page-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 6.4vw, 7rem); font-weight: 400; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.page-hero p { margin: 0; color: #c8dcd8; font-size: 1.18rem; }
.page-hero-art { position: absolute; right: 5%; top: 16px; width: 280px; height: 240px; background: url("../images/topography.svg") center / contain no-repeat; opacity: .45; pointer-events: none; }
.breadcrumb { margin-bottom: 32px; color: #b8cfca; font-size: .9rem; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }

.content-section { padding: 88px 0; }
.content-section + .content-section { border-top: 1px solid var(--rule); }
.content-grid { display: grid; grid-template-columns: minmax(240px, .58fr) minmax(0, 1.22fr); gap: 92px; align-items: start; }
.content-grid h2 { position: sticky; top: 30px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4.5rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.prose { max-width: 780px; }
.prose h3 { margin: 42px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 400; }
.prose p { color: var(--muted); }
.prose li + li { margin-top: 12px; }
.prose a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.feature-image { width: 100%; max-height: 620px; object-fit: cover; margin: 48px 0; }
.callout { margin: 42px 0; padding: 30px 34px; border-left: 2px solid var(--gold); background: var(--mint); }
.callout p { color: var(--ink); }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.link-list a { min-height: 94px; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; text-decoration: none; font-weight: 800; }
.link-list a:nth-child(even) { border-left: 1px solid var(--rule); }
.link-list a:nth-child(n+3) { border-top: 1px solid var(--rule); }

.faq-list { display: grid; gap: 14px; }
.faq-list details { border-block: 1px solid var(--rule); background: var(--white); }
.faq-list summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 14px 20px; cursor: pointer; font-weight: 800; }
.faq-list summary::after { content: "+"; color: var(--gold-dark); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 20px 22px; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.2fr); gap: 90px; align-items: start; }
.contact-links { padding-block: 20px; border-block: 1px solid var(--rule); }
.contact-links a { min-height: 48px; display: flex; align-items: center; font-weight: 800; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full, .form-feedback, .contact-form .button { grid-column: 1 / -1; }
label, legend { font-weight: 800; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #80969a; border-radius: 0; background: var(--white); color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; }
.consent input { width: 22px; min-height: 22px; margin: 3px 0 0; }
.error-text { min-height: 22px; margin: 0; color: #8f2019; font-weight: 800; font-size: .875rem; }
.consent + .error-text { grid-column: 1 / -1; margin-top: -12px; }
.form-feedback { display: none; padding: 15px 18px; border-left: 3px solid #2d8566; background: #e6f7ef; color: #14533d; font-weight: 800; }
.form-feedback.is-visible { display: block; }
.form-feedback.is-error { border-color: #a52a22; background: #fff0ee; color: #8f2019; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .container, .narrow { width: calc(100% - 48px); }
  .site-nav a { padding-inline: 9px; font-size: .84rem; }
  .home-hero { grid-template-columns: minmax(360px, .8fr) 1fr; }
  .hero-copy { padding-inline: 40px; }
  .manifesto-grid { gap: 60px; }
  .compass-shell { grid-template-columns: 1fr 1.5fr; }
  .compass-summary { grid-column: 1 / -1; min-height: 0; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--gold); }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .article-card:nth-child(odd) { border-left: 1px solid var(--rule-dark); }
  .article-card:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--rule-dark); background: var(--night); }
  .site-nav[hidden] { display: none; }
  .site-nav a { border-bottom: 1px solid var(--rule-dark); }
  .site-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 620px; padding: 76px 32px; border-right: 0; border-bottom: 1px solid var(--gold); }
  .hero-media, .hero-media img { min-height: 520px; }
  .coordinate { left: 32px; top: -7px; }
  .coordinate::after { width: 150px; height: 1px; left: 12px; top: 5px; }
  .manifesto-grid, .page-hero-grid, .content-grid, .contact-layout, .cta-band { grid-template-columns: 1fr; gap: 50px; }
  .manifesto-art { min-height: 220px; border-left: 0; border-top: 1px solid var(--mint-line); }
  .moments { grid-template-columns: 1fr; }
  .moment + .moment { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid h2 { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container, .narrow { width: calc(100% - 32px); }
  .band { padding: 76px 0; }
  .hero-copy { min-height: 0; padding: 64px 16px 58px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-actions, .hero-actions .button, .hero-actions .text-link { width: 100%; }
  .hero-media, .hero-media img { min-height: 360px; }
  .moments .moment { padding: 30px 0; }
  .compass-shell { grid-template-columns: 1fr; gap: 38px; }
  .choices, .choices.four { grid-template-columns: 1fr; }
  .choices label + label { border-left: 1px solid var(--rule-dark); border-top: 0; }
  .tool-actions, .tool-actions .button { width: 100%; }
  .method-grid, .journal-grid, .link-list, .contact-form { grid-template-columns: 1fr; }
  .journal-intro, .article-card { padding: 28px 0; }
  .article-card, .article-card:nth-child(odd) { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .link-list a:nth-child(even) { border-left: 0; }
  .link-list a:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .page-hero { padding: 84px 0 70px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .field.full, .form-feedback, .contact-form .button, .consent, .consent + .error-text { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
