/*
 * ============================================================
 * SERRA — FINANCING DEDUCTIONS (CGF)
 * Requires: serra-base.css
 * File:     financing-deductions.html
 * ============================================================
 *
 * TABLE OF CONTENTS
 * 1. Page Hero — two-col with metric blocks
 * 2. Body Sections — two-col content
 * 3. Fit Items
 * 4. Strategy Compatibility Band (contrast)
 * 5. Risk Section
 * 6. Timing Band (contrast)
 * 7. Execution Steps
 * 8. Closing CTA
 * ============================================================
 */


/* ============================================================
   SEMANTIC TOKENS — financing page only
   ============================================================ */

:root {
  --positive: #3B6D11;
  --negative: #A32D2D;
}


/* ============================================================
   1. PAGE HERO — two-col, metric blocks on right
   ============================================================ */

.page-hero {
  border-bottom: 0.5px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.hero-left {
  padding: 4.5rem 4rem 4.5rem var(--page-gutter);
  border-right: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Two-line eyebrow — strategy category above, tier below */
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
}

.hero-eyebrow-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: block;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-deck {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 3rem;
}

.hero-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid var(--sage);
  background: transparent;
  padding: 14px 30px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  align-self: flex-start;
}

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

/* Right column: scenario metrics */
.hero-right {
  padding: 4.5rem var(--page-gutter) 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-block {
  padding: 1.75rem 0;
  border-bottom: 0.5px solid var(--border-light);
}

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

.metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-primary);
}

.metric-value.positive { color: var(--positive); }
.metric-value.gold     { color: var(--gold); }
.metric-value.word     { font-size: 24px; }

.metric-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.scenario-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border-light);
}


/* ============================================================
   2. BODY SECTIONS — two-col content layout
   ============================================================ */

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

.body-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--page-gutter);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.col-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  display: block;
}

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

.body-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.body-text:last-child {
  margin-bottom: 0;
}


/* ============================================================
   3. FIT ITEMS — bullet-style fit indicators
   ============================================================ */

.fit-col-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.fit-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

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

/* Filled dot = good fit, muted dot = not a fit */
.fit-marker {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 6px;
}

.fit-marker.no {
  background: rgba(20, 24, 20, 0.22);
}

.fit-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}


/* ============================================================
   4. STRATEGY COMPATIBILITY BAND — sage contrast
   ============================================================ */

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

.compat-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--page-gutter);
}

.compat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--contrast-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.compat-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--contrast-text);
  margin-bottom: 0.75rem;
  max-width: 640px;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border-contrast);
}

.compat-item {
  padding: 1.75rem var(--page-gutter) 1.75rem 0;
  border-bottom: 0.5px solid var(--border-contrast);
  border-right: 0.5px solid var(--border-contrast);
}

.compat-item:nth-child(even) {
  padding: 1.75rem 0 1.75rem var(--page-gutter);
  border-right: none;
}

.compat-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.compat-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--contrast-text);
  margin-bottom: 0.4rem;
}

.compat-item-desc {
  font-size: 13px;
  color: var(--contrast-body);
  line-height: 1.6;
}


/* ============================================================
   5. RISK SECTION — two-col
   ============================================================ */

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

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

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

.risk-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 0.5px solid var(--sage);
  padding-bottom: 1px;
  transition: opacity 0.2s;
  display: inline-block;
  margin-top: 1.5rem;
}

.risk-link:hover {
  opacity: 0.7;
}


/* ============================================================
   6. TIMING BAND — sage contrast, three-col
   ============================================================ */

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

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

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

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

.timing-item:nth-child(2) {
  padding-left: 3rem;
}

.timing-item-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--contrast-body);
  margin-bottom: 0.6rem;
  opacity: 0.75;
}

.timing-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--contrast-text);
  line-height: 1.4;
}


/* ============================================================
   7. EXECUTION STEPS — five-col grid
   ============================================================ */

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

.execution-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--page-gutter);
}

.execution-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border-light);
  margin-top: 2rem;
}

.execution-item {
  padding: 2rem 2rem 2rem 0;
  border-right: 0.5px solid var(--border-light);
}

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

.execution-item:not(:first-child) {
  padding-left: 2rem;
}

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

.execution-text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}

/* Legal disclaimer beneath execution steps */
.page-disclaimer {
  padding: 2rem 0 0;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
}


/* ============================================================
   8. CLOSING CTA
   ============================================================ */

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

.closing-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--page-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.closing-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  color: var(--text-primary);
  max-width: 560px;
}

.closing-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid var(--sage);
  background: transparent;
  padding: 15px 32px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  flex-shrink: 0;
}

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