/* ============================================================
   The Easton Way — page-specific styles for index.html
   Composes on top of site-styles.css (production website CSS)
   ============================================================ */

:root {
  --hwb-navy: #0F172A;
  --hwb-navy-deep: #0B1224;
  --hwb-gold: #E0B74A;
  --hwb-gold-soft: rgba(224, 183, 74, 0.12);
  --hwb-zinc-50: #FAFAFA;
  --hwb-zinc-100: #F4F4F5;
  --hwb-zinc-200: #E4E4E7;
  --hwb-zinc-400: #A1A1AA;
  --hwb-zinc-500: #71717A;
  --hwb-zinc-600: #52525B;
  --hwb-zinc-700: #3F3F46;
  --hwb-ink: #18181B;
  --hwb-red: #DC2626;
  --hwb-red-soft: rgba(220, 38, 38, 0.08);
  --hwb-red-border: rgba(220, 38, 38, 0.25);
}

/* ============== HERO ============== */
.hwb-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hwb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hwb-hero-text { position: relative; z-index: 1; }
.hwb-hero .section-headline {
  text-align: left;
  max-width: none;
  margin-bottom: 22px;
}
.hwb-hero .hero-subheadline {
  text-align: left;
  max-width: 540px;
  margin-bottom: 32px;
}
.hwb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.hwb-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid var(--hwb-zinc-200);
}
.hwb-hero-meta-num {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--hwb-ink);
  margin-bottom: 6px;
}
.hwb-hero-meta-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hwb-zinc-500);
}

.hwb-hero-art {
  position: relative;
  z-index: 1;
}
.hwb-hero-art-frame {
  border-radius: 18px;
  background: linear-gradient(140deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px -20px rgba(15, 23, 42, 0.35), 0 8px 24px -8px rgba(15, 23, 42, 0.18);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.hwb-hero-art .hwb-hero-art-frame.has-diagram {
  padding: 0;
  background: #0A1628;
  border-color: rgba(255, 255, 255, 0.08);
}
.hwb-hero-art-placeholder {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  max-width: 240px;
  line-height: 1.5;
}

/* ============== BUTTONS ============== */
.hwb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.hwb-btn-lg { padding: 16px 28px; font-size: 15.5px; }
.hwb-btn-primary {
  background: var(--hwb-navy);
  color: #ffffff;
}
.hwb-btn-primary:hover {
  background: #1E293B;
  transform: translateY(-1px);
  text-decoration: none;
}
.hwb-btn-ghost {
  background: transparent;
  color: var(--hwb-ink);
  border-color: var(--hwb-zinc-200);
}
.hwb-btn-ghost:hover {
  background: var(--hwb-zinc-100);
  border-color: var(--hwb-zinc-400);
  text-decoration: none;
}
.hwb-btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.hwb-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

/* ============== TIMELINE STRIP ============== */
.hwb-strip {
  padding: 64px 0 32px;
  background: var(--hwb-zinc-50);
  border-top: 1px solid var(--hwb-zinc-200);
  border-bottom: 1px solid var(--hwb-zinc-200);
}
.hwb-strip-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.hwb-strip-title {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--hwb-ink);
  margin: 0;
  text-wrap: balance;
}
.hwb-strip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hwb-strip-list li {
  background: #ffffff;
  border: 1px solid var(--hwb-zinc-200);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.hwb-strip-num {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 12px;
  color: var(--hwb-zinc-500);
  letter-spacing: -0.005em;
}
.hwb-strip-name {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hwb-ink);
  line-height: 1.3;
}
.hwb-strip-gate {
  margin-top: 4px;
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hwb-red);
}

/* ============== PHASE BLOCK (alternating L/R) ============== */
.hwb-phase {
  padding: 88px 0;
  position: relative;
}
.hwb-phase:nth-of-type(even) {
  background: var(--hwb-zinc-50);
}
.hwb-phase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hwb-phase-reverse .hwb-phase-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.hwb-phase-reverse .hwb-phase-text { order: 2; }
.hwb-phase-reverse .hwb-phase-art { order: 1; }

.hwb-phase-num {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--hwb-navy);
  line-height: 1;
  margin-bottom: 14px;
}
.hwb-phase-name {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--hwb-ink);
  margin: 0 0 6px;
  text-wrap: balance;
}
.hwb-phase-sub {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 13px;
  color: var(--hwb-zinc-500);
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}
.hwb-phase-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hwb-zinc-700);
  margin: 0 0 14px;
}
.hwb-phase-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hwb-zinc-200);
}
.hwb-phase-meta-label {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hwb-zinc-500);
  margin-bottom: 12px;
}
.hwb-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hwb-bullets li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--hwb-ink);
  padding-left: 18px;
  position: relative;
}
.hwb-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hwb-navy);
}

.hwb-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  margin-left: 8px;
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  vertical-align: middle;
}
.hwb-tag-gate {
  background: var(--hwb-red-soft);
  color: var(--hwb-red);
  border: 1px solid var(--hwb-red-border);
}

/* Image frame inside phases */
.hwb-phase-art { margin: 0; }
.hwb-phase-art-frame {
  border-radius: 16px;
  background: linear-gradient(140deg, #F4F4F5 0%, #E4E4E7 100%);
  border: 1px solid var(--hwb-zinc-200);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.18);
}
.hwb-phase-art-placeholder {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hwb-zinc-500);
  text-align: center;
  max-width: 240px;
  line-height: 1.5;
}

/* ============== HARD GATES BAND (full-bleed navy) ============== */
.hwb-gates {
  background: var(--hwb-navy);
  color: #ffffff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.hwb-gates-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(224, 183, 74, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hwb-gates .container { position: relative; z-index: 1; }
.hwb-gates .section-eyebrow { color: rgba(255, 255, 255, 0.55); }
.hwb-gates-title {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 18px;
  max-width: 760px;
  text-wrap: balance;
}
.hwb-gates-lede {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 0 56px;
}
.hwb-gates-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hwb-gates-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px 34px;
  position: relative;
}
.hwb-gates-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--hwb-red), transparent);
  border-radius: 2px;
}
.hwb-gates-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 100px;
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FCA5A5;
  margin-bottom: 18px;
}
.hwb-gates-card-title {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hwb-gates-card-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ============== CTA ============== */
.hwb-cta {
  background: linear-gradient(180deg, #0B1224 0%, #0F172A 100%);
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hwb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(224, 183, 74, 0.10) 0%, transparent 55%);
  pointer-events: none;
}
.hwb-cta-title {
  font-family: var(--font-heading, 'Geist', sans-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 auto 18px;
  max-width: 640px;
  position: relative;
  text-wrap: balance;
}
.hwb-cta-body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
}
.hwb-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
}
.hwb-cta .hwb-btn-primary {
  background: #ffffff;
  color: var(--hwb-navy);
}
.hwb-cta .hwb-btn-primary:hover {
  background: var(--hwb-zinc-100);
}

/* ============== MOBILE ============== */
@media (max-width: 1024px) {
  .hwb-hero {
    padding: 130px 0 72px;
  }
  .hwb-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hwb-phase-row {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .hwb-phase-reverse .hwb-phase-text { order: 1; }
  .hwb-phase-reverse .hwb-phase-art { order: 2; }
  .hwb-strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hwb-gates-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hwb-hero { padding: 110px 0 56px; }
  .hwb-hero-meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hwb-hero-meta-num { font-size: 30px; }
  .hwb-phase { padding: 64px 0; }
  .hwb-phase-num { font-size: 40px; }
  .hwb-phase-meta {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hwb-gates { padding: 80px 0; }
  .hwb-gates-card { padding: 26px 24px; }
  .hwb-cta { padding: 80px 0; }
  .hwb-strip-list { grid-template-columns: 1fr; }
}
