@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,800&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
  --forest: #1e3d34;
  --forest-mid: #2d5a4a;
  --moss: #4a7c59;
  --sand: #f5f0e8;
  --sand-dark: #e8dfd0;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --text: #1a2e28;
  --muted: #5c6b65;
  --white: #fffcf8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --pill-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--sand);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Floating pill nav ── */
.pill-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--forest);
  border-radius: 999px;
  padding: 6px 8px;
  display: flex;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(30, 61, 52, 0.35);
}

.pill-nav a {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 252, 248, 0.55);
  transition: all 0.25s;
  white-space: nowrap;
}

.pill-nav a:hover,
.pill-nav a.active {
  background: var(--gold);
  color: var(--forest);
}

/* ── Top wordmark ── */
.top-mark {
  position: fixed;
  top: 24px;
  left: 32px;
  z-index: 999;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.top-mark span { color: var(--moss); font-weight: 400; font-style: italic; }

.top-mark.on-dark { color: var(--white); }
.top-mark.on-dark span { color: var(--gold-light); }

/* ── Hero split ── */
.hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sand);
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 120px 64px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 20px;
}

.hero-text-side h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.hero-text-side h1 em {
  font-style: italic;
  color: var(--moss);
  font-weight: 600;
}

.hero-text-side .sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forest);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  width: fit-content;
}

.btn-gold:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
}

.hero-visual-side {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.hero-visual-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-circle-deco {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  bottom: 15%;
  left: -60px;
  opacity: 0.4;
}

.hero-stat-float {
  position: absolute;
  bottom: 48px;
  right: 48px;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.hero-stat-float strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
}

.hero-stat-float span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* ── Timeline stream ── */
.stream-section {
  padding: 100px 0 80px;
  position: relative;
}

.stream-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.stream-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.stream-head p { color: var(--muted); margin: 0; }

.timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--moss), var(--gold), var(--moss));
  transform: translateX(-50%);
  opacity: 0.3;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: center;
}

.tl-item:nth-child(even) .tl-card { grid-column: 1; }
.tl-item:nth-child(even) .tl-dot { grid-column: 2; }
.tl-item:nth-child(even) .tl-spacer { grid-column: 3; }

.tl-item:nth-child(odd) .tl-spacer { grid-column: 1; }
.tl-item:nth-child(odd) .tl-dot { grid-column: 2; }
.tl-item:nth-child(odd) .tl-card { grid-column: 3; }

.tl-dot {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--sand);
  box-shadow: 0 0 0 2px var(--gold);
  justify-self: center;
  z-index: 2;
}

.tl-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 61, 52, 0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}

.tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30, 61, 52, 0.12);
}

.tl-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tl-card-body { padding: 24px 26px 28px; }

.tl-card .tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 8px;
}

.tl-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.tl-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}

.tl-card .link {
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
}

.tl-card .link:hover { color: var(--gold); }

/* ── Masonry journal grid ── */
.masonry-section {
  background: var(--forest);
  color: var(--white);
  padding: 80px 32px 100px;
}

.masonry-section .stream-head h2 { color: var(--white); }
.masonry-section .stream-head p { color: rgba(255,252,248,0.55); }

.masonry {
  column-count: 3;
  column-gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.masonry-card {
  break-inside: avoid;
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(255, 252, 248, 0.1);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: background 0.25s;
}

.masonry-card:hover { background: rgba(255, 252, 248, 0.1); }

.masonry-card img {
  width: 100%;
  height: auto;
  display: block;
}

.masonry-card.tall img { height: 280px; object-fit: cover; }

.masonry-card-body { padding: 22px 24px 26px; }

.masonry-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}

.masonry-card p {
  font-size: 13px;
  color: rgba(255, 252, 248, 0.55);
  margin: 0;
}

.masonry-card.quote {
  padding: 28px 24px;
  background: var(--gold);
  border-color: transparent;
}

.masonry-card.quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--forest);
  margin: 0;
  line-height: 1.5;
}

.masonry-card.stat {
  text-align: center;
  padding: 32px 24px;
}

.masonry-card.stat strong {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.masonry-card.stat span {
  font-size: 12px;
  color: rgba(255,252,248,0.5);
  margin-top: 8px;
  display: block;
}

/* ── Full bleed CTA ── */
.cta-parallax {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 61, 52, 0.75);
}

.cta-parallax .inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px 24px;
  max-width: 560px;
}

.cta-parallax h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-parallax p {
  color: rgba(255,252,248,0.75);
  margin-bottom: 28px;
}

.btn-outline-light {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s, color 0.25s;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--forest);
}

/* ── Article page ── */
.article-hero {
  height: 70vh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,61,52,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  max-width: 900px;
}

.article-hero-overlay .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.article-hero-overlay h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.1;
  max-width: 700px;
}

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr min(680px, 100%) 1fr;
  padding: 64px 24px 100px;
  gap: 40px;
}

.article-body {
  grid-column: 2;
}

.article-body .lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--sand-dark);
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--forest);
}

.article-body p {
  font-size: 17px;
  line-height: 1.85;
  color: #3d4f48;
  margin-bottom: 20px;
}

.article-body ul {
  margin-bottom: 20px;
  padding-left: 22px;
  color: #3d4f48;
}

.article-body li { margin-bottom: 10px; line-height: 1.7; }

.pull-quote {
  grid-column: 1;
  align-self: start;
  position: sticky;
  top: 100px;
  padding-right: 20px;
  text-align: right;
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--moss);
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.article-aside-notes {
  grid-column: 3;
  align-self: start;
  position: sticky;
  top: 100px;
}

.note-chip {
  background: var(--sand-dark);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.note-chip strong {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}

.disclaimer-bar {
  background: var(--sand-dark);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 40px;
}

/* ── About / Contact ── */
.page-simple {
  padding: 120px 24px 140px;
  max-width: 680px;
  margin: 0 auto;
}

.page-simple h1 {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-simple p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 14px;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--moss);
}

.form-feedback {
  display: none;
  font-size: 14px;
  margin-top: 8px;
}

.form-feedback.show { display: block; color: var(--moss); }

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: rgba(255,252,248,0.45);
  padding: 32px 48px 100px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a { color: rgba(255,252,248,0.65); }
.site-footer a:hover { color: var(--gold-light); }

/* ── Cookie ── */
#cookieBanner {
  position: fixed;
  top: 24px;
  right: 24px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
  font-size: 13px;
}

#cookieBanner.show { display: block; }

#cookieBanner button {
  margin-top: 12px;
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual-side { min-height: 360px; order: -1; }
  .hero-text-side { padding: 48px 24px 100px; }

  .timeline::before { left: 24px; }
  .tl-item { grid-template-columns: 48px 1fr !important; }
  .tl-item .tl-spacer { display: none; }
  .tl-item .tl-dot { grid-column: 1 !important; }
  .tl-item .tl-card { grid-column: 2 !important; }

  .masonry { column-count: 2; }

  .article-body-wrap {
    grid-template-columns: 1fr;
  }

  .pull-quote,
  .article-aside-notes {
    position: static;
    grid-column: 1;
    text-align: left;
    padding: 0;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .masonry { column-count: 1; }
  .pill-nav { width: calc(100% - 32px); justify-content: center; flex-wrap: wrap; }
  .top-mark { left: 20px; font-size: 15px; }
}
