/* ============================================================
   Lintel — Site Stylesheet
   Dark direction: Deep Charcoal base, Warm Taupe/Gold accents
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================================ */

:root {
  --charcoal: #1A1A1A;
  --charcoal-2: #211F1D;
  --charcoal-3: #282522;
  --gold: #C9A876;
  --gold-dim: rgba(201, 168, 118, 0.55);
  --forest: #2D5A3D;
  --ivory: #F5F3F0;
  --gray: #9A968F;
  --gray-dim: #6E6A64;
  --border: rgba(201, 168, 118, 0.16);
  --border-soft: rgba(245, 243, 240, 0.08);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle architectural grid backdrop */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201, 168, 118, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 168, 118, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 85%);
}

::selection { background: var(--gold); color: var(--charcoal); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }

p { color: var(--gray); }
strong { color: var(--ivory); font-weight: 600; }
em { color: var(--ivory); }

a { color: var(--ivory); text-decoration: none; }

.gold { color: var(--gold); }

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--charcoal-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p.lead { margin-top: 18px; font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  border: none;
}
.brand svg { width: 54px; height: auto; display: block; }
.brand-word {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.42em;
  color: var(--ivory);
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s ease;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-links a.nav-cta {
  color: var(--charcoal);
  background: var(--gold);
  padding: 11px 22px;
  border-radius: 3px;
  font-weight: 600;
  border-bottom: none;
  transition: background 0.2s ease;
}
.nav-links a.nav-cta:hover { background: #D8BC90; color: var(--charcoal); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 3px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #D8BC90; transform: translateY(-1px); }
.btn-ghost { border-color: var(--gold-dim); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 168, 118, 0.08); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 130px 0 110px;
  position: relative;
  z-index: 1;
}
.hero .kicker { margin-bottom: 28px; }
.hero h1 { max-width: 880px; }
.hero .sub {
  margin-top: 28px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.75;
}
.hero .btn-row { margin-top: 44px; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--gray-dim); letter-spacing: 0.04em; }

/* Beam ornament */
.beam {
  display: block;
  width: 96px;
  height: 20px;
  margin-bottom: 34px;
}
.beam line { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--charcoal-2);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--gold-dim);
  border-radius: 4px;
  padding: 32px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-top-color: var(--gold); transform: translateY(-3px); }
.card h3 { margin-bottom: 12px; color: var(--ivory); }
.card h3 .num {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 10px;
}
.card p { font-size: 15px; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li {
  font-size: 14.5px;
  color: var(--gray);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.section.alt .card { background: var(--charcoal); }

/* ---------- Quote band ---------- */
.quote-band {
  padding: 90px 0;
  background: var(--charcoal-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ivory);
  max-width: 860px;
  margin: 0 auto;
}
.quote-band blockquote .gold { font-style: normal; }
.quote-band .attribution {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Spectrum table ---------- */
.spectrum { overflow-x: auto; }
.spectrum table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.spectrum th, .spectrum td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  font-size: 15px;
}
.spectrum thead th {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 2px solid var(--gold-dim);
  padding-bottom: 14px;
}
.spectrum tbody th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  width: 130px;
}
.spectrum td { color: var(--gray); }
.spectrum td strong { color: var(--ivory); }

/* ---------- Steps (numbered plan) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--charcoal-2);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 36px 30px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-heading);
  font-size: 54px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  display: block;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ---------- Split (two-column) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split .kicker { margin-bottom: 18px; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 16px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li {
  padding: 14px 0 14px 36px;
  position: relative;
  color: var(--gray);
  border-bottom: 1px solid var(--border-soft);
  font-size: 15.5px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li strong { display: block; color: var(--ivory); margin-bottom: 2px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---------- Stakes list (failure) ---------- */
.stakes li::before { background: var(--gray-dim); }

/* ---------- Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--charcoal-2);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(201,168,118,0.07) 0%, var(--charcoal-2) 40%);
}
.price-card .tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .who { font-size: 13.5px; color: var(--gray-dim); margin-bottom: 24px; }
.price-card .price {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  color: var(--ivory);
}
.price-card .price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.price-card ul { list-style: none; margin: 26px 0 32px; flex: 1; }
.price-card ul li {
  padding: 9px 0 9px 24px;
  position: relative;
  font-size: 14.5px;
  color: var(--gray);
  border-bottom: 1px solid var(--border-soft);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.price-card .btn { text-align: center; }

/* ---------- Big CTA ---------- */
.cta-band {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(201,168,118,0.12) 0%, transparent 60%),
    var(--charcoal-2);
  border-top: 1px solid var(--border-soft);
}
.cta-band h2 { max-width: 700px; margin: 0 auto 18px; }
.cta-band p { max-width: 560px; margin: 0 auto; font-size: 17px; }
.cta-band .btn-row { justify-content: center; margin-top: 40px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-grid .brand { margin-bottom: 18px; }
.foot-tag {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 17px;
  color: var(--gray);
  max-width: 300px;
}
.foot-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 14px; color: var(--gray); transition: color 0.2s ease; }
.foot-col a:hover { color: var(--ivory); }
.foot-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-dim);
}
.foot-bottom a { color: var(--gray-dim); }
.foot-bottom a:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn-gold:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards.c3, .cards.c4, .cards.c5 { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 60;
    background: #1A1A1A;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 28px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 13px; }
  .nav-links a.nav-cta { display: inline-block; margin-top: 12px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding: 90px 0 76px; }
  .cards.c2, .cards.c3, .cards.c4, .cards.c5 { grid-template-columns: 1fr; }
  .wrap { padding: 0 22px; }
  .brand-word { font-size: 18px; letter-spacing: 0.34em; }
  .brand svg { width: 44px; }
}
