:root{
  --navy:      #0B1F3A;
  --navy-deep: #071527;
  --navy-2:    #10294C;
  --royal:     #1E4D8C;
  --royal-2:   #2C63AC;
  --gold:      #C8A34D;
  --gold-lt:   #E7CE8E;
  --gold-dim:  #8A713A;
  --white:     #FFFFFF;
  --grey:      #B7C2D4;
  --grey-2:    #7C89A0;
  --ink:       #0B1F3A;
  --paper:     #F6F5F1;
  --paper-2:   #EDEBE3;
  --line:      rgba(200,163,77,0.22);

  /* Theme-sensitive surfaces — derived from the core palette vars via
     color-mix, so every palette below adapts automatically without
     having to restate each surface. All palettes keep the dark-hero /
     light-card structure; only the hues change. */
  --glow-1:      color-mix(in srgb, var(--royal) 35%, transparent);
  --glow-2:      color-mix(in srgb, var(--royal) 45%, transparent);
  --scroll-bg:   color-mix(in srgb, var(--navy-deep) 62%, transparent);
  --scroll-fade: color-mix(in srgb, var(--navy-deep) 50%, transparent);
  --scroll-edge-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  --menu-bg:      color-mix(in srgb, var(--navy-deep) 84%, transparent);
  --menu-overlay-bg: color-mix(in srgb, var(--navy-deep) 62%, transparent);
  --menu-shadow:  inset 1px 0 0 rgba(255,255,255,0.05), -30px 0 60px -30px rgba(0,0,0,0.7);
  --toast-bg:     color-mix(in srgb, var(--navy-deep) 90%, transparent);
  --grain-dot:    rgba(255,255,255,0.035);
  --ped-fill:     rgba(255,255,255,0.035);
  --ped-root-fill: color-mix(in srgb, var(--gold) 10%, transparent);
  --card-fill:    rgba(255,255,255,0.045);
  --card-edge:    rgba(255,255,255,0.05);
  --card-edge-hover: rgba(255,255,255,0.08);
  --card-border-hover: color-mix(in srgb, var(--gold) 55%, transparent);
  --stat-bg:      color-mix(in srgb, var(--navy-deep) 55%, transparent);
  --testi-dot-bg: rgba(255,255,255,0.2);
  --outline-border: rgba(255,255,255,0.35);
  --outline-bg:   rgba(255,255,255,0.03);

  /* Muted text on light "paper" bands — derived from --ink so it retints per palette */
  --muted-ink:   color-mix(in srgb, var(--ink) 62%, transparent);

  /* Motion — Apple-style easing.
     --ease   : critically damped (no overshoot) — for surfaces that just settle.
     --spring : slight overshoot — for physical elements that carry momentum.
     --exit   : mirror of --ease for symmetric, reversible transitions. */
  --ease:   cubic-bezier(.16,.84,.32,1);
  --spring: cubic-bezier(.34,1.38,.5,1);
  --exit:   cubic-bezier(.32,0,.84,.16);
  --dur:    .42s;

  /* Layered, soft depth — Apple shadows read as light, not ink */
  --shadow-1: 0 1px 2px rgba(0,0,0,.20), 0 8px 24px -12px rgba(0,0,0,.45);
  --shadow-2: 0 2px 6px rgba(0,0,0,.24), 0 24px 60px -22px rgba(0,0,0,.60);
}

/* ================= COLOUR PALETTES ================= */
/* Each palette keeps the same dark-hero / light-card structure and only
   re-hues the core vars; the surface vars above derive from these, so a
   palette just needs its grounds, accent, paper and text colours.
   Default (:root, no data-theme) = Navy + Gold. */

/* 1 · Charcoal + Ivory + Bronze */
html[data-theme="bronze"]{
  --navy:#1C1C1E; --navy-deep:#121213; --navy-2:#2A2A2E;
  --royal:#5A4630; --royal-2:#7A6242;
  --gold:#9C7A4A; --gold-lt:#C6A46B; --gold-dim:#7A5F38;
  --white:#F5F2EC; --grey:#C9C6C0; --grey-2:#918D86;
  --ink:#1C1C1E; --paper:#F5F2EC; --paper-2:#E9E4DA;
  --line:rgba(156,122,74,0.26);
}
/* 2 · Forest Green + Cream + Brass */
html[data-theme="forest"]{
  --navy:#14342B; --navy-deep:#0E241D; --navy-2:#1C4638;
  --royal:#1E5140; --royal-2:#2A6B54;
  --gold:#B08D4F; --gold-lt:#D0B274; --gold-dim:#866A3A;
  --white:#F1EFE7; --grey:#B6C4B9; --grey-2:#829A8B;
  --ink:#16261F; --paper:#F3EFE6; --paper-2:#E6E0D3;
  --line:rgba(176,141,79,0.26);
}
/* 3 · Oxblood + Bone + Antique Gold */
html[data-theme="oxblood"]{
  --navy:#4A1C24; --navy-deep:#351319; --navy-2:#5E2630;
  --royal:#6E2A34; --royal-2:#8A3A46;
  --gold:#A8863C; --gold-lt:#C9A85A; --gold-dim:#856A2F;
  --white:#F1E7E4; --grey:#D2B9BB; --grey-2:#A98D8F;
  --ink:#3A1C20; --paper:#EFE9E0; --paper-2:#E1D8CB;
  --line:rgba(168,134,60,0.28);
}
/* 4 · Slate + White + Deep Teal */
html[data-theme="slate"]{
  --navy:#2B2F36; --navy-deep:#1E2126; --navy-2:#373C45;
  --royal:#35505A; --royal-2:#47707E;
  --gold:#2E7A82; --gold-lt:#47A0A8; --gold-dim:#1F5C63;
  --white:#F5F6F7; --grey:#B9BEC6; --grey-2:#838A94;
  --ink:#2B2F36; --paper:#FAFAFA; --paper-2:#ECEEEF;
  --line:rgba(46,122,130,0.30);
}
/* 5 · Espresso + Greige + Camel */
html[data-theme="espresso"]{
  --navy:#2A211B; --navy-deep:#1C1611; --navy-2:#392E25;
  --royal:#4A3A2C; --royal-2:#63503C;
  --gold:#B79268; --gold-lt:#D0AE86; --gold-dim:#8A6B47;
  --white:#EFE9E1; --grey:#C9BFB2; --grey-2:#9C8F7D;
  --ink:#2A211B; --paper:#EFE8DA; --paper-2:#E2D9CB;
  --line:rgba(183,146,104,0.28);
}

/* Palette swap should feel like ambient light changing, not a hard cut */
html{ transition:background-color .5s var(--ease); }
body, header, .hero, .section-dark, .section-light, footer, .profile-card, .p-card, .btn, .mobile-menu{
  transition:background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
/* Reduced motion = gentler, non-vestibular equivalent — keep opacity, drop travel & overshoot (§14) */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; }
  [data-reveal]{ transform:none !important; transition:opacity .3s ease !important; }
  .btn:hover, .p-card:hover, .profile-card:hover, .fab:hover, .p-card:hover .p-icon{ transform:none !important; }
  .btn:active, .p-card:active, .profile-card:active, .fab:active{ transform:none !important; }
}

body{
  background:var(--navy);
  color:var(--white);
  font-family:'Inter',sans-serif;
  font-weight:400;
  line-height:1.6;
  letter-spacing:0;              /* body sits near 0 — §15 */
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-optical-sizing:auto;
}

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

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

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

.container{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}

h1,h2,h3,h4{
  font-family:'Cormorant Garamond',serif;
  font-weight:600;
  letter-spacing:-0.012em;   /* headings tighten — letters read too far apart as they grow (§15) */
  line-height:1.14;
  font-optical-sizing:auto;
  text-wrap:balance;
}
/* Leading & tracking scale inversely with size — tight on display, looser small */
h1{ line-height:1.05; letter-spacing:-0.021em; }
h2{ line-height:1.1;  letter-spacing:-0.018em; }
h3{ line-height:1.16; letter-spacing:-0.01em;  }
h4{ line-height:1.2;  letter-spacing:-0.006em; }

.eyebrow{
  font-family:'Cinzel',serif;
  font-size:12px;
  letter-spacing:0.32em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-flex;
  align-items:center;
  gap:14px;
}
.eyebrow::before{
  content:'';
  width:34px; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold));
}

.section-dark{ background:radial-gradient(1200px 600px at 15% -10%, var(--glow-1), transparent 60%), var(--navy); color:var(--white); }
.section-light{ background:linear-gradient(180deg, var(--paper), var(--paper-2)); color:var(--ink); }
.section-light .eyebrow{ color:var(--gold-dim); }
.section-light .eyebrow::before{ background:linear-gradient(90deg, transparent, var(--gold-dim)); }

section{ position:relative; padding:120px 0; }
@media (max-width:768px){ section{ padding:80px 0; } }

.divider-seal{
  position:absolute; left:50%; top:0; transform:translate(-50%,-50%);
  width:56px; height:56px; opacity:0.9; z-index:3;
}

/* ---------- reveal (critically damped: settles, no overshoot — §4) ---------- */
:where(.js) [data-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
  will-change:opacity, transform;
}
:where(.js) [data-reveal].is-visible{ opacity:1; transform:translateY(0); will-change:auto; }
:where(.js) [data-reveal="left"]{ transform:translateX(-36px) translateY(0); }
:where(.js) [data-reveal="left"].is-visible{ transform:translateX(0); }
:where(.js) [data-reveal="right"]{ transform:translateX(36px) translateY(0); }
:where(.js) [data-reveal="right"].is-visible{ transform:translateX(0); }
:where(.js) [data-reveal="scale"]{ transform:scale(0.94); }
:where(.js) [data-reveal="scale"].is-visible{ transform:scale(1); }

/* ================= NAV ================= */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:22px 0;
  transition:padding .5s var(--ease), background-color .5s var(--ease),
             backdrop-filter .5s var(--ease);
  border-bottom:1px solid transparent;
}
/* Translucent chrome — content scrolls under, not an opaque strip (§12) */
header.scrolled{
  padding:13px 0;
  background:var(--scroll-bg);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  box-shadow:var(--scroll-edge-shadow);  /* bright top edge = light catching the material */
}
/* Scroll-edge fade where content meets floating chrome — softer than a 1px divider (§12) */
header.scrolled::after{
  content:''; position:absolute; left:0; right:0; top:100%; height:22px; pointer-events:none;
  background:linear-gradient(180deg, var(--scroll-fade), transparent);
  -webkit-mask-image:linear-gradient(180deg, #000, transparent);
          mask-image:linear-gradient(180deg, #000, transparent);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand-name{ font-family:'Cormorant Garamond',serif; font-size:20px; line-height:1.15; }
.brand-name b{ font-weight:600; color:var(--white); display:block; letter-spacing:0.02em; }
.brand-name span{ font-family:'Cinzel',serif; font-size:10px; letter-spacing:0.18em; color:var(--gold); text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  font-size:13px; letter-spacing:0.05em; text-transform:uppercase; color:var(--grey);
  position:relative; padding-bottom:4px; transition:color 0.3s ease;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:var(--gold); transform:scaleX(0); transform-origin:left center;  /* grows from the left, anchored (§7) */
  transition:transform 0.4s var(--ease);
}
.nav-links a:hover{ color:var(--white); }
.nav-links a:hover::after{ transform:scaleX(1); }
.nav-links a:active{ color:var(--gold-lt); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 30px; font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
  border-radius:2px; white-space:nowrap; font-weight:500;
  will-change:transform;
  transition:transform var(--dur) var(--spring),
             box-shadow var(--dur) var(--ease),
             border-color var(--dur) var(--ease),
             color var(--dur) var(--ease),
             background-color var(--dur) var(--ease);
}
/* Feedback lives on the press, and it's instant (§1) */
.btn:active{ transform:scale(.97); transition:transform 90ms ease-out; }
.btn-gold{
  background:linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dim));
  color:var(--ink); box-shadow:0 8px 30px -8px color-mix(in srgb, var(--gold) 55%, transparent);
}
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 16px 40px -10px color-mix(in srgb, var(--gold) 72%, transparent); }
.btn-gold:active{ transform:translateY(-1px) scale(.98); box-shadow:0 8px 22px -10px color-mix(in srgb, var(--gold) 60%, transparent); transition:transform 90ms ease-out, box-shadow 90ms ease-out; }
.btn-outline{
  border:1px solid var(--outline-border); color:var(--white); background:var(--outline-bg);
}
.btn-outline:hover{ border-color:var(--gold); color:var(--gold); background:color-mix(in srgb, var(--gold) 6%, transparent); transform:translateY(-2px); }
.btn-outline.dark{ border:1px solid rgba(11,31,58,0.35); color:var(--ink); background:transparent; }
.btn-outline.dark:hover{ border-color:var(--gold-dim); color:var(--gold-dim); }
.btn-sm{ padding:11px 22px; font-size:11.5px; }

.nav-cta{ display:flex; align-items:center; gap:18px; }

/* ---------- palette picker ---------- */
.palette{ position:relative; flex-shrink:0; }
.palette-btn{
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  border:1px solid var(--line); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  transition:border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--spring), background-color var(--dur) var(--ease);
}
.palette-btn:hover{ border-color:var(--gold); background:color-mix(in srgb, var(--gold) 10%, transparent); transform:translateY(-1px); }
.palette-btn:active{ transform:scale(.93); transition:transform 90ms ease-out; }
.palette-btn svg{ width:17px; height:17px; }

/* popover — a translucent floating material (§12), anchored to its trigger (§7) */
.palette-pop{
  position:absolute; top:calc(100% + 14px); right:0; z-index:120;
  width:246px; padding:10px; border-radius:16px;
  background:var(--menu-bg);
  backdrop-filter:blur(28px) saturate(160%); -webkit-backdrop-filter:blur(28px) saturate(160%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-2), inset 0 1px 0 rgba(255,255,255,0.06);
  transform-origin:top right; transform:translateY(-8px) scale(.96); opacity:0; pointer-events:none;
  transition:opacity .28s var(--ease), transform .32s var(--spring);
}
.palette-pop.open{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.palette-pop .pop-head{
  font-family:'Cinzel',serif; font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--gold); padding:6px 8px 10px;
}
.swatch-opt{
  display:flex; align-items:center; gap:12px; width:100%; text-align:left;
  padding:9px 10px; border-radius:11px; color:var(--white);
  transition:background-color .25s var(--ease), transform .25s var(--spring);
}
.swatch-opt:hover{ background:color-mix(in srgb, var(--gold) 12%, transparent); }
.swatch-opt:active{ transform:scale(.98); }
.swatch-opt[aria-checked="true"]{ background:color-mix(in srgb, var(--gold) 16%, transparent); }
.swatch-dots{ display:flex; flex-shrink:0; }
.swatch-dots i{ width:15px; height:15px; border-radius:50%; display:block; margin-left:-5px; border:1.5px solid var(--menu-bg); box-shadow:0 0 0 1px rgba(0,0,0,0.15); }
.swatch-dots i:first-child{ margin-left:0; }
.swatch-name{ font-size:12.5px; letter-spacing:0.01em; flex:1; }
.swatch-check{ width:15px; height:15px; color:var(--gold-lt); opacity:0; flex-shrink:0; transition:opacity .2s var(--ease); }
.swatch-opt[aria-checked="true"] .swatch-check{ opacity:1; }

.mobile-menu .palette{ align-self:stretch; margin-top:2px; }
.mobile-menu .palette-pop{ position:static; width:auto; opacity:1; transform:none; pointer-events:auto; margin-top:12px;
  background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; border:none; box-shadow:none; padding:0; }
.mobile-menu .palette-btn{ display:none; }
.mobile-menu .palette-pop .pop-head{ padding-left:0; }
.hamburger{ display:none; width:26px; height:20px; position:relative; }
.hamburger span{ position:absolute; left:0; right:0; height:1.5px; background:var(--white); transition:all 0.35s ease; }
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:9px; }
.hamburger span:nth-child(3){ top:18px; }
.hamburger.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* Sheet enters and exits along the same path (from/to the right, §7),
   with the drawer's characteristic slight overshoot (§4 damping ~0.8) */
.mobile-menu{
  position:fixed; inset:0 0 0 auto; width:min(78vw,340px); height:100vh; z-index:99;
  background:var(--menu-bg);
  backdrop-filter:blur(28px) saturate(160%);
  -webkit-backdrop-filter:blur(28px) saturate(160%);
  border-left:1px solid var(--line);
  box-shadow:var(--menu-shadow);
  transform:translateX(100%); will-change:transform;
  transition:transform 0.55s var(--spring);
  padding:110px 32px 40px; display:flex; flex-direction:column; gap:26px;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{
  font-family:'Cormorant Garamond',serif; font-size:22px; color:var(--grey);
  transition:color .3s var(--ease), transform .3s var(--spring);
}
.mobile-menu a:hover{ color:var(--gold); }
.mobile-menu a:active{ color:var(--gold-lt); transform:scale(.97); }
.menu-overlay{
  position:fixed; inset:0; background:var(--menu-overlay-bg); z-index:98; opacity:0; pointer-events:none;
  backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
  transition:opacity 0.4s var(--ease);
}
.menu-overlay.open{ opacity:1; pointer-events:auto; }

@media (max-width:960px){
  .nav-links{ display:none; }
  .nav-cta .btn{ display:none; }
  .hamburger{ display:block; }
}

/* ================= HERO ================= */
.hero{
  min-height:100vh; display:flex; align-items:center; position:relative;
  background:
    radial-gradient(1000px 700px at 82% 12%, var(--glow-2), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  padding-top:120px; overflow:hidden;
}
.hero-bg-svg{ position:absolute; inset:0; width:100%; height:100%; opacity:0.5; }
.hero-bg-svg .drift{ animation:drift 26s ease-in-out infinite; transform-origin:center; stroke:var(--gold-lt); }
.hero-bg-svg .drift-slow{ animation:drift 40s ease-in-out infinite reverse; transform-origin:center; stroke:var(--gold); }
@keyframes drift{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-16px) rotate(0.6deg); }
}
.hero-grain{
  position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(var(--grain-dot) 1px, transparent 1px);
  background-size:3px 3px; opacity:0.4;
}

.hero-inner{ position:relative; z-index:2; text-align:center; max-width:920px; margin:0 auto; }
.hero-inner .eyebrow{ justify-content:center; margin-bottom:26px; }
.hero-inner .eyebrow::after{ content:''; width:34px; height:1px; background:linear-gradient(90deg, var(--gold), transparent); }
h1.hero-title{
  font-size:clamp(38px, 6vw, 74px); font-weight:600; color:var(--white);
  margin-bottom:26px;
}
h1.hero-title em{ font-style:italic; color:var(--gold-lt); font-weight:500; }
.hero-sub{
  font-size:17px; color:var(--grey); max-width:640px; margin:0 auto 46px;
  font-weight:300; line-height:1.8;
}
.hero-ctas{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-bottom:90px; }

.hero-stats{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:2px; overflow:hidden;
  backdrop-filter:blur(6px);
}
.stat{
  background:var(--stat-bg); padding:30px 18px; text-align:center;
}
.stat .num{ font-family:'Cormorant Garamond',serif; font-size:clamp(26px,3vw,40px); color:var(--gold-lt); font-weight:600; }
.stat .label{ font-size:11px; letter-spacing:0.06em; color:var(--grey-2); margin-top:8px; text-transform:uppercase; line-height:1.5; }
@media (max-width:768px){ .hero-stats{ grid-template-columns:repeat(2,1fr); } }

.scroll-cue{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--grey-2);
  font-size:10px; letter-spacing:0.2em; text-transform:uppercase; z-index:2;
}
.scroll-cue .line{ width:1px; height:38px; background:linear-gradient(180deg, var(--gold), transparent); animation:scrollpulse 2.2s ease-in-out infinite; }
@keyframes scrollpulse{ 0%,100%{ opacity:0.3; } 50%{ opacity:1; } }

/* ================= SEAL / MONOGRAM ================= */
.seal-ring{ stroke:var(--gold); }
.seal-mark{ fill:var(--gold); }

/* ================= ABOUT / PEDIGREE ================= */
.pedigree{ margin-top:80px; overflow-x:auto; padding-bottom:6px; -webkit-overflow-scrolling:touch; }
.pedigree-inner{ min-width:640px; max-width:900px; margin:0 auto; }
.pedigree svg{ width:100%; height:auto; display:block; }
.ped-node rect{ fill:var(--ped-fill); stroke:var(--gold-dim); stroke-width:1; }
.ped-node.root rect{ fill:var(--ped-root-fill); stroke:var(--gold); }
.ped-node.deceased rect{ stroke-dasharray:4 3; }
.ped-node .p-name{ font-family:'Cormorant Garamond',serif; font-size:18px; font-weight:600; fill:var(--white); }
.ped-node .p-role{ font-family:'Cinzel',serif; font-size:8.5px; letter-spacing:0.1em; fill:var(--gold-lt); text-transform:uppercase; }
.ped-node .p-tag{ font-family:'Inter',sans-serif; font-size:9.5px; fill:var(--grey-2); font-style:italic; }
.ped-line{ stroke:var(--gold-dim); stroke-width:1; fill:none; }
.ped-gen-tag{ font-family:'Cinzel',serif; font-size:9px; letter-spacing:0.16em; fill:var(--gold); text-transform:uppercase; opacity:0.75; }
.pedigree-caption{ text-align:center; font-size:13.5px; color:var(--grey-2); margin:26px auto 0; max-width:600px; line-height:1.75; font-weight:300; }
.pedigree-caption b{ color:var(--gold-lt); font-weight:600; }

.gen-block{ margin-top:96px; }
.gen-block:first-of-type{ margin-top:110px; }
.gen-label{ display:flex; align-items:center; gap:18px; margin-bottom:36px; }
.gen-label .roman{ font-family:'Cinzel',serif; font-size:12px; letter-spacing:0.2em; color:var(--gold); text-transform:uppercase; white-space:nowrap; }
.gen-label .rule{ flex:1; height:1px; background:linear-gradient(90deg, var(--gold-dim), transparent); }

.gen-row{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.gen-row .profile-grid.cols-1{ grid-template-columns:1fr; }
@media (max-width:860px){ .gen-row{ grid-template-columns:1fr; } }
.profile-grid{ display:grid; gap:26px; }
.profile-grid.cols-1{ grid-template-columns:minmax(0,560px); justify-content:center; }
.profile-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.profile-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:860px){
  .profile-grid.cols-2, .profile-grid.cols-3{ grid-template-columns:1fr; }
  .profile-grid.cols-1{ grid-template-columns:1fr; }
}
.profile-card{
  background:var(--card-fill);
  border:1px solid var(--line);
  padding:32px 32px 28px;
  border-radius:14px;                 /* softer, Apple-grade radius */
  backdrop-filter:blur(12px) saturate(150%);
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  box-shadow:inset 0 1px 0 var(--card-edge);
  position:relative; will-change:transform;
  transition:border-color var(--dur) var(--ease),
             transform var(--dur) var(--spring),
             box-shadow var(--dur) var(--ease);
}
.profile-card:hover{ border-color:var(--card-border-hover); transform:translateY(-4px); box-shadow:var(--shadow-2), inset 0 1px 0 var(--card-edge-hover); }
.profile-card:active{ transform:translateY(-2px) scale(.992); transition:transform 100ms ease-out; }
.profile-card.deceased{ border-style:dashed; }
.profile-role{ font-family:'Cinzel',serif; font-size:10.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); margin-bottom:10px; display:block; }
.profile-name{ font-size:25px; margin-bottom:2px; color:var(--white); }
.profile-name .late{ font-family:'Inter',sans-serif; font-style:italic; font-size:12.5px; color:var(--grey-2); font-weight:400; }
.profile-card ul{ display:flex; flex-direction:column; gap:9px; margin:16px 0 4px; }
.profile-card li{ font-size:14px; color:var(--grey); line-height:1.55; }
.profile-subhead{ font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-dim); margin:18px 0 8px; }
.profile-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.tag{
  font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase; padding:6px 12px;
  border:1px solid var(--line); color:var(--gold-lt); border-radius:20px;
}
.partner-note{
  margin-top:14px; padding-top:14px; border-top:1px solid var(--line);
  font-size:13px; color:var(--grey-2); line-height:1.65; font-style:italic;
}
.partner-note b{ color:var(--gold-lt); font-style:normal; }

/* ================= PRACTICE AREAS ================= */
.section-head{ text-align:center; max-width:680px; margin:0 auto 64px; }
.section-head h2{ font-size:clamp(30px,4vw,46px); margin-top:18px; }
.section-head p{ margin-top:18px; color:var(--grey-2); font-weight:300; }
.section-light .section-head p{ color:var(--muted-ink); }

.grid-practice{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:1080px){ .grid-practice{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .grid-practice{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .grid-practice{ grid-template-columns:1fr; } }

.p-card{
  background:rgba(255,255,255,0.55);
  border:1px solid rgba(11,31,58,0.08);
  padding:32px 26px; border-radius:16px; position:relative; overflow:hidden;
  will-change:transform;
  transition:transform var(--dur) var(--spring), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.p-card::before{
  content:''; position:absolute; inset:0; opacity:0; transition:opacity var(--dur) var(--ease);
  background:linear-gradient(160deg, color-mix(in srgb, var(--gold) 14%, transparent), transparent 60%);
}
.p-card:hover{ transform:translateY(-6px); border-color:var(--gold-dim); box-shadow:0 26px 54px -30px rgba(11,31,58,0.4), 0 2px 8px rgba(11,31,58,0.06); }
.p-card:hover::before{ opacity:1; }
.p-card:active{ transform:translateY(-3px) scale(.99); transition:transform 100ms ease-out; }
.p-icon{
  width:46px; height:46px; border:1px solid var(--gold-dim); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  color:var(--gold-dim);
  transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--spring);
}
/* Intermediate motion telegraphs the outcome — icon grows toward the hover state (§8) */
.p-card:hover .p-icon{ transform:scale(1.08); }
.p-card:hover .p-icon{ background:var(--gold); color:var(--ink); border-color:var(--gold); }
.p-icon svg{ width:22px; height:22px; }
.p-card h4{ font-size:19px; margin-bottom:10px; color:var(--ink); font-weight:600; }
.p-card p{ font-size:13.5px; color:var(--muted-ink); line-height:1.6; font-weight:400; }

/* ================= WHY CHOOSE ================= */
.grid-why{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:960px){ .grid-why{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .grid-why{ grid-template-columns:1fr; } }
.why-card{ background:var(--navy); padding:38px 28px; transition:background .4s ease; }
.why-card:hover{ background:var(--navy-2); }
.why-icon{ width:40px; height:40px; color:var(--gold); margin-bottom:22px; }
.why-icon svg{ width:100%; height:100%; }
.why-card h4{ font-size:18px; margin-bottom:10px; color:var(--white); font-weight:600; font-family:'Inter',sans-serif; }
.why-card p{ font-size:13px; color:var(--grey-2); line-height:1.6; }

.counters{ display:grid; grid-template-columns:repeat(4,1fr); gap:40px; margin-top:90px; text-align:center; }
@media (max-width:768px){ .counters{ grid-template-columns:repeat(2,1fr); gap:30px; } }
.counter .num{ font-family:'Cormorant Garamond',serif; font-size:clamp(34px,4vw,54px); color:var(--gold-lt); font-weight:600; }
.counter .label{ font-size:12px; letter-spacing:0.05em; text-transform:uppercase; color:var(--grey-2); margin-top:10px; }

/* ================= LEGACY ================= */
.legacy-rail{ position:relative; margin-top:80px; }
.legacy-line{ position:absolute; top:29px; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, var(--gold-dim) 8%, var(--gold-dim) 92%, transparent); }
.legacy-track{ display:grid; grid-template-columns:repeat(5,1fr); gap:24px; }
@media (max-width:960px){ .legacy-track{ grid-template-columns:repeat(2,1fr); } .legacy-line{ display:none; } }
@media (max-width:520px){ .legacy-track{ grid-template-columns:1fr; } }
.legacy-step{ text-align:center; padding-top:0; }
.legacy-dot{
  width:58px; height:58px; border-radius:50%; margin:0 auto 26px; position:relative; z-index:2;
  background:var(--paper); border:1px solid var(--gold-dim); display:flex; align-items:center; justify-content:center; color:var(--gold-dim);
}
.legacy-dot svg{ width:24px; height:24px; }
.legacy-step h4{ font-size:17px; color:var(--ink); margin-bottom:8px; font-weight:600; font-family:'Inter',sans-serif;}
.legacy-step p{ font-size:13px; color:var(--muted-ink); line-height:1.6; }
.legacy-step .yr{ font-family:'Cinzel',serif; font-size:11px; letter-spacing:0.14em; color:var(--gold-dim); display:block; margin-bottom:14px; }

/* ================= TESTIMONIALS ================= */
.testi-wrap{ max-width:820px; margin:70px auto 0; position:relative; }
.testi-track{ position:relative; min-height:250px; }
.testi-card{
  position:absolute; inset:0; opacity:0; transform:translateY(14px); transition:opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events:none; text-align:center;
}
.testi-card.active{ opacity:1; transform:translateY(0); pointer-events:auto; position:relative; }
.testi-quote{ font-family:'Cormorant Garamond',serif; font-style:italic; font-size:clamp(19px,2.4vw,26px); color:var(--white); line-height:1.6; margin-bottom:30px; }
.testi-name{ font-size:14px; letter-spacing:0.03em; color:var(--gold-lt); font-weight:600; }
.testi-role{ font-size:12px; color:var(--grey-2); margin-top:4px; }
.testi-stars{ color:var(--gold); font-size:14px; letter-spacing:3px; margin-bottom:22px; }
.testi-nav{ display:flex; justify-content:center; gap:10px; margin-top:44px; }
.testi-dot{ width:8px; height:8px; border-radius:50%; background:var(--testi-dot-bg); transition:all .35s ease; }
.testi-dot.active{ background:var(--gold); width:26px; border-radius:4px; }

/* ================= CONSULTATION BANNER ================= */
.consult{
  background:linear-gradient(120deg, var(--navy-deep), var(--royal) 130%);
  position:relative; overflow:hidden; padding:100px 0; text-align:center;
}
.consult::before{
  content:''; position:absolute; inset:-40%; background:radial-gradient(closest-side, rgba(200,163,77,0.18), transparent);
  animation:glowmove 12s ease-in-out infinite alternate;
}
@keyframes glowmove{ 0%{ transform:translate(-10%,-10%);} 100%{ transform:translate(10%,10%);} }
.consult h2{ font-size:clamp(30px,4.4vw,50px); margin:20px 0 30px; position:relative; }
.consult p{ color:var(--grey); max-width:540px; margin:0 auto 40px; font-weight:300; position:relative; }
.consult .btn{ position:relative; }

/* ================= CONTACT ================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; margin-top:70px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.form-field{ margin-bottom:22px; }
.form-field label{ display:block; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted-ink); margin-bottom:9px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:14px 16px; background:#fff; border:1px solid rgba(11,31,58,0.15); border-radius:10px;
  color:var(--ink); font-size:15px; transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--gold-dim); box-shadow:0 0 0 4px rgba(200,163,77,0.14);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.form-note{ font-size:13px; color:var(--muted-ink); margin-top:16px; }

.info-block{ display:flex; gap:18px; margin-bottom:30px; }
.info-icon{ width:42px; height:42px; border-radius:50%; background:rgba(11,31,58,0.05); border:1px solid rgba(11,31,58,0.14); display:flex; align-items:center; justify-content:center; color:var(--gold-dim); flex-shrink:0; }
.info-icon svg{ width:19px; height:19px; }
.info-block h5{ font-size:14.5px; color:var(--ink); margin-bottom:6px; font-family:'Inter',sans-serif; font-weight:600; }
.info-block p, .info-block a{ font-size:13.5px; color:var(--muted-ink); line-height:1.6; }
.info-block a:hover{ color:var(--gold-dim); }

.map-placeholder{
  margin-top:10px; height:210px; border-radius:3px; position:relative; overflow:hidden;
  background:
    linear-gradient(rgba(11,31,58,0.06) 1px, transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg, rgba(11,31,58,0.06) 1px, transparent 1px) 0 0/28px 28px,
    var(--paper-2);
  border:1px solid rgba(11,31,58,0.14);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px;
}
.map-placeholder svg{ width:30px; height:30px; color:var(--gold-dim); }
.map-placeholder span{ font-size:12px; letter-spacing:0.05em; color:var(--muted-ink); text-transform:uppercase; }

/* ================= FLOATING BUTTONS ================= */
.floaters{ position:fixed; right:26px; bottom:26px; display:flex; flex-direction:column; gap:14px; z-index:80; }
.fab{
  width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-1); will-change:transform;
  transition:transform var(--dur) var(--spring), box-shadow var(--dur) var(--ease);
}
.fab:hover{ transform:translateY(-4px) scale(1.06); box-shadow:var(--shadow-2); }
.fab:active{ transform:translateY(-1px) scale(.95); transition:transform 90ms ease-out; }
.fab-wa{ background:#25D366; color:#fff; }
.fab-call{ background:var(--gold); color:var(--ink); }
.fab svg{ width:24px; height:24px; }

/* ================= FOOTER ================= */
footer{ background:var(--navy-deep); padding:80px 0 30px; border-top:1px solid var(--line); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:50px; margin-bottom:60px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand p{ color:var(--grey-2); font-size:13.5px; margin-top:18px; max-width:280px; line-height:1.7; }
.footer-col h5{ font-family:'Cinzel',serif; font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:22px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:13.5px; color:var(--grey-2); transition:color .3s ease; }
.footer-col a:hover{ color:var(--gold-lt); }
.social-row{ display:flex; gap:12px; margin-top:22px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--grey);
  transition:all .3s ease;
}
.social-row a:hover{ border-color:var(--gold); color:var(--gold); }
.social-row svg{ width:15px; height:15px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:30px; border-top:1px solid var(--line); flex-wrap:wrap; gap:14px; }
.footer-bottom p{ font-size:12.5px; color:var(--grey-2); }
.footer-legal{ display:flex; gap:24px; }
.footer-legal a{ font-size:12.5px; color:var(--grey-2); }
.footer-legal a:hover{ color:var(--gold); }

/* Toast */
.toast{
  position:fixed; top:26px; left:50%; transform:translateX(-50%) translateY(-20px); z-index:200;
  background:var(--toast-bg); backdrop-filter:blur(20px) saturate(160%); -webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid var(--gold); color:var(--white); padding:16px 28px; border-radius:12px;
  font-size:13.5px; opacity:0; pointer-events:none;
  transition:opacity .5s var(--ease), transform .5s var(--spring); box-shadow:var(--shadow-2);
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

.map-embed{ margin-top:10px; border-radius:14px; overflow:hidden; border:1px solid rgba(11,31,58,0.14); box-shadow:var(--shadow-1); }
.map-embed iframe{ display:block; width:100%; height:230px; border:0; }

/* Reduced transparency = frostier / solid; raise opacity, drop the blur (§14) */
@media (prefers-reduced-transparency: reduce){
  header.scrolled{ background:var(--navy-deep); backdrop-filter:none; -webkit-backdrop-filter:none; }
  .mobile-menu{ background:var(--navy-deep); backdrop-filter:none; -webkit-backdrop-filter:none; }
  .menu-overlay{ backdrop-filter:none; -webkit-backdrop-filter:none; }
  .profile-card{ background:var(--navy-2); backdrop-filter:none; -webkit-backdrop-filter:none; }
  .p-card{ background:#fff; }
  .hero-stats{ backdrop-filter:none; }
}
/* Increased contrast = near-solid surfaces with defined, contrasting borders (§14).
   Palette-agnostic: brighten muted text toward --white, strengthen hairlines. */
@media (prefers-contrast: more){
  :root, html[data-theme]{
    --grey:   color-mix(in srgb, var(--white) 82%, transparent);
    --grey-2: color-mix(in srgb, var(--white) 66%, transparent);
    --line:   color-mix(in srgb, var(--gold) 55%, transparent);
    --muted-ink: color-mix(in srgb, var(--ink) 82%, transparent);
  }
  .nav-links a{ color:color-mix(in srgb, var(--white) 82%, transparent); }
  .btn-outline{ border-color:var(--white); background:var(--outline-bg); }
  .profile-card, .p-card{ border-width:1.5px; }
}

/* ================= MULTI-PAGE ADDITIONS ================= */
.skip-link{ position:absolute; left:-9999px; top:8px; z-index:300; background:var(--gold); color:var(--ink); padding:10px 16px; border-radius:8px; }
.skip-link:focus{ left:16px; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.nav-links a[aria-current="page"]{ color:var(--gold-lt); }
.nav-links a[aria-current="page"]::after{ transform:scaleX(1); }
.mobile-menu a[aria-current="page"]{ color:var(--gold); }

/* Inner-page hero */
.page-hero{ padding:170px 0 80px; background:radial-gradient(1000px 500px at 20% -20%, var(--glow-2), transparent 60%), var(--navy); text-align:center; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ font-size:clamp(34px,5vw,58px); margin:18px auto 0; max-width:900px; }
.page-hero .lead{ margin:22px auto 0; max-width:720px; color:var(--grey); font-weight:300; font-size:17px; }
.page-hero .hero-ctas{ margin:34px 0 0; }
@media (max-width:768px){ .page-hero{ padding:130px 0 60px; } }

/* Breadcrumbs */
.breadcrumbs{ font-size:12.5px; color:var(--grey-2); margin-bottom:6px; }
.breadcrumbs ol{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
.breadcrumbs li+li::before{ content:'/'; margin-right:6px; color:var(--gold-dim); }
.breadcrumbs a{ color:var(--grey); }
.breadcrumbs a:hover{ color:var(--gold-lt); }

/* Article / long-form content on light background */
.content-wrap{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:56px; align-items:start; }
@media (max-width:960px){ .content-wrap{ grid-template-columns:1fr; } }
.prose{ color:var(--ink); font-size:16.5px; line-height:1.78; max-width:760px; }
.prose > * + *{ margin-top:1.1em; }
.prose h2{ font-size:clamp(26px,3vw,34px); margin-top:1.9em; color:var(--ink); }
.prose h3{ font-size:22px; margin-top:1.6em; color:var(--ink); }
.prose a{ color:var(--royal); text-decoration:underline; text-underline-offset:3px; }
.prose a:hover{ color:var(--gold-dim); }
.prose ul, .prose ol{ padding-left:1.3em; }
.prose ul{ list-style:disc; }
.prose ol{ list-style:decimal; }
.prose li + li{ margin-top:.45em; }
.prose li::marker{ color:var(--gold-dim); }
.prose strong{ font-weight:600; }
.prose table{ width:100%; border-collapse:collapse; font-size:15px; }
.prose th, .prose td{ text-align:left; padding:10px 12px; border-bottom:1px solid rgba(11,31,58,.12); vertical-align:top; }
.prose th{ font-weight:600; background:color-mix(in srgb, var(--gold) 10%, transparent); }
.table-scroll{ overflow-x:auto; }
.callout{ border-left:3px solid var(--gold); background:color-mix(in srgb, var(--gold) 8%, #fff); padding:18px 22px; border-radius:0 12px 12px 0; font-size:15.5px; }
.callout p + p{ margin-top:.6em; }
.note-small{ font-size:13.5px; color:var(--muted-ink); }

/* FAQ */
.faq{ margin-top:1.4em; }
.faq details{ border-bottom:1px solid rgba(11,31,58,.12); padding:16px 0; }
.faq summary{ cursor:pointer; font-weight:600; list-style:none; position:relative; padding-right:30px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; position:absolute; right:4px; top:-2px; font-size:22px; color:var(--gold-dim); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details > *:not(summary){ margin-top:10px; }

/* Sidebar */
.side-card{ background:#fff; border:1px solid rgba(11,31,58,.1); border-radius:16px; padding:26px; box-shadow:0 14px 40px -28px rgba(11,31,58,.45); color:var(--ink); }
.side-card + .side-card{ margin-top:22px; }
.side-card h2, .side-card h3{ font-size:20px; margin-bottom:12px; }
.side-card p, .side-card li{ font-size:14.5px; color:var(--muted-ink); }
.side-card ul{ display:flex; flex-direction:column; gap:9px; }
.side-card a{ color:var(--royal); }
.side-card .btn{ width:100%; margin-top:14px; color:var(--ink); }
.sticky-side{ position:sticky; top:110px; }
@media (max-width:960px){ .sticky-side{ position:static; } }

/* Practice index cards that are links */
a.p-card{ display:block; color:inherit; }
.p-card .more{ display:inline-block; margin-top:12px; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-dim); }

/* Static team cards link */
.profile-card .profile-link{ display:inline-block; margin-top:16px; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-lt); }

/* Courts list */
.courts-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:960px){ .courts-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .courts-grid{ grid-template-columns:1fr; } }

/* Disclaimer modal (Bar Council of India) */
.bci-modal{ position:fixed; inset:0; z-index:500; display:none; align-items:center; justify-content:center; padding:16px; background:color-mix(in srgb, var(--navy-deep) 88%, transparent); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.bci-modal.open{ display:flex; }
.bci-box{ background:var(--paper); color:var(--ink); max-width:620px; width:100%; max-height:88vh; overflow:auto; border-radius:18px; padding:32px; box-shadow:var(--shadow-2); }
.bci-box h2{ font-size:28px; margin-bottom:14px; }
.bci-box p{ font-size:14.5px; line-height:1.7; color:var(--muted-ink); }
.bci-box p + p{ margin-top:10px; }
.bci-box ul{ list-style:disc; padding-left:1.2em; margin-top:10px; font-size:14.5px; color:var(--muted-ink); }
.bci-actions{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.bci-actions .btn-outline.dark{ padding:14px 26px; }

/* Hero without stats */
.hero-facts{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; color:var(--grey); font-size:13.5px; letter-spacing:.02em; }
.hero-facts span::before{ content:'◆'; color:var(--gold); font-size:9px; margin-right:9px; vertical-align:2px; }

/* Headings re-tagged for a correct outline, styled as before */
.footer-col .h5{ font-family:'Cinzel',serif; font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:22px; font-weight:500; }
h2.gen-label{ font-size:inherit; font-weight:inherit; letter-spacing:normal; line-height:normal; }
h4.profile-subhead{ font-family:'Inter',sans-serif; font-weight:400; line-height:1.4; }
.p-card h3{ font-size:19px; margin-bottom:10px; color:var(--ink); font-weight:600; }
.why-card h3{ font-size:18px; margin-bottom:10px; color:var(--white); font-weight:600; font-family:'Inter',sans-serif; }
.legacy-step h3{ font-size:17px; color:var(--ink); margin-bottom:8px; font-weight:600; font-family:'Inter',sans-serif; }
.info-block h2{ font-size:14.5px; color:var(--ink); margin-bottom:6px; font-family:'Inter',sans-serif; font-weight:600; letter-spacing:0; line-height:1.4; }
.profile-card a{ text-decoration:underline; text-underline-offset:3px; }
.profile-card a.profile-link{ text-decoration:none; }
.page-hero + section .gen-block:first-child{ margin-top:10px; }
.legacy-step h3 a{ color:inherit; }
.legacy-step h3 a:hover{ color:var(--gold-dim); }
.section-head p a{ text-decoration:underline; text-underline-offset:3px; }
@media (max-width:960px){ .grid-why > :last-child:nth-child(odd), .legacy-track > :last-child:nth-child(odd){ grid-column:1 / -1; } }
.legacy-track.legacy-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:960px){ .legacy-track.legacy-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .legacy-track.legacy-4{ grid-template-columns:1fr; } }
.legacy-rail-4 .legacy-line{ left:calc((100% - 72px) / 8); right:calc((100% - 72px) / 8); background:var(--gold-dim); }

/* Nav fits six links plus the consultation button */
.nav-links a, .brand-name span{ white-space:nowrap; }
@media (max-width:1240px){ .nav-links{ gap:24px; } }
@media (max-width:1120px){ .nav-links{ display:none; } .nav-cta .btn{ display:none; } .hamburger{ display:block; } }
.associates-note{ text-align:center; margin-top:50px; color:var(--grey); font-size:16px; }

/* Text pages are justified */
.prose p, .prose li, .faq details p{ text-align:justify; hyphens:auto; }
.grid-why-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:760px){ .grid-why-3{ grid-template-columns:1fr; } }
