:root {
  --ink: #151611;
  --ink-soft: #24251e;
  --night: #0e100c;
  --night-2: #151812;
  --moss: #313a25;
  --gold: #c7a45d;
  --gold-bright: #e1c178;
  --copper: #8c5932;
  --wine: #713330;
  --paper: #e9dfc8;
  --paper-deep: #d7c8a8;
  --bone: #f2ead8;
  --muted: #bcb5a2;
  --line: rgba(225, 193, 120, .22);
  --shell: min(1160px, calc(100vw - 40px));
  --serif-display: 'Cinzel', Georgia, serif;
  --serif-body: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 96px 0; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 2000;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; z-index: 1000; inset: 0 0 auto 0;
  min-height: 78px; padding: 11px max(20px, calc((100vw - 1160px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(180deg, rgba(9,10,8,.96), rgba(9,10,8,.82));
  border-bottom: 1px solid rgba(225,193,120,.16);
  backdrop-filter: blur(14px);
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  position: relative; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-bright);
  border: 2px solid var(--gold); background: radial-gradient(circle at 35% 28%, #37412b 0 18%, #1a1e15 52%, #0a0c09 100%);
  box-shadow: inset 0 0 0 4px rgba(199,164,93,.12), 0 3px 16px rgba(0,0,0,.35);
  font-family: var(--serif-display); font-size: 14px; font-weight: 800; letter-spacing: .04em;
}
.brand-mark::before, .brand-mark::after {
  content: ''; position: absolute; width: 3px; height: 36px; background: linear-gradient(#dcc078, #76502f);
  border-radius: 3px; opacity: .75; z-index: 0;
}
.brand-mark::before { transform: rotate(45deg); }
.brand-mark::after { transform: rotate(-45deg); }
.brand-mark span { position: relative; z-index: 1; padding: 2px 3px; background: #171a13; border: 1px solid rgba(225,193,120,.42); }
.brand-mark.small { width: 44px; height: 44px; flex-basis: 44px; font-size: 12px; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong, .footer-brand strong { font-family: var(--serif-display); font-size: 15px; letter-spacing: .035em; }
.brand-copy small, .footer-brand small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 13px; color: #ddd6c7; font-weight: 600; }
.site-nav a:hover { color: var(--gold-bright); }
.lang-toggle, .nav-toggle {
  border: 1px solid rgba(225,193,120,.35); color: var(--gold-bright); background: rgba(255,255,255,.03);
  padding: 7px 10px; cursor: pointer; text-transform: uppercase; font-weight: 700; letter-spacing: .08em;
}
.nav-toggle { display: none; }

.hero {
  min-height: 100svh; position: relative; display: flex; align-items: center;
  background: url('assets/images/hero-2026.webp') center 52% / cover no-repeat;
  padding-top: 78px; isolation: isolate;
}
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6,7,5,.95) 0%, rgba(6,7,5,.80) 35%, rgba(6,7,5,.38) 68%, rgba(6,7,5,.48) 100%), linear-gradient(0deg, rgba(6,7,5,.82), transparent 38%); }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.45) .55px, transparent .55px); background-size: 4px 4px; mix-blend-mode: overlay; }
.hero-content { padding-top: 36px; padding-bottom: 110px; }
.eyebrow, .kicker, .campaign-overline, .timeline-label, .oath-small {
  margin: 0 0 14px; color: var(--gold-bright); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em;
}
.hero h1 {
  max-width: 780px; margin: 0; font-family: var(--serif-display); font-size: clamp(58px, 8.5vw, 124px); line-height: .82; letter-spacing: -.04em;
  color: #f3ecd9; text-transform: uppercase; text-shadow: 0 7px 28px rgba(0,0,0,.5);
}
.hero h1 span { color: var(--gold-bright); }
.hero-lead { max-width: 620px; margin: 28px 0 0; font-family: var(--serif-body); font-size: clamp(20px,2.3vw,30px); line-height: 1.34; color: #eee7d8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; }
.button-primary { background: var(--gold); color: #18160f; box-shadow: 0 8px 30px rgba(0,0,0,.26); }
.button-primary:hover { background: var(--gold-bright); }
.button-ghost { border-color: rgba(239,229,208,.46); background: rgba(8,9,7,.35); color: #f2ead8; }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.hero-ribbon {
  position: absolute; inset: auto 0 0; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: clamp(15px,3vw,46px);
  background: rgba(12,14,10,.94); border-top: 1px solid rgba(225,193,120,.24); color: #9f957f; font-size: 10px; font-weight: 800; letter-spacing: .2em;
}
.hero-ribbon span:first-child, .hero-ribbon span:last-child { color: var(--gold); font-size: 19px; }

.intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 80px; align-items: center; }
.intro h2, .section-heading h2, .community h2 { margin: 0 0 18px; font-family: var(--serif-display); font-size: clamp(36px, 5vw, 64px); line-height: 1.04; color: #f1e9d7; }
.intro-copy > p:last-child, .section-heading > p:last-child, .community-copy > p:last-child { margin: 0; max-width: 760px; color: #c8c1b2; font-family: var(--serif-body); font-size: 19px; }
.oath-card { position: relative; border: 1px solid rgba(225,193,120,.34); padding: 48px 36px 38px; background: linear-gradient(145deg,#171a13,#10120e); box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.oath-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(225,193,120,.12); pointer-events: none; }
.oath-seal { position: absolute; width: 62px; height: 62px; top: -31px; left: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); border: 3px double #bc7a62; color: #e6c2a4; font-size: 25px; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.oath-card blockquote { margin: 10px 0 0; font-family: var(--serif-body); font-size: 27px; line-height: 1.35; color: var(--paper); }

.campaign-section { background: #151711; border-block: 1px solid rgba(225,193,120,.10); position: relative; }
.campaign-section::before { content: ''; position: absolute; inset: 0; opacity: .12; background: radial-gradient(circle at 20% 40%, #6a733f, transparent 35%), radial-gradient(circle at 80% 20%, #513b29, transparent 30%); }
.campaign-section > .shell { position: relative; }
.section-heading { margin-bottom: 46px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.edition-stamp { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif-display); font-size: 35px; font-weight: 800; color: var(--gold-bright); border: 1px solid var(--gold); outline: 1px solid rgba(199,164,93,.24); outline-offset: 6px; background: #191b15; }
.campaign-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); gap: 26px; }
.parchment-card { position: relative; padding: 48px; color: #27241b; background: linear-gradient(135deg, #eee4cf 0%, #dfd0af 100%); box-shadow: 0 28px 55px rgba(0,0,0,.28); overflow: hidden; }
.parchment-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .17; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(74,57,31,.15) 4px); mix-blend-mode: multiply; }
.card-rivet { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #7b6542; box-shadow: inset 1px 1px 2px #baa173; z-index: 2; }
.rivet-a { top: 16px; left: 16px; } .rivet-b { bottom: 16px; right: 16px; }
.campaign-overline { color: #76582d; }
.parchment-card h3 { margin: 0 0 18px; max-width: 680px; font-family: var(--serif-display); font-size: clamp(28px,3.2vw,42px); line-height: 1.12; }
.parchment-card > p:not(.campaign-overline) { max-width: 760px; font-family: var(--serif-body); font-size: 18px; }
.fact-row { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(70,55,30,.3); padding-top: 26px; gap: 18px; }
.fact-row div { display: grid; gap: 1px; }
.fact-row strong { font-family: var(--serif-display); font-size: 30px; }
.fact-row span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #655c49; }
.link-card { padding: 34px 30px; border: 1px solid rgba(225,193,120,.24); background: rgba(9,10,8,.48); }
.link-card h3 { margin: 0 0 12px; font-family: var(--serif-display); font-size: 26px; }
.link-card > p:not(.kicker) { color: #bdb5a5; font-size: 14px; }
.link-stack { margin-top: 24px; display: grid; }
.link-stack a { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 17px 0; text-decoration: none; border-top: 1px solid rgba(225,193,120,.16); }
.link-stack a:last-child { border-bottom: 1px solid rgba(225,193,120,.16); }
.link-stack span { font-weight: 700; }
.link-stack small { color: #918a7b; grid-column: 1; font-size: 11px; }
.link-stack b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--gold); font-size: 19px; }
.link-stack a:hover span { color: var(--gold-bright); }

.chronicles { background: #0f110d; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 65px; width: 1px; background: linear-gradient(var(--gold), rgba(199,164,93,.12)); }
.timeline-card { display: grid; grid-template-columns: 130px 1fr; padding: 0 0 52px; position: relative; }
.year { width: 84px; min-height: 38px; align-self: start; display: grid; place-items: center; z-index: 1; background: #11130f; border: 1px solid rgba(225,193,120,.45); color: var(--gold-bright); font-family: var(--serif-display); font-weight: 800; letter-spacing: .05em; }
.timeline-copy { padding: 0 0 0 18px; max-width: 850px; }
.timeline-copy h3 { margin: 0 0 10px; font-family: var(--serif-display); font-size: clamp(24px,3vw,36px); line-height: 1.15; }
.timeline-copy > p:not(.timeline-label) { margin: 0; color: #bbb4a5; font-family: var(--serif-body); font-size: 18px; }
.timeline-label { margin-bottom: 8px; color: #8f8062; font-size: 10px; }
.featured-year .year, .current-year .year { background: var(--gold); color: #19170f; border-color: var(--gold-bright); }
.featured-year .timeline-copy { padding: 30px 34px; margin: -22px 0 22px 18px; border: 1px solid rgba(225,193,120,.17); background: linear-gradient(120deg,#161913,#12140f); }
.inline-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--gold-bright); font-weight: 700; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(225,193,120,.35); }
.text-link:hover { color: #fff0c8; }

.gallery-section { background: #171912; }
.gallery-note { margin: 0; color: #9f9888; font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery-item { position: relative; border: 0; padding: 0; overflow: hidden; cursor: zoom-in; background: #090a08; min-width: 0; }
.gallery-item::after { content: '↗'; position: absolute; right: 10px; bottom: 8px; width: 28px; height: 28px; display: grid; place-items: center; background: rgba(10,11,8,.78); color: var(--gold-bright); opacity: 0; transform: translateY(4px); transition: .2s ease; }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.gallery-item:hover img { transform: scale(1.03); filter: saturate(1.08) contrast(1.03); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.community { background: radial-gradient(circle at 72% 40%, rgba(105,70,34,.20), transparent 32%), #0c0e0b; border-top: 1px solid rgba(225,193,120,.1); }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.join-panel { border: 1px solid rgba(225,193,120,.25); background: #151812; padding: 10px 28px; }
.join-option { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid rgba(225,193,120,.13); }
.join-option:last-child { border-bottom: 0; }
.join-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(225,193,120,.25); color: var(--gold-bright); }
.join-option > span:nth-child(2) { display: grid; }
.join-option strong { font-family: var(--serif-display); font-size: 15px; }
.join-option small { color: #9e9788; font-size: 11px; }
.join-option b { color: var(--gold); font-size: 20px; transition: transform .2s ease; }
.join-option:hover b { transform: translateX(4px); }
.join-option:hover strong { color: var(--gold-bright); }

.site-footer { padding: 34px 0; background: #090a08; border-top: 1px solid rgba(225,193,120,.15); color: #928b7d; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > div { display: grid; }
.site-footer p { font-size: 12px; margin: 0; }
.site-footer > .shell > a { color: var(--gold); text-decoration: none; font-size: 12px; font-weight: 700; }

.lightbox { width: min(96vw, 1450px); max-height: 94vh; padding: 0; border: 1px solid rgba(225,193,120,.35); background: #090a08; box-shadow: 0 30px 100px rgba(0,0,0,.72); }
.lightbox::backdrop { background: rgba(3,4,3,.9); backdrop-filter: blur(5px); }
.lightbox img { max-height: 92vh; width: 100%; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); background: rgba(6,7,5,.8); color: white; cursor: pointer; font-size: 28px; line-height: 1; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 30px, 760px); }
  .section { padding: 76px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 77px; left: 0; right: 0; display: none; padding: 18px 22px 24px; flex-direction: column; align-items: stretch; gap: 16px; background: rgba(9,10,8,.98); border-bottom: 1px solid rgba(225,193,120,.18); }
  .site-nav.open { display: flex; }
  .intro, .campaign-grid, .community-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .oath-card { margin-top: 8px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 210px; }
  .gallery-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { min-height: 70px; padding-inline: 15px; }
  .brand-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .hero { padding-top: 70px; min-height: 90svh; background-position: 58% center; }
  .hero-content { padding-bottom: 98px; }
  .hero h1 { font-size: clamp(32px,12vw,72px); }
  .hero-lead { font-size: 20px; }
  .section-heading h2, .join-option > span:nth-child(2) { overflow-wrap: anywhere; }
  .hero-ribbon { gap: 14px; white-space: nowrap; overflow: hidden; justify-content: flex-start; padding-left: 18px; }
  .intro { gap: 54px; }
  .split-heading { align-items: start; flex-wrap: wrap; }
  .edition-stamp { width: 62px; height: 62px; flex-basis: 62px; font-size: 25px; }
  .parchment-card { padding: 34px 24px; }
  .fact-row { grid-template-columns: 1fr; }
  .timeline::before { left: 41px; }
  .timeline-card { grid-template-columns: 82px 1fr; }
  .year { width: 70px; font-size: 13px; }
  .timeline-copy { padding-left: 8px; }
  .featured-year .timeline-copy { margin-left: 8px; padding: 24px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-tall { grid-row: span 2; }
  .gallery-note { display: none; }
  .join-panel { padding: 8px 18px; }
  .footer-grid { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
