/* ============================================================
   The Aeverest Report — Homepage (index.html)
   Page-specific styles. Design tokens live in colors.css,
   typography.css, and styles.css.
   ============================================================ */

body { background: var(--surface-sand); }
#root { min-height: 100vh; }

/* ============================================================
   Brand seal / mark (shared)
   ============================================================ */
.mark { display: block; flex: none; }
.mark-ae       { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 44; }
.mark-ae--base { fill: var(--navy-800); }
.mark-ae--cap  { fill: var(--mark-summit); }
.mark--cream .mark-ae--base { fill: var(--paper-050); }
.mark--cream .mark-ae--cap  { fill: var(--mark-summit-on-ink); }

/* ============================================================
   Masthead (shared crest)
   ============================================================ */
.masthead { background: var(--paper-000); border-bottom: 1px solid var(--line); }
.masthead__utility { background: var(--slate-700); }
.masthead__utility-inner { max-width: 1200px; margin: 0 auto; padding: 9px clamp(24px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; }
.masthead__date, .masthead__credential { font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; font-size: 10.5px; white-space: nowrap; }
.masthead__date { color: #cdd8e6; }
.masthead__credential { color: var(--gold-300); }
.masthead__bar { max-width: 1200px; margin: 0 auto; padding: clamp(18px,2.4vw,24px) clamp(24px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.masthead__lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.masthead__wordmark { display: flex; flex-direction: column; line-height: 1.0; }
.masthead__the { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 5px; }
.masthead__name { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 60, "wght" 500; font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.005em; color: var(--navy-800); }
.masthead__nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; }
.nav-item { text-decoration: none; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--navy-800); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-item--active { color: var(--clay-600); font-weight: 600; border-bottom-color: var(--clay-600); }

/* ============================================================
   Section rule (eyebrow + meta over a hairline)
   ============================================================ */
.section-rule {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; border-top: 1.5px solid var(--navy-800); padding-top: 11px;
}
.section-rule__label {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; font-size: 11.5px; color: var(--clay-600); white-space: nowrap;
}
.section-rule__meta {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 11.5px; color: var(--text-muted); white-space: nowrap;
}

/* ============================================================
   Photo placeholders (striped)
   ============================================================ */
.photo-ph {
  background-image: repeating-linear-gradient(135deg, #efe7d6 0 11px, #e7ddc8 11px 22px);
  display: grid; place-items: center; overflow: hidden;
}
.photo-ph__note {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-500);
  background: var(--paper-000); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: var(--radius-sm);
  text-align: center; max-width: 82%;
}

/* ============================================================
   Lead feature
   ============================================================ */
.lead { max-width: 1200px; margin: 0 auto; padding: clamp(40px,5vw,64px) clamp(24px,5vw,72px) 8px; }
.lead__grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px,4vw,56px); align-items: center; margin-top: 30px;
}
.lead__kicker {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 12px; color: var(--slate-500); margin-bottom: 18px;
}
.lead__headline {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--navy-800); margin: 0 0 20px;
}
.lead__headline em { color: var(--slate-600); }
.lead__dek {
  font-family: var(--font-sans); font-size: 19px; line-height: 1.55;
  color: var(--ink-700); margin: 0 0 26px; max-width: 46ch;
}
.lead__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lead__readmeta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.lead__figure { margin: 0; }
.lead__photo { aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); }
.lead__caption {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 10px;
}

/* Underlined arrow link (shared editorial link) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  color: var(--navy-800); text-decoration: none;
  border-bottom: 2px solid var(--gold-400); padding-bottom: 3px;
}
.link-arrow__icon { font-family: var(--font-mono); color: var(--gold-500); }

/* ============================================================
   Editor's Note (navy band)
   ============================================================ */
.ednote {
  background: linear-gradient(118deg, var(--slate-700) 0%, var(--navy-800) 58%, var(--navy-900) 100%);
  margin-top: clamp(40px,5vw,64px);
}
.ednote__inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px,5vw,76px) clamp(24px,5vw,72px); }
.ednote__grid { display: grid; grid-template-columns: 0.42fr 1.58fr; gap: clamp(28px,4vw,56px); align-items: start; }
.ednote__eyebrow {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; font-size: 11.5px; color: var(--clay-300);
}
.ednote__issue {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 10.5px; color: #aebfd4; margin-top: 10px;
}
.ednote__body {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(21px,2.5vw,30px); line-height: 1.38;
  color: var(--paper-000); margin: 0 0 22px;
}
.ednote__body em { color: var(--gold-300); }
.ednote__sign { font-family: var(--font-display); font-style: italic; font-size: 17px; color: #cdd8e6; }

/* ============================================================
   Latest Reports
   ============================================================ */
.latest { max-width: 1200px; margin: 0 auto; padding: clamp(44px,5vw,64px) clamp(24px,5vw,72px); }
.latest__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1.5px solid var(--navy-800); padding-top: 13px; margin-bottom: 28px;
}
.latest__title { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--navy-800); margin: 0; }
.latest__all {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; font-size: 11.5px; color: var(--clay-600); text-decoration: none;
}
.latest__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px,4vw,52px); align-items: start; }

.feature-card { text-decoration: none; display: block; }
.feature-card__photo { aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
.feature-card__kicker {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 11px; color: var(--clay-600); margin: 18px 0 10px;
}
.feature-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,2.6vw,32px);
  line-height: 1.14; color: var(--navy-800); margin-bottom: 12px;
}
.feature-card__dek {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  color: var(--ink-500); margin: 0; max-width: 52ch;
}

.brief { display: block; text-decoration: none; padding: 18px 0; border-top: 1px solid var(--line); }
.brief--first { border-top: none; }
.brief__meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.brief__no { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.brief__cat {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 10.5px; white-space: nowrap;
}
.brief__cat--memory { color: var(--slate-500); }
.brief__cat--joints { color: var(--sage-600); }
.brief__cat--energy { color: var(--clay-600); }
.brief__title {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  line-height: 1.2; color: var(--navy-800); margin-bottom: 5px;
}
.brief__dek { font-family: var(--font-sans); font-size: 14.5px; line-height: 1.5; color: var(--ink-500); }

/* ============================================================
   Our Standard (green band)
   ============================================================ */
.standard {
  background: radial-gradient(135% 115% at 24% 6%, #37684f 0%, #275040 44%, #1b3a2d 100%);
  position: relative; overflow: hidden;
}
.standard__watermark { position: absolute; width: clamp(480px, 50vw, 900px); height: auto; right: -120px; top: -150px; opacity: 0.05; }
.watermark-ring { fill: none; stroke: var(--paper-000); stroke-width: 2; }
.watermark-ae   { fill: var(--paper-000); font-family: var(--font-display); font-weight: 600; }
.standard__inner { max-width: 1200px; margin: 0 auto; padding: clamp(40px,4vw,60px) clamp(24px,5vw,72px); position: relative; }
.standard__eyebrow {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; font-size: 11px; color: var(--clay-300); margin-bottom: 18px;
}
.standard__lead-row { display: flex; gap: clamp(20px,3vw,34px); align-items: stretch; max-width: 34ch; }
.standard__lead-rule { width: 3px; flex: none; background: var(--gold-400); border-radius: 2px; }
.standard__lead {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px,2.8vw,34px);
  line-height: 1.2; letter-spacing: -0.015em; color: var(--paper-000); margin: 0;
}
.standard__lead em { color: var(--gold-300); }
.standard__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px,3vw,40px); border-top: 1px solid var(--line-on-ink);
}
.tenet {
  display: flex; flex-direction: column;
  padding: clamp(22px,2.4vw,28px) clamp(20px,3vw,40px) 4px;
  border-left: 1px solid var(--line-on-ink);
}
.tenet--first { border-left: none; }
.tenet__no {
  font-family: var(--font-display); font-weight: 500; font-size: 28px;
  color: var(--gold-300); margin-bottom: 12px; line-height: 1;
}
.tenet__title {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  line-height: 1.2; color: var(--paper-000); margin-bottom: 10px;
}
.tenet__body { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; color: #cddfd3; }

/* ============================================================
   The Name & the Mark (clay colophon)
   ============================================================ */
.colophon { background: var(--clay-050); border-top: 1px solid #e6d2c5; }
.colophon__inner { max-width: 1200px; margin: 0 auto; padding: clamp(36px,4.5vw,52px) clamp(24px,5vw,72px); }
.colophon__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px,4vw,52px); align-items: center; }
.colophon__brand { display: flex; flex-direction: column; gap: 14px; }
.colophon__label {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; font-size: 11px; color: var(--clay-600);
}
.colophon__body {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,1.9vw,22px);
  line-height: 1.45; color: var(--ink-800); margin: 0 0 16px;
}
.colophon__body em { color: var(--navy-800); }
.italic { font-style: italic; }

/* ============================================================
   Site footer (shared)
   ============================================================ */
.site-footer {
  background: var(--navy-900); border-top: 3px solid var(--gold-400);
  padding: clamp(44px,5vw,56px) clamp(24px,5vw,72px) 36px;
}
.site-footer__inner { max-width: 1200px; margin: 0 auto; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px,4vw,40px); }
.site-footer__brand-row { display: flex; align-items: center; gap: 13px; }
.site-footer__brand-text { line-height: 1; }
.site-footer__brand-the {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 9px; color: var(--gold-300);
}
.site-footer__brand-name {
  font-family: var(--font-display); font-weight: 450; font-variation-settings: "opsz" 60, "wght" 450; font-size: 17px;
  letter-spacing: -0.005em; color: var(--paper-000); margin-top: 5px;
}
.site-footer__tagline {
  font-family: var(--font-display); font-style: italic; font-size: 17px;
  color: var(--gold-300); margin: 18px 0 0;
}
.site-footer__col-head {
  font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 10px; color: var(--slate-300); margin-bottom: 14px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__link {
  font-family: var(--font-sans); font-size: 14px; color: var(--paper-050);
  text-decoration: none; opacity: 0.85;
}
.site-footer__fine {
  font-family: var(--font-sans); font-size: 12px; line-height: 1.6;
  color: var(--slate-300); margin: 36px 0 0;
  border-top: 1px solid var(--line-on-ink); padding-top: 20px;
}
