/* ==========================================================================
   SS LEGAL — theme.css
   One-Stop Legal Support Services

   Palette is closed. Montserrat only. Black dominates, red means action,
   gold is a controlled accent, WhatsApp green is for WhatsApp alone.
   See CLAUDE.md for the full design system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* The palette is authored explicitly and must never be auto-tinted by the
     browser (Chrome auto dark mode inverts undeclared light surfaces). */
  color-scheme: dark;

  /* Official palette — do not extend */
  --c-black:      #000000;
  --c-red:        #92160A;
  --c-gold:       #D9AC4E;
  --c-gold-deep:  #B38231;
  --c-gold-light: #E9CA75;
  --c-ivory:      #FCF7C3;
  --c-white:      #FFFFFF;
  --c-whatsapp:   #25D366;

  /* Derived — alpha and near-black only */
  --ink:             #111111;
  --ink-muted:       rgba(17, 17, 17, .70);
  --ink-faint:       rgba(17, 17, 17, .52);
  --paper:           #FFFFFF;
  --paper-muted:     rgba(255, 255, 255, .72);
  --paper-faint:     rgba(255, 255, 255, .50);
  --hairline:        rgba(217, 172, 78, .26);
  --hairline-soft:   rgba(217, 172, 78, .14);
  --hairline-strong: rgba(217, 172, 78, .55);
  --ink-line:        rgba(17, 17, 17, .14);
  --surface-raise:   #0A0A0A;
  --red-wash:        rgba(146, 22, 10, .08);

  /* Type */
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-display: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
  --t-h1:      clamp(2rem, 1.45rem + 2.6vw, 3.25rem);
  --t-h2:      clamp(1.55rem, 1.25rem + 1.5vw, 2.375rem);
  --t-h3:      clamp(1.125rem, 1.03rem + .48vw, 1.4375rem);
  --t-lead:    clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --t-body:    clamp(1rem, .97rem + .16vw, 1.0625rem);
  --t-small:   .8125rem;
  --t-eyebrow: .75rem;

  /* Space */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px;  --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px; --sp-9: 80px;  --sp-10: 104px; --sp-11: 128px;

  --container: 1200px;
  --container-read: 940px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 8.5vw, 128px);

  --r-sm: 2px;
  --r: 4px;
  --r-lg: 6px;
  --r-pill: 999px;   /* CTAs, per the brand sheet */

  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 220ms;

  --header-h: 88px;
  --strip-h: 38px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--c-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--c-red); color: var(--c-white); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--c-red); color: var(--c-white);
  padding: 12px 20px; border-radius: var(--r);
  font-size: var(--t-small); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--read { max-width: calc(var(--container-read) + var(--gutter) * 2); }

.s {
  position: relative;
  padding-block: var(--section-y);
}

.s--dark   { background: var(--c-black);       color: var(--paper-muted); }
.s--raise  { background: var(--surface-raise); color: var(--paper-muted); }
.s--paper  { background: var(--c-white);       color: var(--ink-muted); }
.s--ivory  { background: var(--c-ivory);       color: var(--ink-muted); }
.s--accent { background: var(--c-red);         color: rgba(255,255,255,.86); }

.s--dark h1, .s--dark h2, .s--dark h3,
.s--raise h1, .s--raise h2, .s--raise h3,
.s--accent h1, .s--accent h2, .s--accent h3 { color: var(--c-white); }

.s--paper h1, .s--paper h2, .s--paper h3,
.s--ivory h1, .s--ivory h2, .s--ivory h3 { color: var(--ink); }

.s--tight { padding-block: clamp(48px, 6vw, 88px); }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-wrap: balance;
}
h3 { font-weight: 600; letter-spacing: -.012em; line-height: 1.28; }

p { max-width: 68ch; }

strong, b { font-weight: 600; color: inherit; }
.s--dark strong, .s--raise strong { color: var(--c-white); }
.s--paper strong, .s--ivory strong { color: var(--ink); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 var(--sp-4);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
  line-height: 1;
  max-width: none;
}
.s--paper .eyebrow, .s--ivory .eyebrow { color: var(--c-gold-deep); }
.s--accent .eyebrow { color: var(--c-ivory); }

.s-head { margin-bottom: clamp(32px, 4vw, 56px); }
.s-head--center { text-align: center; margin-inline: auto; max-width: 780px; }
.s-head--center .eyebrow { justify-content: center; }
.s-head--center p { margin-inline: auto; }

.s-head__title { font-size: var(--t-h2); }
.s-head__title.is-h1 { font-size: var(--t-h1); }
.s-head__lead {
  margin-top: var(--sp-4);
  font-size: var(--t-lead);
  line-height: 1.65;
}

.lead { font-size: var(--t-lead); line-height: 1.68; }

.statement {
  display: flex; flex-direction: column; gap: .18em;
  max-width: 24ch;
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.statement--red   { color: var(--c-red); }
.statement--white { color: var(--c-white); }
.statement--gold  { color: var(--c-gold); }
.s--dark .statement--red, .s--raise .statement--red { color: #C3391F; }
.statement__line { display: block; }

/* --------------------------------------------------------------------------
   5. BUTTONS & LINK CTAs
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--c-red);
  --btn-fg: var(--c-white);
  --btn-bd: rgba(217, 172, 78, .5);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 15px 30px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); border-color: var(--c-gold); }
.btn:active { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { box-shadow: 0 0 0 0 rgba(217,172,78,0); }
.btn--primary:hover { box-shadow: 0 10px 30px -14px rgba(146,22,10,.9), 0 0 0 1px rgba(217,172,78,.3); }

.btn--gold {
  --btn-bg: linear-gradient(180deg, var(--c-gold-light) 0%, var(--c-gold-deep) 100%);
  --btn-fg: var(--c-black);
  --btn-bd: rgba(0,0,0,.18);
  background-image: var(--btn-bg);
}
.btn--gold:hover { box-shadow: 0 10px 30px -14px rgba(217,172,78,.75); }

.btn--outline {
  --btn-bg: var(--c-black);
  --btn-fg: var(--c-white);
  --btn-bd: var(--hairline-strong);
}
/* On light sections the same button inverts to ink-on-paper. */
.s--paper .btn--outline, .s--ivory .btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(179, 130, 49, .65);
}
.btn--outline:hover { border-color: var(--c-gold); box-shadow: 0 0 0 1px rgba(217,172,78,.35); }

.btn--whatsapp {
  --btn-bg: var(--c-whatsapp);
  --btn-fg: var(--c-white);
  --btn-bd: rgba(255,255,255,.18);
}
.btn--whatsapp:hover { box-shadow: 0 10px 30px -14px rgba(37,211,102,.9); }
.btn__wa {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-white); color: var(--c-whatsapp);
}

.btn--sm { min-height: 46px; padding: 11px 20px; font-size: .8125rem; }
.btn--sm .btn__wa { width: 22px; height: 22px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: clamp(24px, 3vw, 36px);
}

.link-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: inherit;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-cta:hover { color: var(--c-gold); border-bottom-color: var(--c-gold); }
.link-cta__arrow { transition: transform var(--dur) var(--ease); }
.link-cta:hover .link-cta__arrow { transform: translateX(4px); }
.s--dark .link-cta, .s--raise .link-cta { color: var(--c-white); }
.s--paper .link-cta, .s--ivory .link-cta { color: var(--ink); }

/* --------------------------------------------------------------------------
   6. TOP STRIP
   -------------------------------------------------------------------------- */

.topstrip {
  position: relative; z-index: 60;
  background: var(--c-black);
  border-bottom: 1px solid var(--hairline);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.topstrip__in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--strip-h);
  padding-block: 8px;
}
.topstrip__wa { display: inline-flex; align-items: center; gap: 9px; color: var(--paper-muted); }
.topstrip__wa:hover { color: var(--c-whatsapp); }
.topstrip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-whatsapp);
  box-shadow: 0 0 0 3px rgba(37,211,102,.18);
  animation: pulse-dot 2.6s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37,211,102,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(37,211,102,.05); }
}
.topstrip__group { display: inline-flex; align-items: center; gap: 8px; color: var(--c-gold); }
.topstrip__group:hover { color: var(--c-gold-light); }
.topstrip__arrow { transition: transform var(--dur) var(--ease); }
.topstrip__group:hover .topstrip__arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   7. HEADER / NAV / DRAWER
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 70;
  background: var(--c-black);
  border-bottom: 1px solid var(--hairline-soft);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(0, 0, 0, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 12px 40px -22px rgba(0, 0, 0, .95);
}
.site-header__in {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}

.site-header.is-stuck .site-header__in { min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark {
  width: 64px; height: 64px; flex: 0 0 auto;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}
.site-header.is-stuck .brand__mark { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-size: 1.1875rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--c-white); line-height: 1;
}
.brand__tag {
  font-size: .6875rem; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-gold); line-height: 1;
}

.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: .78125rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--paper-muted);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--c-red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--c-gold); }
.nav__link.is-active { color: var(--c-white); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

.site-header__cta .btn { min-height: 44px; padding: 11px 20px; font-size: .75rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger__bar {
  display: block; width: 20px; height: 1.5px; background: var(--c-gold);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer[hidden] { display: none; }
.drawer::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in var(--dur) var(--ease) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.drawer__panel {
  position: absolute; inset-block: 0; right: 0;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--c-black);
  border-left: 1px solid var(--hairline);
  padding: var(--sp-5) var(--sp-5) calc(var(--sp-6) + env(safe-area-inset-bottom));
  overflow-y: auto;
  animation: slide-in 280ms var(--ease) both;
}
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--hairline);
}
.drawer__title {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-gold);
}
.drawer__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1; color: var(--c-white);
  border: 1px solid var(--hairline); border-radius: var(--r);
}

.drawer__list { display: flex; flex-direction: column; }
.drawer__link {
  display: block; padding: 15px 16px;
  font-size: .9375rem; font-weight: 500;
  color: var(--paper-muted);
  border-bottom: 1px solid var(--hairline-soft);
  border-radius: var(--r-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              padding-left var(--dur) var(--ease);
}
.drawer__link:hover { color: var(--c-gold); padding-left: 22px; }
.drawer__link.is-active {
  background: var(--c-red); color: var(--c-white); font-weight: 600;
  border-bottom-color: transparent;
}

.drawer__foot { margin-top: auto; padding-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.drawer__foot .btn { width: 100%; }
.drawer__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border-radius: var(--r);
  background: var(--c-whatsapp); color: var(--c-white);
  font-size: var(--t-small); font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.drawer__meta {
  margin-top: var(--sp-2);
  font-size: var(--t-small); color: var(--paper-faint); line-height: 1.9;
}

/* --------------------------------------------------------------------------
   8. HOME HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: var(--paper-muted);
  background: var(--c-black);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.8) 32%, rgba(0,0,0,.24) 66%, rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.08) 42%, rgba(0,0,0,.95) 100%);
}
/* Fallback when no photograph is present yet */
.hero--plate .hero__media {
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(217,172,78,.14) 0%, transparent 58%),
    radial-gradient(90% 70% at 12% 88%, rgba(146,22,10,.20) 0%, transparent 60%),
    var(--c-black);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(180deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: clamp(90px, 12vw, 170px) clamp(90px, 12vw, 170px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 72%);
  opacity: .22;
}

.hero__in {
  position: relative;
  padding-block: clamp(72px, 11vw, 152px) clamp(64px, 9vw, 128px);
  max-width: 940px;
}
.hero__title {
  font-size: var(--t-display);
  color: var(--c-white);
  line-height: 1.04;
  letter-spacing: -.028em;
}
.hero__title .accent { color: var(--c-gold); }
.hero__sub {
  margin-top: var(--sp-5);
  font-size: var(--t-lead);
  color: var(--paper-muted);
  max-width: 60ch;
}
.hero__body {
  margin-top: var(--sp-4);
  color: var(--paper-muted);
  max-width: 62ch;
}
.hero__body strong { color: var(--c-white); font-weight: 600; }
.hero__triad {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-gold);
  max-width: none;
}
.hero__triad span { display: inline-flex; align-items: center; gap: 22px; }
.hero__triad span:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .55;
}

/* --------------------------------------------------------------------------
   9. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */

.phero {
  position: relative;
  background: var(--c-black);
  color: var(--paper-muted);
  overflow: hidden; isolation: isolate;
  padding-block: clamp(52px, 7.5vw, 104px) clamp(48px, 6.5vw, 88px);
  border-bottom: 1px solid var(--hairline);
}
.phero__media { position: absolute; inset: 0; z-index: -1; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.phero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.84) 40%, rgba(0,0,0,.16) 76%, rgba(0,0,0,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.14) 50%, rgba(0,0,0,.88) 100%);
}
.phero:not(:has(.phero__media))::before,
.phero--plate::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(100% 80% at 88% 0%, rgba(217,172,78,.13) 0%, transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(146,22,10,.16) 0%, transparent 62%);
}
.phero__title { font-size: var(--t-h1); color: var(--c-white); max-width: 20ch; }
.phero__kicker { margin-bottom: var(--sp-4); }
.phero__lead {
  margin-top: var(--sp-5); font-size: var(--t-lead);
  color: var(--paper-muted); max-width: 62ch;
}
.phero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: clamp(24px, 3vw, 36px); }
.phero__note {
  margin-top: var(--sp-5); padding-top: var(--sp-5);
  border-top: 1px solid var(--hairline);
  font-size: var(--t-small); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-gold);
}


/* --------------------------------------------------------------------------
   10. GRIDS
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
/* Children stretch so cards in a row share one height. */
.grid > * { min-width: 0; display: flex; }
.grid > * > * { width: 100%; }
.card, .pillar, .route, .gain { height: 100%; }
.grid--1    { grid-template-columns: 1fr; }
.grid--2    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.grid--3    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 318px), 1fr)); }
.grid--4    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.split {
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 32px); }
  .split--40 { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}

/* --------------------------------------------------------------------------
   11. CARDS
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card__title { font-size: var(--t-h3); }
.card__body { font-size: .9375rem; line-height: 1.7; flex: 1 1 auto; }
.card__eyebrow {
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-gold-deep);
}
.card__cta { margin-top: var(--sp-2); align-self: flex-start; }

.card__badge {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  margin-bottom: var(--sp-2);
  transition: transform var(--dur) var(--ease);
}
.card:hover .card__badge { transform: translateY(-2px); }

.card__tick {
  position: absolute; top: 0; right: 0; width: 30px; height: 30px;
  background: linear-gradient(225deg, var(--c-gold) 0 50%, transparent 50%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover .card__tick { opacity: .85; }

.card--ivory {
  background: var(--c-ivory);
  border: 1px solid rgba(179, 130, 49, .28);
  color: var(--ink-muted);
}
.card--ivory .card__title { color: var(--ink); }
.card--ivory .card__badge { background: var(--c-red); color: var(--c-white); }
.card--ivory:hover { border-color: var(--c-gold-deep); transform: translateY(-3px); }

.card--paper {
  background: var(--c-white);
  border: 1px solid var(--ink-line);
  color: var(--ink-muted);
}
.card--paper .card__title { color: var(--ink); }
.card--paper .card__badge { background: var(--c-red); color: var(--c-white); }
.card--paper:hover {
  border-color: var(--c-gold-deep); transform: translateY(-3px);
  box-shadow: 0 20px 44px -30px rgba(0,0,0,.5);
}

.card--dark {
  background: var(--surface-raise);
  border: 1px solid var(--hairline);
  color: var(--paper-muted);
}
.card--dark .card__title { color: var(--c-white); }
.card--dark .card__eyebrow { color: var(--c-gold); }
.card--dark .card__badge {
  background: transparent; border: 1px solid var(--hairline-strong); color: var(--c-gold);
}
.card--dark:hover {
  border-color: var(--hairline-strong); transform: translateY(-3px);
  box-shadow: 0 20px 48px -26px rgba(0,0,0,.9);
}

/* --------------------------------------------------------------------------
   12. PILLARS / GAINS / ROUTES / CHIPS
   -------------------------------------------------------------------------- */

.pillar {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(217,172,78,.045) 0%, transparent 60%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pillar:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.pillar__num {
  position: absolute; top: 18px; right: 22px;
  font-size: 2.75rem; font-weight: 700; line-height: 1;
  color: var(--c-gold); opacity: .13;
  font-variant-numeric: tabular-nums;
}
.pillar__label {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-3);
}
.pillar__headline { font-size: var(--t-h3); margin-bottom: var(--sp-3); }
.pillar__body { font-size: .9375rem; line-height: 1.72; }
.pillar__benefit {
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
  font-size: .875rem; line-height: 1.65;
}
.pillar__benefit span {
  display: block;
  font-size: .6875rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-gold-deep); margin-bottom: 5px;
}
.s--paper .pillar, .s--ivory .pillar {
  border-color: rgba(179,130,49,.3);
  background: linear-gradient(180deg, rgba(217,172,78,.07) 0%, transparent 60%);
}
.s--paper .pillar__label, .s--ivory .pillar__label { color: var(--c-gold-deep); }

.gain {
  display: grid; grid-template-columns: 26px 1fr; gap: 6px 14px;
  padding-block: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
}
.s--paper .gain, .s--ivory .gain { border-top-color: var(--ink-line); }
.gain__mark {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); color: var(--c-gold);
  margin-top: 3px;
}
.s--paper .gain__mark, .s--ivory .gain__mark {
  border-color: var(--c-red); color: var(--c-red);
}
.gain__title {
  font-size: .9375rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}
.gain__body { font-size: .9375rem; line-height: 1.7; }

.route {
  padding: clamp(20px, 2.4vw, 30px);
  border-left: 2px solid var(--c-gold);
  background: linear-gradient(90deg, rgba(217,172,78,.06) 0%, transparent 70%);
}
.s--paper .route, .s--ivory .route {
  border-left-color: var(--c-red);
  background: linear-gradient(90deg, var(--red-wash) 0%, transparent 70%);
}
.route__icon { display: inline-flex; color: var(--c-gold); margin-bottom: var(--sp-3); }
.s--paper .route__icon, .s--ivory .route__icon { color: var(--c-red); }
.route__title {
  font-size: .9375rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: var(--sp-2);
}
.route__body { font-size: .9375rem; line-height: 1.72; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  font-size: .8125rem; font-weight: 500; line-height: 1.4;
  color: var(--paper-muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--hairline-strong); color: var(--c-white); }
.s--paper .chip, .s--ivory .chip {
  border-color: rgba(179,130,49,.34); color: var(--ink-muted);
  background: rgba(255,255,255,.5);
}
.s--paper .chip:hover, .s--ivory .chip:hover { border-color: var(--c-gold-deep); color: var(--ink); }

/* Ordered pillar list used for "What you gain" style lists */
.deflist { display: grid; gap: 0; }
.deflist__row {
  display: grid; gap: 4px 24px; padding-block: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
}
.s--paper .deflist__row, .s--ivory .deflist__row { border-top-color: var(--ink-line); }
@media (min-width: 720px) { .deflist__row { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); } }
.deflist__t {
  font-size: .875rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-gold);
}
.s--paper .deflist__t, .s--ivory .deflist__t { color: var(--c-red); }
.deflist__d { font-size: .9375rem; line-height: 1.72; }

/* --------------------------------------------------------------------------
   13. SERVICE PAGE BLOCKS
   -------------------------------------------------------------------------- */

.qa { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.qa__item {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--ink-line);
}
.s--dark .qa__item, .s--raise .qa__item { border-top-color: var(--hairline-soft); }
.qa__q {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-red); margin-bottom: var(--sp-3);
}
.s--dark .qa__q, .s--raise .qa__q { color: var(--c-gold); }
.qa__a { font-size: var(--t-lead); line-height: 1.68; }

.related {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--hairline);
}
.related__h {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-4);
}
.related__list { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.related__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--hairline-soft); border-radius: var(--r);
  font-size: .9375rem; font-weight: 500; color: var(--paper-muted);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.related__link .icon { color: var(--c-gold); flex: 0 0 auto; transition: transform var(--dur) var(--ease); }
.related__link:hover {
  border-color: var(--hairline-strong); color: var(--c-white);
  background: rgba(217,172,78,.05);
}
.related__link:hover .icon { transform: translateX(4px); }
.s--paper .related__link, .s--ivory .related__link { color: var(--ink-muted); border-color: var(--ink-line); }
.s--paper .related__link:hover, .s--ivory .related__link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. ACCORDION
   -------------------------------------------------------------------------- */

.accordion { border-top: 1px solid var(--ink-line); }
.s--dark .accordion, .s--raise .accordion { border-top-color: var(--hairline-soft); }
.accordion__item { border-bottom: 1px solid var(--ink-line); }
.s--dark .accordion__item, .s--raise .accordion__item { border-bottom-color: var(--hairline-soft); }

.accordion__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  cursor: pointer; list-style: none;
  font-size: clamp(1rem, .96rem + .3vw, 1.1875rem);
  font-weight: 600; line-height: 1.4; letter-spacing: -.008em;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.s--dark .accordion__q, .s--raise .accordion__q { color: var(--c-white); }
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q:hover { color: var(--c-red); }
.s--dark .accordion__q:hover, .s--raise .accordion__q:hover { color: var(--c-gold); }
.accordion__qtext { flex: 1 1 auto; }
.accordion__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); color: var(--c-gold-deep);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.s--dark .accordion__icon, .s--raise .accordion__icon { color: var(--c-gold); }
.accordion__item[open] .accordion__icon {
  transform: rotate(180deg); background: var(--c-red); color: var(--c-white);
  border-color: var(--c-red);
}
.accordion__a { padding-bottom: clamp(18px, 2.2vw, 26px); }
.accordion__a p { font-size: .9375rem; line-height: 1.78; max-width: 74ch; }
.accordion__item[open] .accordion__a { animation: acc-in 300ms var(--ease) both; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   15. FORMS
   -------------------------------------------------------------------------- */

.form { display: grid; gap: clamp(18px, 2.2vw, 24px); }
.form__grid { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 680px) { .form__grid--2 { grid-template-columns: 1fr 1fr; } }

.form__group { display: grid; gap: 8px; }
.form__label {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-gold);
}
.s--paper .form__label, .s--ivory .form__label { color: var(--c-red); }
.form__req { color: var(--c-red); margin-left: 3px; }
.s--dark .form__req, .s--raise .form__req { color: var(--c-gold-light); }
.form__opt {
  margin-left: 6px; font-weight: 500; letter-spacing: .1em;
  color: var(--paper-faint); text-transform: none;
}
.s--paper .form__opt, .s--ivory .form__opt { color: var(--ink-faint); }

.field {
  width: 100%; min-height: 52px;
  padding: 14px 16px;
  background: var(--c-white);
  color: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: var(--r);
  font-size: 16px; /* prevents iOS zoom */
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.field::placeholder { color: rgba(17,17,17,.38); }
.field:hover { border-color: rgba(17,17,17,.28); }
.field:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(217,172,78,.22);
}
textarea.field { min-height: 132px; resize: vertical; }

select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field-phone { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.field-phone select.field { padding-inline: 12px 32px; background-position: right 10px center; }

.form__hint { font-size: .8125rem; line-height: 1.6; color: var(--paper-faint); }
.s--paper .form__hint, .s--ivory .form__hint { color: var(--ink-faint); }

.form__error {
  display: none;
  font-size: .8125rem; font-weight: 500; color: #E0654F;
}
.s--paper .form__error, .s--ivory .form__error { color: var(--c-red); }
.form__group.has-error .form__error { display: block; }
.form__group.has-error .field { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(146,22,10,.16); }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; min-height: 48px;
  border: 1px solid var(--hairline); border-radius: var(--r);
  font-size: .875rem; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.s--paper .radio, .s--ivory .radio { border-color: var(--ink-line); background: var(--c-white); }
.radio input { accent-color: var(--c-red); width: 17px; height: 17px; }
.radio:has(input:checked) { border-color: var(--c-gold); background: rgba(217,172,78,.08); }
.s--paper .radio:has(input:checked), .s--ivory .radio:has(input:checked) {
  border-color: var(--c-red); background: var(--red-wash);
}

.checkbox {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: .875rem; line-height: 1.65; cursor: pointer;
}
.checkbox input { accent-color: var(--c-red); width: 18px; height: 18px; margin-top: 3px; }

.checkgrid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.checkgrid .checkbox {
  padding: 11px 14px; border: 1px solid var(--hairline); border-radius: var(--r);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.checkgrid .checkbox:has(input:checked) { border-color: var(--c-gold); background: rgba(217,172,78,.08); }

.upload {
  display: grid; place-items: center; gap: 8px;
  padding: 26px 20px; text-align: center;
  border: 1px dashed var(--hairline-strong); border-radius: var(--r);
  font-size: .875rem; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.upload:hover { border-color: var(--c-gold); background: rgba(217,172,78,.05); }
.upload input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload__icon { color: var(--c-gold); }

.form__panel {
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--surface-raise);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.s--paper .form__panel, .s--ivory .form__panel {
  background: var(--c-white); border-color: var(--ink-line);
  box-shadow: 0 30px 70px -50px rgba(0,0,0,.5);
}

.form__fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: inherit; }
.form__legend {
  padding: 0; margin-bottom: var(--sp-4);
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-gold);
}
.s--paper .form__legend, .s--ivory .form__legend { color: var(--c-gold-deep); }
.form__sep { height: 1px; background: var(--hairline-soft); margin-block: var(--sp-2); }
.s--paper .form__sep, .s--ivory .form__sep { background: var(--ink-line); }

/* SS Paralegal smart routing panel */
.route-out {
  display: none;
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid var(--c-gold);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(217,172,78,.1) 0%, rgba(217,172,78,.02) 100%);
}
.route-out.is-visible { display: block; animation: acc-in 300ms var(--ease) both; }
.route-out__h {
  font-size: var(--t-h3); color: var(--c-white); margin-bottom: var(--sp-3);
}
.s--paper .route-out__h, .s--ivory .route-out__h { color: var(--ink); }
.route-out__brand {
  margin-block: var(--sp-4) var(--sp-2);
  font-size: 1.0625rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-gold);
}
.route-out__sub {
  font-size: var(--t-small); font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--paper-faint); margin-bottom: var(--sp-4);
}
.s--paper .route-out__sub, .s--ivory .route-out__sub { color: var(--ink-faint); }

.form__success {
  display: none;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--hairline-strong); border-radius: var(--r);
  background: rgba(217,172,78,.06);
}
.form__success.is-visible { display: block; }

/* --------------------------------------------------------------------------
   16. CONTACT / MISC BLOCKS
   -------------------------------------------------------------------------- */

.contact-list { display: grid; gap: 2px; }
.contact-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: clamp(18px, 2.2vw, 24px) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.s--paper .contact-row, .s--ivory .contact-row { border-bottom-color: var(--ink-line); }
.contact-row__icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--hairline-strong); color: var(--c-gold);
}
.s--paper .contact-row__icon, .s--ivory .contact-row__icon {
  border-color: rgba(146,22,10,.3); color: var(--c-red);
}
.contact-row__label {
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-gold-deep); margin-bottom: 4px;
}
.contact-row__value { font-size: 1.0625rem; font-weight: 500; line-height: 1.55; }
.s--dark .contact-row__value, .s--raise .contact-row__value { color: var(--c-white); }
.contact-row__value a:hover { color: var(--c-gold); }

.map-frame {
  border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden;
  background: var(--surface-raise);
  aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.1) brightness(.85); }

.figure {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--hairline);
}
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.figure--plate {
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(90% 80% at 75% 25%, rgba(217,172,78,.16) 0%, transparent 60%),
    radial-gradient(80% 70% at 20% 85%, rgba(146,22,10,.2) 0%, transparent 62%),
    var(--surface-raise);
}

.quote {
  padding: clamp(28px, 3.6vw, 52px);
  border-left: 2px solid var(--c-gold);
  background: linear-gradient(90deg, rgba(217,172,78,.07) 0%, transparent 72%);
}
.quote__text {
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.875rem);
  font-weight: 600; line-height: 1.32; letter-spacing: -.015em;
  color: var(--c-white); max-width: 26ch;
}
.s--paper .quote__text, .s--ivory .quote__text { color: var(--ink); }
.quote__by {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
  font-size: var(--t-small); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-gold);
}
.quote__role {
  display: block; margin-top: 5px;
  font-weight: 500; letter-spacing: .1em; color: var(--paper-faint);
  text-transform: none;
}
.s--paper .quote__role, .s--ivory .quote__role { color: var(--ink-faint); }

.audience-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  font-size: clamp(.875rem, .82rem + .3vw, 1.0625rem);
  font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  max-width: none;
}
.s--dark .audience-line, .s--raise .audience-line { color: var(--c-white); }
.audience-line li { display: inline-flex; align-items: center; gap: 20px; }
.audience-line li:not(:last-child)::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-gold);
}
.audience-line--focus { color: var(--c-gold); }
.s--dark .audience-line--focus, .s--raise .audience-line--focus { color: var(--c-gold); }
.audience-line--focus li:not(:last-child)::after { background: var(--c-red); }

.mini-label {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-gold-deep);
}

/* Conversion band */
.s--convert { text-align: left; }
.convert { display: grid; gap: var(--sp-5); }
.convert .statement { font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.625rem); max-width: none; }
.convert__triad {
  max-width: none;
  font-size: var(--t-small); font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-gold);
}
.convert__lead { font-size: var(--t-lead); }
.convert__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--hairline-soft);
}
.s--paper .step, .s--ivory .step { border-top-color: var(--ink-line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  color: var(--c-gold);
}
.s--paper .step::before, .s--ivory .step::before {
  border-color: rgba(146,22,10,.28); color: var(--c-red);
}
.step__t { font-size: var(--t-h3); margin-bottom: 6px; }
.step__d { font-size: .9375rem; line-height: 1.72; }

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--c-black);
  color: var(--paper-muted);
  padding-block: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--hairline);
}
.site-footer__top {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
  padding-bottom: clamp(40px, 5vw, 64px);
}
@media (min-width: 700px)  { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__top { grid-template-columns: 1.35fr 1fr 1.15fr 1.25fr; } }

.site-footer__mark { width: 92px; height: 92px; margin-bottom: var(--sp-4); }
.site-footer__name {
  font-size: 1.25rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-white);
}
.site-footer__pos {
  margin-top: 6px;
  font-size: var(--t-small); font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--c-gold);
}
.site-footer__triad {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
  font-size: .6875rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--paper-faint); line-height: 1.9;
  max-width: 30ch;
}

.site-footer__h {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-4);
}
.site-footer__h--gap { margin-top: var(--sp-6); }
.site-footer__list { display: grid; gap: 11px; font-size: .9375rem; }
.site-footer__list a { color: var(--paper-muted); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.site-footer__list a:hover { color: var(--c-gold); padding-left: 5px; }

.site-footer__line { display: grid; gap: 3px; margin-bottom: var(--sp-4); font-size: .9375rem; }
.site-footer__lbl {
  font-size: .625rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--paper-faint);
}
.site-footer__contact a { color: var(--c-white); }
.site-footer__contact a:hover { color: var(--c-gold); }
.site-footer__addr { color: var(--paper-muted); line-height: 1.65; max-width: 30ch; }
.site-footer__contact .btn { margin-top: var(--sp-2); }

.site-footer__routes {
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  padding-block: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-footer__route {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; border: 1px solid var(--hairline-soft); border-radius: var(--r);
  font-size: .875rem; font-weight: 600; letter-spacing: .06em;
  color: var(--c-white);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-footer__route:hover { border-color: var(--c-gold); background: rgba(217,172,78,.06); }
.site-footer__routearrow { color: var(--c-gold); transition: transform var(--dur) var(--ease); }
.site-footer__route:hover .site-footer__routearrow { transform: translateX(4px); }
.site-footer__route--para { border-color: var(--hairline); }

.site-footer__legal { padding-block: clamp(28px, 3.4vw, 40px); }
.site-footer__compliance {
  font-size: .8125rem; line-height: 1.8; color: var(--paper-faint); max-width: 88ch;
}
.site-footer__copy {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline-soft);
  font-size: .75rem; letter-spacing: .06em; color: var(--paper-faint);
}
.site-footer__sep { margin-inline: 8px; color: var(--c-gold-deep); }

/* Brand-sheet footer bar: lockup only. */
.site-footer__bar {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(217,172,78,.05) 0%, transparent 100%);
}
.site-footer__bar-in {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 32px;
  padding-block: 20px;
}
.site-footer__lockup {
  display: flex; align-items: baseline; gap: 12px;
  max-width: none;
  font-size: var(--t-small); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-white);
}
.site-footer__lockup-name { white-space: nowrap; }
.site-footer__lockup-sep { color: var(--c-gold-deep); font-weight: 400; }
.site-footer__lockup-pos { color: var(--paper-faint); font-weight: 500; }
/* --------------------------------------------------------------------------
   18. WHATSAPP FAB
   -------------------------------------------------------------------------- */

.wa-fab {
  position: fixed; z-index: 80;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: var(--c-white);
  box-shadow: 0 12px 34px -10px rgba(37, 211, 102, .55), 0 2px 8px rgba(0,0,0,.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 16px 42px -10px rgba(37,211,102,.7); }
.wa-fab__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  animation: wa-pulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (min-width: 900px) { .wa-fab { width: 60px; height: 60px; right: 26px; bottom: 26px; } }

/* --------------------------------------------------------------------------
   19. REVEAL
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 620px) {
  :root { --header-h: 76px; --gutter: 18px; }

  /* Spec §18: the top strip must remain visible and uncropped. On phones both
     locked lines stack and stay centred, so neither has to shrink to 9px. */
  .topstrip { font-size: .6875rem; letter-spacing: .1em; }
  .topstrip__in {
    flex-direction: column; align-items: center; gap: 5px;
    padding-block: 9px;
  }
  .topstrip__wa span, .topstrip__group span { white-space: nowrap; }

  /* Stacked lists read as a list, not as bullets stranded at line ends. */
  .hero__triad span:not(:last-child)::after,
  .audience-line li:not(:last-child)::after { display: none; }
  .hero__triad { flex-direction: column; gap: 8px; }
  .audience-line { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Keep the floating WhatsApp button clear of footer text. */
  .site-footer__bar-in { padding-bottom: 92px; }
  .site-footer__bar-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer__lockup { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer__lockup-sep { display: none; }
  .brand__mark { width: 56px; height: 56px; }
  .brand__name { font-size: 1.0625rem; letter-spacing: .11em; }
  .brand__tag { font-size: .625rem; }
  .btn { width: 100%; }
  .btn-row .btn, .convert__ctas .btn, .phero__ctas .btn { width: 100%; }
  .statement { max-width: none; }
  .field-phone { grid-template-columns: 104px 1fr; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step::before { width: 38px; height: 38px; font-size: .75rem; }
}

@media (max-width: 380px) {
  .topstrip { font-size: .625rem; letter-spacing: .08em; }
  /* Below 380px the positioning line cannot sit on one row beside the emblem.
     It reads better dropped than wrapped — it still appears in the hero and footer. */
  .brand__tag { display: none; }
  .brand__mark { width: 50px; height: 50px; }
  .brand { gap: 11px; }
  .contact-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .contact-row__icon { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   20b. MOBILE TYPOGRAPHY
   Phones get a larger base scale — the spec's mobile-first rule means the
   phone layout is the primary reading experience, not a shrunken desktop.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  :root {
    --t-body:    1.0625rem;   /* 17px */
    --t-lead:    1.1875rem;   /* 19px */
    --t-small:   .875rem;     /* 14px */
    --t-eyebrow: .8125rem;    /* 13px */
  }

  body { line-height: 1.8; }

  .card__body, .pillar__body, .route__body, .gain__body, .step__d,
  .deflist__d, .accordion__a p, .related__link, .site-footer__list,
  .site-footer__line, .quote__by { font-size: 1.0625rem; line-height: 1.75; }

  .qa__a { font-size: 1.125rem; }
  .accordion__q { font-size: 1.0625rem; }

  .card__title { font-size: 1.25rem; }
  .gain__title, .route__title, .deflist__t, .card__eyebrow,
  .pillar__benefit span, .contact-row__label { font-size: .9375rem; }
  .pillar__benefit { font-size: 1rem; }
  .contact-row__value { font-size: 1.125rem; }

  .btn { font-size: .875rem; letter-spacing: .06em; }
  .link-cta { font-size: .875rem; }
  .chip { font-size: .9375rem; padding: 10px 16px; }

  .nav__link, .drawer__link { font-size: 1.0625rem; }
  .drawer__meta { font-size: .9375rem; }

  .form__label, .form__legend { font-size: .8125rem; }
  .form__hint, .form__error, .form__opt { font-size: .9375rem; }
  .checkbox, .radio { font-size: 1rem; }

  .site-footer__lbl { font-size: .75rem; }
  .site-footer__compliance { font-size: .9375rem; line-height: 1.85; }
  .site-footer__copy, .site-footer__triad { font-size: .8125rem; }
  .site-footer__route { font-size: .9375rem; }
  .site-footer__lockup { font-size: .75rem; }
  .mini-label { font-size: .875rem; }
}

/* --------------------------------------------------------------------------
   21. MOTION PREFERENCE
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   22. PRINT
   -------------------------------------------------------------------------- */

@media print {
  .topstrip, .site-header, .drawer, .wa-fab, .btn, .link-cta, .site-footer__routes { display: none !important; }
  body { background: #fff; color: #000; }
  .s, .phero, .hero { background: #fff !important; color: #000 !important; padding-block: 18px; }
  .s h1, .s h2, .s h3, .phero__title, .hero__title { color: #000 !important; }
  .hero__media, .phero__media { display: none; }
}

/* ==========================================================================
   Frontend refinement — client master §2 / §18.
   Shared by the static preview and the future WordPress theme.
   Photography is shown at its authored exposure, without an additional scrim.
   ========================================================================== */
:root {
  --container: 1240px;
  --section-y: clamp(64px, 7vw, 104px);
  --t-display: clamp(2.45rem, 1.5rem + 2.8vw, 4rem);
  --t-h1: clamp(2.1rem, 1.4rem + 2.2vw, 3.5rem);
  --t-h2: clamp(1.7rem, 1.25rem + 1.5vw, 2.65rem);
  --paper-muted: rgba(255,255,255,.82);
  --paper-faint: rgba(255,255,255,.66);
  --ink-muted: rgba(17,17,17,.82);
  --r-pill: 999px;
}
body { line-height: 1.7; }
h1, h2 { letter-spacing: -.035em; line-height: 1.16; }
h3 { line-height: 1.35; }
.eyebrow, .mini-label, .pillar__label, .card__eyebrow,
.form__legend, .form__label, .qa__q { letter-spacing: .08em; line-height: 1.5; }
.eyebrow { gap: 0; }
.s-head__title { max-width: 28ch; }
.s-head--center .s-head__title { margin-inline: auto; }
.s--ivory { background: var(--c-white); }
.s--paper .eyebrow, .s--ivory .eyebrow,
.s--paper .mini-label, .s--ivory .mini-label { color: var(--c-red); }
.btn { letter-spacing: .035em; padding: 16px 24px; min-height: 52px; box-shadow: none; }
.btn--gold { background: var(--c-gold); background-image: none; }
.link-cta { letter-spacing: .035em; line-height: 1.55; min-height: 44px; align-items: center; }
.topstrip { letter-spacing: .07em; }
.topstrip__dot, .wa-fab__pulse { animation: none; }
.brand__name { color: var(--c-gold); font-size: 1.4rem; letter-spacing: .075em; }
.brand__tag { letter-spacing: .06em; color: var(--paper-muted); }
.nav__list { gap: clamp(16px, 1.7vw, 26px); }
.nav__link { letter-spacing: .025em; font-size: .75rem; min-height: 44px; display: flex; align-items: center; }
.site-header__in { gap: 20px; }
.site-header__cta .btn { padding-inline: 16px; letter-spacing: .02em; }
.hero__scrim, .phero__scrim, .hero__grid { display: none; }
.hero__media img, .phero__media img { opacity: 1; }
.hero__media, .phero__media { left: 53%; z-index: -1; }
.hero__media { bottom: 60px; }
.hero__media img, .phero__media img { object-position: 72% center; }
.hero__in { width: 49%; padding-block: 72px 64px; max-width: 620px; }
.hero__title { line-height: 1.08; letter-spacing: -.045em; }
.hero__sub { font-size: clamp(1.08rem, 1.25vw, 1.25rem); color: var(--c-white); line-height: 1.6; margin-top: 24px; }
.hero__body { font-size: .9375rem; line-height: 1.8; margin-top: 18px; }
.hero__body strong { font-weight: 500; }
.hero__triad { gap: 8px 14px; letter-spacing: .045em; font-size: .6875rem; margin-top: 26px; }
.hero__triad span { gap: 14px; }
.hero__in .btn-row { gap: 12px; margin-top: 28px; }
.hero__in .btn { font-size: .72rem; padding-inline: 18px; }
.phero { padding-block: 64px 72px; }
.phero:has(.phero__media) > .container > :not(.breadcrumbs) { max-width: 48%; }
.phero__title { line-height: 1.15; }
.phero__lead { font-size: 1.0625rem; line-height: 1.75; }
.phero__ctas .btn { font-size: .75rem; padding-inline: 20px; }
.card, .pillar { border-radius: 3px; padding: clamp(24px, 2.6vw, 36px); }
.card--ivory { background: var(--c-white); }
.card__badge { border-radius: 0; background: transparent !important; color: var(--c-gold) !important; border: none !important; width: 36px; height: 36px; }
.card--ivory .card__badge, .card--paper .card__badge { color: var(--c-red) !important; }
.card__tick { display: none; }
.card__body, .pillar__body, .route__body { font-size: 1rem; line-height: 1.75; }
.card__title { letter-spacing: -.02em; }
.card__cta { margin-top: 20px; }
.card:hover, .pillar:hover { transform: none; box-shadow: none; }
.pillar { background: transparent; border-width: 1px 0 0; }
.pillar__num { position: static; opacity: 1; font-size: .8125rem; margin-bottom: 24px; color: var(--c-gold); }
.pillar__headline { max-width: 26ch; }
.pillar__benefit { font-size: .9375rem; }
.pillar__benefit span { color: var(--c-gold); letter-spacing: .06em; }
.route { background: transparent !important; border-left-width: 1px; }
.route__title { letter-spacing: .035em; line-height: 1.55; }
.figure { border: 0; border-radius: 2px; }
.split .s-head__title + .statement { margin-top: 32px; line-height: 1.5; }
.audience-line { letter-spacing: .025em; line-height: 1.65; }
.s--paper .audience-line--focus, .s--ivory .audience-line--focus { color: var(--c-red); }
.form__panel { border-radius: 3px; box-shadow: none !important; }
.form__input, .form__select, .form__textarea { border-radius: 2px; }
.site-footer__h, .site-footer__pos, .site-footer__triad { letter-spacing: .065em; }
.site-footer__list { font-size: .875rem; }
.site-footer__list a { display: inline-block; padding-block: 4px; }
[data-reveal] { opacity: 1; transform: none; transition: none; }
@media (min-width: 1000px) {
  .hero + .s > .container { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 80px; }
  .hero + .s .s-head { grid-column: 1; grid-row: 1 / 7; margin: 0; }
  .hero + .s > .container > :not(.s-head) { grid-column: 2; }
}
@media (max-width: 1100px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; --t-body: 1rem; --t-lead: 1.125rem; }
  .hero, .phero { display: flex; flex-direction: column; }
  .hero__media, .phero__media { position: relative; inset: auto; order: 2; width: 100%; height: clamp(220px, 60vw, 380px); z-index: 0; }
  .hero__media img, .phero__media img { object-position: center 48%; }
  .hero__in { width: 100%; padding-block: 42px 36px; }
  .hero__title { font-size: clamp(2.4rem, 8.7vw, 3.8rem); max-width: 17ch; }
  .hero__body { font-size: 1rem; }
  .hero__triad { flex-direction: row; gap: 8px 16px; font-size: .6875rem; }
  .hero__in .btn { font-size: .8125rem; }
  .phero { padding-block: 36px 0; gap: 32px; }
  .phero:has(.phero__media) > .container > :not(.breadcrumbs) { max-width: 100%; }
  .phero:not(:has(.phero__media)) { padding-bottom: 40px; }
  .phero__ctas .btn { font-size: .8125rem; }
  .audience-line { flex-direction: row; gap: 12px 20px; }
  .audience-line li { border-bottom: 1px solid var(--ink-line); padding-bottom: 8px; }
  .s-head { margin-bottom: 32px; }
  .card__body, .pillar__body, .route__body { font-size: 1rem; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__name { font-size: 1.25rem; }
  .brand__tag { font-size: .6rem; }
  .wa-fab { width: 48px; height: 48px; right: 12px; bottom: 12px; box-shadow: 0 2px 12px #0004; }
  .btn-row, .convert__ctas, .phero__ctas { padding-right: 40px; }
  .drawer__foot .btn-row { padding-right: 0; }
}
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .brand__tag { display: block; max-width: 150px; line-height: 1.5; font-size: .55rem; }
  .brand { gap: 9px; }
  .hero__title { font-size: 2.3rem; }
  .btn { padding-inline: 14px; }
}

/* ==========================================================================
   WORDPRESS (Phase 2)
   Server-rendered form states and the spam honeypot. Both are inert on the
   Phase 1 static build — the classes simply never appear there.
   ========================================================================== */

/* Honeypot: hidden from people and from assistive technology alike. */
.ss-hp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Submission problem returned by the server, shown above the form. */
.form__banner {
  display: block; margin: 0 0 22px; padding: 14px 18px;
  border: 1px solid var(--hairline-strong); border-left: 3px solid var(--c-red);
  border-radius: var(--r); background: var(--red-wash);
  color: #fff; font-size: var(--t-small); font-weight: 500; line-height: 1.65;
}
.s--paper .form__banner, .s--ivory .form__banner { color: var(--ink); }
