/* ==========================================================================
   Meridian Sigma — Design System
   Editorial Luxury × Soft Structuralism, tuned for a premium consulting brand
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Palette: White & Green --- */
  --ink: #0B140F;
  --navy-950: #071009;
  --navy-900: #0C1B12;
  --navy-800: #12281A;
  --navy-700: #1B3A25;
  --navy-600: #2A5236;
  --cream-50: #FFFFFF;
  --cream-100: #F1F8F3;
  --cream-200: #E1EFE6;
  --stone-400: #8FA396;
  --stone-600: #57685C;
  --gold-300: #A9EFC7;
  --gold-400: #57CE93;
  --gold-500: #1FA366;
  --gold-600: #157A4C;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --line-on-light: rgba(11, 20, 15, 0.10);
  --white: #ffffff;

  /* --- Semantic --- */
  --bg-body: var(--cream-50);
  --text-body: var(--ink);
  --text-muted: var(--stone-600);
  --accent: var(--gold-500);

  /* --- Metallic gold accent, paired with dark green --- */
  --royal-300: #F4E4A6;
  --royal-500: #D4AF37;
  --royal-600: #8F6D1E;
  --metal-gradient: linear-gradient(135deg, #8F6D1E 0%, #D4AF37 28%, #F4E4A6 50%, #D4AF37 72%, #8F6D1E 100%);

  /* --- Dark forest green: real paired surface, not just chrome --- */
  --forest-900: #071F14;
  --forest-800: #0D2E1F;
  --forest-700: #163F2B;
  --forest-600: #205438;

  /* --- Type --- */
  --font-display: 'Fraunces', 'Iowan Old Style', ui-serif, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* --- Motion --- */
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* --- Radii --- */
  --r-lg: 2rem;
  --r-md: 1.25rem;
  --r-sm: 0.85rem;
  --r-pill: 999px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-300); color: var(--ink); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.85rem;
  box-shadow: 0 8px 20px -8px rgba(11,20,15,0.3);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ---------- Grain overlay (fixed, cheap) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--line-on-light);
  color: var(--stone-600);
  background: rgba(255,255,255,0.5);
}
.on-dark .eyebrow {
  border-color: var(--line-on-light);
  color: var(--royal-600);
  background: rgba(212,175,55,0.1);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--royal-500); }

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
h1.h-display { font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 500; }
h2.h-display { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3.h-display { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-muted); line-height: 1.7; font-weight: 400; }
.on-dark .lede { color: var(--stone-600); }
.italic { font-style: italic; }
.text-metal {
  background: var(--metal-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.text-muted { color: var(--text-muted); }
.on-dark, .on-dark .text-muted { color: var(--stone-600); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p.strong-light { color: var(--cream-50); }

.kicker-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--royal-600);
  font-size: 0.95em;
}

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
/* .section-dark / .on-dark now render as WHITE, high-contrast sections — kept as semantic
   "alternate tone" markers, but scoped custom-property overrides flip every inline/descendant
   var(--cream-50)/var(--gold-300)/var(--line-on-dark) reference to its light-background
   equivalent, so no HTML needed to change. */
.section-dark {
  background: var(--white);
  --cream-50: var(--ink);
  --cream-100: var(--stone-600);
  --gold-300: var(--gold-600);
  --line-on-dark: var(--line-on-light);
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(680px 420px at 12% -10%, rgba(31,163,102,0.07), transparent 60%),
    radial-gradient(560px 420px at 92% 10%, rgba(212,175,55,0.08), transparent 65%);
  pointer-events: none;
}
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.divider-line { height: 1px; background: var(--line-on-light); border: 0; margin: 0; }
.on-dark .divider-line, .section-dark .divider-line { background: var(--line-on-light); }
.on-dark {
  --cream-50: var(--ink);
  --cream-100: var(--stone-600);
  --gold-300: var(--gold-600);
  --line-on-dark: var(--line-on-light);
}

/* ---------- Nav: Fluid Island ---------- */
.nav-wrap {
  position: fixed;
  top: 1.1rem;
  left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.nav-pill {
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.3rem;
  border-radius: var(--r-pill);
  background: rgba(13, 46, 31, 0.8);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(212,175,55,0.28);
  box-shadow: 0 12px 40px -14px rgba(7,31,20,0.6), inset 0 1px 0 rgba(244,228,166,0.1);
  transition: background .5s var(--ease-fluid), border-color .5s var(--ease-fluid);
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.02rem; color: var(--cream-50); letter-spacing: 0.01em; }
.nav-brand .mark {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--metal-gradient);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 6px -2px rgba(0,0,0,0.4);
  color: var(--forest-900); font-weight: 700; font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
}
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  position: relative;
  font-size: 0.83rem; font-weight: 500; color: rgba(244,228,166,0.88);
  padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  transition: color .35s var(--ease-fluid), background .35s var(--ease-fluid), transform .35s var(--ease-fluid);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--royal-300); background: rgba(212,175,55,0.14); transform: translateY(-1px); }
.nav-links a.active { color: var(--forest-900); background: var(--metal-gradient); font-weight: 600; }
a.nav-cta { display: none; }
@media (min-width: 1000px) { a.nav-cta { display: inline-flex; } }

.nav-burger {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease-fluid), border-color .35s var(--ease-fluid), transform .35s var(--ease-fluid);
}
.nav-burger:hover { background: rgba(212,175,55,0.16); border-color: rgba(212,175,55,0.5); transform: scale(1.05); }
@media (min-width: 1000px) { .nav-burger { display: none; } }
.nav-burger span {
  position: absolute; width: 16px; height: 1.5px; background: var(--royal-300);
  border-radius: 2px; transition: transform .5s var(--ease-fluid), opacity .3s var(--ease-fluid);
}
.nav-burger span:nth-child(1) { transform: translateY(-4px); }
.nav-burger span:nth-child(2) { transform: translateY(4px); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: rotate(-45deg); }

.nav-links { display: none; }
@media (min-width: 1000px) { .nav-links { display: flex; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(212,175,55,0.10), transparent 60%),
    linear-gradient(165deg, rgba(13,46,31,0.95), rgba(7,31,20,0.97));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem;
  opacity: 0; pointer-events: none;
  overflow-y: auto;
  padding: 2rem 0;
  transition: opacity .5s var(--ease-soft);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.9rem; color: var(--cream-100);
  padding: 0.5rem 1.5rem; opacity: 0; transform: translateY(3rem);
  border-radius: var(--r-pill);
  transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft), color .3s var(--ease-fluid), background .3s var(--ease-fluid);
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--royal-300); background: rgba(212,175,55,0.12); }
.mobile-menu a.active { color: var(--royal-300); font-style: italic; }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .38s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .44s; }
.mobile-menu.open a:nth-child(8) { transition-delay: .50s; }

/* ---------- Buttons: dark green + metallic gold ---------- */
.btn {
  --btn-fg: var(--royal-300);
  --btn-bg: linear-gradient(160deg, var(--forest-700), var(--forest-900));
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.3rem 0.35rem 0.3rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 0.9rem;
  border: 1.5px solid var(--royal-500);
  transition: transform .5s var(--ease-fluid), box-shadow .5s var(--ease-fluid), background .4s var(--ease-fluid), border-color .4s var(--ease-fluid);
  box-shadow: 0 10px 26px -14px rgba(7,31,20,0.55), inset 0 1px 0 rgba(244,228,166,0.12);
}
.btn:active { transform: scale(0.98); }
.btn:hover { border-color: var(--royal-300); box-shadow: 0 16px 34px -14px rgba(7,31,20,0.7), 0 0 0 3px rgba(212,175,55,0.18), inset 0 1px 0 rgba(244,228,166,0.18); }
.btn .icn {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(244,228,166,0.16);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease-fluid);
}
.btn:hover .icn { transform: translate(2px, -2px) scale(1.05); }
.btn.ghost {
  --btn-bg: transparent; --btn-fg: var(--royal-600);
  border: 1.5px solid rgba(212,175,55,0.45);
  box-shadow: none;
}
.btn.ghost .icn { background: rgba(212,175,55,0.1); }
.btn.on-light.ghost { --btn-fg: var(--royal-600); border-color: rgba(212,175,55,0.4); }
.btn.on-light.ghost .icn { background: rgba(212,175,55,0.1); }
.btn.small { padding: 0.2rem 0.3rem 0.2rem 1.05rem; font-size: 0.8rem; }
.btn.small .icn { width: 28px; height: 28px; }

/* ---------- Double-bezel card ---------- */
.bezel {
  padding: 0.4rem;
  border-radius: var(--r-lg);
  background: rgba(11,20,15,0.04);
  border: 1px solid var(--line-on-light);
}
.bezel-core {
  border-radius: calc(var(--r-lg) - 0.4rem);
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(11,20,15,0.04);
  height: 100%;
}

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bento > * { grid-column: span 12; }
/* Tablet tier: symmetric grids (stat/feature/pricing cards) go 2-up on
   tablet-portrait widths instead of waiting for the desktop breakpoint —
   asymmetric splits (c-5/c-7/c-8, text-vs-image) still need the extra
   room the desktop tier gives them, so they stay full-width until then. */
@media (min-width: 640px) {
  .bento .c-3 { grid-column: span 6; }
  .bento .c-4 { grid-column: span 6; }
  .bento .c-6 { grid-column: span 6; }
}
@media (min-width: 860px) {
  .bento .c-3 { grid-column: span 3; }
  .bento .c-4 { grid-column: span 4; }
  .bento .c-5 { grid-column: span 5; }
  .bento .c-6 { grid-column: span 6; }
  .bento .c-7 { grid-column: span 7; }
  .bento .c-8 { grid-column: span 8; }
  .bento .c-12 { grid-column: span 12; }
}

.pill-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--royal-600);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
}

.icon-tile {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--forest-700), var(--forest-900));
  color: var(--royal-300);
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px -12px rgba(7,31,20,0.7), inset 0 1px 0 rgba(244,228,166,0.12);
}
.icon-tile svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.3; }

/* ---------- Photo frame (placeholder until real photography lands) ---------- */
.photo-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--r-lg) - 0.4rem) calc(var(--r-lg) - 0.4rem) 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(212,175,55,0.16), transparent 55%),
    linear-gradient(150deg, var(--forest-700), var(--forest-900));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.6rem;
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-frame-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--royal-300);
}
.photo-frame-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.photo-frame-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(244,228,166,0.65); }

/* ---------- Stats strip ---------- */
.stat { text-align: left; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); color: var(--royal-600); font-weight: 500; }
.stat .lbl { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--stone-600); margin-top: 0.3rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(2.2rem); filter: blur(6px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft), filter .9s var(--ease-soft); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-d1.in { transition-delay: .08s; }
.reveal-d2.in { transition-delay: .16s; }
.reveal-d3.in { transition-delay: .24s; }
.reveal-d4.in { transition-delay: .32s; }
.reveal-d5.in { transition-delay: .40s; }
.reveal-d6.in { transition-delay: .48s; }

/* ---------- Marquee (trust strip) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 34s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--stone-600); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Global map dots (CSS-only illustration) ---------- */
.globe-wrap { position: relative; aspect-ratio: 1/1; max-width: 380px; margin: 0 auto; }
.globe-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(31,163,102,0.18); }
.globe-ring.r2 { inset: 10%; }
.globe-ring.r3 { inset: 22%; }
.globe-core { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(169,239,199,0.35), rgba(18,40,26,0.9) 65%); border: 1px solid rgba(31,163,102,0.25); }
.globe-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 0 6px rgba(169,239,199,0.14); }

/* ---------- Belt / step timeline ---------- */
.belt-row { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: flex-start; }
.belt-chip { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; flex-shrink: 0; }

/* ---------- Table ---------- */
.dtable { width: 100%; border-collapse: collapse; }
.dtable th, .dtable td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-on-light); font-size: 0.92rem; }
.dtable th { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.section-dark .dtable th, .section-dark .dtable td, .on-dark .dtable th, .on-dark .dtable td { border-color: var(--line-on-dark); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone-600); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.9rem 1.1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-on-light); background: var(--white); color: var(--ink);
  transition: border-color .3s var(--ease-fluid), box-shadow .3s var(--ease-fluid);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(31,163,102,0.14); }
.form-note { opacity: 0; font-size: .85rem; color: var(--royal-600); margin-top: 1rem; transition: opacity .4s ease; }
.form-note.show { opacity: 1; }

/* ---------- Footer: dark green + metallic gold ---------- */
.footer {
  background: linear-gradient(180deg, var(--forest-800), var(--forest-900));
  padding: 4rem 0 2rem;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--metal-gradient);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--royal-300); margin-bottom: 1rem; }
.footer a, .footer p { color: rgba(244,228,166,0.55); font-size: 0.9rem; }
.footer li { margin-bottom: 0.55rem; }
.footer a:hover { color: var(--royal-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(244,228,166,0.15); font-size: 0.78rem; color: rgba(244,228,166,0.6); }

/* ---------- Utility ---------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.6rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.mt-2 { margin-top: 0.6rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2.2rem; }
.mt-8 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2.2rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.max-w-narrow { max-width: 620px; }
.max-w-mid { max-width: 780px; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: block; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: clamp(9rem, 14vw, 12rem); padding-bottom: 4rem; }
.breadcrumb { font-size: 0.78rem; color: rgba(11,20,15,0.5); letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--royal-600); }

@media (max-width: 760px) {
  section { padding: 3.2rem 0; }
  .bento { gap: 0.8rem; }
}

/* ---------- Pricing ---------- */
.price-card { position: relative; height: 100%; }
.price-card .bezel-core { display: flex; flex-direction: column; height: 100%; }
.price-card.featured .bezel { background: linear-gradient(160deg, rgba(212,175,55,0.16), rgba(212,175,55,0.02)); border-color: rgba(212,175,55,0.4); }
.price-card.featured .bezel-core { border: 1px solid rgba(212,175,55,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 40px -22px rgba(212,175,55,0.5); }
.badge-royal {
  position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest-900); background: var(--metal-gradient);
  padding: 0.35rem 0.9rem; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px rgba(143,109,30,0.6);
}
.price-head { display: flex; align-items: baseline; gap: 0.4rem; margin: 0.6rem 0 0.2rem; }
.price-amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--royal-600); }
.price-per { font-size: 0.78rem; color: var(--text-muted); }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-on-light); font-size: 0.88rem; }
.price-row:last-child { border-bottom: none; }
.price-row .lbl2 { color: var(--text-muted); }
.price-row .val2 { font-weight: 600; color: var(--ink); }
.tier-pill { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 700; }
.discount-badge { font-family: var(--font-display); font-size: 2.4rem; color: var(--royal-600); }

/* ---------- Checkout (Phase 1) ---------- */
.test-banner {
  position: sticky; top: 0; z-index: 60;
  background: var(--metal-gradient);
  color: var(--forest-900);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -12px rgba(143,109,30,0.6);
}
.test-banner strong { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; }

.provider-grid { display: grid; gap: 0.7rem; }
.provider-option, .milestone-row {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-on-light);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color .3s var(--ease-fluid), box-shadow .3s var(--ease-fluid), background .3s var(--ease-fluid);
}
.provider-option:hover, .milestone-row:hover { border-color: rgba(212,175,55,0.45); }
.provider-option.is-selected, .milestone-row.is-selected {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(31,163,102,0.14);
  background: var(--cream-100);
}
.provider-option input, .milestone-row input { accent-color: var(--gold-500); width: 18px; height: 18px; flex: none; }
.provider-body, .milestone-body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.provider-name, .milestone-label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.provider-hint, .milestone-when { font-size: 0.78rem; color: var(--text-muted); }
.milestone-row { margin-bottom: 0.7rem; }
.milestone-amount { font-weight: 700; font-size: 0.98rem; color: var(--royal-600); }

.qr-data {
  margin-top: 0.6rem; padding: 0.9rem;
  background: var(--cream-100);
  border: 1px solid var(--line-on-light);
  border-radius: var(--r-sm);
  font-size: 0.72rem; word-break: break-all; white-space: pre-wrap;
}
