/*
 * ============================================================
 * SERRA — HOMEPAGE
 * Requires: serra-base.css
 * File:     index.html
 * ============================================================
 *
 * TABLE OF CONTENTS
 * 1. Hero
 * 2. Stats Band
 * 3. Gap Section (W2 problem explainer)
 * 4. Pillars Band (contrast)
 * 5. Closing CTA
 * ============================================================
 */


/* ============================================================
   1. HERO
   ============================================================ */

.hero {
  position: relative;
  background: var(--contrast-bg);
  padding: 7rem 0 6rem;
  border-bottom: 0.5px solid var(--border-contrast);
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--contrast-gold);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 52px;
  line-height: 1.2;
  color: var(--contrast-text);
  margin-bottom: 2.25rem;
  max-width: 680px;
}

.hero-subhead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--contrast-body);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-qualifier {
  font-size: 14px;
  font-weight: 400;
  color: var(--contrast-body);
  line-height: 1.65;
  max-width: 480px;
  margin: 1.5rem 0 2rem 0;
}

.btn-outline {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid var(--sage);
  background: transparent;
  padding: 15px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(122, 140, 112, 0.08);
}


/* ============================================================
   2. STATS BAND
   ============================================================ */

.stats-band {
  border-bottom: 0.5px solid var(--border);
}

.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-item {
  padding: 3rem;
  border-right: 0.5px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-number.gold  { color: var(--gold); }
.stat-number.sage  { color: var(--sage); }

.stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-ui);
  line-height: 1.5;
}


/* ============================================================
   3. GAP SECTION — W2 problem explainer
   ============================================================ */

.gap-section {
  border-bottom: 0.5px solid var(--border);
}

.gap-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 6rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.75rem;
}

.gap-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.gap-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.gap-italic {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.5;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 0.5px solid var(--border);
}

/* Trigger list — tax event / consequence pairs */
.triggers-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trigger-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 0.5px solid var(--border-light);
  align-items: baseline;
}

.trigger-item:first-child {
  border-top: 0.5px solid var(--border-light);
}

.trigger-event {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trigger-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.trigger-consequence {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ============================================================
   4. PILLARS BAND — contrast background, three-col grid
   ============================================================ */

.pillars {
  background: var(--contrast-bg);
  border-bottom: 0.5px solid var(--border);
}

.pillars-inner {
  padding: 5rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillars .section-label {
  color: var(--contrast-body);
  margin-bottom: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar-item {
  padding: 2rem 2.5rem 2rem 0;
  border-right: 0.5px solid var(--border-contrast);
}

.pillar-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 2.5rem;
}

.pillar-item:nth-child(2) {
  padding-left: 2.5rem;
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--contrast-gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
}

.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--contrast-text);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.pillar-body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--contrast-body);
  line-height: 1.8;
}


/* ============================================================
   5. CLOSING CTA
   ============================================================ */

.closing-cta {
  background: var(--sage-ground);
  border-bottom: 0.5px solid var(--border);
}

.closing-cta-inner {
  padding: 7rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.closing-cta-content {
  max-width: 640px;
}

.closing-cta .section-label {
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.closing-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.btn-outline-light {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F0F2EE;
  border: 0.5px solid rgba(240, 242, 238, 0.6);
  background: transparent;
  padding: 15px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}

.btn-outline-light:hover {
  background: rgba(240, 242, 238, 0.08);
  border-color: rgba(240, 242, 238, 0.9);
}
