/* =========================================================================
   REAL LAND OFFER, INC. — Brand Stylesheet
   Real People. Real Offers. Real Simple.
   Palette: Forest/Money Green · Antique Gold · Paper White
   ========================================================================= */

/* ---------- 1. DESIGN TOKENS — the "engraved document" palette ---------- */
:root {
  /* Paper / cream — backgrounds */
  --paper:      #F6F1E4;  /* default page background */
  --paper-deep: #EEE7D3;  /* alternating section background */
  --card:       #FCFAF2;  /* cards, form fields, raised surfaces */

  /* Ink — text on paper */
  --ink:        #1E2D22;  /* primary body + headline text on cream */
  --ink-soft:   #4A5847;  /* secondary text, captions, meta */

  /* Forest green — anchors + green text on cream */
  --green-950:  #0F2117;  /* darkest; hero base, footer, gradient bottoms */
  --green-900:  #16301F;  /* dark section background (gradient top) */
  --green-800:  #1E3D2A;  /* primary green buttons; headings on cream */
  --green-700:  #2A523A;  /* hover for green; links on cream */
  --green-100:  #DCE5DA;  /* very light green tint (rare) */

  /* Antique gold — accents only, never large fills */
  --gold-text:  #7E621B;  /* small gold TEXT on cream */
  --gold:       #B08E33;  /* rules, borders, icon strokes, focus */
  --gold-bright:#C9A84C;  /* gold button gradient top, highlights */
  --gold-pale:  #E2CE95;  /* gold text/numbers on DARK green */
  --gold-on-green:#D9BE77;/* eyebrows/labels/accents on DARK green */
  --ink-on-gold:#14230B;  /* dark ink text on gold CTAs */

  /* Hairlines */
  --rule:      rgba(30, 45, 34, 0.16);
  --rule-gold: rgba(176, 142, 51, 0.38);

  /* --- Legacy aliases (existing components resolve to the new palette) --- */
  --forest-900: var(--green-950);
  --forest-800: var(--green-800);
  --forest-700: var(--green-700);
  --forest-600: var(--green-700);
  --money-500:  var(--green-700);
  --money-400:  var(--green-700);
  --gold-700: var(--gold-text);
  --gold-600: var(--gold-text);
  --gold-500: var(--gold);
  --gold-400: var(--gold-on-green);
  --gold-300: var(--gold-pale);
  --paper-50:  var(--card);
  --paper-100: var(--paper);
  --paper-200: var(--paper-deep);
  --paper-300: #E3D8BD;
  --ink-700:   var(--ink-soft);
  --ink-500:   #5E6B5B;

  /* Functional */
  --bg:          var(--paper);
  --bg-alt:      var(--card);
  --text:        var(--ink);
  --text-soft:   var(--ink-soft);
  --line:        var(--rule);

  /* Gradients */
  --grad-gold:   linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  --grad-forest: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);
  --grad-money:  linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);

  /* Type */
  --font-display: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --font-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-latin:   "Libre Caslon Text", "Iowan Old Style", Georgia, serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --radius: 8px;
  --radius-lg: 10px;
  --shadow-soft: 0 2px 6px rgba(30,45,34,0.06), 0 14px 34px rgba(30,45,34,0.08);
  --shadow-lift: 0 4px 10px rgba(30,45,34,0.10), 0 22px 48px rgba(30,45,34,0.14);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: var(--shadow-lift);
  --shadow-lg: 0 30px 80px rgba(30, 45, 34, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Phone */
  --phone: "(405) 500-2833";
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html.intro-locked { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest-800);
}

::selection { background: var(--gold-300); color: var(--forest-900); }

/* ---------- 3. UTILITIES ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.container-narrow { max-width: var(--container-narrow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 18px 0 18px; }
.section-head p { font-size: 1.12rem; color: var(--text-soft); }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.divider-stars {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-500); font-size: 0.8rem; margin: 10px 0;
}
.divider-stars::before, .divider-stars::after {
  content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-400));
}
.divider-stars::after { background: linear-gradient(90deg, var(--gold-400), transparent); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 6px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: var(--grad-gold); color: var(--ink-on-gold);
  box-shadow: 0 10px 26px rgba(176, 142, 51, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(176, 142, 51, 0.45), 0 0 26px rgba(201, 168, 76, 0.45); }
.btn-forest {
  background: var(--green-800); color: var(--paper);
  box-shadow: 0 10px 26px rgba(30, 45, 34, 0.3);
}
.btn-forest:hover { transform: translateY(-3px); background: var(--green-700); box-shadow: 0 10px 26px rgba(30, 45, 34, 0.3), 0 0 24px rgba(201, 168, 76, 0.4); }
.btn-ghost {
  background: transparent; color: var(--green-800);
  box-shadow: inset 0 0 0 2px rgba(30, 61, 42, 0.35);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--green-700), 0 0 22px rgba(201, 168, 76, 0.35); background: rgba(30,61,42,0.05); }
.btn-outline {
  background: transparent; color: var(--green-800);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.btn-outline:hover {
  transform: translateY(-3px); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--gold-bright), 0 0 24px rgba(201, 168, 76, 0.4), 0 10px 28px rgba(30, 45, 34, 0.12);
}
.btn-lg { padding: 19px 38px; font-size: 1.08rem; }

/* ---------- 5. NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 48px);
  background: var(--paper);
  border-bottom: 1px solid var(--rule-gold);
  transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(30, 45, 34, 0.1);
  padding-top: 10px; padding-bottom: 10px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 46px; transition: height 0.4s var(--ease); }
.nav.scrolled .nav__logo img { height: 40px; }
.nav__logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--forest-800); line-height: 1; }
.nav__logo-text span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--gold-600); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--forest-800); transition: color 0.2s; position: relative; white-space: nowrap; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--gold-500); transition: width 0.25s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest-800); font-size: 0.95rem; }
.nav__phone svg { width: 15px; height: 15px; flex: none; color: var(--gold-600); }
.nav__phone::after { display: none !important; }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 6px; background: var(--grad-gold); color: var(--ink-on-gold) !important; box-shadow: var(--shadow-sm); white-space: nowrap; font-size: 0.92rem; font-weight: 700; }
.nav__cta svg { width: 16px; height: 16px; flex: none; }
.nav__cta::after { display: none !important; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(176, 142, 51, 0.35); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--forest-800); border-radius: 2px; transition: 0.3s; }
@media (max-width: 1230px) { .nav__logo-text span { display: none; } }
@media (max-width: 1280px) and (min-width: 881px) { .nav__phone { display: none; } }

/* ============================================================
   6. HERO — trust at a glance (calm, clear, fast)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 78vh; display: flex; align-items: center;
  /* bottom padding runs heavier than top so the content rides high, clear of the belt seal */
  padding: clamp(110px, 14vh, 150px) 0 clamp(150px, 19vh, 230px);
  background: var(--green-950);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  /* golden-hour panorama: real photo occupies the right ~57%, team rides at ~77% of frame */
  background-image: image-set(
    url("../assets/img/hero-wide-3072.webp") 1x,
    url("../assets/img/hero-wide-5120.webp") 2x);
  background-position: 88% 55%; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@media (max-width: 760px) {
  .hero__bg {
    /* portrait crop: all three men fully in frame, no tight zoom */
    background-image: image-set(
      url("../assets/img/hero-mobile-800.webp") 1x,
      url("../assets/img/hero-mobile-1200.webp") 2x);
    background-position: 50% 62%;
  }
}
@keyframes heroDrift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,18,11,0.82) 0%, rgba(6,18,11,0.58) 42%, rgba(6,18,11,0.18) 78%, rgba(6,18,11,0.05) 100%),
    linear-gradient(180deg, rgba(6,18,11,0.35) 0%, rgba(6,18,11,0) 30%, rgba(6,18,11,0.15) 70%, rgba(6,18,11,0.55) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__kicker { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-300); margin-bottom: 22px; }
.hero__kicker::before, .hero__kicker::after { content: ""; width: 38px; height: 1.5px; background: var(--gold-500); flex: none; }
.hero__title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.12; max-width: 30ch; text-shadow: 0 3px 26px rgba(0,0,0,0.5); }
.hero__title .gold { color: var(--gold-400); }
.hero__sub { color: rgba(255,255,255,0.93); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65; max-width: 54ch; margin-top: 24px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__note { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-top: 18px; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; border-radius: 6px; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--gold-bright); box-shadow: 0 0 26px rgba(201, 168, 76, 0.45); transform: translateY(-2px); }

@media (max-width: 560px) {
  .hero { min-height: 82vh; text-align: left; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__title br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; } }

/* ===== Mobile sticky call bar ===== */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  background: var(--grad-forest); color: #fff; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 -6px 24px rgba(30,45,34,0.28);
}
.callbar svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 760px) { .callbar { display: flex; } }

/* ============================================================
   7. CONTENT SECTIONS
   ============================================================ */

/* trust bar under hero */
/* ---------- TRUST BELT (one continuous cream ribbon, gold lace, seal medallion) ---------- */
.belt { position: relative; padding: 0 0 clamp(66px, 6vw, 88px); --seal-gap: clamp(252px, 23.5vw, 334px); }
.belt__inner { position: relative; z-index: 3; max-width: none; padding-inline: clamp(18px, 4.5vw, 96px); }
.belt__ribbon {
  position: relative; margin-top: -74px;
  filter: drop-shadow(0 4px 6px rgba(30, 45, 34, 0.24)) drop-shadow(0 28px 44px rgba(30, 45, 34, 0.40));
}
.belt__band {
  height: 178px; position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 0 52px;
  background:
    linear-gradient(90deg, #A8862C 0%, #D9BE77 16%, #F0DFA6 30%, #C9A84C 50%, #8F7222 68%, #E2CE95 86%, #B08E33 100%) top / 100% 3px no-repeat,
    linear-gradient(90deg, #B08E33 0%, #E2CE95 14%, #8F7222 32%, #C9A84C 50%, #F0DFA6 70%, #D9BE77 84%, #A8862C 100%) bottom / 100% 3px no-repeat,
    url("../assets/img/ribbon-face.webp") center / 100% 100% no-repeat,
    linear-gradient(180deg, #FDFBF3 0%, #F6F0DE 55%, #EFE6CE 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 50%, 100% 100%, 0 100%, 34px 50%);
}
.belt__band::after {
  content: ""; position: absolute; inset: 6px 0; pointer-events: none;
  border-top: 1px solid rgba(176, 142, 51, 0.4);
  border-bottom: 1px solid rgba(176, 142, 51, 0.4);
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 45%);
}
.belt__seal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(222px, 21vw, 302px); z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(30, 45, 34, 0.35));
}
.belt__spacer { width: var(--seal-gap); }
.belt__deck--stats { flex: 1; display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; justify-items: center; position: relative; z-index: 1; padding-top: 9px; }
.belt__deck--creds {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr auto 1fr 1fr 1fr; align-items: center; justify-items: center;
  border-top: 1px solid rgba(176, 142, 51, 0.55); position: relative; z-index: 1;
}
.belt__deck--creds span { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 5px 11px; font-size: clamp(0.55rem, 0.62vw, 0.6rem); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.65), 0 1px 1px rgba(30, 45, 34, 0.22); }
.belt__deck--creds svg { width: 13px; height: 13px; flex: none; color: var(--gold); }
/* engraved gold badge marks — transparent line-work sits on the satin,
   struck like a coin: lit top edge, soft cast shadow below */
.belt-cred__badge {
  height: 37px; width: auto; display: block; flex: none;
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.75)) drop-shadow(0 2px 2px rgba(30, 45, 34, 0.35));
}
/* true BBB torch mark, painted gold via mask so it matches its stroke-icon neighbors */
.icon-bbb {
  display: inline-block; flex: none;
  background: var(--gold);
  -webkit-mask: url("../assets/img/bbb-mark.png") center / contain no-repeat;
  mask: url("../assets/img/bbb-mark.png") center / contain no-repeat;
}
.belt__deck--creds .icon-bbb { width: 13px; height: 13px; }
.belt__stat { text-align: center; padding: 0 6px; }
.belt__stat .n {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.9vw, 1.8rem); color: var(--green-800); line-height: 1;
  /* struck like a coin: lit top edge, soft cast shadow below */
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(30, 45, 34, 0.32);
}
.belt__stat .l {
  font-size: clamp(0.54rem, 0.62vw, 0.6rem); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(30, 45, 34, 0.72); margin-top: 4px;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.65), 0 1px 1px rgba(30, 45, 34, 0.22);
}
.belt + .section { padding-top: clamp(28px, 4vw, 46px); }
@media (max-width: 1100px) {
  .belt { padding-bottom: 26px; }
  .belt__ribbon { --sw: min(76vw, 470px); display: flex; flex-direction: column; align-items: center; margin-top: calc(var(--sw) * -0.26); }
  .belt__seal { position: static; transform: none; order: -1; width: calc(var(--sw) * 0.487); margin: 0 0 calc(var(--sw) * -0.44); z-index: 2; }
  /* a short ribbon lies across the shield behind the seal, tying the seal to the shield */
  .belt__ribbon::before {
    content: ""; position: absolute; z-index: 1;
    left: 50%; top: calc(var(--sw) * 0.2435); transform: translate(-50%, -50%);
    width: calc(var(--sw) * 1.16); height: calc(var(--sw) * 0.24);
    background:
      linear-gradient(90deg, #A8862C 0%, #D9BE77 16%, #F0DFA6 30%, #C9A84C 50%, #8F7222 68%, #E2CE95 86%, #B08E33 100%) top / 100% 3px no-repeat,
      linear-gradient(90deg, #B08E33 0%, #E2CE95 14%, #8F7222 32%, #C9A84C 50%, #F0DFA6 70%, #D9BE77 84%, #A8862C 100%) bottom / 100% 3px no-repeat,
      linear-gradient(rgba(176, 142, 51, 0.55), rgba(176, 142, 51, 0.55)) center / 100% 1px no-repeat,
      url("../assets/img/ribbon-face.webp") center / 100% 100% no-repeat,
      linear-gradient(180deg, #FDFBF3 0%, #F6F0DE 55%, #EFE6CE 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%, 15px 50%);
  }
  /* the ribbon becomes a heraldic shield: same foil-gold outline, satin face, seal as its crest;
     everything inside scales with the shield width so the crest fills at any size */
  .belt__band {
    width: var(--sw); height: auto; aspect-ratio: 400 / 565;
    padding: calc(var(--sw) * 0.475) 9% 0; clip-path: none;
    background: url("../assets/img/shield-belt.svg") center / 100% 100% no-repeat;
  }
  .belt__band::after { display: none; }
  .belt__deck--stats { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--sw) * 0.038) calc(var(--sw) * 0.0174); padding: 0 0 calc(var(--sw) * 0.032); }
  .belt__deck--creds { flex: none; display: grid; grid-template-columns: auto auto; justify-content: center; justify-items: start; gap: calc(var(--sw) * 0.024) calc(var(--sw) * 0.042); padding: calc(var(--sw) * 0.03) 0 0; margin-inline: calc(var(--sw) * -0.04); }
  .belt__deck--creds span { font-size: calc(var(--sw) * 0.028); flex-direction: row; gap: calc(var(--sw) * 0.016); padding: 0; }
  .belt__deck--creds svg { width: calc(var(--sw) * 0.035); height: calc(var(--sw) * 0.035); }
  .belt__deck--creds .belt-cred__badge { height: calc(var(--sw) * 0.05); }
  .belt__stat .n { font-size: calc(var(--sw) * 0.068); }
  .belt__stat .l { font-size: calc(var(--sw) * 0.028); }
  .belt__spacer { display: none; }
}

/* ---------- HERO TOPO LINES (left third of hero only) ---------- */
.hero__topo {
  position: absolute; left: 0; top: 0; bottom: 0;
  /* always overlaps the headline: left margin is (50vw - 680px), so this keeps ~620px beyond it */
  width: max(240px, calc(50vw - 60px));
  z-index: 1; pointer-events: none; opacity: 0.4;
  background: url("../assets/img/hero-topo.svg") left top / cover no-repeat;
  -webkit-mask-image: radial-gradient(135% 120% at 0% 38%, black 58%, transparent 74%);
          mask-image: radial-gradient(135% 120% at 0% 38%, black 58%, transparent 74%);
}
@media (max-width: 760px) { .hero__topo { display: none; } }

/* faded topographic map motif on light sections */
.topo-bg { position: relative; overflow: hidden; }
.topo-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../assets/img/contour-bg.jpg?v=3") center/cover no-repeat;
  opacity: 0.11; pointer-events: none;
}
.topo-bg > .container { position: relative; z-index: 1; }

/* intro statement after hero */
.welcome { background: var(--bg-alt); text-align: center; }
.welcome h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 14ch; margin: 18px auto 22px; }
.welcome p { font-size: 1.18rem; color: var(--text-soft); max-width: 60ch; margin: 0 auto; }
.welcome__photo { margin: 54px auto 0; max-width: 1000px; }
.welcome__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.welcome__photo figcaption { margin-top: 20px; font-family: var(--font-display); font-size: 1.15rem; color: var(--forest-700); }
.welcome__photo figcaption strong { color: var(--money-500); }

/* === REAL PEOPLE === */
.people { background: var(--bg); overflow: hidden; }
.people__grid {
  display: grid; grid-template-columns: 0.97fr 1.03fr;
  grid-template-areas: "photo copy" "welcome copy";
  column-gap: clamp(36px, 5vw, 72px); row-gap: clamp(28px, 3.2vw, 44px);
  align-items: start;
}
.people__photo { grid-area: photo; }
.people__copy { grid-area: copy; }
.people__photo { position: relative; }
.people__photo .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--paper-300);
}
.people__photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* name marks: below the frame, each under his man — miniature section-eyebrow emblems */
.people__photo { padding-bottom: 46px; }
.people__photo .ptag {
  position: absolute; bottom: 4px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-600); white-space: nowrap;
}
.ptag--will { left: 24%; }
.ptag--blake { left: 50%; }
.ptag--ari { left: 77%; }
.people__copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 16px 0 20px; }
.people__copy > p { font-size: 1.12rem; color: var(--text-soft); margin-bottom: 26px; }
.people__list { display: grid; gap: 18px; }
.people__list li { display: flex; gap: 16px; align-items: flex-start; }
/* same ring language as the step numerals: fine gold circle + offset hairline */
.people__list .ico {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(176, 142, 51, 0.35); outline-offset: 3px;
  display: grid; place-items: center;
  box-shadow: 0 2px 4px rgba(30, 45, 34, 0.22);
}
.people__list .ico svg { width: 22px; height: 22px; color: var(--gold-text); }
.people__list .ico img {
  width: 60%; height: 60%; object-fit: contain;
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.85)) drop-shadow(0 2px 2px rgba(30, 45, 34, 0.38)) drop-shadow(0 4px 6px rgba(30, 45, 34, 0.2));
}
.people__family {
  max-width: 1160px; margin: clamp(44px, 5.5vw, 70px) auto 0;
}
.people__family::before {
  content: ""; display: block;
  width: min(320px, 42%); height: 1px;
  background: var(--rule-gold);
  margin: 0 auto clamp(30px, 4vw, 44px);
}
.people__family img {
  width: 100%; aspect-ratio: 15 / 8; object-fit: cover; object-position: 50% 42%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block;
}
.people__family figcaption {
  margin-bottom: 18px; text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: var(--gold-text);
}
.people__list h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--forest-800); margin-bottom: 2px; }
.people__list p { font-size: 0.98rem; color: var(--text-soft); }

/* === PHOTO BANDS (full-width tinted dividers) === */
.photo-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7.5vw, 96px) 0;
  text-align: center;
}
.photo-band__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75);
}
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(30, 45, 34, 0.78);
}
.photo-band .eyebrow { color: var(--gold-400); }
.photo-band h2 {
  color: var(--paper-50);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin: 16px auto 14px; max-width: 24ch;
}
.photo-band__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem); color: var(--gold-300);
  max-width: 60ch; margin: 0 auto;
}

/* === REAL OFFERS / credentials === */
.offers { background: var(--grad-forest); color: var(--paper-100); position: relative; overflow: hidden; }
.offers::before { content:""; position:absolute; inset:0; background: url("../assets/img/contour-bg.jpg?v=3") center/cover; opacity: 0.08; }
.offers .section-head h2 { color: var(--paper-50); }
.offers .section-head p { color: rgba(251,248,238,0.8); }
.offers .eyebrow { color: var(--gold-400); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.cred-card {
  background: rgba(251,248,238,0.04); border: 1px solid rgba(217,190,119,0.2);
  border-radius: var(--radius-lg); padding: 34px 30px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cred-card:hover { transform: translateY(-6px); border-color: var(--gold-500); background: rgba(251,248,238,0.07); }
.cred-card .ico { width: 56px; height: 56px; border-radius: 8px; background: transparent; border: 1px solid rgba(217, 190, 119, 0.45); color: var(--gold-on-green); display: grid; place-items: center; margin-bottom: 20px; }
.cred-card .ico svg { width: 26px; height: 26px; }
.cred-card h3 { color: var(--paper-50); font-size: 1.4rem; margin-bottom: 10px; }
.cred-card p { color: rgba(251,248,238,0.78); font-size: 0.98rem; }

/* === REAL SIMPLE / process === */
.simple { background: var(--paper-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; counter-reset: step; }
.steps::before { content:""; position: absolute; top: 124px; left: 16%; right: 16%; height: 4px; background-image: radial-gradient(circle, rgba(176, 142, 51, 0.9) 1.7px, transparent 2px); background-size: 13px 4px; background-repeat: repeat-x; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step__avatar {
  width: 248px; height: 248px; margin: 0 auto 28px; border-radius: 50%;
  position: relative; box-shadow: var(--shadow-md); border-radius: 50%;
}
.step__avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(176, 142, 51, 0.9);
}
.step__avatar::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(176, 142, 51, 0.5); pointer-events: none;
}

.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step .who { font-weight: 700; color: var(--money-500); font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 2px; }
.step__title { font-size: 0.8rem; color: var(--ink-500); font-style: italic; margin-bottom: 12px; }
.step p { font-size: 0.97rem; color: var(--text-soft); padding: 0 6px; }

/* === IMAGE BAND === */
.imgband { position: relative; min-height: 440px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.imgband__img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.02); }
.imgband__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,45,34,0.68), rgba(30,45,34,0.84)); }
.imgband__inner { position: relative; z-index: 1; max-width: 820px; padding: 90px 24px; }
.imgband .eyebrow { color: var(--gold-400); justify-content: center; }
.imgband h2 { color: var(--paper-50); font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-top: 14px; }
.imgband p { color: var(--gold-300); font-size: 1.18rem; margin-top: 16px; font-family: var(--font-display); font-style: italic; }

/* === VALUES (3D coin + callouts with connector lines) === */
.values { background: var(--bg); }
.values__layout { position: relative; display: grid; grid-template-columns: 1fr minmax(340px, 620px) 1fr; grid-template-rows: auto auto; align-items: center; column-gap: clamp(20px, 4vw, 60px); row-gap: 8px; max-width: 1320px; margin: 0 auto; }
.values__lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 4; pointer-events: none; overflow: visible;
  /* the connectors float at the seal's elevation, casting the same lift shadow */
  filter: drop-shadow(0 16px 22px rgba(30, 45, 34, 0.4)) drop-shadow(0 4px 8px rgba(30, 45, 34, 0.28));
}
.vcol { grid-row: 1; display: flex; flex-direction: column; gap: clamp(40px, 9vh, 110px); position: relative; z-index: 2; }
.vcol--left { grid-column: 1; align-items: flex-end; }
.vcol--right { grid-column: 3; align-items: flex-start; }
.vseal { grid-column: 2; grid-row: 1; display: flex; justify-content: center; position: relative; z-index: 3; }
/* hover: the seal glows shimmering gold, mostly from behind */
.vseal::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 116%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 223, 166, 0.9) 0%, rgba(201, 168, 76, 0.55) 38%, rgba(201, 168, 76, 0) 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.vseal:hover::before { opacity: 1; animation: sealShimmer 2.4s ease-in-out infinite; }
.vseal img {
  width: 100%; max-width: 700px;
  filter: drop-shadow(0 46px 64px rgba(30,45,34,0.5)) drop-shadow(0 18px 28px rgba(30,45,34,0.3)) drop-shadow(0 4px 10px rgba(0,0,0,0.16));
  transition: filter 0.6s var(--ease);
}
.vseal:hover img {
  filter: drop-shadow(0 46px 64px rgba(30,45,34,0.45)) drop-shadow(0 18px 28px rgba(30,45,34,0.28)) drop-shadow(0 0 24px rgba(240, 223, 166, 0.85)) drop-shadow(0 0 56px rgba(201, 168, 76, 0.6));
}
@keyframes sealShimmer {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .vseal:hover::before { animation: none; } }
.vcard { position: relative; z-index: 2; background: var(--paper-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); max-width: 300px; transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vcol--left .vcard { text-align: right; }
.vcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; }
.vcol--left .vcard__head { flex-direction: row-reverse; }
.vnum { flex: none; width: 38px; height: 38px; border-radius: 8px; background: transparent; border: 1px solid var(--rule-gold); color: var(--gold-text); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.vlatin { font-family: var(--font-latin); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--money-500); line-height: 1; }
.ven { font-family: var(--font-body); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 9px; }
.vcard p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.55; }
.vcard--bottom { grid-column: 2; grid-row: 2; justify-self: center; margin-top: 10px; max-width: 360px; text-align: center; }
.vcard--bottom .vcard__head { justify-content: center; }
@media (max-width: 900px) {
  .values__layout { grid-template-columns: 1fr; grid-template-rows: none; }
  .values__lines { display: none; }
  .vcol { grid-row: auto; }
  .vcol--left, .vcol--right { grid-column: 1; }
  .vseal { grid-column: 1; order: -1; margin-bottom: 6px; }
  .vseal img { max-width: 340px; }
  .vcol { align-items: stretch; gap: 18px; }
  .vcol--left .vcard, .vcol--right .vcard { text-align: left; max-width: none; }
  .vcol--left .vcard__head { flex-direction: row; }
  .vcard--bottom { grid-column: 1; grid-row: auto; max-width: none; text-align: left; }
  .vcard--bottom .vcard__head { justify-content: flex-start; }
}

/* === PROMISE (engraved certificate) === */
.promise-embed { max-width: var(--container-narrow); margin: clamp(76px, 9vw, 130px) auto 0; }
.cert {
  position: relative; text-align: center;
  background: var(--card); border: 1px solid var(--gold); border-radius: 4px;
  padding: clamp(26px, 4vw, 44px) clamp(26px, 7vw, 88px) clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lift);
  /* handwritten postcard: heading up top, message in the middle, signed lower right */
  display: flex; flex-direction: column;
  min-height: clamp(410px, 44vw, 570px);
}
.cert::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid var(--rule-gold); border-radius: 2px;
}
.cert__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; align-self: center;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-text);
}
.cert__stamp {
  position: absolute; top: 14px; right: 18px;
  width: clamp(52px, 7vw, 84px); height: auto;
  transform: rotate(2.5deg);
  pointer-events: none;
}
@media (max-width: 640px) {
  .cert { padding-top: 80px; }
  .cert__stamp { width: 50px; top: 10px; right: 12px; }
}
.cert__eyebrow::before, .cert__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--rule-gold); }
.cert blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.12rem, 1.9vw, 1.45rem); line-height: 1.75;
  color: var(--green-800); max-width: 620px; margin: clamp(40px, 5.5vw, 72px) auto auto; padding-top: 0;
}
.cert__sig {
  font-family: "Pinyon Script", cursive; font-style: normal; font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--gold-text);
  margin-top: 12px; text-align: right; padding-right: clamp(6px, 5vw, 48px);
}
.cert__seal { width: 74px; height: 74px; margin: 22px auto 0; filter: drop-shadow(0 4px 10px rgba(30,45,34,0.25)); }

/* === TESTIMONIALS (circular carousel) === */
.tmls { background: var(--paper-deep); }
.tml-carousel { position: relative; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: clamp(6px, 1.4vw, 18px); }
.tml-viewport { flex: 1 1 auto; overflow: hidden; }
.tml-track { display: flex; align-items: stretch; will-change: transform; }
.tml-slide { flex: 0 0 33.3333%; max-width: 33.3333%; min-width: 0; display: flex; padding: 14px 10px 10px; box-sizing: border-box; }
.tml {
  flex: 1 1 auto; display: flex; flex-direction: column; text-align: center;
  background: var(--paper-50); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 34px); box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tml:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tml .stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.tml p { font-size: 1rem; color: var(--text); font-style: italic; line-height: 1.58; margin: 0; flex: 1 1 auto; }
.tml .who { margin-top: 20px; font-weight: 700; color: var(--forest-700); font-family: var(--font-display); font-size: 1.1rem; }
.tml-arrow {
  flex: none; width: 52px; height: 52px; border-radius: 8px; cursor: pointer;
  background: var(--paper-50); border: 1px solid var(--line); color: var(--forest-700);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.tml-arrow svg { width: 24px; height: 24px; }
.tml-arrow:hover { background: var(--grad-gold); color: var(--forest-900); border-color: transparent; transform: scale(1.08); box-shadow: var(--shadow-md); }
.tml-arrow:active { transform: scale(0.96); }
.tml-dots { position: absolute; left: 0; right: 0; bottom: -34px; display: flex; justify-content: center; gap: 9px; }
.tml-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: none; cursor: pointer; background: var(--line); transition: background .25s, transform .25s; }
.tml-dots button.is-active { background: var(--gold-500); transform: scale(1.25); }
@media (max-width: 620px) {
  .tml-arrow { width: 42px; height: 42px; }
  .tml-arrow svg { width: 20px; height: 20px; }
}

/* === REAL CLOSINGS (carousel + grid + lightbox) === */
.closings { background: var(--bg); }
.cls-tagline { max-width: 640px; margin: 0 auto; }

.cls-carousel { position: relative; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: clamp(6px, 1.4vw, 18px); }
.cls-viewport { flex: 1 1 auto; overflow: hidden; }
.cls-track { display: flex; align-items: stretch; will-change: transform; }
.cls-slide { flex: 0 0 33.3333%; max-width: 33.3333%; min-width: 0; display: flex; padding: 14px 10px 10px; box-sizing: border-box; }
@media (max-width: 980px) { .cls-slide { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 620px) { .cls-slide { flex-basis: 100%; max-width: 100%; } }

.cls-card {
  flex: 1 1 auto; display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: var(--paper-50); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.cls-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cls-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--forest-900); }
.cls-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cls-card:hover .cls-card__media img { transform: scale(1.06); }
.cls-card__count { position: absolute; right: 10px; bottom: 10px; background: rgba(10,25,17,0.72); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; display: flex; align-items: center; gap: 5px; }
.cls-card__count svg { width: 13px; height: 13px; }
.cls-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.cls-card__play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(10,25,17,0.55); border: 2px solid rgba(255,255,255,0.85); display: grid; place-items: center; backdrop-filter: blur(2px); }
.cls-card__play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.cls-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.cls-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cls-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--forest-700); background: var(--lightgold, #f3e8cc); border: 1px solid var(--line); padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.cls-card__loc { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-600); }
.cls-card h3 { font-size: 1.15rem; line-height: 1.32; margin: 0; color: var(--forest-900); }
.cls-card__teaser { font-size: 0.9rem; color: var(--text-soft); line-height: 1.55; margin: 0; flex: 1 1 auto; }
.cls-card__more { font-size: 0.84rem; font-weight: 700; color: var(--money-500); display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.cls-card__more svg { width: 14px; height: 14px; transition: transform .2s; }
.cls-card:hover .cls-card__more svg { transform: translateX(3px); }

.cls-arrow {
  flex: none; width: 52px; height: 52px; border-radius: 8px; cursor: pointer;
  background: var(--paper-50); border: 1px solid var(--line); color: var(--forest-700);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.cls-arrow svg { width: 24px; height: 24px; }
.cls-arrow:hover { background: var(--grad-gold); color: var(--forest-900); border-color: transparent; transform: scale(1.08); box-shadow: var(--shadow-md); }
.cls-arrow:active { transform: scale(0.96); }
@media (max-width: 620px) { .cls-arrow { width: 42px; height: 42px; } .cls-arrow svg { width: 20px; height: 20px; } }

.cls-seeall { display: flex; justify-content: center; margin-top: clamp(28px, 4vh, 44px); }

/* grid (dedicated page) */
.cls-filters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: clamp(28px, 4vh, 40px); }
.cls-filter { font-size: 0.8rem; font-weight: 700; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-50); color: var(--forest-700); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cls-filter.is-active, .cls-filter:hover { background: var(--grad-gold); color: var(--forest-900); border-color: transparent; }
.cls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1240px; margin: 0 auto; }
@media (max-width: 980px) { .cls-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cls-grid { grid-template-columns: 1fr; } }
.cls-grid .cls-card { display: none; }
.cls-grid .cls-card.is-visible { display: flex; animation: clsFadeIn .4s var(--ease); }
@keyframes clsFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cls-empty { text-align: center; color: var(--text-soft); padding: 40px 0; display: none; }
.cls-empty.is-visible { display: block; }

/* lightbox modal */
.cls-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.cls-modal.is-open { display: block; }
.cls-modal__scrim { position: absolute; inset: 0; background: rgba(10,20,14,0.82); backdrop-filter: blur(3px); }
.cls-modal__panel {
  position: relative; z-index: 1; max-width: 1020px; width: min(94vw, 1020px); max-height: 90vh;
  margin: 5vh auto; background: var(--paper-50); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
@media (max-width: 860px) { .cls-modal__panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; margin: 4vh auto; } }
.cls-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10,20,14,0.55); color: #fff; border: none; cursor: pointer; display: grid; place-items: center;
}
.cls-modal__close svg { width: 18px; height: 18px; }
.cls-modal__gallery { position: relative; background: var(--forest-900); display: flex; align-items: center; justify-content: center; min-height: 280px; }
.cls-modal__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; }
.cls-modal__slide.is-active { opacity: 1; position: relative; }
.cls-modal__slide img, .cls-modal__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .cls-modal__gallery { aspect-ratio: 4/3; min-height: 0; } }
.cls-modal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(10,20,14,0.55); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.cls-modal__nav svg { width: 18px; height: 18px; }
.cls-modal__nav--prev { left: 12px; } .cls-modal__nav--next { right: 12px; }
.cls-modal__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.cls-modal__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.cls-modal__dots span.is-active { background: #fff; }
.cls-modal__info { padding: clamp(24px, 3vw, 36px); overflow-y: auto; }
.cls-modal__info .cls-card__tags { margin-bottom: 12px; }
.cls-modal__info .cls-card__loc { display: block; margin-bottom: 6px; }
.cls-modal__info h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 14px; color: var(--forest-900); }
.cls-modal__info p { font-size: 0.95rem; line-height: 1.68; color: var(--text-soft); }
.cls-modal__info .sig { margin-top: 18px; font-weight: 700; color: var(--forest-700); font-family: var(--font-display); }
body.cls-modal-open { overflow: hidden; }

/* === LEAD CAPTURE / CTA === */
.cta {
  background: var(--forest-900); color: var(--paper-100); position: relative; overflow: hidden;
}
.cta::before { content:""; position:absolute; inset:0; background: url("../assets/img/contour-bg.jpg?v=3") center/cover; opacity: 0.10; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.cta__left h2 { color: var(--paper-50); font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 16px 0 18px; }
.cta__left p { color: rgba(251,248,238,0.82); font-size: 1.12rem; margin-bottom: 30px; }
.cta__phone { display: inline-flex; align-items: center; gap: 16px; padding: 18px 26px; border-radius: 10px; background: rgba(217,190,119,0.12); border: 1px solid rgba(217,190,119,0.3); margin-bottom: 18px; }
.cta__phone .ico { width: 46px; height: 46px; border-radius: 8px; background: transparent; border: 1px solid rgba(217, 190, 119, 0.45); color: var(--gold-on-green); display: grid; place-items: center; }
.cta__phone .ico svg { width: 24px; height: 24px; }
.cta__phone .l { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }
.cta__phone .n { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--paper-50); line-height: 1; }
.cta__assure { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(251,248,238,0.8); font-size: 0.92rem; }
.cta__assure span { display: inline-flex; align-items: center; gap: 7px; }
.cta__assure svg { width: 16px; height: 16px; color: var(--gold-400); }

/* form */
.lead-form {
  background: var(--paper-50); border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow-lg); color: var(--text);
}
.lead-form h3 { font-size: 1.55rem; margin-bottom: 6px; }
.lead-form .sub { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--forest-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 6px; border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; font-size: 1rem; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--money-500); box-shadow: 0 0 0 4px rgba(46,125,68,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.lead-form .fineprint { font-size: 0.8rem; color: var(--ink-500); text-align: center; margin-top: 14px; }
.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-money); color: #fff; display: grid; place-items: center; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { color: var(--forest-700); }

/* === FAQ === */
.faq { background: var(--bg); }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--forest-800); }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold-500); color: var(--gold-600); display: grid; place-items: center; font-size: 1.2rem; transition: transform 0.3s, background 0.3s, color 0.3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold-500); color: var(--forest-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--text-soft); font-size: 1.03rem; }

/* === FOOTER === */
.footer { background: var(--green-950); color: rgba(251,248,238,0.72); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(217,190,119,0.18); }
.footer__lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__lockup img { height: 66px; width: 66px; }
.footer__wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--paper-50); line-height: 1.1; }
.footer__wordmark span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); margin-top: 5px; }
.footer__brand p { font-size: 0.96rem; max-width: 36ch; }
.footer h4 { color: var(--gold-400); font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a:hover { color: var(--gold-300); }
.footer__contact .row { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.96rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 0.84rem; color: rgba(251,248,238,0.5); }
.footer__bottom .badges { display: flex; gap: 14px; align-items: center; }
.footer__bottom .badges .b {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border: 1px solid rgba(217,190,119,0.25); border-radius: 6px;
  font-weight: 600; color: var(--gold-400); font-size: 0.78rem; white-space: nowrap;
}
.footer__bottom .badges .b svg { width: 13px; height: 13px; flex: none; }
.footer__bottom .badges .b .icon-bbb { width: 13px; height: 13px; background: var(--gold-400); }
@media (max-width: 700px) {
  .footer { padding: 52px 0 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; padding-bottom: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: none; }
}
@media (max-width: 440px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 8. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* ---------- 9. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .people__grid, .cta__grid { grid-template-columns: 1fr; }
  .people__grid { grid-template-areas: "photo" "copy" "welcome"; }
  .people__photo { padding-bottom: 38px; }
  .people__photo .ptag { font-size: 0.8rem; gap: 6px; }
  .cred-grid, .tml-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .steps::before { display: none; }
  .people__photo .frame { aspect-ratio: 16/11; }
}
@media (max-width: 880px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 90px 30px 30px; background: var(--paper-50); box-shadow: var(--shadow-lg); transform: translateX(110%); transition: transform 0.35s var(--ease); z-index: 99; }
  .nav__links.open { transform: none; }
  .nav__links a { color: var(--forest-800) !important; font-size: 1.1rem; width: 100%; padding: 8px 0; }
  .nav__toggle { display: flex; z-index: 100; }
  .nav__cta { margin-top: 12px; }
}
@media (max-width: 760px) {
  .cred-grid, .tml-grid, .steps, .field-row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ============================================================
   GUIDE / ARTICLE PAGES (content-depth for SEO & AI search)
   ============================================================ */
.guide-hero { background: var(--grad-forest); color: #fff; padding: clamp(120px, 16vh, 170px) 0 60px; position: relative; overflow: hidden; }
.guide-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../assets/img/contour-bg.jpg?v=3") center/cover no-repeat; opacity: 0.16; pointer-events: none; }
.guide-hero .container { position: relative; z-index: 1; }
.guide-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 22px; }
.guide-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.guide-hero .breadcrumb a:hover { color: var(--gold-300); }
.guide-hero__row { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guide-hero__seal { flex: none; width: clamp(280px, 30vw, 420px); height: clamp(280px, 30vw, 420px); margin-bottom: 28px; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.4)); }
.guide-hero__content { max-width: 720px; }
.guide-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.14; margin: 0 auto; }
.guide-hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin: 16px auto 0; max-width: 62ch; }
.guide-hero .meta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; font-size: 0.85rem; color: var(--gold-300); font-weight: 600; letter-spacing: 0.02em; }
.guide-hero .meta__text { text-align: left; }
.guide-hero .meta__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-400); flex: none; }
.guide-hero .meta__text { display: flex; flex-direction: column; gap: 3px; }
.guide-hero .meta__text .read-time { color: rgba(255,255,255,0.6); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.guide-hero .meta__text strong { color: var(--gold-300); font-weight: 700; font-size: 0.92rem; }

.guide { background: var(--bg-alt); padding: 64px 0 20px; }
.guide__wrap { max-width: 760px; margin: 0 auto; }
.guide__wrap h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 16px; color: var(--forest-800); }
.guide__wrap h2:first-child { margin-top: 0; }
.guide__wrap h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--forest-700); }
.guide__wrap p { font-size: 1.05rem; line-height: 1.75; color: var(--text-soft); margin-bottom: 16px; }
.guide__wrap ul, .guide__wrap ol { margin: 0 0 20px; padding-left: 1.3em; color: var(--text-soft); font-size: 1.05rem; line-height: 1.7; }
.guide__wrap li { margin-bottom: 8px; }
.guide__wrap strong { color: var(--forest-800); }
.guide__callout {
  background: var(--paper-50); border: 1px solid var(--line); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; box-shadow: var(--shadow-sm);
}
.guide__callout p:last-child { margin-bottom: 0; }
.guide__callout .label { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; display: block; }
.guide__disclaimer { font-size: 0.85rem; color: var(--ink-500); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 36px; }

.guide__cta { background: var(--paper-100); border-radius: var(--radius-lg); padding: 40px clamp(24px,4vw,48px); margin: 48px 0 0; text-align: center; box-shadow: var(--shadow-sm); }
.guide__cta h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--forest-800); margin-bottom: 10px; }
.guide__cta p { max-width: 52ch; margin: 0 auto 22px; }
.guide__cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.guide__related { max-width: 760px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.guide__related h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 16px; }
.guide__related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.guide__related a { font-weight: 600; color: var(--forest-800); }
.guide__related a:hover { color: var(--money-500); }

@media (max-width: 600px) {
  .guide__cta .btns { flex-direction: column; }
  .guide__cta .btns .btn { width: 100%; }
}

/* ---------------- Guide PDF download banner ---------------- */
.guide__pdf {
  max-width: 760px; margin: 26px auto 0; display: flex; align-items: center; gap: 14px;
  background: var(--bg-alt); color: var(--forest-900); border: 1.5px solid var(--gold-500); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.guide__pdf::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../assets/img/contour-bg.jpg?v=3") center/cover no-repeat; opacity: 0.07; pointer-events: none; }
.guide__pdf > * { position: relative; z-index: 1; }
.guide__pdf .ico { flex: none; width: 38px; height: 38px; border-radius: 8px; background: transparent; border: 1px solid var(--rule-gold); color: var(--gold-text); display: grid; place-items: center; }
.guide__pdf .ico svg { width: 18px; height: 18px; }
.guide__pdf .txt { flex: 1 1 auto; }
.guide__pdf .txt strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--forest-800); margin-bottom: 1px; }
.guide__pdf .txt span { font-size: 0.82rem; color: var(--text-soft); }
.guide__pdf a.btn { flex: none; white-space: nowrap; padding: 10px 18px; font-size: 0.88rem; }
@media (max-width: 600px) {
  .guide__pdf { flex-direction: column; text-align: center; }
}

/* ---------------- Guide "Real Results" strip (reuses .cls-card visuals) ---------------- */
.guide__results { max-width: 900px; margin: 52px auto 0; }
.guide__results h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.guide__results .sub { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 18px; }
.guide__results-track {
  display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.guide__results-track .cls-card { flex: 0 0 280px; scroll-snap-align: start; }
.guide__results-track { scrollbar-width: none; }
.guide__results-track::-webkit-scrollbar { display: none; }

/* ---------------- Homepage "Guides" teaser carousel ---------------- */
.guides-teaser { background: var(--paper-deep); padding: clamp(64px, 8vw, 96px) 0 90px; }
.guides-teaser__track {
  display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; max-width: 1240px; margin: 0 auto;
}
.guides-teaser__track { scrollbar-width: none; }
.guides-teaser__track::-webkit-scrollbar { display: none; }
.guides-teaser__card {
  flex: 0 0 320px; scroll-snap-align: start; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.guides-teaser__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.guides-teaser__card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; display: block; }
.guides-teaser__card h3 { font-size: 1.22rem; color: var(--forest-900); margin-bottom: 10px; line-height: 1.3; }
.guides-teaser__card p { font-size: 0.94rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }
.guides-teaser__card a { font-weight: 700; color: var(--money-500); font-size: 0.92rem; }
.guides-teaser__more {
  flex: 0 0 220px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 14px; padding: 28px 8px;
}
.guides-teaser__more p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }
.guides-teaser__cta { text-align: center; margin-top: 36px; }
@media (max-width: 600px) {
  .guides-teaser__card, .guides-teaser__more { flex-basis: 82vw; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- UNIVERSAL GOLD HOVER GLOW (all interactive elements) ---------- */
.nav__links a, .nav__logo img, .nav__logo-text, .faq-q, .footer a, .callbar, .cls-filter { transition: color 0.2s, text-shadow 0.25s, box-shadow 0.25s, filter 0.25s; }
.nav__links a:not(.nav__cta):hover { color: var(--gold-text); text-shadow: 0 0 14px rgba(201, 168, 76, 0.55); }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(176, 142, 51, 0.35), 0 0 26px rgba(201, 168, 76, 0.55); }
.nav__logo:hover img { filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.7)); }
.nav__logo:hover .nav__logo-text { color: var(--gold-text); }
.footer a:hover { color: var(--gold-on-green); text-shadow: 0 0 12px rgba(217, 190, 119, 0.6); }
.faq-q:hover { color: var(--gold-text); }
.faq-q:hover .plus { box-shadow: 0 0 16px rgba(201, 168, 76, 0.55); }
.tml-arrow:hover, .cls-arrow:hover { box-shadow: var(--shadow-md), 0 0 22px rgba(201, 168, 76, 0.55); }
.cls-filter:hover { border-color: var(--gold); color: var(--gold-text); box-shadow: 0 0 14px rgba(201, 168, 76, 0.4); }
.callbar:hover { box-shadow: 0 -6px 24px rgba(30,45,34,0.28), 0 0 26px rgba(201, 168, 76, 0.6); }
.cls-card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201, 168, 76, 0.5), 0 0 22px rgba(201, 168, 76, 0.28); }
.guides-teaser__card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201, 168, 76, 0.5), 0 0 22px rgba(201, 168, 76, 0.28); }
main p a:not(.btn):hover, main li a:not(.btn):hover { color: var(--gold-text); text-shadow: 0 0 10px rgba(201, 168, 76, 0.4); }


/* ---------- PEOPLE WELCOME (closing note under the family photo) ---------- */
.people__welcome {
  grid-area: welcome; margin: 0;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--rule-gold);
}
.people__welcome h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.7rem); color: var(--green-800); line-height: 1.3; margin-bottom: 14px; }
.people__welcome p { color: var(--text-soft); font-size: 1.06rem; line-height: 1.75; }

/* ---------- STEP NUMERALS (beside headings) ---------- */
.step h3 { display: flex; align-items: center; justify-content: center; gap: 11px; }
.step__n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: transparent; color: var(--green-800);
  border: 1px solid var(--gold);
  outline: 1px solid rgba(176, 142, 51, 0.35); outline-offset: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  display: grid; place-items: center;
  box-shadow: 0 2px 4px rgba(30, 45, 34, 0.22);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.7), 0 1px 1px rgba(30, 45, 34, 0.25);
}

/* ---------- UNIFIED CARD SYSTEM: gold top line + hovering-card shadows ---------- */
.cls-card, .tml, .guides-teaser__card, .cred-card, .vcard { position: relative; overflow: hidden; }
.cls-card::before, .tml::before, .guides-teaser__card::before, .cred-card::before, .vcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
}
.cls-card, .tml, .guides-teaser__card, .vcard {
  box-shadow: 0 4px 10px rgba(30, 45, 34, 0.08), 0 20px 44px rgba(30, 45, 34, 0.16);
}

/* ---------- CAROUSEL EDGE FADE (peek slides dissolve at the rails) ---------- */
@media (min-width: 1100px) {
  .cls-viewport, .tml-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
}

/* ---------- GET MY OFFER (ported from RLO 2.0) ---------- */
.contact-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.cta .contact-grid h2 { color: #FBF8EE; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 16px; }
.cta .contact-grid .lede { color: rgba(246, 241, 228, 0.85); font-size: 1.12rem; margin-top: 16px; max-width: 46ch; }
.cta .contact-grid .eyebrow { color: var(--gold-on-green); }
.contact-alt { margin-top: 30px; display: grid; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: center; color: rgba(246, 241, 228, 0.9); }
.contact-line a { color: var(--gold-pale); font-weight: 700; font-size: 1.15rem; }
.contact-line a:hover { text-decoration: underline; }
.contact-line .ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(217, 190, 119, 0.5); display: grid; place-items: center;
  color: var(--gold-on-green);
}
.lead-form {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 42px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border-top: 5px solid var(--gold);
}
.lead-form h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form-hint { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--ink); }
.field .optional { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  border: 1px solid rgba(30, 45, 34, 0.28); border-radius: 6px; background: #FFFEF9;
  min-height: 52px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid rgba(176, 142, 51, 0.45); outline-offset: 0; border-color: var(--gold);
}
.lead-form .btn { width: 100%; margin-top: 6px; justify-content: center; }
.form-fine { font-size: 0.88rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }
/* hover/tap info bubble for the record code field */
.field .info {
  position: relative; display: inline-flex; align-items: center;
  margin-left: 6px; vertical-align: -2px; color: var(--gold-text); cursor: help; outline: none;
}
.field .info svg { width: 15px; height: 15px; }
.field .info:focus svg, .field .info:hover svg { color: var(--gold); }
.field .info__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: 270px; padding: 11px 13px; border-radius: 6px; text-align: left;
  background: var(--card); border: 1px solid var(--gold); box-shadow: var(--shadow-md);
  font-size: 0.84rem; font-weight: 400; line-height: 1.55; color: var(--text-soft);
  letter-spacing: normal; text-transform: none;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 6;
}
.field .info__tip strong { color: var(--gold-text); letter-spacing: 0.04em; }
.field .info:hover .info__tip, .field .info:focus .info__tip, .field .info.show .info__tip {
  opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.form-error { display: none; font-size: 0.92rem; color: #8C3A2E; text-align: center; margin: 12px 0 0; }
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 700; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .seal-ok { width: 74px; margin: 0 auto 18px; }
.form-success h3 { color: var(--green-800); }
.form-success p { color: var(--ink-soft); }
.form-success a { color: var(--gold-text); font-weight: 700; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- PRINT-DOCUMENT JUSTIFICATION ----------
   body paragraphs set justified with auto-hyphenation, like a typeset page;
   centered ledes, captions, fine print and UI microcopy stay as they are */
.hero__sub,
.people__copy > p,
.people__list p,
.people__welcome p,
.cred-card p,
.vcard p,
.tml p,
.cls-card p,
.faq-a p,
.cta .lede,
.guides-teaser__card p,
.guide__wrap p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* debug: skip entrance animations for automated captures */
html.noreveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }


/* =========================================================================
   SEAL INTRO — "The Promise" (hero seal → belt handoff)
   ========================================================================= */
html.intro-locked { overflow: hidden; }

#introOverlay {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--paper);
  display: grid; place-items: center;
  transition: background 0.9s ease, opacity 0.4s ease;
}
#introOverlay .is-stage { position: relative; text-align: center; transform: translateY(-11vh); }
#introOverlay .is-seal {
  display: block; margin: 0 auto;
  width: min(60vh, 78vw);
  filter: drop-shadow(0 30px 54px rgba(30, 45, 34, 0.32)) drop-shadow(0 6px 14px rgba(30, 45, 34, 0.2));
  opacity: 0; transform: scale(0.93);
  transition: opacity 1s ease, transform 1.25s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: transform;
}
#introOverlay.is-in .is-seal { opacity: 1; transform: scale(1); }
@media (max-height: 800px) {
  #introOverlay .is-seal { width: min(52vh, 74vw); }
}

#introOverlay .is-words {
  position: absolute; left: 50%; top: calc(100% + clamp(22px, 4.5vh, 52px));
  transform: translateX(-50%); width: max-content; max-width: 94vw;
}
#introOverlay .is-line1 {
  font-family: var(--font-display); font-weight: 700; color: var(--green-800);
  font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: 0.04em; line-height: 1.25;
}
#introOverlay .is-line1 .b { font-weight: 700; }
#introOverlay .is-line2 {
  font-family: var(--font-display); font-style: italic; color: var(--gold-text);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: clamp(14px, 2.2vh, 24px);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#introOverlay.is-l2 .is-line2 { opacity: 1; transform: none; }
/* typewriter reveal: full text is laid out invisibly, characters fade in one by one */
#introOverlay .is-words .phr { white-space: nowrap; display: inline-block; }
#introOverlay .is-words .c { opacity: 0; transition: opacity 0.14s ease; }
#introOverlay .is-words .c.show { opacity: 1; }
#introOverlay.is-wout .is-line1, #introOverlay.is-wout .is-line2 { opacity: 0; transform: translateY(-12px); transition: opacity 0.75s ease, transform 0.75s ease; }
#introOverlay.is-fly { background: transparent; pointer-events: none; }
#introOverlay .is-seal.is-flying { transition: transform 1.1s cubic-bezier(0.3, 0.65, 0.22, 1), filter 1.1s ease; filter: drop-shadow(0 6px 14px rgba(30, 45, 34, 0.35)); }
#introOverlay .is-seal.is-landed { opacity: 0; transition: none; }
#introOverlay.io-done { opacity: 0; pointer-events: none; }

/* page side: the belt holds its breath until the seal lands, then the ribbon flows out */
.belt__band { transform-origin: 50% 50%; }
html.intro-hold .belt__seal { opacity: 0; }
html.intro-hold .belt__band { opacity: 0; transform: scaleX(0.05); }
html.intro-hold .belt__band > * { opacity: 0; }
html.intro-flow .belt__seal { opacity: 1; }
html.intro-flow .belt__band { opacity: 1; transform: scaleX(1); transition: transform 1s cubic-bezier(0.25, 0.7, 0.25, 1), opacity 0.35s ease; }
html.intro-flow .belt__band > * { opacity: 1; transition: opacity 0.55s ease 0.6s; }
@media (max-width: 1100px) {
  /* shield mode: the crest settles in while the tying ribbon unfurls like the desktop band */
  html.intro-hold .belt__band { transform: translateY(14px) scale(0.97); }
  html.intro-hold .belt__ribbon::before { opacity: 0; transform: translate(-50%, -50%) scaleX(0.05); }
  html.intro-flow .belt__band { transform: none; transition: transform 0.8s cubic-bezier(0.25, 0.7, 0.25, 1), opacity 0.45s ease; }
  html.intro-flow .belt__ribbon::before { opacity: 1; transform: translate(-50%, -50%) scaleX(1); transition: transform 1s cubic-bezier(0.25, 0.7, 0.25, 1), opacity 0.35s ease; }
}

