/* ============================================================
   LOUD HAWK Design System v2
   loudhawk.media | Published by Orange Sunshine Aviation
   Color structure: dark base / purple sections / orange moments
   Typefaces: LH-Display (Velodroma Regular) + LH-Display-Wide (Velodroma Wide) + Lexend (body/UI/content headings)
   Font aliases: LH-Display, LH-Display-Wide
   Rule: LH-Display at landmark scale only (30px+). Lexend 700 for content headings (sub-30px).
   ============================================================ */

/* @import must precede @font-face per CSS spec */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;700&display=swap');

@font-face {
  font-family: 'LH-Display';
  src: url('../fonts/Velodroma-Regular.woff2') format('woff2'),
       url('../fonts/Velodroma-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LH-Display-Wide';
  src: url('../fonts/Velodroma-Wide.woff2') format('woff2'),
       url('../fonts/Velodroma-Wide.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Disable OpenType stylistic sets and contextual alternates on every
   element that uses a Velodroma font family. The font files contain
   glyphs for all three widths (Regular / Wide / SuperWide) accessible
   via SS01–SS08 and calt/salt. Explicitly turning these off prevents
   mobile browsers from activating alternate-width glyphs.
   Lexend (body/UI text) is intentionally excluded. */
.hero-headline,
.headline-accent,
.section-title,
.subscribe-hero-headline,
.about-band-headline,
.pull-quote-text,
.edition-card-num,
.mobile-menu ul a,
.nav-menu-link,
.footer-brand-name,
.archive-header-title {
  font-feature-settings: "ss01" off, "ss02" off, "ss03" off, "ss04" off,
                          "ss05" off, "ss06" off, "ss07" off, "ss08" off,
                          "calt" off, "salt" off;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Canvas */
  --lh-bg:      #0a0a0a;
  --lh-surface: #111111;

  /* OSA Palette */
  --lh-orange:  #e74b1d;
  --lh-purple:  #432a7a;
  --lh-purple-deep: #2a1960;
  --lh-lilac:   #8767a9;
  --lh-salmon:  #f29569;
  --lh-beige:   #e4e4d3;

  /* Beige opacity on dark */
  --lh-b72: rgba(228, 228, 211, 0.72);
  --lh-b54: rgba(228, 228, 211, 0.54);
  --lh-b36: rgba(228, 228, 211, 0.36);
  --lh-b18: rgba(228, 228, 211, 0.18);
  --lh-b09: rgba(228, 228, 211, 0.09);

  /* Orange opacity */
  --lh-o54: rgba(231, 75, 29, 0.54);
  --lh-o36: rgba(231, 75, 29, 0.36);

  /* White (solid and opacity, for colored sections) */
  --lh-white:      #ffffff;
  --lh-w72: rgba(255, 255, 255, 0.72);
  --lh-w50: rgba(255, 255, 255, 0.50);
  --lh-w25: rgba(255, 255, 255, 0.25);
  --lh-w18: rgba(255, 255, 255, 0.18);
  --lh-w12: rgba(255, 255, 255, 0.12);
  --lh-w06: rgba(255, 255, 255, 0.06);

  /* Background overlays */
  --lh-bg-nav:     rgba(10, 10, 10, 0.96); /* frosted nav */
  --lh-bg-overlay: rgba(10, 10, 10, 0.98); /* mobile menu */

  /* Form input backgrounds */
  --lh-input-bg:       rgba(228, 228, 211, 0.07);
  --lh-input-bg-focus: rgba(228, 228, 211, 0.11);

  /* State */
  --lh-success: #7ec887;

  /* Semantic */
  --lh-text:       var(--lh-beige);
  --lh-text-dim:   var(--lh-b72);
  --lh-text-mute:  var(--lh-b54);
  --lh-border:     var(--lh-b09);
  --lh-cta:        var(--lh-orange);
  --lh-cta-hover:  var(--lh-salmon);

  /* Spacing (base 8px) */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Layout */
  --max-w:  1160px;
  --gutter: 40px;
  --nav-h:  68px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lexend', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--lh-text);
  background-color: var(--lh-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9000; /* cosmetic layer — future modals/toasts must use z-index > 9000 */
}

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

/* Suppress iOS tap highlight on all interactive elements */
a, button { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--lh-orange);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration:  0.01ms !important;
  }
}

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--sp-12) 0;
}

/* ============================================================
   TYPOGRAPHY PRIMITIVES
   ============================================================ */

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--lh-orange);
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lh-orange);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--lh-o36);
}

.section-title {
  font-family: 'LH-Display', sans-serif;
  font-weight: normal;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  color: var(--lh-text);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-2);
  overflow-wrap: break-word;
}

.section-body {
  font-size: 17px;
  color: var(--lh-text-mute);
  max-width: 520px;
  line-height: 1.72;
}

.section-header {
  margin-bottom: var(--sp-8);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease, border-color 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--lh-cta);
  color: var(--lh-white);
  padding: 14px 32px;
}

.btn-primary:hover    { background-color: var(--lh-cta-hover); transform: translateY(-1px); }
.btn-primary:active   { transform: translateY(0); }

/* Disabled — inactive form state (not loading) */
.btn-primary:disabled:not(.btn--loading),
.btn-primary[disabled]:not(.btn--loading) {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Loading — request in flight */
.btn--loading {
  cursor: wait;
  pointer-events: none;
  padding-right: 46px;
  position: relative;
  transform: none !important;
}

.btn--loading::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--lh-w25);
  border-top-color: rgba(255, 255, 255, 0.90);
  border-radius: 50%;
  animation: lh-spin 0.65s linear infinite;
}

@keyframes lh-spin {
  to { transform: rotate(360deg); }
}

.btn-ghost {
  background-color: transparent;
  color: var(--lh-text);
  padding: 13px 32px;
  border: 1px solid var(--lh-b18);
}

.btn-ghost:hover { border-color: var(--lh-b36); }

.btn-link {
  background: none;
  border: none;
  color: var(--lh-orange);
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color 0.15s ease, gap 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-link:hover { color: var(--lh-salmon); gap: 13px; }

/* ============================================================
   FORMS
   ============================================================ */

.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  height: 52px;
  background-color: var(--lh-input-bg);
  border: 1px solid var(--lh-b18);
  border-radius: 3px;
  color: var(--lh-text);
  font-family: 'Lexend', sans-serif;
  font-size: 16px;        /* ≥16px prevents iOS Safari auto-zoom on focus */
  padding: 0 20px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  outline: none; /* suppress browser default; keyboard ring handled below */
  min-width: 0;
}

.subscribe-form input[type="email"]::placeholder { color: var(--lh-b36); }
.subscribe-form input[type="email"]:focus {
  border-color: var(--lh-o54);
  background-color: var(--lh-input-bg-focus);
}
.subscribe-form input[type="email"]:focus-visible {
  outline: 2px solid var(--lh-orange);
  outline-offset: 2px;
}
.subscribe-form input[type="email"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.subscribe-form .btn-primary {
  height: 52px;
  padding: 0 28px;
  flex-shrink: 0;
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
  line-height: 1.5;
}

.form-message.success { color: var(--lh-success); }
.form-message.error   {
  color: var(--lh-salmon);
  animation: lh-fade-up 0.2s ease-out both;
}

.form-message.error a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes lh-fade-up {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inline success states (replace form content on successful subscribe) */
.form-success {
  font-size: 15px;
  color: var(--lh-success);
  font-weight: 600;
  padding: 14px 0;
  animation: lh-fade-up 0.3s ease-out both;
}

.form-success-block {
  text-align: center;
  padding: var(--sp-4) 0;
  animation: lh-fade-up 0.3s ease-out both;
}

.form-success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--lh-success);
  margin-bottom: 10px;
}

.form-success-body {
  font-size: 15px;
  color: var(--lh-text-mute);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.nav--scrolled {
  background-color: var(--lh-bg-nav);
  border-bottom-color: var(--lh-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  min-height: 44px;       /* touch target — image is 32px, link must be ≥44px (WCAG 2.5.5) */
  text-decoration: none;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--lh-b54);
  transition: color 0.15s ease;
  letter-spacing: 0.04em;
  padding: 12px 0;        /* touch target — 12×2 + ~21px font = 45px (WCAG 2.5.5) */
}

.nav-links a:hover,
.nav-links a.active { color: var(--lh-text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
}

/* Purple glow — stronger than before */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -12%, rgba(67, 42, 122, 0.45) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 90%  90%, rgba(231, 75, 29, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Orange bottom-edge rule */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lh-orange) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero .eyebrow {
  margin-bottom: var(--sp-3);
  display: block;
}

.hero-headline {
  font-family: 'LH-Display-Wide', sans-serif;
  font-weight: normal;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.00;
  letter-spacing: -0.01em;
  color: var(--lh-text);
  margin-bottom: var(--sp-4);
  overflow-wrap: break-word;
}

/* Orange accent on second line of headline */
.headline-accent {
  color: var(--lh-orange);
  display: block;
}

.hero-subline {
  font-size: 19px;
  color: var(--lh-text-mute);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: var(--sp-6);
}

.hero-meta {
  margin-top: var(--sp-3);
  font-size: 12px;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.3:1 — WCAG AA */
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(228, 228, 211, 0.27);
  flex-shrink: 0;
}

/* Hawk graphic element */
.hero-hawk {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-54%);
  width: 620px;
  height: 360px; /* clips the wordmark, shows only the hawk */
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}

.hero-hawk img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero entry animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow        { animation: fadeUp 0.55s ease-out 0.05s both; }
.hero-headline        { animation: fadeUp 0.55s ease-out 0.18s both; }
.hero-subline         { animation: fadeUp 0.55s ease-out 0.30s both; }
.hero .subscribe-form { animation: fadeUp 0.55s ease-out 0.42s both; }
.hero-meta            { animation: fadeUp 0.55s ease-out 0.52s both; }

/* ============================================================
   EDITIONS SECTION — PURPLE
   ============================================================ */

.editions-section {
  background-color: var(--lh-purple);
  position: relative;
}

/* Subtle noise in the purple section */
.editions-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 100% 100%, rgba(231, 75, 29, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Section label on purple: beige instead of orange */
.editions-section .section-label {
  color: var(--lh-beige);
  opacity: 0.6;
}

.editions-section .section-label::after {
  background-color: var(--lh-b36);
}

/* Section title on purple: color override only — font is now global */
.editions-section .section-title {
  color: var(--lh-white);
}

.editions-section .section-body {
  color: var(--lh-b72);
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.edition-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  padding-left: calc(var(--sp-5) - 3px);
  background-color: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--lh-w12);
  border-left: 3px solid var(--lh-orange);
  border-radius: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.edition-card:hover {
  background-color: rgba(0, 0, 0, 0.45);
  border-color: var(--lh-w18);
  border-left-color: var(--lh-orange);
}

.edition-card--upcoming {
  cursor: default;
}
.edition-card--upcoming:hover {
  background-color: transparent;
  border-color: var(--lh-w12);
  border-left-color: var(--lh-w12);
}

.edition-upcoming {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lh-b54);
}

.edition-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.edition-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-orange);
}

.edition-date {
  font-size: 12px;
  color: var(--lh-b54); /* was --lh-b40: ~2.8:1 on purple, now ~3.8:1 */
  font-weight: 500;
}

.edition-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 27px);
  color: var(--lh-white);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-2);
  flex-grow: 1;
}

.edition-summary {
  font-size: 14px;
  color: var(--lh-b54);
  line-height: 1.72;
  margin-bottom: var(--sp-4);
}

.edition-tags {
  display: flex;
  gap: 6px;
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.edition-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lh-b54);
  padding: 3px 8px;
  border: 1px solid var(--lh-w12);
  border-radius: 2px;
}

/* btn-link on purple background */
.editions-section .btn-link {
  color: var(--lh-salmon);
}

.editions-section .btn-link:hover {
  color: var(--lh-white);
}

/* ============================================================
   PULL QUOTE BAND — SOLID ORANGE
   ============================================================ */

.pull-quote-band {
  background-color: var(--lh-orange);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle warm texture on orange */
.pull-quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 0% 50%, var(--lh-w06) 0%, transparent 55%);
  pointer-events: none;
}

.pull-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pull-quote-text {
  font-family: 'LH-Display', sans-serif;
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: normal;
  color: var(--lh-w72); /* was 0.50: ~1.9:1; 0.72 improves to ~2.5:1 — design choice (dim/bright contrast) */
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  overflow-wrap: break-word;
}

/* Second line — white and prominent */
.pull-quote-text .accent {
  color: var(--lh-white);
  display: block;
}

.pull-quote-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85); /* was 0.50 — failed WCAG AA contrast */
}

/* ============================================================
   WHAT IS LOUD HAWK BAND — DARK
   ============================================================ */

.about-band {
  border-bottom: 1px solid var(--lh-border);
}

.about-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.about-band-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--lh-orange);
  margin-bottom: var(--sp-3);
}

/* Velodroma for the about-band headline */
.about-band-headline {
  font-family: 'LH-Display', sans-serif;
  font-weight: normal;
  font-size: clamp(30px, 4vw, 50px);
  color: var(--lh-text);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.about-band-body {
  font-size: 16px;
  color: var(--lh-text-mute);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}

.about-band-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--lh-border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-stat-value {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--lh-orange);
  line-height: 1;
  letter-spacing: -0.01em;
}

.about-stat-label {
  font-size: 11px;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.3:1 — WCAG AA */
  letter-spacing: 0.08em;
  font-weight: 500;
}

.about-band-right {
  padding-left: var(--sp-8);
  border-left: 1px solid var(--lh-border);
}

/* Philosophy items — orange left border instead of dividers */
.philosophy-item {
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-3);
  border-left: 3px solid var(--lh-orange);
  margin-bottom: var(--sp-4);
}

.philosophy-item:last-child { margin-bottom: 0; }

.philosophy-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lh-orange);
  margin-bottom: 7px;
}

.philosophy-text {
  font-size: 15px;
  color: var(--lh-text-dim);
  line-height: 1.68;
}

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */

.archive-header {
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--lh-border);
}

.archive-list-section {
  padding: var(--sp-8) 0;
}

.archive-item {
  display: grid;
  grid-template-columns: 110px 1fr 120px;
  gap: var(--sp-5);
  align-items: start;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--lh-border);
  transition: opacity 0.15s ease;
}

.archive-item:first-child { padding-top: 0; }
.archive-item:hover { opacity: 0.85; }
.archive-item--upcoming { cursor: default; }
.archive-item--upcoming:hover { opacity: 1; }

.edition-tag--upcoming {
  color: var(--lh-b54);
  border-color: var(--lh-b18);
}

.archive-edition {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-orange);
  padding-top: 5px;
}

.archive-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 27px);
  color: var(--lh-text);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.archive-desc {
  font-size: 14px;
  color: var(--lh-text-mute);
  line-height: 1.68;
  margin-bottom: 12px;
}

.archive-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.archive-date-col {
  text-align: right;
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
}

.archive-date {
  font-size: 12px;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.3:1 — WCAG AA */
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--lh-border);
}

.about-content-section {
  padding: var(--sp-12) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.about-body p {
  font-size: 17px;
  color: var(--lh-text-dim);
  line-height: 1.78;
  margin-bottom: var(--sp-4);
}

.about-body h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--lh-text);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--lh-border);
}

.about-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.about-body blockquote {
  border-left: 3px solid var(--lh-orange);
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-6) 0;
  background-color: var(--lh-surface);
  border-radius: 0 3px 3px 0;
}

.about-body blockquote p {
  font-size: 19px;
  color: var(--lh-text);
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.55;
}

.about-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
}

.sidebar-card {
  background-color: var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: 3px;
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.1:1 on surface — WCAG AA */
  margin-bottom: 10px;
}

.sidebar-value {
  font-size: 14px;
  color: var(--lh-text-dim);
  line-height: 1.65;
}

.sidebar-value strong {
  color: var(--lh-text);
  font-weight: 700;
}

/* ============================================================
   SUBSCRIBE PAGE
   ============================================================ */

.subscribe-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-12);
  position: relative;
  overflow: hidden;
}

.subscribe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 75% at 50% -5%,  rgba(67, 42, 122, 0.50) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 5%  100%, rgba(231, 75, 29, 0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.subscribe-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-hero .eyebrow {
  margin-bottom: var(--sp-4);
  display: block;
}

.subscribe-hero-headline {
  font-family: 'LH-Display', sans-serif;
  font-weight: normal;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--lh-text);
  margin-bottom: var(--sp-4);
  overflow-wrap: break-word;
}

.subscribe-hero-body {
  font-size: 18px;
  color: var(--lh-text-mute);
  line-height: 1.72;
  margin-bottom: var(--sp-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form-centered {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.subscribe-form-centered input[type="email"] {
  width: 100%;
  height: 56px;
  background-color: var(--lh-input-bg);
  border: 1px solid var(--lh-b18);
  border-radius: 3px;
  color: var(--lh-text);
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  padding: 0 20px;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  outline: none;
}

.subscribe-form-centered input[type="email"]::placeholder { color: var(--lh-b36); }
.subscribe-form-centered input[type="email"]:focus {
  border-color: var(--lh-o54);
  background-color: var(--lh-input-bg-focus);
}
.subscribe-form-centered input[type="email"]:focus-visible {
  outline: 2px solid var(--lh-orange);
  outline-offset: 2px;
}
.subscribe-form-centered input[type="email"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.subscribe-form-centered .btn-primary {
  width: 100%;
  height: 56px;
  font-size: 15px;
}

.subscribe-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.subscribe-trust-item {
  font-size: 12px;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.3:1 — WCAG AA */
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.subscribe-trust-item svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--lh-b54);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.subscribe-editions-preview {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--lh-border);
  background-color: var(--lh-surface);
}

/* ============================================================
   FOOTER — DEEP PURPLE
   ============================================================ */

.footer {
  background-color: var(--lh-purple-deep);
  padding: var(--sp-8) 0 var(--sp-5);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--lh-w12);
  margin-bottom: var(--sp-4);
}

.footer-wordmark img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: var(--sp-2);
}

.footer-tagline {
  font-size: 13px;
  color: var(--lh-w50);
  line-height: 1.65;
  max-width: 240px;
}

.footer-nav-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-w50); /* was --lh-w25: ~2.2:1, now ~6.3:1 on deep purple — WCAG AA */
  margin-bottom: var(--sp-2);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  display: block;
  font-size: 14px;
  color: var(--lh-w50);
  transition: color 0.15s ease;
  padding: 11px 0;        /* 11×2 + ~23px line = 45px touch target (WCAG 2.5.5) */
}

.footer-nav-links a:hover { color: var(--lh-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--lh-w50); /* was --lh-w25: ~2.2:1, now ~6.3:1 on deep purple — WCAG AA */
  letter-spacing: 0.03em;
}

/* ============================================================
   CTA BAND (shared — archive page)
   ============================================================ */

.cta-band {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--lh-border);
  text-align: center;
}

.cta-band-inner {
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */

/* Skip navigation — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 20px;
  background-color: var(--lh-orange);
  color: var(--lh-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 3px 3px;
  text-decoration: none;
  transition: top 0.15s ease;
  white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* Screen-reader-only text (WCAG accessible hiding) */
.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;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px;          /* 22px bars + 11×2 = 44px touch target (WCAG 2.5.5) */
  margin-right: -11px;    /* compensate padding to keep visual alignment */
  flex-direction: column;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--lh-text);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background-color: var(--lh-bg-overlay);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lh-border);
  padding: var(--sp-3) var(--gutter) var(--sp-6);
  z-index: 99;
}

.mobile-menu.is-open { display: block; }

.mobile-menu ul {
  list-style: none;
  margin-bottom: var(--sp-4);
}

.mobile-menu ul li { border-bottom: 1px solid var(--lh-border); }
.mobile-menu ul li:first-child { border-top: 1px solid var(--lh-border); }

.mobile-menu ul a {
  display: block;
  padding: var(--sp-3) 0;
  font-family: 'LH-Display', sans-serif;
  font-size: 30px;
  font-weight: normal;
  color: var(--lh-text);
  transition: color 0.15s ease;
}

.mobile-menu ul a:hover,
.mobile-menu ul a.active { color: var(--lh-orange); }

.mobile-menu-cta { display: block; }

/* ============================================================
   CARD & ROW STRETCHY LINK
   Makes an entire card / archive row clickable via a single link.
   The link's ::after fills the nearest position:relative ancestor.
   Elements that need independent interaction get position:relative; z-index:1.
   ============================================================ */

/* Edition cards — btn-link::after fills the card */
.edition-card          { position: relative; }
.edition-card .btn-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
/* Tags stay above the stretched layer so hover states read correctly */
.edition-tags          { position: relative; z-index: 1; }

/* Archive rows — title link::after fills the row */
.archive-item          { position: relative; }
.archive-title a {
  color: inherit;
  text-decoration: none;
}
.archive-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
/* Date column stays independently clickable */
.archive-date-col      { position: relative; z-index: 1; }

/* ============================================================
   SUBSCRIBE PAGE: FORMAT CARD GRID
   Replaces the inline-styled "What Each Edition Contains" section
   ============================================================ */

.edition-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.format-card {
  padding: var(--sp-5);
  padding-left: calc(var(--sp-5) - 3px);
  background-color: var(--lh-bg);
  border: 1px solid var(--lh-b09);
  border-radius: 4px;
}

.format-card--signal   { border-left: 3px solid var(--lh-orange); }
.format-card--quickhits { border-left: 3px solid var(--lh-lilac); }

.format-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.format-card--signal   .format-card-label { color: var(--lh-orange); }
.format-card--quickhits .format-card-label { color: var(--lh-lilac); }

.format-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--lh-text);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-2);
}

.format-card-body {
  font-size: 14px;
  color: var(--lh-b54);
  line-height: 1.72;
}

.format-card-body + .format-card-body { margin-top: var(--sp-2); }

/* About sidebar CTA — removes inline style on the button */
.sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================
   EDITORIAL UTILITIES
   ============================================================ */

/* Large display numeral — editorial anchor on edition cards */
.edition-card-num {
  font-family: 'LH-Display', sans-serif;
  font-size: 88px;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.08);
  margin-left: -5px;
  margin-bottom: var(--sp-3);
  user-select: none;
}

/* Hero masthead annotation — volume / issue / date */
.hero-vol {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-b54); /* was --lh-b36: ~2.6:1, now ~5.3:1 — WCAG AA */
  margin-bottom: var(--sp-4);
  animation: fadeUp 0.55s ease-out 0.10s both;
}

/* ============================================================
   RESPONSIVE: Tablet (max 960px)
   ============================================================ */

@media (max-width: 960px) {
  :root {
    --gutter: 28px;
    --sp-16:  96px;
    --sp-12:  80px;
  }

  .hero-headline        { font-size: clamp(36px, 5.5vw, 72px); }
  .hero-hawk            { width: 380px; height: 220px; right: -20px; }
  .editions-grid        { grid-template-columns: 1fr; }
  .about-band-inner     { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-band-right     { border-left: none; padding-left: 0; padding-top: var(--sp-5); border-top: 1px solid var(--lh-border); }
  .about-grid           { grid-template-columns: 1fr; }
  .about-sidebar        { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
  .archive-item         { grid-template-columns: 90px 1fr 100px; gap: var(--sp-3); }
}

/* ============================================================
   RESPONSIVE: Mobile (max 600px)
   ============================================================ */

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --sp-16:  80px;
    --sp-12:  64px;
    --nav-h:  60px;
  }

  /* Nav: hide desktop links and subscribe button; show hamburger */
  .nav-links    { display: none; }
  .nav-right    { display: none; }
  .nav-menu-btn { display: flex; }

  /* Hero */
  .hero-hawk    { display: none; }

  .hero {
    padding-top: calc(var(--nav-h) + var(--sp-10));
    padding-bottom: var(--sp-10);
  }

  /* Touch targets — btn-link is padding:0 by default; inline-flex+min-height gives 44px tap area */
  .btn-link { min-height: 44px; }

  /* Headline: switch Wide → Regular on mobile; Regular is narrower so min can increase */
  .hero-headline {
    font-family: 'LH-Display', sans-serif;
    font-size: clamp(30px, 8.5vw, 44px);
  }
  .hero-subline          { font-size: 16px; }

  /* Subscribe page headline */
  .subscribe-hero-headline { font-size: clamp(30px, 8.5vw, 56px); }
  .subscribe-hero-body     { font-size: 16px; }

  /* Section titles: reduce minimum for display-font headings */
  .section-title         { font-size: clamp(28px, 7.5vw, 44px); }

  /* Hero subscribe form (index.html): stack vertically, equal heights */
  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input[type="email"],
  .subscribe-form .btn-primary {
    width: 100%;
    height: 52px;
  }

  /* Subscribe page form (subscribe.html): explicit height match on mobile.
     Base sets both to 56px in separate rules; .btn-primary retains
     padding:14px which can cause visual discrepancy. Override both here. */
  .subscribe-form-centered input[type="email"],
  .subscribe-form-centered .btn-primary {
    height: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Pull quote: reduce minimum, centered text wraps cleanly */
  .pull-quote-text  { font-size: clamp(22px, 7vw, 34px); }

  /* Hero meta: wrap to second row if needed (borderline width at 375px) */
  .hero-meta { flex-wrap: wrap; }

  /* About band */
  .about-band-inner    { gap: var(--sp-6); }
  .about-band-stat-row { gap: var(--sp-4); }

  /* About body headings: reduce spacing from 64px+48px to 40px+24px on mobile */
  .about-body h2 {
    margin-top: var(--sp-5);
    padding-top: var(--sp-3);
  }

  /* Edition cards: reduce padding on narrow screens */
  .edition-card {
    padding: var(--sp-4);
    padding-left: calc(var(--sp-4) - 3px);
  }
  .edition-card-num { font-size: 64px; }

  /* Archive */
  .archive-item {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  .archive-date-col {
    text-align: left;
    flex-direction: row;
    gap: var(--sp-3);
    align-items: center;
  }

  /* About sidebar and subscribe format cards */
  .about-sidebar         { grid-template-columns: 1fr; }
  .edition-format-grid   { grid-template-columns: 1fr; }

  /* Format cards: tighter padding on mobile */
  .format-card {
    padding: var(--sp-3);
    padding-left: calc(var(--sp-3) - 3px);
  }

  /* About page blockquote */
  .about-body blockquote { padding: var(--sp-3) var(--sp-4); }

  /* Subscribe trust badges */
  .subscribe-trust { flex-direction: column; align-items: center; gap: var(--sp-2); }

  /* Footer */
  .footer-inner   { flex-direction: column; gap: var(--sp-5); }
  .footer-bottom  { flex-direction: column; gap: var(--sp-2); text-align: center; }
}
