/* ==========================================================================
   CS Chetan Narwani & Associates — Design System
   Light, editorial, institutional. No gradients. No dark sections.
   ========================================================================== */

:root {
  /* Ink */
  --ink:        #0E2A47;
  --ink-2:      #17395C;
  --body:       #414E5B;
  --muted:      #6B7885;
  --faint:      #98A2AD;

  /* Accent — brass */
  --gold:       #A8792C;
  --gold-2:     #8C6320;
  --gold-wash:  #F7F0E1;

  /* Paper */
  --paper:      #FFFFFF;
  --paper-2:    #F8F6F2;
  --paper-3:    #F1EDE6;
  --line:       #E5E0D8;
  --line-2:     #D5CEC2;

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --shell: 1200px;
  --gutter: 24px;
  --r: 4px;

  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .05);
  --shadow-md: 0 8px 28px rgba(14, 42, 71, .07);
  --shadow-lg: 0 20px 56px rgba(14, 42, 71, .10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout primitives ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 920px; }
.section { padding-block: 96px; }
.section--tight { padding-block: 68px; }
.section--paper { background: var(--paper-2); }
.section--wash { background: var(--gold-wash); }

/* ---------- Type utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 1.3rem + 3.1vw, 3.85rem);
  line-height: 1.09; letter-spacing: -0.028em; color: var(--ink);
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.5rem);
  line-height: 1.16; letter-spacing: -0.022em;
}
.h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.012em; }
.lede { font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.small { font-size: .84rem; }
.mw-60 { max-width: 60ch; }

.section-head { margin-bottom: 52px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }

.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Visible to screen readers only — used to keep the typed heading readable. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r);
  font-size: .9rem; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn--sm { padding: 9.5px 17px; font-size: .85rem; }
.btn svg { width: 15px; height: 15px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .865rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease, gap .18s ease;
}
.link-arrow:hover { color: var(--gold-2); border-color: var(--gold); gap: 12px; }
.link-arrow svg { width: 13px; height: 13px; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; background: var(--paper-3);
  border: 1px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; overflow: hidden;
}
.ph::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed var(--line-2); border-radius: 2px; pointer-events: none;
}
.ph__inner { position: relative; z-index: 1; text-align: center; padding: 24px; }
.ph__icon { width: 28px; height: 28px; margin: 0 auto 12px; color: var(--line-2); }
.ph__label { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.ph__hint { font-size: 11.5px; color: var(--faint); margin-top: 6px; max-width: 26ch; }

/* ==========================================================================
   Logo
   ========================================================================== */
.brand { display: flex; align-items: center; gap: 13px; }
/* The CS badge is a transparent-background PNG — larger than the old inline
   mark so the monogram stays legible at header size. */
.brand__mark { width: 54px; height: 54px; flex: none; object-fit: contain; }
.brand__name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.018em; line-height: 1.12; white-space: nowrap;
}
.brand__sub {
  display: block; margin-top: 5px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-2);
}
.brand__sub::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 14px; height: 1px; background: var(--gold); margin-right: 7px;
}
.footer .brand__name { white-space: normal; }

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .785rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 26px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .18s ease; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; opacity: .7; }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; letter-spacing: .02em; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: var(--r);
  font-size: .885rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .16s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink);
}
.burger svg { width: 20px; height: 20px; }

.mobilenav { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 10px var(--gutter) 22px; }
.mobilenav.is-open { display: block; }
/* :not(.btn) so the "Book a consultation" button keeps its own white-on-navy
   styling — a bare `.mobilenav a` rule outranks `.btn--primary` and made the
   button text dark navy on a navy background (invisible). */
.mobilenav a:not(.btn) { display: block; padding: 13px 2px; font-size: .95rem; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobilenav .btn { width: 100%; margin-top: 18px; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.pagehero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: 60px 64px; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .79rem; color: var(--faint); margin-bottom: 22px; }
.crumb a:hover { color: var(--gold-2); }
.crumb svg { width: 12px; height: 12px; }
.pagehero .display { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.15rem); }
.pagehero .lede { margin-top: 20px; max-width: 62ch; }
.pagehero__split { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.pagehero__logo { width: 180px; height: 180px; flex: none; object-fit: contain; }

/* ---------- Education & credentials list ---------- */
.credlist { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.credlist__head {
  padding: 16px 22px; background: var(--paper-2); border-bottom: 1px solid var(--line);
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-2);
}
.credlist ul { display: grid; }
.credlist li { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.credlist li:last-child { border-bottom: 0; }
.credlist strong { display: block; font-size: .93rem; color: var(--ink); font-weight: 600; }
.credlist span { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ---------- Practice areas list (about page) ---------- */
.practice-list { margin-top: 22px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.practice-list__item {
  background: var(--paper); padding: 20px 22px;
  display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start;
  transition: background-color .2s ease;
}
.practice-list__item:hover { background: var(--paper-2); }
.practice-list__item svg { width: 22px; height: 22px; color: var(--gold); stroke-width: 1.4; margin-top: 2px; }
.practice-list__item div { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.practice-list__item strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { background: var(--paper); padding-block: 84px 0; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.hero__title { margin-top: 22px; }
.hero__title em { font-style: italic; color: var(--gold-2); }

/* ---- Typing effect ----
   The typed word sits on its own line (explicit <br> after it), so it can grow
   and shrink freely without shifting anything. No min-width reserve — that only
   produced a visible gap before the em dash on the shorter words. */
.type { display: inline-block; }
.type__caret {
  display: inline-block; width: 2px; height: .82em; margin-left: 3px;
  background: var(--gold); vertical-align: -.06em;
  opacity: 0; /* hidden until JS starts — no stray bar in the static heading */
}
.js-typing .type__caret { opacity: 1; animation: caret-blink 1s step-end infinite; }
.js-typing.is-typing .type__caret { animation: none; opacity: 1; }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .type__caret { display: none; }
}
.hero__lede { margin-top: 24px; max-width: 52ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__chip { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--muted); }
.hero__chip svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.hero__visual { position: relative; }
.hero__ph { aspect-ratio: 4 / 5; }
.hero__img, .about__img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper-3);
}
.hero__card {
  position: absolute; left: -34px; bottom: -30px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px; width: 248px; box-shadow: var(--shadow-lg);
}
.hero__card-k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.hero__card-v { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); margin-top: 9px; line-height: 1.4; }
.hero__card-n { font-size: .78rem; color: var(--muted); margin-top: 7px; }

/* Stats bar */
.stats { margin-top: 88px; border-top: 1px solid var(--line); background: var(--paper-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--serif); font-size: 2.35rem; font-weight: 400; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__l { margin-top: 11px; font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.about__ph { aspect-ratio: 5 / 6; }

/* "At a glance" panel — sits under the image so the left column reaches the
   same depth as the prose on the right instead of trailing off into white. */
.glance {
  margin-top: 18px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 24px;
}
.glance__head {
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-2); padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.glance__list { margin: 0; }
.glance__row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.glance__row:last-child { border-bottom: 0; }
.glance__row dt {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}
.glance__row dd { margin: 5px 0 0; font-size: .875rem; color: var(--ink); line-height: 1.5; }
.glance__cta {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: .83rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease, gap .18s ease;
}
.glance__cta:hover { color: var(--gold-2); border-color: var(--gold); gap: 12px; }
.glance__cta svg { width: 13px; height: 13px; }
.about__quote {
  margin-top: 30px; padding: 24px 28px;
  background: var(--paper-2); border-left: 2px solid var(--gold); border-radius: 0 var(--r) var(--r) 0;
}
.about__quote p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; color: var(--ink); font-style: italic; }
.about__quote span { display: block; margin-top: 13px; font-family: var(--sans); font-style: normal; font-size: .77rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }

.creds { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
/* In the left about column the pair stacks, so it reads as one continuous
   panel with the "at a glance" box above it. */
.about__grid > div:first-child .creds { grid-template-columns: 1fr; }
.cred { background: var(--paper); padding: 20px 22px; }
.cred__k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.cred__v { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-top: 7px; }
.cred__n { font-size: .79rem; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Practice areas — uniform cards
   ========================================================================== */
/* ---- Section header with stat rail ---- */
.svcsec__head {
  display: grid; grid-template-columns: 1fr auto; gap: 56px;
  align-items: end; margin-bottom: 48px; padding-bottom: 36px;
  border-bottom: 1px solid var(--line-2);
}
.svcsec__head .h2 { margin-top: 16px; }
.svcsec__head .lede { margin-top: 18px; max-width: 56ch; }
.svcsec__stats { display: flex; gap: 40px; }
.svcsec__stat { text-align: right; }
.svcsec__stat strong {
  display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
  color: var(--gold); line-height: 1; letter-spacing: -.03em;
}
.svcsec__stat span {
  display: block; margin-top: 8px; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* Separate cards (not a hairline grid) so each practice area reads as its own
   object and can lift on hover — the section is the main conversion surface. */
/* grid-auto-rows:1fr makes every row the same height, so all 12 cards match
   even when one title wraps to a second line. */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.area {
  position: relative; background: var(--paper); padding: 0 0 24px;
  border: 1px solid var(--line); border-radius: 6px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
/* Brass rail across the card top, wipes in on hover */
.area::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1); z-index: 2;
}
.area:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.area:hover::before { transform: scaleX(1); }
.area:hover .area__more { gap: 12px; }
.area:hover .area__icon { background: var(--gold); color: #fff; transform: rotate(-4deg) scale(1.06); }
.area:hover .area__num { color: var(--gold); }
.area:hover .area__title { color: var(--gold-2); }

/* Tinted head strip so the icon + number read as a badge zone */
.area__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.area__icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 10px;
  background: var(--gold-wash); color: var(--gold-2); flex: none; stroke-width: 1.6;
  transition: background-color .24s ease, color .24s ease, transform .24s ease;
}
.area__num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--line-2); letter-spacing: .02em; transition: color .24s ease;
}

/* Fixed title box = 2 lines, keeps every card's list starting on the same baseline */
.area__title {
  margin: 22px 26px 0; min-height: 2.9em;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink);
  letter-spacing: -.014em; line-height: 1.3; transition: color .24s ease;
}
/* min-height keeps rows level if a bullet wraps at an awkward width */
.area__list { margin: 14px 26px 0; display: grid; gap: 9px; align-content: start; min-height: 9.9em; }
.area__list li { position: relative; padding-left: 20px; font-size: .855rem; line-height: 1.5; color: var(--muted); }
.area__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 6px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
/* Pill CTA so the card ends on a clear, clickable-looking affordance */
.area__more {
  margin: auto 26px 0; padding: 9px 16px 9px 17px;
  display: inline-flex; align-items: center; align-self: flex-start; gap: 8px;
  background: var(--gold-wash); border-radius: 100px;
  font-size: .775rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-2); transition: gap .2s ease, background-color .2s ease;
}
.area:hover .area__more { background: var(--gold); color: #fff; }
.area__more svg { width: 12px; height: 12px; }

/* ==========================================================================
   Service detail blocks (services page)
   ========================================================================== */
/* Each practice area is a distinct panel with a brass top rule, so the page
   reads as twelve deliberate offerings rather than one long document. */
.svc {
  padding: 40px 38px; margin-block: 22px; scroll-margin-top: 104px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  position: relative; overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.svc:hover::before { transform: scaleX(1); }
.svc:target { border-color: var(--gold); box-shadow: var(--shadow-md); }
.svc:target::before { transform: scaleX(1); }
.svc__grid { display: grid; grid-template-columns: 290px 1fr; gap: 52px; align-items: start; }
.svc__aside { position: sticky; top: 104px; }
.svc__num {
  font-family: var(--serif); font-size: 3rem; color: var(--gold-wash); line-height: 1;
  letter-spacing: -.03em; font-weight: 600;
}
.svc__icon {
  width: 44px; height: 44px; padding: 9px; border-radius: 50%;
  background: var(--gold-wash); color: var(--gold-2); stroke-width: 1.5; margin-bottom: 16px;
}
.svc__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-top: 12px; letter-spacing: -.018em; line-height: 1.22; }
.svc__intro { font-size: .97rem; color: var(--muted); line-height: 1.7; max-width: 70ch; }
.svc__list { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.svc__list li {
  position: relative; padding: 9px 12px 9px 32px; border-radius: var(--r);
  font-size: .885rem; line-height: 1.5; color: var(--body);
  transition: background-color .18s ease, color .18s ease;
}
.svc__list li::before {
  content: ""; position: absolute; left: 12px; top: 15px; width: 11px; height: 6px;
  border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.svc__list li:hover { background: var(--gold-wash); color: var(--ink); }
.svc__note {
  margin-top: 26px; padding: 18px 22px; background: var(--gold-wash);
  border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0;
  font-size: .865rem; color: var(--body); line-height: 1.65;
}
.svc__note strong { color: var(--ink); font-weight: 600; }

/* Sticky in-page index */
.svcindex { display: flex; flex-wrap: wrap; gap: 8px; }
.svcindex a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: var(--ink-2); background: var(--paper);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.svcindex a:hover { border-color: var(--gold); color: var(--gold-2); background: var(--gold-wash); }

/* ==========================================================================
   Sectors
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sector:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sector__icon { width: 23px; height: 23px; color: var(--gold); stroke-width: 1.4; }
.sector h3 { margin-top: 16px; font-size: 1.02rem; }
.sector p { margin-top: 9px; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 30px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step__n {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-2);
  display: grid; place-items: center; font-family: var(--serif); font-size: .9rem;
}
.step h3 { margin-top: 20px; font-size: 1.04rem; }
.step p { margin-top: 10px; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.why__list { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__item { background: var(--paper-2); padding: 24px 4px; display: grid; grid-template-columns: 32px 1fr; gap: 18px; align-items: start; }
.why__item svg { width: 21px; height: 21px; color: var(--gold); stroke-width: 1.5; margin-top: 2px; }
.why__item h3 { font-size: 1.01rem; }
.why__item p { margin-top: 7px; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Compliance calendar
   ========================================================================== */
.cal { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.cal__row { display: grid; grid-template-columns: 126px 1fr 1.35fr 145px; gap: 20px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.cal__row:last-child { border-bottom: 0; }
.cal__row--head { background: var(--paper-2); }
.cal__row--head span { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.cal__due { font-family: var(--serif); font-size: .97rem; color: var(--gold-2); }
.cal__form { font-size: .87rem; font-weight: 600; color: var(--ink); }
.cal__desc { font-size: .845rem; color: var(--muted); }
.cal__who { font-size: .79rem; color: var(--faint); }
.cal__note { margin-top: 16px; font-size: .79rem; color: var(--faint); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.rating-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 24px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: 32px;
}
.rating-strip__score { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.rating-strip__stars { display: flex; gap: 3px; color: var(--gold); }
.rating-strip__stars svg { width: 15px; height: 15px; }
.rating-strip__meta { font-size: .84rem; color: var(--muted); }
.rating-strip__div { width: 1px; height: 34px; background: var(--line); }

/* ---- Carousel ---- */
.carousel { position: relative; }
.carousel__viewport {
  overflow-x: auto; overflow-y: hidden;
  /* proximity, not mandatory: mandatory snapping overrides programmatic
     scrollBy/scrollTo and yanks the track back to the nearest snap point,
     which made the arrow buttons appear to do nothing. */
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-inline: -4px; padding: 4px;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 16px; align-items: stretch; }
.carousel__track > * {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}
.carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.carousel__dots { display: flex; gap: 2px; align-items: center; }
/* Hit area is 26px square (clears the 24px WCAG 2.2 minimum); background-clip
   paints only the 7px content box, so the dot still reads as a small dot. */
.carousel__dot {
  width: 26px; height: 26px; padding: 9.5px; border: 0; border-radius: 50%;
  background: var(--line-2); background-clip: content-box; cursor: pointer;
  transition: background-color .2s ease, width .2s ease;
}
.carousel__dot.is-active { background: var(--gold); background-clip: content-box; width: 41px; border-radius: 13px; }
.carousel__arrows { display: flex; gap: 8px; }
.carousel__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}
.carousel__btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-2); background: var(--gold-wash); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn svg { width: 17px; height: 17px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Compact fixed-height rectangle — every card is the same size regardless of
   review length, which is why reviews.js keeps entries under ~35 words. */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 20px; display: flex; flex-direction: column;
  min-height: 212px; margin: 0;
}
.quote__mark { display: none; }
.quote__stars { display: flex; gap: 2px; color: var(--gold); }
.quote__stars svg { width: 13px; height: 13px; }
.quote blockquote { margin: 0; flex: 1; }
.quote p {
  margin-top: 14px; font-size: .875rem; line-height: 1.58; color: var(--ink-2);
}
.quote__who { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote__name { font-size: .83rem; font-weight: 600; color: var(--ink); }
.quote__role { font-size: .745rem; color: var(--faint); margin-top: 2px; letter-spacing: .01em; }

.review-cta {
  margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.review-cta__t { font-family: var(--serif); font-size: 1.06rem; color: var(--ink); }
.review-cta__s { font-size: .845rem; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Testimonials page — full reviews in list form
   ========================================================================== */
.tlist { display: grid; gap: 18px; }
.tlist__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 32px; position: relative; overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.tlist__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.tlist__item:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.tlist__item:hover::before { transform: scaleY(1); }
.tlist__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tlist__who { display: flex; align-items: center; gap: 14px; }
.tlist__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
}
.tlist__name { font-size: .95rem; font-weight: 600; color: var(--ink); }
.tlist__meta { font-size: .78rem; color: var(--faint); margin-top: 2px; }
.tlist__stars { display: flex; gap: 2px; color: var(--gold); }
.tlist__stars svg { width: 15px; height: 15px; }
.tlist__body { margin-top: 20px; font-size: .945rem; line-height: 1.72; color: var(--body); }
.tlist__body p + p { margin-top: 12px; }
.tlist__tag {
  display: inline-block; margin-top: 18px; padding: 5px 12px;
  background: var(--gold-wash); border-radius: 100px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-2);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: transparent; border: 0; text-align: left;
  padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.08rem; font-weight: 500; color: var(--ink);
  letter-spacing: -.01em; transition: color .18s ease;
}
.faq__q:hover { color: var(--gold-2); }
.faq__q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px; margin-top: -6px;
  background: currentColor; color: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") center/contain no-repeat;
  transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s cubic-bezier(.4,0,.2,1); }
.faq__a-in { padding: 0 60px 26px 0; font-size: .92rem; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Resources
   ========================================================================== */
.links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.linkcard { background: var(--paper); padding: 26px 22px; display: flex; flex-direction: column; transition: background-color .2s ease; }
.linkcard:hover { background: var(--paper-2); }
.linkcard:hover .linkcard__go { gap: 11px; }
.linkcard__abbr { font-family: var(--serif); font-size: 1.28rem; color: var(--ink); letter-spacing: -.015em; }
.linkcard__t { margin-top: 9px; font-size: .815rem; color: var(--muted); line-height: 1.5; flex: 1; }
.linkcard__go { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: .775rem; font-weight: 600; color: var(--gold-2); transition: gap .2s ease; }
.linkcard__go svg { width: 12px; height: 12px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 66px; align-items: start; }
/* Grid/flex children default to min-width:auto and refuse to shrink below their
   content's intrinsic width — an <iframe> is 300px by default, which overflowed
   narrow phones. min-width:0 lets these columns actually shrink. */
.contact__grid > *, .about__grid > *, .why__grid > * { min-width: 0; }
.map-embed { min-width: 0; }
.info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 30px; }
.info__row { background: var(--paper); padding: 20px 24px; display: grid; grid-template-columns: 22px 1fr; gap: 17px; align-items: start; }
.info__row svg { width: 19px; height: 19px; color: var(--gold); stroke-width: 1.5; margin-top: 3px; }
.info__k { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.info__v { font-size: .93rem; color: var(--ink); margin-top: 6px; line-height: 1.55; }
.info__v a:hover { color: var(--gold-2); }

.map-ph { margin-top: 18px; aspect-ratio: 16 / 7; }
.map-embed {
  display: block; width: 100%; aspect-ratio: 16 / 8; margin-top: 18px;
  border: 1px solid var(--line); border-radius: var(--r); filter: saturate(.9);
}
.map-actions { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.map-plus { font-size: .79rem; color: var(--faint); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 32px; box-shadow: var(--shadow-md); }
.form__t { font-family: var(--serif); font-size: 1.42rem; font-weight: 500; color: var(--ink); }
.form__s { margin-top: 9px; font-size: .87rem; color: var(--muted); }
.field { margin-top: 18px; }
.field label { display: block; font-size: .775rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .9rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 106px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,42,71,.07);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form .btn { width: 100%; margin-top: 24px; padding-block: 14px; }
.form__note { margin-top: 14px; font-size: .755rem; color: var(--faint); line-height: 1.6; text-align: center; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.band { background: var(--gold-wash); border-block: 1px solid var(--line); }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 54px; flex-wrap: wrap; }
.band__t { font-family: var(--serif); font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2rem); font-weight: 400; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.band__s { margin-top: 11px; font-size: .95rem; color: var(--muted); max-width: 46ch; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Skyline strip
   ========================================================================== */
.skyline { background: var(--paper-2); border-top: 1px solid var(--line); overflow: hidden; }
.skyline__in { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: center; padding-block: 52px; }
.skyline__t { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.skyline__s { margin-top: 12px; font-size: .92rem; color: var(--muted); max-width: 42ch; }
.skyline__img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }

@media (max-width: 1024px) {
  .skyline__in { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 62px 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.15fr; gap: 44px; }
.footer__about { margin-top: 20px; font-size: .855rem; color: var(--muted); line-height: 1.68; max-width: 34ch; }
.footer h4 { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer ul { margin-top: 18px; display: grid; gap: 10px; }
.footer ul a, .footer ul li { font-size: .855rem; color: var(--muted); transition: color .16s ease; }
.footer ul a:hover { color: var(--gold-2); }
.footer__bottom {
  margin-top: 50px; padding-block: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__bottom p { font-size: .775rem; color: var(--faint); }
.footer__disc { margin-top: 4px; max-width: 84ch; }

/* ==========================================================================
   Floating actions
   ========================================================================== */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; }
.fab a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .18s ease; }
.fab a:hover { transform: translateY(-2px); }
.fab svg { width: 21px; height: 21px; }
.fab__wa { background: #25A24B; }
.fab__call { background: var(--ink); }

/* ==========================================================================
   Reveal — only hide when JS is present
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .header__cta .btn--ghost { display: none; }
}

@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .links { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .hero__grid { gap: 46px; }
  .nav a { padding-inline: 10px; font-size: .86rem; }
  .svc__grid { grid-template-columns: 1fr; gap: 26px; }
  .svc__aside { position: static; }
  .svc__num { display: none; }
  .svc { padding: 32px 28px; }
}

@media (max-width: 1024px) {
  .section { padding-block: 72px; }
  /* Burger replaces the nav AND both header buttons — leaving the CTA
     visible overflows the header row on narrow screens. */
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  /* Tablets are touch devices too — give small controls a real target. */
  .link-arrow, .glance__cta { padding-block: 9px; }
  .carousel__btn { width: 44px; height: 44px; }
  .info__v a { display: inline-block; padding-block: 6px; }
  .hero { padding-top: 58px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 460px; }
  .hero__card { left: auto; right: -12px; bottom: -24px; width: 224px; }
  .stats { margin-top: 70px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 42px; }
  .pagehero__split { grid-template-columns: 1fr; gap: 28px; }
  .pagehero__logo { width: 120px; height: 120px; }
  .svcsec__head { grid-template-columns: 1fr; gap: 30px; align-items: start; margin-bottom: 34px; padding-bottom: 28px; }
  .svcsec__stats { gap: 0; justify-content: space-between; width: 100%; }
  .svcsec__stat { text-align: left; }
  .svcsec__stat strong { font-size: 2.1rem; }
  .about__ph { aspect-ratio: 16 / 10; }
  .sectors, .quotes { grid-template-columns: repeat(2, 1fr); }
  .carousel__track > * { flex-basis: calc((100% - 16px) / 2); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .cal__row { grid-template-columns: 1fr; gap: 5px; padding: 16px 20px; }
  .cal__row--head { display: none; }
  .cal__due { font-size: .87rem; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }

  /* --- Touch ergonomics ---------------------------------------------------
     iOS Safari zooms the whole page when a focused form control renders below
     16px, which throws the layout off and is hard to recover from. 16px here
     is a functional requirement, not a style choice. */
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }

  /* Give inline links and small controls a real touch target. */
  .link-arrow, .glance__cta { padding-block: 10px; }
  .carousel__btn { width: 44px; height: 44px; }
  .faq__q { padding-block: 20px; min-height: 44px; }
  .nav a, .mobilenav a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
  .btn { padding-block: 14px; }
  a, button { -webkit-tap-highlight-color: rgba(14,42,71,.08); }
  .topbar__group:first-child a:not(:first-child) { display: none; }
  .topbar__badge { display: none; }
  .section { padding-block: 58px; }
  .section-head { margin-bottom: 36px; }
  .pagehero { padding-block: 42px 46px; }
  .areas, .sectors, .quotes, .links { grid-template-columns: 1fr; }
  .carousel__track > * { flex-basis: 100%; }
  .carousel__nav { flex-direction: column-reverse; gap: 16px; }
  .area__title, .area__list { min-height: 0; }
  .svcsec__stats { flex-wrap: wrap; gap: 22px 30px; }
  .svcsec__stat strong { font-size: 1.85rem; }
  .svcsec__stat span { font-size: .7rem; }
  .creds { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .step + .step { padding-left: 0; border-left: 0; }
  .svc__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__card { position: static; width: auto; margin-top: 18px; box-shadow: var(--shadow-md); }
  .faq__a-in { padding-right: 0; }
  .fab a { width: 45px; height: 45px; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 1.1rem; }
  .header__row { min-height: 64px; }
  .rating-strip__div { display: none; }

  /* --- Mobile layout ------------------------------------------------------ */
  .hero { padding-top: 40px; }
  .hero__visual { max-width: none; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 10px 0; }
  .hero__chip { font-size: .82rem; }

  .glance { padding: 20px 18px 22px; }
  .about__img { max-height: 62vh; object-fit: cover; object-position: center 35%; }

  .rating-strip { padding: 16px 18px; gap: 14px; }
  .rating-strip__score { font-size: 1.6rem; }
  .carousel__nav { align-items: stretch; }
  .carousel__arrows { justify-content: space-between; }
  .carousel__dots { justify-content: center; }

  .review-cta, .band__in { text-align: left; }
  .band__actions .btn, .review-cta .btn { width: 100%; }
  .band__in { padding-block: 40px; }

  .svcindex { gap: 6px; }
  .svcindex a { font-size: .76rem; padding: 8px 12px; }

  .skyline__in { padding-block: 34px; }
  .skyline__t { font-size: 1.3rem; }

  .map-actions { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Keep the floating buttons clear of full-width CTAs and the form submit. */
  .fab { right: 14px; bottom: 14px; gap: 8px; }
  .footer { padding-bottom: 72px; }

  /* Phone/email in the contact panel are the primary actions on mobile —
     give them a tappable box rather than bare inline text. */
  .info__v a { display: inline-block; padding-block: 7px; }
}

/* Small phones (iPhone SE / 360px Android) */
@media (max-width: 400px) {
  .display { font-size: clamp(1.95rem, 1.1rem + 4vw, 2.4rem); }
  .h2 { font-size: 1.6rem; }
  .stat__n { font-size: 2rem; }
  .quote { min-height: 0; }
  .topbar__row { min-height: 36px; }
  .topbar { font-size: .74rem; }

  /* At 320px the nowrap wordmark plus the burger exceed the row; let the
     name wrap to two lines and tighten the mark so nothing overflows. */
  .brand { gap: 9px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { white-space: normal; font-size: .95rem; line-height: 1.18; }
  .brand__sub { font-size: 7.5px; letter-spacing: .12em; margin-top: 3px; }
  .brand__sub::before { width: 9px; margin-right: 5px; }
  .header__row { gap: 12px; }
  .burger { width: 40px; height: 40px; }
}
