/* =========================================================
   Integrity Advisory — site stylesheet
   Brand palette carried over from the original site.
   ========================================================= */
:root {
  --navy: #0B2E59;
  --navy-2: #123A5E;
  --navy-deep: #082140;
  --steel: #0F6A4B;
  --steel-light: #E6F0EB;
  --gold: #C8A24A;
  --gold-soft: #F5EEDC;
  --ink: #2F343B;
  --gray: #5B6673;
  --gray-light: #8593A1;
  --line: #E2E7ED;
  --mist: #F6F8FA;
  --white: #FFFFFF;
  --font: 'Inter', Arial, Helvetica, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --maxw: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(8,33,64,.06), 0 8px 24px rgba(8,33,64,.06);
  --shadow-lg: 0 2px 4px rgba(8,33,64,.06), 0 20px 48px rgba(8,33,64,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--steel); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 650; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; color: var(--gray); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--gray); max-width: 44rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--mist); }
.section-navy { background: var(--navy-deep); color: #D6DEE8; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #B7C3D1; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 46rem; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 6px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease; font-family: inherit;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D6B35D; color: var(--navy-deep); transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.text-link::after { content: "→"; transition: transform .18s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--navy-deep); color: #AFC0D3; font-size: .84rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.utility-bar a { color: #DCE5EF; }
.utility-bar a:hover { color: var(--gold); }
.utility-bar .u-left, .utility-bar .u-right { display: flex; gap: 22px; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 62px; width: auto; }
@media (min-width: 921px) { .site-header .container { min-height: 90px; } .subnav { top: 90px; } }
.wordmark { display: none; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); letter-spacing: -0.01em; }
.wordmark span { color: var(--gold); }
.brand.logo-missing img { display: none; }
.brand.logo-missing .wordmark { display: inline; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav .dd-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 550; font-size: .96rem;
  color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 6px;
  position: relative;
}
.main-nav > ul > li > a:hover, .main-nav .dd-toggle:hover { color: var(--steel); }
.main-nav a.active, .main-nav .dd-toggle.active { color: var(--navy); }
.main-nav a.active::after, .main-nav .dd-toggle.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold);
}
.dd-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 340px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--ink); }
.dropdown a:hover { background: var(--mist); color: var(--navy); }
.dropdown a strong { display: block; color: var(--navy); font-weight: 650; font-size: .96rem; }
.dropdown a small { display: block; color: var(--gray); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; color: var(--steel); font-size: .92rem; }
.header-cta { margin-left: 14px; padding: 11px 20px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-deep); color: #C9D5E3;
  padding: 120px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(200,162,74,.18), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(15,106,75,.28), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #C3CFDD; font-size: 1.25rem; max-width: 40rem; margin-bottom: 36px; }
.hero-inner { max-width: 780px; padding-bottom: 88px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats div { padding: 30px 20px 34px 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stats .num { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--gold); line-height: 1.1; }
.hero-stats .label { display: block; font-size: .86rem; color: #9FB0C4; margin-top: 6px; }

.page-hero { background: var(--navy-deep); position: relative; overflow: hidden; padding: 88px 0 80px; color: #C3CFDD; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 90% -20%, rgba(200,162,74,.16), transparent 60%),
              radial-gradient(700px 400px at -10% 120%, rgba(15,106,75,.25), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 22ch; font-size: clamp(2.1rem, 4vw, 3.1rem); }
.page-hero .lead { color: #C3CFDD; }
.crumbs { font-size: .85rem; color: #8FA2B8; margin-bottom: 22px; }
.crumbs a { color: #B9C7D6; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .6; }
.page-hero .brandline { display: inline-block; margin-top: 8px; padding: 6px 12px; border: 1px solid rgba(200,162,74,.45); border-radius: 999px; font-size: .82rem; color: var(--gold); letter-spacing: .04em; }

/* ---------- Grids + cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); }
a.card { display: block; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #CFD8E2; }

.practice-card { display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.practice-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card .verb { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); background: var(--steel-light); padding: 5px 10px; border-radius: 999px; align-self: flex-start; margin-bottom: 22px; }
.practice-card .icon { width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.practice-card .icon svg { width: 24px; height: 24px; }
.practice-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.practice-card .firm { font-size: .85rem; color: var(--gray-light); margin-bottom: 14px; font-weight: 500; }
.practice-card p { flex: 1; }
.practice-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.practice-card li { font-size: .92rem; color: var(--ink); padding: 7px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.practice-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; flex: none; }

/* problem / solution */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.quote-block {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; color: var(--navy);
  border-left: 3px solid var(--gold); padding-left: 28px; margin: 0 0 24px;
}
.hub {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; width: 100%;
}
.hub .ring { position: absolute; inset: 12%; border: 1.5px dashed #C7D2DE; border-radius: 50%; }
.hub .core {
  position: absolute; inset: 34%; border-radius: 50%; background: var(--navy-deep); color: var(--white);
  display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-lg); padding: 10px;
}
.hub .core strong { font-family: var(--serif); font-size: 1.15rem; display: block; line-height: 1.2; }
.hub .core small { color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hub .node {
  position: absolute; width: 36%; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; box-shadow: var(--shadow); text-align: center; transform: translate(-50%, -50%);
}
.hub .node b { display: block; color: var(--navy); font-size: .92rem; }
.hub .node span { font-size: .72rem; color: var(--steel); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.hub .n1 { left: 50%; top: 9%; } .hub .n2 { left: 91%; top: 50%; } .hub .n3 { left: 50%; top: 91%; } .hub .n4 { left: 9%; top: 50%; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { padding: 10px 0 10px 34px; position: relative; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--steel-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230F6A4B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step .n {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 22px;
  background: var(--navy-deep); position: relative; z-index: 1;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: rgba(200,162,74,.35); }
.step h3 { margin-bottom: 8px; }

/* heritage timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 16px; }
.timeline::before { content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--line), var(--gold)); }
.t-stop { position: relative; padding: 40px 20px 0 0; }
.t-stop::before { content: ""; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); }
.t-stop.end::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(200,162,74,.2); }
.t-stop .yr { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.t-stop h4 { margin-bottom: 6px; }
.t-stop p { font-size: .93rem; margin: 0; }

/* industries */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--navy); background: var(--white); font-weight: 500; }
a.pill:hover { border-color: var(--steel); color: var(--steel); background: var(--steel-light); }
.industry-group { padding: 32px; }
.industry-group h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.industry-group h3 .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--gold); }
.industry-group p { font-size: .95rem; }

/* practice pages */
.subnav { position: sticky; top: 78px; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 14px; font-size: .92rem; font-weight: 550; color: var(--gray); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.service-block { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block .num { font-family: var(--serif); color: var(--gold); font-size: 1rem; font-weight: 600; margin-bottom: 10px; display: block; }
.service-block h2 { font-size: 1.75rem; }
.service-block .intro p { font-size: 1rem; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-list li {
  background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 14px 42px;
  position: relative; font-size: .95rem; color: var(--ink); line-height: 1.45;
}
.svc-list li::before {
  content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 12px; border-radius: 3px;
  background: var(--steel-light); border: 2px solid var(--steel);
}
.svc-list li b { display: block; color: var(--navy); font-weight: 650; }
.svc-list li small { color: var(--gray); font-size: .86rem; }

.aside-card { background: var(--navy-deep); color: #C3CFDD; border-radius: var(--radius); padding: 36px; }
.aside-card h3 { color: var(--white); }
.aside-card p { color: #B7C3D1; }

.svc-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-list { align-content: start; }
.svc-links li { padding: 0; }
.svc-links li::before { top: 20px; }
.svc-links a { display: block; padding: 14px 16px 14px 42px; color: inherit; height: 100%; border-radius: 8px; }
.svc-links a:hover { background: var(--white); }
.svc-links a:hover b { color: var(--steel); }

/* heritage feature */
.stat-stack { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-stack div { padding: 30px 28px; border-bottom: 1px solid var(--line); }
.stat-stack div:nth-child(odd) { border-right: 1px solid var(--line); }
.stat-stack div:nth-child(n+3) { border-bottom: 0; }
.stat-stack .num { font-family: var(--serif); font-size: 2.3rem; color: var(--navy); font-weight: 600; display: block; line-height: 1.1; }
.stat-stack .label { font-size: .9rem; color: var(--gray); }
.heritage-frame {
  max-width: 1040px; margin: 0 auto; padding: 14px; background: linear-gradient(135deg, #D9BC72, var(--gold) 45%, #9E7C2F);
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.heritage-frame img { width: 100%; height: auto; border-radius: 6px; background: #0e2748; }
.heritage-frame figcaption { text-align: center; padding: 16px 10px 6px; color: var(--navy-deep); font-size: .92rem; font-weight: 500; }
.heritage-frame figcaption span { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 2px; }
.gen-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; max-width: 1040px; margin: 48px auto 0; border-top: 1px solid rgba(200,162,74,.35); }
.gen-row div { padding: 20px 10px 0; text-align: center; position: relative; }
.gen-row div::before { content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--gold); }
.gen-row b { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.5rem; }
.gen-row span { font-size: .84rem; color: #B7C3D1; }
@media (max-width: 920px) { .gen-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 640px) { .heritage-frame { padding: 8px; } .stat-stack div { padding: 22px 18px; } .stat-stack .num { font-size: 1.8rem; } }

/* six generations */
.generations { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.generations::before { content: ""; position: absolute; left: 8%; right: 8%; top: 118px; height: 3px; background: linear-gradient(90deg, rgba(200,162,74,.35), var(--gold)); border-radius: 2px; }
.gen { text-align: center; position: relative; padding: 0 6px; }
.gen-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.portrait { display: block; width: 128px; height: 128px; margin: 0 auto; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, #E3C87F, var(--gold) 50%, #9E7C2F); position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.12); clip-path: circle(44.6% at 50% 50%); }
.portrait::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold); border: 3px solid var(--navy-deep); }
.gen-name { display: block; margin-top: 26px; font-weight: 700; color: var(--white); font-size: 1.05rem; }
.gen-sur { display: block; color: #B7C3D1; font-size: .9rem; }
.gen-year { display: block; margin-top: 6px; font-family: var(--serif); color: var(--gold); font-size: 1.15rem; font-weight: 600; }
.heritage-note { margin: 56px auto 0; max-width: 1000px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 30px 24px; background: rgba(255,255,255,.03); }
.heritage-note strong { display: block; color: var(--white); font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; margin-bottom: 8px; }
.heritage-note span { color: #C3CFDD; }
@media (max-width: 1080px) { .portrait { width: 108px; height: 108px; } .generations::before { top: 108px; } }
@media (max-width: 920px) {
  .generations { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .generations::before { display: none; }
}
@media (max-width: 520px) {
  .generations { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .portrait { width: 112px; height: 112px; }
}

/* team */
.team-card { text-align: left; padding: 0; overflow: hidden; }
.team-card .photo {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-card .initials { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); letter-spacing: .04em; }
.team-card .body { padding: 24px 26px 28px; }
.team-card h3 { margin-bottom: 2px; font-size: 1.12rem; }
.team-card .role { font-size: .88rem; color: var(--steel); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: .93rem; margin: 0; }

/* stats strip (light) */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat-strip div { padding: 28px; }
.stat-strip div + div { border-left: 1px solid var(--line); }
.stat-strip .num { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 600; display: block; line-height: 1.1; }
.stat-strip .label { font-size: .88rem; color: var(--gray); }

.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.figure img { width: 100%; height: auto; }
.figure figcaption { padding: 14px 18px; font-size: .88rem; color: var(--gray); border-top: 1px solid var(--line); }
figure { margin: 0; }

/* CTA band */
.cta-band { background: var(--navy-deep); position: relative; overflow: hidden; padding: 88px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 100% 0%, rgba(200,162,74,.22), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(15,106,75,.3), transparent 60%); }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; max-width: 20ch; }
.cta-band p { color: #B7C3D1; margin: 0; max-width: 36rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #CBD4DE; border-radius: 7px; font-family: inherit; font-size: 1rem;
  color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(15,106,75,.14); }
.form-note { font-size: .84rem; color: var(--gray-light); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: var(--steel-light); color: var(--steel); }
.form-status.err { display: block; background: #FBEDEA; color: #9A2C1C; }
.contact-card { padding: 30px; }
.contact-card + .contact-card { margin-top: 20px; }
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--steel-light); color: var(--steel); display: grid; place-items: center; flex: none; }
.contact-line .ic svg { width: 18px; height: 18px; }
.contact-line small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-light); font-weight: 600; }
.contact-line a, .contact-line span { color: var(--navy); font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9FB0C4; padding: 80px 0 0; font-size: .94rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer .brand img { height: 60px; }
.site-footer .wordmark { color: var(--white); }
.site-footer p { color: #9FB0C4; font-size: .93rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #C9D5E3; }
.site-footer a:hover { color: var(--gold); }
.footer-tag { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold) !important; margin-top: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); font-family: inherit; font-size: .92rem; }
.newsletter input::placeholder { color: #8093A8; }
.newsletter button { padding: 11px 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .84rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.license-note { font-size: .82rem; color: #8093A8; }
[data-config]:empty, .cfg-hidden { display: none !important; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div:nth-child(4) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 28px; }
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: var(--white); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 78px); height: calc(100dvh - 78px);
    background: var(--white); flex-direction: column; align-items: stretch; border-top: 1px solid var(--line);
    padding: 12px 20px 80px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  body.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a, .main-nav .dd-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active::after, .main-nav .dd-toggle.active::after { display: none; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-dd.open .dropdown { display: block; }
  .has-dd:hover .dropdown { display: none; }
  .has-dd.open:hover .dropdown { display: block; }
  .header-cta { display: inline-flex; margin: 20px 0 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
  .timeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--gold)); }
  .t-stop { padding: 0; }
  .t-stop::before { left: -36px; top: 4px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip div:nth-child(3) { border-left: 0; }
  .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .utility-bar .u-left .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero { padding-top: 80px; }
  .hero-inner { padding-bottom: 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div, .hero-stats div + div { padding: 22px 14px 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .utility-bar .u-right .hide-xs { display: none; }
  .card { padding: 26px; }
  .brand img { height: 44px; }
  .hub { max-width: 340px; }
  .hub .node { width: 38%; padding: 8px 6px; }
  .hub .n2 { left: 84%; } .hub .n4 { left: 16%; }
  .hub .core { inset: 31%; }
  .hub .core strong { font-size: .82rem; }
  .hub .core small { font-size: .56rem; }
  .hero-stats div:last-child { grid-column: 1 / -1; }
  .hub .node b { font-size: .8rem; }
  .btn-row .btn { width: 100%; }
}
