/* =================================================================
   Vital Tax Group : Site Styles
   A distinct, modern CFO advisory identity.
   Palette: deep ink navy, crisp neutrals, single emerald accent.
   Type:    Space Grotesk (display / numerals) + Plus Jakarta Sans (UI / body)
   Note: intentionally NOT the affiliated Ukpabi Legal visual system.
   ================================================================= */

:root {
  /* Color */
  --ink:        #0b1e3b;   /* primary deep navy */
  --ink-2:      #102a4f;   /* lifted navy for layering / gradients */
  --ink-3:      #081931;   /* darkest band */
  --text:       #1d2b45;   /* body text on light */
  --muted:      #66728a;   /* secondary text, captions */
  --paper:      #ffffff;
  --mist:       #f3f6fb;   /* cool light section background */
  --mist-2:     #e9eef6;   /* deeper panel background */
  --line:       #dde3ee;   /* hairline on light */
  --line-2:     #eef1f7;   /* fainter hairline / grid */
  --line-dark:  rgba(255,255,255,0.14);

  --accent:     #11a06a;   /* emerald accent */
  --accent-2:   #0b8657;   /* darker emerald (hover) */
  --accent-3:   #34c489;   /* lighter emerald (on dark) */
  --accent-tint:#e4f5ed;   /* emerald wash */

  /* Type */
  --font-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8.5vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow: 0 24px 60px -32px rgba(11, 30, 59, 0.35);
  --shadow-sm: 0 12px 30px -18px rgba(11, 30, 59, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.inline-link {
  color: var(--accent-2); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--accent); text-decoration-thickness: 1px;
  text-underline-offset: 2px; transition: color .2s ease;
}
.inline-link:hover { color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.015em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.15rem; color: var(--text); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); flex: none;
}
.eyebrow--plain::before { display: none; }
.section--ink .eyebrow, .cta .eyebrow { color: var(--accent-3); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
section[id] { scroll-margin-top: 88px; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.82); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,0.74); }
.narrow { max-width: 780px; }
.narrow.center { margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.24rem; line-height: 1.6; color: var(--text); }
.section--ink .lead { color: rgba(255,255,255,0.82); }

.rule { width: 46px; height: 3px; background: var(--accent); border: 0; border-radius: 2px; margin: 1.6rem 0; }
.center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.92rem 1.6rem;
  border-radius: var(--radius-sm); cursor: pointer; border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn .ico { width: 1em; height: 1em; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(17,160,106,0.7); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.84rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600;
  color: var(--accent-2);
}
.link-arrow .ico { width: 0.95em; height: 0.95em; transition: transform .2s ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; position: relative;
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__glyph { width: 36px; height: 36px; flex: none; }
.brand__glyph .stroke-ink { stroke: var(--ink); }
.brand__glyph .stroke-accent { stroke: var(--accent); }
.brand__glyph .fill-accent { fill: var(--accent); }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.015em; white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted);
  margin-top: 0.42rem; white-space: nowrap;
}

.nav__links {
  display: flex; align-items: center; gap: 2.05rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-size: 0.93rem; font-weight: 500; color: var(--text);
  position: relative; padding-block: 0.4rem; transition: color .2s ease;
}
.nav__links a:hover { color: var(--accent-2); }
.nav__links a.is-active { color: var(--ink); }
.nav__links > li > a:not(.btn):not(.nav__portal)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav__links > li > a:not(.btn):not(.nav__portal):hover::after,
.nav__links > li > a.is-active:not(.btn):not(.nav__portal)::after { width: 100%; }
.nav__portal {
  padding: 0.58rem 1.15rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600;
}
.nav__portal:hover { border-color: var(--accent); color: var(--accent-2) !important; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 0; position: relative;
}
.nav__toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease; border-radius: 2px;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mega dropdown (Services) ---------- */
.nav__caret { display: none; }
.nav__item--dropdown:has(.dropdown--mini) { position: relative; }
.dropdown {
  position: absolute; top: 100%; right: 0; left: auto;
  width: 1080px; min-width: 740px; max-width: calc(100vw - 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 60;
}
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px 30px; padding: 32px 34px;
}
.dropdown__col { display: flex; flex-direction: column; min-width: 0; }
.dropdown__title {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-2);
  margin: 0 0 0.85rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line);
  min-height: 2.3em;
}
.dropdown__col a {
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  padding: 0.5rem 0; line-height: 1.35;
  transition: color .2s ease, padding-left .2s ease;
}
.dropdown__col a:hover { color: var(--accent-2); padding-left: 6px; }
.dropdown__col a.is-active { color: var(--accent-2); }
.dropdown a::after { display: none !important; }

/* About menu: same dropdown pattern as Services, sized for two items */
@media (min-width: 961px) {
  .dropdown--mini { left: 0; right: auto; width: auto; min-width: 220px; }
  .dropdown--mini .dropdown__inner { grid-template-columns: 1fr; gap: 0; padding: 16px 20px; }
  /* Stretch the About item to the nav's full height so its dropdown sits flush
     with the nav's bottom edge, same as the Services mega menu. */
  .nav__links { align-self: stretch; }
  .nav__item--dropdown:has(.dropdown--mini) {
    align-self: stretch; display: flex; align-items: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(17,160,106,0.07), transparent 60%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(900px 600px at 75% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(900px 600px at 75% 30%, #000 0%, transparent 75%);
  opacity: 0.7;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__text { max-width: 600px; }
.hero h1 { margin-bottom: 0.5rem; }
.hero .lead { margin-bottom: 2rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Hero chart card (data motif) */
.chart-card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.5rem 1.25rem;
}
.chart-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem;
}
.chart-card__title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  letter-spacing: -0.01em;
}
.chart-card__pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent-2); background: var(--accent-tint);
  padding: 0.28rem 0.6rem; border-radius: 999px;
}
.chart-card__svg { width: 100%; height: auto; display: block; }
.chart-card__foot {
  display: flex; gap: 1.5rem; margin-top: 1rem; padding-top: 0.95rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.78rem; color: var(--muted);
}
.chart-card__foot span { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.dot--ink { background: #16315a; }
.dot--accent { background: var(--accent); }

/* Hero defense note */
.hero__note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-top: 1.5rem; max-width: 540px;
  font-size: 0.92rem; line-height: 1.5; color: var(--muted);
}
.hero__note-ico { width: 1.2rem; height: 1.2rem; flex: none; color: var(--accent-2); margin-top: 0.1rem; }

/* Hero chart entrance animation */
.chart-card__svg .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; animation: chartBar .85s cubic-bezier(.22,.85,.27,1) both; }
.chart-card__svg .bar.b1 { animation-delay: .15s; }
.chart-card__svg .bar.b2 { animation-delay: .28s; }
.chart-card__svg .bar.b3 { animation-delay: .41s; }
.chart-card__svg .bar.b4 { animation-delay: .54s; }
.chart-card__svg .trend { stroke-dasharray: 260; stroke-dashoffset: 260; animation: chartDraw 1s ease .7s forwards; }
.chart-card__svg .node { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: 50% 50%; animation: chartPop .45s cubic-bezier(.34,1.5,.5,1) both; }
.chart-card__svg .node.n1 { animation-delay: .9s; }
.chart-card__svg .node.n2 { animation-delay: 1.05s; }
.chart-card__svg .node.n3 { animation-delay: 1.2s; }
.chart-card__svg .node.n4 { animation-delay: 1.35s; }
@keyframes chartBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes chartPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .chart-card__svg .bar, .chart-card__svg .trend, .chart-card__svg .node {
    animation: none; transform: none; opacity: 1; stroke-dashoffset: 0;
  }
}

/* Floating numeral tag on the chart card */
.chart-card__tag {
  position: absolute; top: -18px; left: -18px;
  background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); line-height: 1; z-index: 2;
}
.chart-card__tag b { display: block; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
.chart-card__tag small { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-3); }

/* ---------- Quote strip ---------- */
.capstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.capstrip__quote {
  padding-block: 2.75rem; text-align: center;
}
.capstrip__quote blockquote {
  margin: 0 auto; max-width: 760px;
}
.capstrip__quote p {
  font-family: var(--font-head); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 500;
  line-height: 1.5; color: var(--ink); margin: 0 0 1.1rem;
}
.capstrip__quote cite {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  font-style: normal;
}
.capstrip__quote-author {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2);
}
.capstrip__quote-case {
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- Section head ---------- */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.75rem); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); border-radius: var(--radius) 0 0 0;
  transition: width .25s ease;
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
a.card:hover::before, .card--hover:hover::before { width: 100%; }
.card__index {
  font-family: var(--font-head); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--accent-2);
  font-variant-numeric: tabular-nums; margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.97rem; color: var(--muted); margin-bottom: 0; }
.card .link-arrow { margin-top: 1.2rem; }

/* Cards on the dark (ink) sections */
.section--ink .card { background: var(--ink-2); border-color: rgba(255,255,255,0.10); }
.section--ink .card h3 { color: #fff; }
.section--ink .card p { color: rgba(255,255,255,0.70); }
.section--ink .card__index { color: var(--accent-3); }
.section--ink a.card:hover { border-color: rgba(255,255,255,0.22); box-shadow: 0 28px 60px -30px rgba(0,0,0,0.55); }
.section--ink .link-arrow { color: var(--accent-3); }
.section--ink .link-arrow:hover { color: #fff; }

/* ---------- Why / feature items (tick motif) ---------- */
.feature { display: flex; flex-direction: column; }
.feature__mark {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--accent-tint); display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.feature__mark svg { width: 22px; height: 22px; }
.feature__mark .stroke-accent { stroke: var(--accent-2); }
.section--ink .feature__mark { background: rgba(52,196,137,0.14); }
.section--ink .feature__mark .stroke-accent { stroke: var(--accent-3); }
.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.99rem; margin-bottom: 0; }
.section--ink .feature p { color: rgba(255,255,255,0.72); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.25rem, 4vw, 3rem);
  background:
    radial-gradient(760px 380px at 90% -10%, rgba(17,160,106,0.07), transparent 62%),
    var(--mist);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero .lead { max-width: 740px; color: var(--text); }
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.01em; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

/* ---------- Split (About) ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  display: grid; place-items: center; border: 1px solid var(--line);
}
.portrait .monogram { font-family: var(--font-head); font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.portrait__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ---------- Service categories (Services landing) ---------- */
.practice-group { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.practice-group:last-child { margin-bottom: 0; }
.practice-group__head { margin-bottom: 2rem; max-width: 760px; }
.practice-group__head .lead { margin-top: 1rem; }
.practice-list { display: grid; gap: 1.25rem 1.75rem; grid-template-columns: repeat(2, 1fr); }
.practice-item {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.practice-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.practice-item h4 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.practice-item p { font-size: 0.97rem; color: var(--muted); flex: 1 1 auto; margin-bottom: 1.4rem; }
.practice-item .link-arrow { align-self: flex-start; }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.service-body p { margin-bottom: 1.15rem; color: var(--text); }
.panel { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 2.6vw, 2.1rem); position: sticky; top: 96px; }
.panel h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.check-list { list-style: none; margin: 1.15rem 0 0; padding: 0; }
.check-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.9rem;
  color: var(--text); font-size: 0.96rem; line-height: 1.5;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 1.15rem; height: 1.15rem; border-radius: 5px;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8657' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

/* ---------- Disclosure callout (DC Rule 5.7) ---------- */
.disclosure {
  background: var(--mist); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
  padding: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 860px;
}
.disclosure .eyebrow { margin-bottom: 0.7rem; }
.disclosure p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin-bottom: 0; }

/* ---------- Who We Serve ---------- */
.serve-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2rem); }
.serve-item .card__index { margin-bottom: 0.85rem; }
.serve-item h3 { margin-bottom: 0.55rem; }
.serve-item p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.35rem; }
.contact-info dd { margin: 0 0 1.6rem; font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.contact-info dd a:hover { color: var(--accent-2); }

.form { display: grid; gap: 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,160,106,0.15);
}
.form__disclaimer { font-size: 0.84rem; color: var(--muted); line-height: 1.6; border-left: 2px solid var(--accent); padding-left: 0.95rem; }
.form__status { font-size: 0.92rem; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: var(--accent-2); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-align: center; padding-block: clamp(4rem, 8vw, 6rem); }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(700px 360px at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(700px 360px at 50% 0%, #000, transparent 70%);
}
.cta > .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.78); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: clamp(3rem, 6vw, 4.25rem) 2rem; font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.25rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand .brand { margin-bottom: 1.1rem; }
.brand--light .brand__name { color: #fff; font-size: 1.3rem; }
.brand--light .brand__tag { color: rgba(255,255,255,0.6); }
.brand--light .brand__glyph .stroke-ink { stroke: #fff; }
.footer__brand p { color: rgba(255,255,255,0.58); max-width: 34ch; font-size: 0.9rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 0.65rem; }
.footer ul a { color: rgba(255,255,255,0.7); transition: color .2s ease; }
.footer ul a:hover { color: var(--accent-3); }
.footer__disclosure {
  margin-top: 1.9rem; padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.05); border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
  font-size: 0.92rem; color: rgba(255,255,255,0.82); line-height: 1.65; max-width: 84ch;
}
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; font-size: 0.78rem; color: rgba(255,255,255,0.42); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .practice-list .reveal:nth-child(2) { transition-delay: .07s; }
.grid .reveal:nth-child(3), .practice-list .reveal:nth-child(3) { transition-delay: .14s; }
.grid .reveal:nth-child(4), .practice-list .reveal:nth-child(4) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .service-layout { grid-template-columns: 1fr; }
  .panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 50%; width: 100vw; transform: translateX(-50%);
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem; box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow-y: auto; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > li { width: 100%; }
  .nav__links > li > a { display: block; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav__links > li > a::after { display: none; }
  .nav__portal { margin-top: 0.75rem; text-align: center; border-bottom: 0 !important; }

  .nav__item--dropdown { position: relative; }
  .nav__caret { display: block; position: absolute; right: 0; top: 0; width: 56px; height: 51px; background: none; border: 0; cursor: pointer; }
  .nav__caret::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s ease;
  }
  .nav__caret[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: -2px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    width: auto; min-width: 0; max-width: none; box-shadow: none; border: 0; border-radius: 0;
    background: var(--mist);
  }
  .dropdown.is-open { display: block; }
  .dropdown__inner { display: block; padding: 0.25rem 0 1rem; }
  .dropdown__col { margin-top: 0.5rem; }
  .dropdown__title { padding: 0.85rem 0 0.4rem; margin: 0; border-bottom: 0; min-height: 0; }
  .dropdown__col a { display: block; padding: 0.6rem 0 0.6rem 1rem; border-bottom: 1px solid var(--line); }
  .dropdown__col a:hover { padding-left: 1rem; }
}

@media (max-width: 720px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .practice-list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 420px) {
  .brand__glyph { width: 32px; height: 32px; }
  .brand__name { font-size: 0.9rem; }
}
