@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

:root {
  --navy: #07182d;
  --navy-2: #0d223d;
  --gold: #ad7c32;
  --cream: #f1eee5;
  --paper: #f8f6ef;
  --ink: #132134;
  --line: rgba(7, 24, 45, .16);
  --pad: clamp(1.4rem, 5vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -5rem; left: 1rem; z-index: 999;
  background: var(--gold); color: white; padding: .8rem 1rem;
}
.skip-link:focus { top: 1rem; }

.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--cream); transition: opacity .7s ease, visibility .7s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark { width: 96px; text-align: center; }
.loader-mark img { width: 76px; margin: auto; animation: breathe 1.4s ease-in-out infinite; }
.loader-mark span {
  display: block; width: 100%; height: 1px; margin-top: 1.5rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: center; animation: loadline 1.4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateY(-5px); opacity: .72; } }
@keyframes loadline { 0%,100% { transform: scaleX(.15); } 50% { transform: scaleX(1); } }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 88px; padding: 0 var(--pad); display: flex; align-items: center;
  color: white; transition: background .4s, color .4s, height .4s;
}
.site-header.scrolled {
  height: 70px; color: var(--navy); background: rgba(248,246,239,.9);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 600; letter-spacing: .16em; font-size: .78rem; }
.brand img { width: 42px; height: 42px; background: var(--cream); border-radius: 50%; padding: 4px; }
nav { margin-left: auto; }
.nav-list { display: flex; gap: clamp(1rem, 2.5vw, 2.7rem); }
.nav-list a {
  text-decoration: none; font-size: .76rem; letter-spacing: .08em; position: relative;
}
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--gold); transition: right .3s; }
.nav-list a:hover::after { right: 0; }
.language {
  margin-left: 2.3rem; border: 1px solid currentColor; border-radius: 2rem;
  padding: .3rem .55rem; color: inherit; background: transparent; cursor: pointer;
  font-size: .64rem; letter-spacing: .08em; display: flex; align-items: center; gap: .35rem;
}
.language i { width: 1px; height: .8rem; background: currentColor; opacity: .35; }
.language span:not(.active) { opacity: .45; }
.menu-toggle { display: none; }

.hero {
  height: 100svh; min-height: 690px; position: relative; overflow: hidden;
  background: var(--navy); color: white; isolation: isolate;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 67% 22%, rgba(184,143,77,.23), transparent 24%),
    linear-gradient(145deg, #07182d 25%, #112d45 60%, #715631 130%);
}
.hero-grain { position: absolute; inset: 0; z-index: 3; opacity: .11; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.hero-copy { position: absolute; left: var(--pad); top: 50%; z-index: 4; transform: translateY(-52%); max-width: 760px; }
.eyebrow { text-transform: uppercase; font-size: .7rem; letter-spacing: .24em; font-weight: 500; margin: 0 0 1.4rem; }
.eyebrow.gold { color: #c49a59; }
.hero h1 { font-family: "Playfair Display", serif; font-size: clamp(4.5rem, 10.5vw, 10.8rem); font-weight: 500; letter-spacing: -.055em; line-height: .78; margin: 0; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: #c99b53; font-weight: 500; }
.hero-intro { max-width: 450px; margin: 2.8rem 0 0 .45rem; font-size: clamp(.95rem, 1.4vw, 1.16rem); color: rgba(255,255,255,.7); }
.oak-scene { position: absolute; right: -4%; bottom: 0; width: min(72vw, 1000px); z-index: -1; opacity: .8; }
.hill-back { fill: #132e37; opacity: .7; }
.trunk { fill: #080e18; }
.canopy { fill: #0d1d25; }
.scroll-cue { position: absolute; z-index: 5; bottom: 2.3rem; left: var(--pad); display: flex; align-items: center; gap: 1rem; color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.scroll-cue i { display: block; width: 54px; height: 1px; background: var(--gold); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(-45deg); }
.hero-number { position: absolute; z-index: 5; right: var(--pad); bottom: 2rem; font-size: .6rem; letter-spacing: .12em; line-height: 1.7; color: rgba(255,255,255,.5); text-align: right; }

.section { padding: clamp(6rem, 12vw, 11rem) var(--pad); }
.section-index { border-top: 1px solid var(--line); padding-top: .9rem; margin-bottom: clamp(4rem, 8vw, 8rem); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; font-weight: 500; }
.display { font-family: "Playfair Display", serif; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .95; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.intro-grid, .memory-grid, .today-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(3rem, 10vw, 10rem); }
.prose, .memory-copy, .today-copy { max-width: 570px; padding-top: .5rem; }
.lead { font-family: "Playfair Display", serif; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.42; letter-spacing: -.015em; margin-top: 0; }
.prose p:not(.lead), .memory-copy p:not(.lead), .today-copy p:not(.lead), .oaks-copy p:not(.lead) { color: #5b626b; }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-strip div { padding: 1.6rem 1rem 1.6rem 0; border-right: 1px solid var(--line); }
.fact-strip div:not(:first-child) { padding-left: 1.6rem; }
.fact-strip div:last-child { border: 0; }
.fact-strip strong { display: block; font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 2.5vw, 2.3rem); font-weight: 500; }
.fact-strip span { display: block; font-size: .67rem; color: #747a80; letter-spacing: .06em; margin-top: .2rem; }

.dark { background: var(--navy); color: white; position: relative; overflow: hidden; }
.dark .section-index { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.6); position: relative; }
.memory-date { position: absolute; top: 8%; right: -4%; font-family: "Playfair Display", serif; font-size: 24vw; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.055); pointer-events: none; }
.memory-heading, .memory-copy { position: relative; }
.memory-copy p:not(.lead) { color: rgba(255,255,255,.58); }
.text-link { display: inline-block; margin-top: 1.5rem; color: #d5aa67; text-decoration: none; border-bottom: 1px solid rgba(213,170,103,.45); font-size: .75rem; letter-spacing: .08em; padding-bottom: .35rem; }
.tribute { margin-top: clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.tribute-line { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin-top: .8rem; }
.tribute p { margin: 0; max-width: 520px; font-family: "Playfair Display", serif; font-style: italic; font-size: 1.3rem; color: rgba(255,255,255,.75); }

.oaks-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(3rem, 10vw, 10rem); align-items: center; }
.oaks-art { min-height: 510px; position: relative; display: grid; place-items: center; color: var(--gold); }
.ring { position: absolute; border: 1px solid rgba(173,124,50,.35); border-radius: 50%; }
.r1 { width: 90%; aspect-ratio: 1; }
.r2 { width: 68%; aspect-ratio: 1; }
.r3 { width: 46%; aspect-ratio: 1; }
.six { font-family: "Playfair Display", serif; font-size: clamp(10rem, 24vw, 22rem); line-height: 1; color: var(--navy); }
.root-word { position: absolute; bottom: 6%; letter-spacing: .38em; font-size: .65rem; font-weight: 500; }
.oaks-copy { max-width: 610px; }

.today { background: #e8e1d2; }
.today blockquote { margin: clamp(6rem, 12vw, 11rem) 0 0; padding: clamp(2rem, 5vw, 5rem) 0 0 20%; border-top: 1px solid rgba(7,24,45,.25); }
.today blockquote p { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4.5vw, 4.5rem); line-height: 1.12; font-style: italic; letter-spacing: -.03em; margin: 0; max-width: 950px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 3rem; min-width: 230px; margin-top: 2rem; padding: .9rem 1.1rem; background: var(--navy); color: white; text-decoration: none; font-size: .72rem; letter-spacing: .08em; transition: background .25s, transform .25s; }
.button:hover { background: var(--gold); transform: translateY(-2px); }

.sources-head { display: grid; grid-template-columns: 1fr .65fr; gap: 4rem; align-items: end; margin-bottom: 5rem; }
.sources-head p { max-width: 520px; color: #666c73; }
.source-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.source-list li { display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 1.2rem; padding: 1.5rem .4rem; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.source-list li:hover { padding-left: 1rem; background: rgba(173,124,50,.06); }
.source-list li > span { font-size: .65rem; color: var(--gold); }
.source-list a { text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.source-list strong { font-family: "Playfair Display", serif; font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 500; }
.source-list small { color: #7b7f84; text-align: right; }
.source-list b { font-weight: 400; color: var(--gold); }

footer { padding: 2.2rem var(--pad); background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 54px; padding: 4px; background: var(--cream); }
.footer-brand strong { display: block; letter-spacing: .24em; font-size: .9rem; }
.footer-brand span { display: block; color: #bd9558; font-size: .58rem; letter-spacing: .15em; margin-top: .25rem; }
footer p { font-size: .66rem; color: rgba(255,255,255,.55); }
footer > a { text-decoration: none; border: 1px solid rgba(255,255,255,.3); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { height: 72px; }
  .brand span { display: none; }
  .menu-toggle { display: block; width: 38px; height: 38px; border: 0; background: transparent; color: inherit; position: relative; z-index: 2; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px auto; transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-list { position: fixed; inset: 0; background: var(--navy); color: white; flex-direction: column; justify-content: center; padding: 12vw; transform: translateX(100%); transition: transform .4s ease; }
  .nav-list.open { transform: none; }
  .nav-list a { font-family: "Playfair Display", serif; font-size: 2.5rem; }
  .language { margin-left: 1rem; }
  .hero-copy { top: 44%; }
  .hero h1 { font-size: clamp(4.1rem, 20vw, 7rem); line-height: .87; }
  .hero-intro { max-width: 78vw; margin-top: 2rem; }
  .oak-scene { width: 125vw; right: -45%; opacity: .6; }
  .hero-number { display: none; }
  .intro-grid, .memory-grid, .today-grid, .oaks-grid, .sources-head { grid-template-columns: 1fr; gap: 3rem; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip div:nth-child(2) { border-right: 0; }
  .fact-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact-strip div:nth-child(3) { padding-left: 0; }
  .tribute { grid-template-columns: 1fr; gap: 1.5rem; }
  .oaks-art { min-height: 340px; }
  .today blockquote { padding-left: 0; }
  .source-list a { display: block; }
  .source-list small { display: block; text-align: left; margin-top: .25rem; }
  footer { gap: 1rem; }
  footer p { display: none; }
}

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