/* =====================================================================
   OUCH USA × JO Law Group — Settlement Profit-Share Vehicle (v2)
   Brand mirrors the original OUCH/JO Law deck: cream paper, warm gold
   accents, Cormorant Garamond serif headers, Inter body.
   ===================================================================== */

:root {
  --cream:        #fdfaf2;
  --cream-card:   #f5e9d0;     /* sandstone accent boxes */
  --cream-soft:   #faf3e3;
  --paper-edge:   #efe5cc;
  --ink:          #3c2e1f;     /* warm dark brown */
  --ink-soft:     #6a5340;
  --gold:         #c89b3c;
  --gold-dark:    #a68031;
  --gold-pale:    #e9d49a;
  --rule:         rgba(60, 46, 31, 0.16);
  --shadow-card:  0 18px 40px -18px rgba(60, 46, 31, 0.22),
                  0 4px 12px -6px rgba(60, 46, 31, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

main {
  scroll-snap-type: y mandatory;
  scroll-snap-stop: always;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.slide {
  scroll-snap-align: start;
  min-height: 100vh;
  width: 100vw;
  padding: 72px 80px;
  position: relative;
  display: flex;
  align-items: center;
}
.slide-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.slide-num {
  position: absolute;
  top: 28px;
  right: 36px;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  opacity: 0.7;
}

h1, h2, h3, h4, .serif {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05; margin: 0 0 12px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1;  margin: 0 0 18px; }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin: 0 0 10px; }
h4 { font-size: 19px; line-height: 1.3;  margin: 0 0 6px; }

p, li { font-size: 16.5px; line-height: 1.65; color: var(--ink); }
p.lead { font-size: 19px; color: var(--ink-soft); max-width: 820px; }
p.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

strong { color: var(--ink); font-weight: 600; }

ul.bullets { padding-left: 18px; margin: 8px 0; }
ul.bullets li { margin-bottom: 6px; }

/* ============ HERO ============ */
.hero {
  background:
    linear-gradient(135deg, var(--cream) 0%, var(--cream-soft) 100%);
}
.hero .slide-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, #f4cf83 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, #c89b3c 0%, transparent 50%),
    linear-gradient(180deg, #8b5a2a 0%, #b8814a 100%);
  box-shadow: var(--shadow-card);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.25) 100%),
    repeating-linear-gradient(180deg, transparent 0 19%, rgba(255,255,255,0.04) 19% 20%);
}
.hero-visual::after {
  content: "Arizona ABS";
  position: absolute;
  bottom: 22px; left: 26px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: rgba(255, 240, 210, 0.85);
  letter-spacing: 0.04em;
}
.hero-text h1 {
  font-size: clamp(44px, 5.2vw, 64px);
}
.hero-text .subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ============ 3-COL CARD GRID ============ */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: var(--cream-card);
  border-radius: 10px;
  padding: 28px 26px;
  position: relative;
  box-shadow: 0 2px 10px -6px rgba(60,46,31,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.card h3 { color: var(--ink); }
.card p  { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

/* ============ 3-COL PLAIN (no card) ============ */
.col-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 28px;
}
.col-grid-3 h3 { color: var(--ink); margin-bottom: 12px; }
.col-grid-3 p  { color: var(--ink-soft); }

/* ============ WATERFALL (7-step) ============ */
.waterfall { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.waterfall-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 22px;
  background: var(--cream-card);
  border-radius: 8px;
  padding: 14px 22px;
  min-height: 70px;
}
.waterfall-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--gold-dark);
  text-align: center;
}
.waterfall-body h4 { margin: 0 0 2px; color: var(--ink); }
.waterfall-body p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }

/* ============ 2-COL ASSUMPTIONS / NUMBERS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 28px;
  align-items: start;
}
.two-col h3 { color: var(--ink); margin-bottom: 14px; }
.two-col .num-list { list-style: none; padding: 0; margin: 0; }
.two-col .num-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.two-col .num-list li:last-child { border-bottom: none; }
.two-col .num-list strong { display: block; font-size: 13px; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 2px; }
.two-col .num-list em { color: var(--ink); font-style: normal; font-weight: 500; }

/* ============ INVESTMENT TERMS — 3 NUMBERED CARDS ============ */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.term-card {
  background: var(--cream-soft);
  border: 1px solid var(--paper-edge);
  border-top: none;
  border-radius: 8px;
  padding: 32px 26px 26px;
  position: relative;
}
.term-card .badge {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 4px 8px -2px rgba(60,46,31,0.25);
}
.term-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 3px;
  background: var(--gold-dark);
  border-radius: 8px 8px 0 0;
}
.term-card h3 { font-size: 22px; margin-bottom: 14px; text-align: center; }
.term-card .term-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
}
.term-card .term-line:last-of-type { border-bottom: none; }
.term-card .term-line .k { color: var(--ink-soft); }
.term-card .term-line .v { color: var(--ink); font-weight: 600; text-align: right; }
.term-card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 6px 0; }
.term-card .accent {
  background: var(--cream-card);
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink);
}

/* phase-flip diagram (Phase 1 → Phase 2 visual) */
.phase-flip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin: 26px 0 8px;
  align-items: stretch;
}
.phase {
  background: var(--cream-card);
  border-radius: 8px;
  padding: 18px 20px;
  position: relative;
  border: 1px solid var(--paper-edge);
}
.phase .phase-label {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.phase h4 { font-size: 17px; margin: 0 0 6px; }
.phase .split {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phase .split small { font-size: 13px; color: var(--ink-soft); margin-left: 6px; font-family: Inter; font-weight: 500; letter-spacing: 0.04em; }
.phase p { font-size: 13.5px; line-height: 1.45; margin: 8px 0 0; color: var(--ink-soft); }
.phase-arrow {
  align-self: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: var(--gold-dark);
  padding: 0 4px;
}

/* ============ CALLOUT (gold strip) ============ */
.callout {
  background: var(--cream-card);
  border-left: 4px solid var(--gold-dark);
  padding: 18px 22px;
  margin-top: 32px;
  border-radius: 0 6px 6px 0;
  font-size: 16px;
}
.callout strong { font-weight: 600; }

/* ============ NEXT STEPS / CTA ============ */
.next-steps-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.headline-block .keyword-stack {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.steps-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.step {
  border-top: 2px solid var(--gold-dark);
  padding-top: 10px;
}
.step .step-num {
  font-family: Inter; font-size: 13px; letter-spacing: 0.18em;
  color: var(--gold-dark); font-weight: 700; margin-bottom: 4px;
}
.step h4 { margin: 0 0 4px; }
.step p  { margin: 0; color: var(--ink-soft); font-size: 15px; }

.cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.btn.primary {
  background: var(--ink);
  color: var(--cream);
}
.btn.primary:hover { background: var(--gold-dark); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--cream-card); }
.btn.gold {
  background: var(--gold-dark);
  color: var(--cream);
}
.btn.gold:hover { background: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ============ DOT NAV ============ */
.dotnav {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}
.dotnav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(60, 46, 31, 0.22);
  display: block;
  transition: background 160ms ease, transform 160ms ease;
}
.dotnav a:hover { background: var(--gold-dark); transform: scale(1.2); }
.dotnav a.active { background: var(--gold-dark); transform: scale(1.3); }

/* ============ DISCLAIMER FOOTER ============ */
.disclaimer {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0.85;
}
.disclaimer strong { color: var(--ink); }

/* ============ PRINT ============ */
@media print {
  @page { size: 11in 8.5in; margin: 0.5in; }
  main { scroll-snap-type: none; height: auto; overflow: visible; }
  .slide { min-height: auto; padding: 36px 40px; page-break-after: always; align-items: flex-start; }
  .slide:last-child { page-break-after: avoid; }
  .dotnav { display: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .slide { padding: 56px 32px; }
  .hero .slide-inner,
  .next-steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid-3, .col-grid-3, .terms-grid { grid-template-columns: 1fr; }
  .phase-flip { grid-template-columns: 1fr; }
  .phase-arrow { transform: rotate(90deg); padding: 4px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .dotnav { display: none; }
}
