/* ==========================================================================
   Prime Certified Translations — "Federal Standard"
   ========================================================================== */

:root {
  --navy: #162e51;
  --navy-deep: #0d1f38;
  --navy-line: #2f4a74;
  --blue: #005ea2;
  --blue-dark: #1a4480;
  --red: #b31b1b;
  --red-dark: #8b1414;
  --red-bright: #d83933;
  --gold: #ffbe2e;
  --ink: #1b1b1b;
  --slate: #3d4551;
  --muted: #565c65;
  --muted-2: #757575;
  --line: #dfe1e2;
  --line-strong: #a9aeb1;
  --paper: #f1f3f6;
  --gray: #f0f0f0;
  --mist: #e7f2f5;
  --cream: #fdfcf7;

  --serif: "Merriweather", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: 32px;
  --sec: 104px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(96px + var(--admin-bar, 0px)); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #2491ff; outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
  background: #fff; padding: 12px 16px;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--tight { padding-top: 64px; } /* blog index under the tab strip */
.sec--related { padding-top: 80px; padding-bottom: 80px; } /* "Related guides" under a post */
.stack { display: flex; flex-direction: column; }
.grid-2, .grid-3, .grid-4 { display: grid; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.split--center { align-items: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.sec--navy .eyebrow, .eyebrow--gold { color: var(--gold); }
.h1 {
  font-family: var(--serif); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em;
  font-size: clamp(38px, 4.6vw, 62px);
}
.h1--md { font-size: clamp(34px, 4vw, 54px); } /* page / category hero */
.h1--lg { font-size: clamp(36px, 4.4vw, 58px); } /* city hero */
.h2 {
  font-family: var(--serif); font-weight: 900; line-height: 1.2; color: var(--navy);
  font-size: clamp(30px, 3.4vw, 44px);
}
.sec--navy .h2 { color: #fff; }
.h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.3; }
.h3--lg { font-weight: 900; font-size: 28px; } /* h2 set in the h3 style (city pages, state list) */
.lead { font-size: 19px; color: var(--slate); }
.sec--navy .lead { color: var(--line); }
.muted { color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__text { align-items: center; }
.link-more { font-weight: 700; font-size: 17px; white-space: nowrap; }
.link-more--sm { font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--red-dark); font-weight: 800; }
.btn--white:hover { background: var(--gray); color: var(--red-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__links { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.topbar__links a { color: #fff; }
.topbar__phone { font-weight: 700; text-decoration: none; }
.topbar__hours { color: var(--line-strong); }
.mini-flag { display: block; flex-shrink: 0; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--admin-bar, 0px); z-index: 20; transition: box-shadow .2s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; transition: min-height .2s; }
/* Floating header: main.js adds .is-stuck once the top bar has scrolled away. */
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(13, 31, 56, .1); }
/* html's scroll-padding-top (96 px, for anchors under the sticky header) also applies when a tap or Tab focuses a header
   control: the stuck header sits inside that band, so browsers scrolled the page up by ~88 px to "reveal" the burger.
   A matching negative scroll margin keeps the header's own controls out of that calculation. */
.site-header a, .site-header button { scroll-margin-top: calc(-96px - var(--admin-bar, 0px)); }
.site-header.is-stuck .wrap { min-height: 70px; }
.site-header .brand__logo { display: block; width: 221px; height: auto; transition: width .2s; }
.site-header.is-stuck .brand__logo { width: 170px; }
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-bar: 0px; } } /* WP's admin bar stops being fixed here */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav li { position: relative; }
.nav a {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 0; border-bottom: 3px solid transparent;
}
.nav a:hover,
.nav .current-menu-item > a:not([href*="#"]),
.nav .current_page_parent > a:not([href*="#"]),
.nav .current-menu-ancestor > a:not([href*="#"]) {
  color: var(--blue); border-bottom-color: var(--blue);
}
.nav .menu-item-has-children { display: flex; align-items: center; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 40px; padding: 0 0 2px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s;
}
.nav__toggle[aria-expanded="true"] span { transform: rotate(-135deg) translateY(-3px); }
.nav .menu-item-has-children:hover > .nav__toggle, .nav .menu-item-has-children:focus-within > .nav__toggle, .nav .is-open > .nav__toggle { color: var(--blue); }
.nav .sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 260px; display: none; flex-direction: column; align-items: stretch; gap: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  box-shadow: 0 16px 32px rgba(22, 46, 81, .14); padding: 8px 0;
}
.nav .sub-menu li { display: block; }
.nav .sub-menu a { display: flex; padding: 10px 18px; border: 0; width: 100%; }
.nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { background: var(--paper); color: var(--blue); }
.nav li:hover:not(.is-closed) > .sub-menu, .nav li:focus-within:not(.is-closed) > .sub-menu, .nav li.is-open > .sub-menu { display: flex; }
/* Long dropdowns (languages, documents) run in two columns; the last "All …" link spans both. */
.nav .sub-menu--cols { min-width: 520px; display: none; flex-flow: row wrap; }
.nav li:hover:not(.is-closed) > .sub-menu--cols, .nav li:focus-within:not(.is-closed) > .sub-menu--cols, .nav li.is-open > .sub-menu--cols { display: flex; }
.nav .sub-menu--cols > li { flex: 0 0 50%; }
.nav .sub-menu--cols > li:last-child { flex-basis: 100%; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
/* Header v3: five items. Translations is a three-column mega panel (Documents, Languages, Use cases). */
.nav .nav__label-btn {
  width: auto; height: auto; gap: 6px; padding: 10px 0; border-bottom: 3px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav .nav__label-btn:hover, .nav .menu-item--mega.current-menu-ancestor > .nav__label-btn, .nav .menu-item--mega.is-open > .nav__label-btn { color: var(--blue); border-bottom-color: var(--blue); }
.nav .nav__label-btn { column-gap: 8px; }
.nav .nav__label-btn span { margin-top: -3px; width: 7px; flex: none; }
.nav .menu-item--mega { position: static; }
.site-header .wrap { position: relative; }
.nav .sub-menu--mega {
  left: 50%; right: auto; top: 100%; transform: translateX(-50%); width: min(900px, calc(100vw - 2 * var(--gutter)));
  min-width: 0; padding: 22px 26px 18px; gap: 28px; flex-direction: row; display: none;
}
.nav li:hover:not(.is-closed) > .sub-menu--mega, .nav li:focus-within:not(.is-closed) > .sub-menu--mega, .nav li.is-open > .sub-menu--mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav .sub-menu--mega.sub-menu--4 { width: min(1100px, calc(100vw - 2 * var(--gutter))); gap: 22px; padding-left: 22px; padding-right: 22px; }
.nav li:hover:not(.is-closed) > .sub-menu--mega.sub-menu--4, .nav li:focus-within:not(.is-closed) > .sub-menu--mega.sub-menu--4, .nav li.is-open > .sub-menu--mega.sub-menu--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nav .menu-item--mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* hover bridge to the panel */
.nav .mega__col ul { display: block; list-style: none; gap: 0; }
.nav .mega__head { display: flex; align-items: center; gap: 12px; padding: 0 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 18px; font-weight: 800; color: var(--navy); white-space: normal; }
.nav .mega__head img, .nav .mega__head svg { flex-shrink: 0; width: 40px; height: 40px; object-fit: contain; }
.nav .sub-menu--mega .mega__col a:not(.mega__head) { padding: 7px 10px; margin: 0 -10px; width: auto; border-radius: 6px; font-weight: 500; font-size: 14.5px; white-space: normal; }
.nav .sub-menu--mega .mega__col a:hover { background: var(--paper); color: var(--blue); }
.nav .sub-menu--mega .mega__all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav .sub-menu--mega .mega__all a { color: var(--blue); font-weight: 700; }
.mnav__rowlabel { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px var(--gutter); color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.mnav__rowlabel svg { flex-shrink: 0; color: var(--red); }
.mnav .sub-menu .mnav__head a { margin-top: 6px; padding-left: calc(var(--gutter) + 36px); font-weight: 700; font-family: var(--serif); font-size: 16px; }
.mnav .sub-menu .mnav__head:first-child a { margin-top: 0; }
.mnav .sub-menu .mnav__head + li a, .mnav .sub-menu li:not(.mnav__head):not(.mnav__all) a { padding-left: calc(var(--gutter) + 52px); }
.mnav .sub-menu .mnav__all a { color: var(--blue); font-weight: 700; padding-left: calc(var(--gutter) + 52px); }
.mnav__moretitle { margin: 18px var(--gutter) 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.mnav__moretitle + .mnav__more { padding-top: 8px; }
.header-ctas { display: flex; gap: 10px; align-items: center; }
.burger {
  display: none; width: 48px; height: 48px; border: 2px solid var(--navy); border-radius: var(--radius); background: #fff;
  color: var(--navy); align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s;
}
.burger:hover, .burger:active, .burger[aria-expanded="true"] { background: var(--paper); }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline-flex; }
.burger__open { display: inline-flex; }
.header-ctas .btn:active, .mnav .btn:active { filter: brightness(.88); }

/* Mobile panel: a fixed overlay from the header's bottom edge to the bottom of the viewport (main.js sets
   --mnav-top from the header's measured bottom: 132 at page top, 70/64 once stuck, plus the admin bar), so
   opening it never moves the page. Rows are 56 px, every other target 48 px, 8 px between separate buttons. */
.mnav { display: none; position: fixed; top: var(--mnav-top, 132px); right: 0; bottom: 0; left: 0; z-index: 25; flex-direction: column; background: #fff; }
.mnav.is-open { display: flex; }
@media (min-width: 1001px) { .mnav, .mnav.is-open { display: none; } } /* a panel left open stays hidden once the desktop nav is back */
@media (max-width: 1000px) {
  html { scrollbar-gutter: stable; } /* a classic scrollbar keeps its gutter while the panel locks the page, so nothing shifts */
  body.mnav-open { overflow: hidden; }
}
.mnav ul { list-style: none; }
.mnav a { touch-action: manipulation; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mnav :focus-visible { outline-offset: -3px; } /* the scroll box clips an outside ring */
.mnav__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.mnav__item { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.mnav__item > a { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px var(--gutter); color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.3; transition: background .15s; }
.mnav__item > a svg { flex-shrink: 0; color: var(--red); }
.mnav__item > a:hover, .mnav__item > a:active { background: var(--paper); color: var(--navy); }
.mnav a[aria-current="page"] { color: var(--blue); box-shadow: inset 3px 0 0 var(--red); }
.mnav .nav__toggle { width: 56px; height: auto; min-height: 56px; padding: 0; border-left: 1px solid var(--line); color: var(--navy); touch-action: manipulation; transition: background .15s; }
/* Chevron: translate before rotate so the shift is vertical (the V's visual centre sits 3 px below its box centre). */
.mnav .nav__toggle span { width: 10px; height: 10px; border-width: 2px; transform: translateY(-3px) rotate(45deg); }
.mnav .nav__toggle[aria-expanded="true"] span { transform: translateY(3px) rotate(-135deg); }
.mnav .nav__toggle:hover, .mnav .nav__toggle:active, .mnav .nav__toggle[aria-expanded="true"] { background: var(--paper); color: var(--blue); }
.mnav .sub-menu { display: none; width: 100%; background: var(--paper); border-top: 1px solid var(--line); padding: 6px 0; }
.mnav .is-open > .sub-menu { display: block; }
.mnav .sub-menu a { display: flex; align-items: center; min-height: 48px; padding: 8px var(--gutter) 8px calc(var(--gutter) + 36px); color: var(--navy); font-size: 16px; font-weight: 500; line-height: 1.3; }
.mnav .sub-menu a:hover, .mnav .sub-menu a:active { background: #fff; color: var(--blue); }
.mnav__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px var(--gutter) 8px; }
.mnav__more a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.2; transition: background .15s; }
.mnav__more a:hover, .mnav__more a:active { background: var(--paper); color: var(--navy); }
.mnav__more a[aria-current="page"] { box-shadow: none; border-color: var(--blue); color: var(--blue); }
.mnav__ctas { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 16px rgb(22 46 81 / 8%); }
.mnav__ctas .btn { width: 100%; min-height: 52px; font-size: 17px; gap: 10px; }
@media (min-width: 641px) and (max-width: 1000px) { .mnav__ctas { flex-direction: row; } .mnav__ctas .btn { flex: 1; width: auto; } .mnav__more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-height: 500px) { .mnav__item > a, .mnav .nav__toggle { min-height: 48px; } .mnav__ctas { flex-direction: row; padding-top: 10px; padding-bottom: 10px; } .mnav__ctas .btn { flex: 1; width: auto; min-height: 48px; font-size: 15px; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; border-top: 5px solid var(--red); position: relative; overflow: hidden; }
.hero__seal { position: absolute; left: -260px; bottom: -330px; width: 760px; height: 760px; opacity: .07; pointer-events: none; }
.hero__stripes { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; display: flex; flex-direction: column; opacity: .05; pointer-events: none; }
.hero__stripes span { flex-grow: 1; }
.hero__stripes span:nth-child(odd) { background: #fff; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; padding-top: 72px; padding-bottom: 80px; align-items: start;
}
.hero__main { display: flex; flex-direction: column; gap: 24px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero__stars { letter-spacing: 4px; font-size: 12px; }
.hero__price { color: var(--gold); white-space: nowrap; }
.hero__text { font-size: 18px; line-height: 1.65; color: var(--line); max-width: 620px; }
.hero__text--lg { font-size: 19px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid #3e5a85; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 16px;
}
.badge svg { color: var(--gold); }
.submit-box { border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); background: rgba(255, 255, 255, .04); padding: 22px 4px; display: flex; flex-direction: column; gap: 16px; }
.submit-box__title { font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.checklist { list-style: none; display: grid; gap: 12px 18px; font-weight: 600; font-size: 15px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row--tight { gap: 12px; }

/* ---------- Form card ---------- */
.form-card { background: #fff; color: var(--ink); border-top: 6px solid var(--red); box-shadow: 0 24px 48px rgba(0, 0, 0, .28); }
.form-card__head { background: var(--gray); border-bottom: 1px solid var(--line); padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-card__title { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy); }
.form-card__code { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.form-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.form-card__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-card__notes { min-height: 88px; resize: vertical; }
.form-card__success { background: var(--mist); border-left: 4px solid var(--blue); padding: 12px 14px; font-weight: 600; }
.form-card__error { border-left-color: var(--red); }
.field__optional { font-size: 12px; font-weight: 400; color: var(--muted); }
.upload__hint { font-size: 13px; overflow-wrap: anywhere; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.input, .select {
  font: inherit; font-size: 16px; padding: 12px; min-height: 48px; width: 100%;
  border: 1px solid var(--muted); border-radius: 0; background: #fff; color: var(--ink);
}
.select:invalid { color: var(--muted-2); }
.select option { color: var(--ink); }
.upload { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 2px dashed var(--line-strong); background: #f9f9f9; text-align: center; cursor: pointer; position: relative; }
.upload:hover { border-color: var(--blue); }
.upload:focus-within { outline: 3px solid #2491ff; outline-offset: 3px; }
.upload__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.upload__title { font-weight: 700; color: var(--blue); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--slate); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Credentials band ---------- */
.cred { background: var(--gray); border-bottom: 1px solid var(--line); }
.cred .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.cred__item { display: flex; align-items: center; gap: 14px; }
.cred__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.cred__text { display: flex; flex-direction: column; line-height: 1.3; }
.cred__text strong { font-family: var(--serif); color: var(--navy); }
.cred__text span { font-size: 13px; color: var(--muted); }

/* ---------- Service cards ---------- */
.svc-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-card {
  display: flex; flex-direction: column; gap: 16px; padding: 36px 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background .15s;
}
.svc-card:hover { background: var(--paper); color: inherit; }
.svc-card:hover .h3 { text-decoration: underline; }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card__icon { width: 60px; height: 60px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 4px solid var(--red); }
.svc-card__num { font-family: var(--serif); font-size: 14px; color: var(--muted-2); }
.svc-card .h3 { font-size: 23px; }
.svc-card p { color: var(--slate); }
.svc-card__more { font-weight: 700; color: var(--blue); margin-top: auto; }

/* ---------- Use-case cards ---------- */
.case-grid { gap: 20px; }
.case-card {
  display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 30px 28px;
  border: 1px solid var(--line); border-top: 4px solid var(--navy); text-decoration: none; color: inherit;
}
.case-card:hover { border-top-color: var(--red); color: inherit; }
.case-card:hover .h3 { text-decoration: underline; }
.case-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mist); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.case-card .h3 { font-size: 20px; }
.case-card__text { color: var(--slate); font-size: 15px; }
.case-card__more { font-weight: 700; color: var(--blue); font-size: 15px; margin-top: auto; }

/* ---------- Documents & languages ---------- */
.doc-head { display: flex; align-items: center; gap: 28px; }
.doc-list { list-style: none; column-count: 4; column-gap: 32px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 24px 0; margin: 40px 0 24px; }
.doc-list li { break-inside: avoid; display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.doc-list svg { flex-shrink: 0; color: var(--red); }
.doc-list a, .doc-list span { color: var(--ink); text-decoration: none; }
.doc-list a:hover { color: var(--blue); text-decoration: underline; }
.big-stat { display: flex; align-items: center; gap: 18px; }
.big-stat__num { font-family: var(--serif); font-weight: 900; font-size: 64px; line-height: 1; color: var(--red); }
.big-stat__label { display: flex; flex-direction: column; font-weight: 700; color: var(--navy); line-height: 1.3; }
.lang-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 28px 36px; margin: 40px 0 24px; }
.lang-list { list-style: none; column-count: 6; column-gap: 24px; }
.lang-list li { break-inside: avoid; padding: 5px 0; }
.lang-list a, .lang-list span { color: var(--navy); text-decoration: none; }
.lang-list a:hover { text-decoration: underline; }
.lang-note { text-align: center; }

/* ---------- Business & industries ---------- */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { color: var(--red); flex-shrink: 0; }
.biz-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.biz-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.biz-card:hover { background: var(--paper); color: inherit; }
.biz-card svg { color: var(--blue); }
.biz-card .h3 { font-size: 20px; }
.biz-card__more { font-weight: 700; color: var(--blue); margin-top: auto; }
.industries { display: flex; flex-direction: column; gap: 22px; padding-top: 48px; margin-top: 64px; border-top: 1px solid var(--line); }
.industries__title { display: flex; align-items: center; gap: 14px; }
.industries__title svg { color: var(--red); }
.industries__title .h3 { font-weight: 900; font-size: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; border: 1px solid var(--line-strong); background: #fff; }
.chip:hover, .chip.is-active { border-color: var(--blue); color: var(--blue); }
.chip--static, .chip--static:hover { color: var(--slate); border-color: var(--line-strong); cursor: default; }
.biz-card:not(a) .h3 { color: var(--navy); }
.cert-sample { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--line-strong); }
.cert-sample svg { flex-shrink: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.step__top { display: flex; align-items: center; width: 100%; }
.step__icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line-strong);
}
.step:last-child .step__icon { background: var(--red); }
.step__line { flex-grow: 1; height: 2px; margin-left: 16px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child .step__line { display: none; }
.step__num { font-family: var(--serif); font-weight: 900; font-size: 15px; letter-spacing: .1em; color: var(--red); }
.step .h3 { font-size: 21px; }
.step p { color: var(--slate); }

/* ---------- Certificate ---------- */
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
.cert-list li { display: flex; gap: 14px; }
.cert-list svg { flex-shrink: 0; color: var(--gold); }
.cert-stage { display: flex; justify-content: center; position: relative; padding: 20px 0; }
.cert-stage__back { position: absolute; width: 78%; max-width: 420px; top: 36px; bottom: 6px; background: #e8e4d6; transform: rotate(3deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.cert-doc {
  position: relative; background: var(--cream); color: var(--ink); width: 100%; max-width: 470px; padding: 40px 40px 36px;
  border: 1px solid #c9c2a8; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-1.5deg);
  display: flex; flex-direction: column; gap: 18px;
}
.cert-doc__head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px double var(--navy); padding-bottom: 14px; }
.cert-doc__brand { display: flex; align-items: center; gap: 10px; line-height: 1.15; }
.cert-doc__name { font-family: var(--serif); font-weight: 900; letter-spacing: .06em; color: var(--navy); font-size: 20px; }
.cert-doc__sub { font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.cert-doc__no { font-size: 11px; color: var(--muted); text-align: right; }
.cert-doc__title { font-family: var(--serif); font-weight: 700; font-size: 18px; text-align: center; letter-spacing: .04em; color: var(--navy); }
.cert-doc__body { font-family: var(--serif); font-size: 13px; line-height: 1.7; color: var(--slate); }
.cert-doc__lines { display: flex; flex-direction: column; gap: 6px; }
.cert-doc__lines span { height: 9px; background: #e6e3d8; }
.cert-doc__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.cert-doc__sign { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); }
.cert-doc__sign span { border-top: 1px solid var(--muted); padding-top: 4px; width: 180px; }
.cert-doc__seal { transform: rotate(-12deg); }

/* ---------- Pricing ---------- */
.prices { gap: 24px; align-items: stretch; padding-top: 16px; }
.price-card { border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.price-card--featured { border: 2px solid var(--navy); padding: 35px 31px; box-shadow: 0 16px 32px rgba(22, 46, 81, .16); }
.price-card__badge {
  position: absolute; left: -2px; right: -2px; top: -34px; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-align: center; padding: 9px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.price-card__badge span { color: var(--gold); }
.price-card__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.price-card__label svg { color: var(--navy); }
.price-card--featured .price-card__label, .price-card--featured .price-card__label svg { color: var(--red); }
.price-card__amount { display: flex; align-items: baseline; gap: 6px; }
.price-card__amount strong { font-family: var(--serif); font-weight: 900; font-size: 50px; color: var(--navy); line-height: 1.1; }
.price-card__amount span { color: var(--muted); }
.price-card__desc { color: var(--slate); min-height: 48px; }
.price-card__list { list-style: none; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price-card__list li { display: flex; gap: 10px; align-items: center; }
.price-card__list svg { color: var(--blue); flex-shrink: 0; }
.price-card--featured .price-card__list svg { color: var(--red); }
.price-card .btn { margin-top: auto; }
.beat-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--paper); padding: 24px 28px; border: 1px solid var(--line); margin-top: 56px; }
.beat-bar__msg { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy); }
.round-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.round-icon--navy { background: var(--navy); }
.round-icon--lg { width: 52px; height: 52px; }

/* ---------- Areas ---------- */
.zip-form { display: flex; margin-top: 8px; }
.zip-form__pin { display: flex; align-items: center; padding-left: 14px; border: 1px solid var(--muted); border-right: 0; background: #fff; color: var(--muted); }
.zip-form .input { border-left: 0; border-right: 0; flex-grow: 1; min-width: 0; min-height: 56px; font-size: 17px; }
.zip-form .btn { min-height: 56px; border-radius: 0; }
.mini-feats { gap: 16px; margin-top: 12px; }
.mini-feat { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--slate); }
.mini-feat svg { color: var(--red); }
.mini-feat strong { color: var(--navy); }
.seal-box { display: flex; align-items: center; gap: 24px; background: var(--navy); color: #fff; padding: 22px 26px; border-bottom: 5px solid var(--red); margin-bottom: 28px; }
.seal-box svg { flex-shrink: 0; }
.seal-box strong { font-family: var(--serif); font-size: 22px; display: block; margin-bottom: 6px; }
.seal-box span { color: var(--line); }
.area-links { gap: 0 24px; border-top: 1px solid var(--line-strong); }
.area-link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; color: var(--navy); }
.area-link:hover { color: var(--blue); }
.area-link span { color: var(--red); }
.area-link--static { color: var(--slate); font-weight: 500; }
.state-groups { gap: 32px 40px; align-items: start; }
.state-group { display: flex; flex-direction: column; gap: 10px; }
.state-group__name { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* ---------- Reviews ---------- */
.rating-box { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 12px 18px; }
.rating-box strong { font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--navy); }
.stars { color: var(--red); letter-spacing: 2px; }
.reviews { gap: 24px; }
.review { margin: 0; background: var(--paper); padding: 32px; border-top: 4px solid var(--red); display: flex; flex-direction: column; gap: 16px; position: relative; }
.review__mark { position: absolute; right: 24px; top: 6px; font-family: var(--serif); font-weight: 900; font-size: 96px; line-height: 1; color: var(--line); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.7; position: relative; }
.review figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 15px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review__who { display: flex; flex-direction: column; line-height: 1.35; }
.review__who span { color: var(--muted); font-size: 14px; }

/* ---------- Post cards ---------- */
.posts { gap: 32px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; }
.post-card:hover .h3 { text-decoration: underline; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-card .h3 { font-size: 21px; line-height: 1.35; }
.post-card__cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--red); text-transform: uppercase; }
.post-card__meta { font-size: 14px; color: var(--muted); }
.post-card__excerpt { color: var(--slate); font-size: 15px; }
.thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background-color: var(--navy); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--ph {
  display: flex; align-items: center; justify-content: center; color: #fff;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px);
}
.thumb--blue { background-color: var(--blue-dark); }
.thumb--red { background-color: var(--red-dark); }
.thumb--slate { background-color: var(--slate); }
.thumb--civic { background-color: var(--blue); }

/* ---------- FAQ ---------- */
.call-card { display: flex; gap: 18px; align-items: center; background: var(--paper); padding: 22px; margin-top: 10px; border-top: 4px solid var(--navy); }
.call-card .stack { gap: 2px; min-width: 0; }
.call-card a { font-weight: 800; font-size: 20px; text-decoration: none; overflow-wrap: anywhere; }
.call-card a.call-card__email { font-size: 14px; font-weight: 400; }
.call-card--side { margin: 0; } /* sidebar variant (service pages) */
.call-card--side .muted { font-size: 14px; }
.call-card--side a { font-size: 18px; }
.faq { border-top: 2px solid var(--navy); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-strong); padding: 22px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 19px; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex-shrink: 0; display: inline-block; width: 24px; text-align: center; font-size: 26px; line-height: 1; color: var(--red); transition: transform .15s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band__bg { position: absolute; right: -60px; top: -120px; width: 420px; height: 420px; opacity: .08; pointer-events: none; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; position: relative; }
.cta-band__msg { display: flex; align-items: center; gap: 24px; }
.cta-band__icon { width: 72px; height: 72px; flex-shrink: 0; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.cta-band p { font-size: 19px; color: #fde8e8; margin-top: 8px; }

/* ---------- Footer ---------- */
.tri-stripe { display: flex; height: 6px; }
.tri-stripe span { flex-grow: 1; background: var(--red); }
.tri-stripe span:nth-child(2) { background: #fff; }
.tri-stripe span:nth-child(3) { background: var(--blue); }
.site-footer { background: var(--navy-deep); color: var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.foot-about { display: flex; flex-direction: column; gap: 18px; }
.foot-about p { color: var(--line-strong); max-width: 340px; }
.foot-brand { display: block; align-self: flex-start; }
.foot-brand img { display: block; width: 263px; height: auto; }
.foot-contacts { display: flex; flex-direction: column; gap: 10px; }
.foot-contacts a { overflow-wrap: break-word; min-width: 0; }
.foot-contacts > * { display: flex; gap: 10px; align-items: center; }
.foot-contacts svg { color: #ff8d7b; flex-shrink: 0; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h2 { font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: .16em; color: #fff; text-transform: uppercase; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { color: var(--line); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--navy-line); }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 28px; flex-wrap: wrap; font-size: 13px; color: var(--line-strong); }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--gray); border-bottom: 1px solid var(--line); font-size: 14px; }
.crumbs ol { list-style: none; display: flex; gap: 10px; align-items: center; min-height: 48px; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; color: var(--muted-2); margin-right: 10px; }
.crumbs [aria-current] { color: var(--slate); font-weight: 600; }
.crumbs--plain { background: none; border: 0; }
.crumbs--plain ol { min-height: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; border-top: 5px solid var(--red); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.page-hero__text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.page-hero p { font-size: 19px; color: var(--line); }

/* ---------- Area page ---------- */
.area-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; padding-top: 64px; padding-bottom: 72px; align-items: start; }
.area-hero__facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: 15px; color: var(--line); }
.area-hero__facts strong { color: #fff; }
.directory { background: #fff; color: var(--ink); border-top: 6px solid var(--red); }
.directory__art { padding: 18px 18px 0; }
.directory__img { display: block; width: 100%; height: auto; }
.directory__head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.directory__head strong { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.directory__head span { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.directory dl { margin: 0; padding: 8px 26px 22px; }
.directory dl > div { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.directory dl > div:last-child { border-bottom: 0; }
.directory dl svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.directory dt { font-weight: 700; color: var(--navy); }
.directory dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.svc-rows { border-top: 2px solid var(--navy); }
.svc-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-row:hover .h3 { text-decoration: underline; }
.svc-row__text { display: flex; flex-direction: column; gap: 4px; }
.svc-row__text span { font-size: 15px; color: var(--muted); }
.svc-row__price { font-weight: 700; color: var(--red); white-space: nowrap; }
.num-steps { list-style: none; border-top: 1px solid var(--line); }
.num-steps li { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.num-steps b { font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1; color: var(--red); width: 44px; flex-shrink: 0; }
.num-steps strong { font-size: 18px; color: var(--navy); display: block; margin-bottom: 4px; }
.num-steps span { color: var(--slate); }
.map-card { display: flex; flex-direction: column; border: 1px solid var(--line); }
.map {
  flex-grow: 1; min-height: 380px; position: relative; overflow: hidden; background-color: var(--mist);
  background-image: repeating-linear-gradient(0deg, rgba(22, 46, 81, .06) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(22, 46, 81, .06) 0 1px, transparent 1px 32px);
}
.map > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: calc(50% - 24px); top: calc(50% - 46px); }
.map__label { position: absolute; left: 16px; top: 16px; background: #fff; border: 1px solid var(--line); padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--navy); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__foot { padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.map-card__foot strong { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.states { list-style: none; column-count: 5; column-gap: 24px; padding: 22px 28px; background: #fff; border: 1px solid var(--line); }
.states li { padding: 4px 0; break-inside: avoid; color: var(--muted); font-size: 15px; }
.states__has { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; }
.states__has strong { color: var(--navy); }
.states__cities { font-size: 14px; }
.states a { color: var(--blue); font-weight: 600; text-decoration: none; }
.states a:hover { text-decoration: underline; }
.local-copy { font-size: 18px; color: var(--slate); }
.local-copy p + p { margin-top: 14px; }

/* ---------- Blog ---------- */
.search-form { display: flex; width: 100%; max-width: 380px; }
.search-form .input { border: 0; min-height: 54px; min-width: 0; flex-grow: 1; }
.search-form button { background: var(--red); color: #fff; border: 0; width: 56px; min-height: 54px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tabs { border-bottom: 1px solid var(--line); background: #fff; }
.tabs .wrap { display: flex; gap: 6px; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; min-height: 52px; padding: 16px 14px 12px; white-space: nowrap; color: var(--slate); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 4px solid transparent; }
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); font-weight: 800; border-bottom-color: var(--red); }
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.feature:hover h2 { text-decoration: underline; }
.feature .thumb { aspect-ratio: 16 / 10; }
.feature__flag { position: absolute; top: 18px; left: 18px; background: var(--red); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .16em; padding: 6px 10px; z-index: 1; }
.feature__body { display: flex; flex-direction: column; gap: 16px; }
.feature__body h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; color: var(--navy); }
.feature__body p { font-size: 18px; color: var(--slate); }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img, .byline .avatar-ph { width: 36px; height: 36px; border-radius: 50%; background: var(--line); }
.byline strong { color: var(--ink); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 40px; }
.list-head h2 { font-family: var(--serif); font-weight: 900; font-size: 24px; color: var(--navy); }
.list-head span { font-size: 14px; color: var(--muted); }
.post-grid { gap: 40px 32px; }
.post-grid .post-card { border: 0; }
.post-grid .post-card__body { padding: 14px 0 0; }
.post-grid .thumb { aspect-ratio: 16 / 10; }
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; padding-top: 56px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--navy); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.side-cta { background: var(--navy); color: #fff; padding: 28px; border-top: 6px solid var(--red); display: flex; flex-direction: column; gap: 14px; }
.side-cta strong { font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.25; }
.side-cta p { color: var(--line); font-size: 15px; }
.side-box { border: 1px solid var(--line); padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.side-box__title { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.most-read { list-style: none; counter-reset: mr; }
.most-read li { counter-increment: mr; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.most-read li::before { content: counter(mr); font-family: var(--serif); font-weight: 900; color: var(--red); font-size: 20px; width: 22px; flex-shrink: 0; }
.most-read a { color: var(--navy); font-weight: 600; text-decoration: none; }
.most-read a:hover { text-decoration: underline; }
.newsletter { background: var(--paper); padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.newsletter strong { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.newsletter p { font-size: 14px; color: var(--slate); }

/* ---------- Single post ---------- */
.article-head { border-bottom: 1px solid var(--line); }
.article-head .wrap { padding-top: 40px; padding-bottom: 48px; }
.article-head__inner { display: flex; flex-direction: column; gap: 22px; max-width: 920px; }
.article-head__tags { display: flex; align-items: center; gap: 12px; }
.tag-red { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .16em; padding: 6px 10px; text-transform: uppercase; text-decoration: none; }
.tag-red:hover { color: #fff; background: var(--red-dark); }
.article-head__no { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.article-head h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.15; color: var(--navy); }
.article-head__dek { font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--slate); }
.article-head__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.article-hero { margin-top: 48px; }
.article-hero .thumb { aspect-ratio: 21 / 8; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.toc { position: sticky; top: calc(96px + var(--admin-bar, 0px)); display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--navy); padding-top: 16px; font-size: 15px; }
.toc__title { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); margin-bottom: 8px; }
.toc a { padding: 8px 0 8px 15px; color: var(--slate); text-decoration: none; border-left: 3px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--navy); font-weight: 700; border-left-color: var(--red); }
.toc-m { display: none; } /* collapsible TOC, shown ≤960 instead of the sticky one */
.prose { max-width: 740px; font-family: var(--serif); font-size: 18px; line-height: 1.85; }
.prose > * + * { margin-top: 22px; }
.prose p, .prose li, .local-copy p { overflow-wrap: anywhere; } /* long e-mail addresses on narrow columns */
.prose figure { margin: 28px 0; }
.prose h2 { font-weight: 900; font-size: 28px; line-height: 1.3; color: var(--navy); margin-top: 48px; scroll-margin-top: 24px; }
.prose h3 { font-weight: 700; font-size: 22px; color: var(--navy); margin-top: 36px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote, .prose .wp-block-quote {
  margin: 28px 0; background: var(--paper); border-top: 4px solid var(--navy); padding: 26px 30px; font-style: italic; color: var(--navy);
}
.prose blockquote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--red); margin-top: 10px; text-transform: uppercase; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.prose .wp-block-table { margin: 28px 0; }
.prose .wp-block-table thead { border: 0; }
.prose th, .prose .wp-block-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; border: 0; }
.prose td, .prose .wp-block-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-element-caption { margin-top: 10px; }
.prose tr:nth-child(even) td { background: #f9f9f9; }
.prose figcaption { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.inline-cta { background: var(--navy); color: #fff; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--sans); }
.inline-cta strong { font-family: var(--serif); font-size: 20px; display: block; }
.inline-cta span { color: var(--line); font-size: 15px; }
.disclaimer { font-family: var(--sans); font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); padding: 26px; font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.author-box img, .author-box .avatar-ph { width: 64px; height: 64px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.author-box strong { font-family: var(--serif); font-size: 18px; color: var(--navy); display: block; }

/* ---------- Generic page ---------- */
.page-content { padding-top: 72px; padding-bottom: 96px; }
.page-hero__art { width: 400px; flex-shrink: 0; align-self: center; padding: 12px 16px; background: var(--cream); border-top: 4px solid var(--red); }
.page-hero__art svg { display: block; width: 100%; height: auto; }
.page-hero__icon { width: 140px; height: 140px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--navy-line); display: flex; align-items: center; justify-content: center; color: var(--gold); align-self: center; }
.sidebar--sticky { position: sticky; top: calc(96px + var(--admin-bar, 0px)); }
.side-cta .btn--ghost { min-height: 44px; }
.side-links { list-style: none; display: flex; flex-direction: column; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a svg { color: var(--blue); flex-shrink: 0; }
.side-links a:hover, .side-links a[aria-current] { color: var(--red); }
.side-links a[aria-current] svg { color: var(--red); }
.side-links--plain a { justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.4; }
.side-links__count { font-size: 12px; font-weight: 700; color: var(--muted); }
.side-links__more { color: var(--blue) !important; }

/* Related services (appended to posts in inc/data.php) */
.related-services { margin-top: 48px; padding-top: 20px; border-top: 2px solid var(--navy); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.related-services__title { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.related-services ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.related-services a { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.related-services a:hover strong { text-decoration: underline; }
.related-services a > svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.related-services a > span { display: flex; flex-direction: column; gap: 2px; }
.related-services strong { font-weight: 700; }
.related-services a > span > span { font-size: 14px; color: var(--muted); }
.page-hero__intro { font-size: 17px !important; line-height: 1.65; }

/* Gutenberg details (FAQ) inside prose */
.prose .wp-block-details { border-top: 1px solid var(--line-strong); padding: 18px 0; margin: 0; font-family: var(--sans); }
.prose .wp-block-details + .wp-block-details { margin-top: 0; }
.prose .wp-block-details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.prose .wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; color: var(--navy); }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); flex-shrink: 0; width: 24px; text-align: center; }
.prose .wp-block-details[open] summary::after { content: "–"; }
.prose .wp-block-details p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--slate); }
.prose em:only-child { color: var(--muted); }

/* ---------- Editorial illustration direction ---------- */
.hero--editorial .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero--editorial .hero__main { gap: 24px; }
.hero--editorial .h1 { font-size: clamp(40px, 3.7vw, 54px); line-height: 1.14; letter-spacing: -.025em; }
.hero--editorial .hero__eyebrow { font-size: 11px; letter-spacing: .16em; }
.hero--editorial .hero__text { max-width: 480px; font-size: 18px; }
.hero--editorial .btn-row { gap: 24px; margin-top: 8px; }
.hero__details { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: #fff; font-weight: 600; text-underline-offset: 5px; }
.hero__details:hover { color: var(--gold); }
.hero--editorial .hero__rate { font-size: 14px; color: var(--line); }
.hero__rate strong { color: #fff; }
.hero-art { margin: 0; background: var(--paper); color: var(--navy); border-top: 4px solid var(--red); }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-art figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 20px 24px; border-top: 1px solid var(--line-strong); font-size: 12px; }
.hero-art figcaption span:first-child { font-weight: 700; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--navy-line); font-size: 12px; color: var(--line); }
.hero__foot a { display: inline-flex; align-items: center; gap: 12px; min-height: 24px; color: #fff; text-underline-offset: 4px; }
.service-notes { border-bottom: 1px solid var(--line); }
.service-notes .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.service-notes span, .service-notes a { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 14px; }
.service-notes svg { color: var(--red); flex-shrink: 0; }
.service-notes a { min-height: 44px; font-weight: 700; text-underline-offset: 4px; }

.services-editorial > .wrap { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 72px; }
.services-editorial .sec-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px; margin: 0; }
.services-editorial .sec-head__text { gap: 20px; }
.services-editorial .lead { font-size: 17px; line-height: 1.7; }
.services-editorial .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; border: 0; gap: 32px; }
.services-editorial .svc-card { padding: 20px 0 0; border: 0; border-top: 1px solid var(--line-strong); gap: 12px; }
.services-editorial .svc-card:hover { background: transparent; border-top-color: var(--red); }
.services-editorial .svc-card__top { margin: 0; }
.services-editorial .svc-card__icon { width: 56px; height: 56px; background: transparent; color: var(--navy); border: 0; }
.services-editorial .svc-card__num { font-family: var(--sans); font-size: 12px; }
.services-editorial .svc-card .h3 { font-size: 21px; }
.services-editorial .svc-card p { font-size: 15px; line-height: 1.65; }
.services-editorial .svc-card__more { padding-top: 8px; font-size: 14px; }

.order-editorial__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
.order-editorial__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.order-editorial__intro > .lead { max-width: 460px; font-size: 17px; }
.order-editorial__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; gap: 28px 32px; padding-top: 12px; }
.order-editorial__steps li { display: flex; gap: 12px; align-items: flex-start; }
.order-editorial__number { padding-top: 3px; font-size: 12px; font-weight: 700; color: var(--red); }
.order-editorial__steps .h3 { font-size: 16px; margin-bottom: 8px; }
.order-editorial__steps p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.order-editorial__art { width: 100%; max-width: 420px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.hero--quote .hero__grid { align-items: start; padding-top: 48px; padding-bottom: 48px; }
/* Turnstile renders ~65px tall after load; reserve it so the hero (and the flag sized from it) does not shift. */
.cf-turnstile:empty { display: none; }
/* Waving-flag backdrop: a CSS background, so it never competes for LCP. */
.hero--quote { background: var(--navy) url(../images/hero-flag-1792.jpg) left center / cover no-repeat; background-image: image-set(url(../images/hero-flag-1792.avif) type("image/avif"), url(../images/hero-flag-1792.webp) type("image/webp"), url(../images/hero-flag-1792.jpg) type("image/jpeg")); }
.hero--quote .hero__foot { position: relative; }
.hero--quote .hero__main { padding-top: 32px; }
.hero--quote .form-card { width: 100%; scroll-margin-top: 24px; }
.hero--quote .form-card__head { padding: 18px 24px; background: #fff; }
.hero--quote .form-card__body { padding: 20px 24px 24px; gap: 14px; }
.hero--quote .form-card__title { font-size: 24px; }
.hero--quote .field { gap: 4px; }
.hero--quote .upload { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px 16px; text-align: left; background: var(--paper); }
.hero--quote .upload__icon { grid-row: 1 / 3; width: 32px; height: 32px; background: transparent; }
.hero--quote .upload__hint { grid-column: 2; }
.hero--quote .submit-box { margin-top: 8px; padding: 24px 0; background: transparent; }
.hero--quote .submit-box__title { font-size: 11px; }
.submit-box--below-form { display: none; }
.hero--quote .checklist { gap: 12px 24px; font-size: 14px; }
.order-editorial__grid { align-items: center; }
.order-editorial__art { max-width: 100%; }

.cases-editorial .case-grid { gap: 0 40px; }
.cases-editorial .case-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 16px; padding: 28px 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.cases-editorial .case-card__icon { grid-row: 1 / 4; width: 56px; height: 56px; background: transparent; border-radius: 0; }
.cases-editorial .case-card__text, .cases-editorial .case-card__more { grid-column: 2; }
.home .sec-head .eyebrow { font-size: 11px; }
.home .lang-box { margin-top: 32px; border: 0; border-top: 2px solid var(--navy); padding: 24px 0 0; }
.home .lang-list li { padding: 8px 0; }
.home .price-card--featured { box-shadow: none; }
.home .review { background: transparent; }
.home .cert-doc { transform: none; box-shadow: 0 16px 32px rgba(0, 0, 0, .18); }
.home .cert-stage__back { transform: rotate(2deg); box-shadow: none; }
.home .cert-doc__body { font-family: var(--sans); }
.header-ctas__order { display: inline-flex; }
.header-ctas__short { display: none; }

/* Five top-level items: slightly tighter type and gaps on laptop widths, burger at 1000 and below. */
@media (max-width: 1600px) {
  .nav, .nav ul { gap: 14px; }
  .nav a, .nav .nav__label-btn { font-size: 14px; }
  .nav__toggle { width: 18px; }
  .site-header .wrap { gap: 20px; }
}
@media (max-width: 1400px) {
  .nav, .nav ul { gap: 10px; }
  .nav a, .nav .nav__label-btn { font-size: 13.5px; }
}
@media (max-width: 1200px) {
  .nav, .nav ul { gap: 12px; }
  .site-header .wrap { gap: 16px; }
  .header-ctas .btn { padding-left: 16px; padding-right: 16px; }
  .hero--editorial .hero__grid { gap: 40px; }
  .services-editorial > .wrap, .order-editorial__grid { gap: 48px; }
}
@media (max-width: 960px) {
  .hero--editorial .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
  .hero--editorial .h1 { font-size: 40px; }
  .hero--editorial .hero__text { font-size: 16px; }
  .hero--editorial .btn-row { gap: 12px; }
  .hero-art figcaption { padding: 16px; }
  .service-notes .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .services-editorial > .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .services-editorial .sec-head { max-width: 600px; }
  .order-editorial__grid { gap: 32px; }
  .order-editorial__steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero--quote .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero--quote .hero__main { padding-top: 0; }
  .hero--quote { background-image: image-set(url(../images/hero-flag-896.avif) type("image/avif"), url(../images/hero-flag-896.webp) type("image/webp"), url(../images/hero-flag-896.jpg) type("image/jpeg")); }
  .hero--quote .hero__text { max-width: 620px; }
}
@media (max-width: 700px) {
  .hero--editorial .hero__grid, .order-editorial__grid { grid-template-columns: minmax(0, 1fr); }
  .hero--editorial .hero__main { gap: 20px; }
  .hero--editorial .h1 { font-size: clamp(36px, 7.2vw, 48px); }
  .hero-art { max-width: 520px; width: 100%; }
  .hero-art img { max-height: 300px; object-fit: contain; }
  .hero__foot { flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
  .hero__foot a { min-height: 44px; }
  .order-editorial__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-editorial__art { max-width: 360px; }
}
@media (max-width: 600px) {
  .topbar, .topbar__msg { font-size: 12px; }
  .form-card__row--contact { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { min-height: 80px; gap: 8px; }
  .site-header.is-stuck .wrap { min-height: 64px; }
  /* Three-line logo as tall as the 48-px header buttons (tagline cap ~7 px, like the old 10-px subtitle). */
  .site-header .brand__logo, .site-header.is-stuck .brand__logo { width: 143px; height: auto; }
  .header-ctas { gap: 8px; }
  .header-ctas__order { font-size: 14px; padding: 10px 14px; }
  .service-notes span, .service-notes a { font-size: 13px; gap: 8px; }
  .service-notes .wrap { gap: 16px; }
  .service-notes svg { width: 18px; }
  .services-editorial .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .services-editorial .svc-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .services-editorial .svc-card__top { grid-row: 1 / 4; align-items: flex-start; }
  .services-editorial .svc-card__num { display: none; }
  .services-editorial .svc-card p, .services-editorial .svc-card__more { grid-column: 2; }
  .cases-editorial .case-card { padding: 24px 0; }
  .order-editorial__steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .order-editorial__steps p { font-size: 15px; }
  .hero--quote .form-card__head { padding: 20px; }
  .hero--quote .form-card__body { padding: 20px; }
  .hero--quote .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--editorial .btn--lg { padding-left: 20px; padding-right: 20px; }
  .hero__details { font-size: 14px; }
}
@media (max-width: 359px) {
  /* 320 px: the seal stays; "Get a quote" becomes "Quote" and the wordmark tracks a little tighter. */
  .header-ctas__now { display: none; }
  .header-ctas__short { display: inline; }
  .header-ctas__order { padding-left: 10px; padding-right: 10px; }
  .site-header .brand__logo, .site-header.is-stuck .brand__logo { width: 120px; } /* picture switches to the seal + PRIME version */
  .order-editorial__steps { grid-template-columns: minmax(0, 1fr); }
  .form-card__row { grid-template-columns: minmax(0, 1fr); }
  .hero--quote .checklist { grid-template-columns: minmax(0, 1fr); }
  .doc-list { column-count: 1; }
  .topbar__msg { min-width: 0; overflow: hidden; }
  .topbar__msg > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
  :root { --sec: 80px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .area-hero__grid, .split, .feature, .blog-layout, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 48px; }
  .hide-md { display: none !important; }
  .sec--tight, .sec--related { padding-top: var(--sec); padding-bottom: var(--sec); }
  .toc { display: none; }
  .toc-m { display: block; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--line); }
  .toc-m summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 4px 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; cursor: pointer; list-style: none; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m .plus { flex-shrink: 0; width: 24px; text-align: center; font-size: 24px; line-height: 1; color: var(--red); transition: transform .15s; }
  .toc-m[open] .plus { transform: rotate(45deg); }
  .toc-m nav { display: flex; flex-direction: column; padding: 4px 0 16px; }
  .toc-m a { display: flex; align-items: center; min-height: 44px; padding: 4px 0 4px 12px; border-left: 3px solid var(--line); color: var(--slate); font-size: 15px; font-weight: 600; text-decoration: none; }
  .toc-m a:hover { color: var(--navy); border-left-color: var(--red); }
  .article-layout { gap: 32px; }
  .sidebar--sticky { position: static; }
  .sidebar { gap: 16px; }
  .blog-layout { gap: 48px; }
  .side-links a { min-height: 44px; }
  .feature { gap: 16px; padding-bottom: 32px; margin-bottom: 32px; }
  .tabs { position: relative; }
  .tabs::after { content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 32px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%); pointer-events: none; }
  .tabs .wrap { scroll-snap-type: x proximity; scrollbar-width: none; }
  .tabs .wrap::-webkit-scrollbar { display: none; }
  .tab { scroll-snap-align: start; }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; gap: 48px; }
  .price-card__amount { flex-wrap: wrap; row-gap: 0; }
  .price-card__amount strong { font-size: clamp(36px, 9vw, 50px); }
  .doc-list { column-count: 3; }
  .lang-list { column-count: 3; }
  .states { column-count: 3; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --sec: 56px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none !important; }
  /* Rhythm: 56 between sections, 48 inside heroes/CTA, 40 before body copy */
  .page-content, .article-layout { padding-top: 40px; padding-bottom: 56px; }
  .page-hero .wrap, .cta-band .wrap, .hero--editorial .hero__grid, .area-hero__grid { padding-top: 48px; padding-bottom: 48px; }
  .area-hero__grid { gap: 48px; }
  .cta-band .wrap { gap: 24px; }
  .article-head .wrap { padding-top: 32px; padding-bottom: 40px; }
  .article-hero { margin-top: 40px; }
  .article-hero:has(> .thumb--ph) { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 48px; gap: 32px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head__text, .services-editorial .sec-head__text { gap: 12px; }
  .services-editorial .sec-head { gap: 16px; }
  .prices { gap: 48px; }
  .posts, .reviews { gap: 24px; }
  .related-services, .industries { margin-top: 48px; padding-top: 32px; }
  .prose, .local-copy { font-size: 17px; line-height: 1.7; }
  .prose > * + * { margin-top: 18px; }
  .local-copy p + p { margin-top: 16px; }
  .prose h2 { margin-top: 40px; }
  .prose h3 { margin-top: 28px; }
  /* Type: H1 32, H2 26, H3 20, lead 17, eyebrow 12 */
  .h1, .h1--md, .h1--lg, .article-head h1, .hero--editorial .h1 { font-size: 32px; line-height: 1.15; text-wrap: balance; }
  .h2, .prose h2, .feature__body h2, .cta-band h2, .h3--lg { font-size: 26px; line-height: 1.25; }
  .list-head h2 { font-size: 22px; }
  .h3, .svc-card .h3, .services-editorial .svc-card .h3, .step .h3, .post-card .h3, .prose h3 { font-size: 20px; line-height: 1.3; }
  .industries__title .h3 { font-size: 22px; }
  .page-hero p, .lead, .services-editorial .lead, .page-hero__intro, .hero__text--lg, .hero--editorial .hero__text, .cta-band p { font-size: 17px; line-height: 1.6; }
  .article-head__dek { font-size: 18px; line-height: 1.6; }
  .feature__body p { font-size: 16px; }
  .eyebrow, .hero__eyebrow, .hero--editorial .hero__eyebrow, .home .sec-head .eyebrow, .submit-box__title, .hero--quote .submit-box__title { font-size: 12px; letter-spacing: .14em; }
  .tag-red, .feature__flag, .directory__head span { font-size: 12px; }
  .hero__foot, .hero-art figcaption { font-size: 13px; }
  /* Boxes: 20 px inner padding */
  .side-cta, .side-box, .call-card, .beat-bar, .inline-cta, .newsletter, .author-box, .lang-box, .seal-box, .map-card__foot, .review, .price-card, .cert-doc { padding: 20px; }
  .price-card--featured { padding: 19px; }
  .states { padding: 16px; }
  .prose blockquote, .prose .wp-block-quote { padding: 20px; }
  .directory__head { flex-wrap: wrap; padding: 18px 20px; }
  .directory dl { padding: 8px 20px 20px; }
  .call-card { gap: 16px; }
  .call-card .round-icon { display: none; } /* the e-mail needs the full card width */
  .call-card a, .call-card--side a { font-size: 16px; display: block; padding: 10px 0; margin: -10px 0; } /* 44-px hit area, same visual rhythm */
  .call-card .stack a + a { margin-top: 0; }
  .inline-cta .btn { width: 100%; }
  .map { min-height: 200px; }
  /* Button rows stack full width */
  .btn-row { gap: 12px; width: 100%; }
  .btn-row > .btn { flex: 1 1 100%; }
  /* Cards: one borderless chrome, 16/10 thumbs */
  .thumb, .article-hero .thumb { aspect-ratio: 16 / 10; }
  .posts .post-card { border: 0; }
  .posts .post-card__body { padding: 14px 0 0; }
  /* Lists and tap targets (≥44 px rows) */
  .foot-col { gap: 8px; }
  .foot-col ul { gap: 0; }
  .foot-col li a { display: flex; align-items: center; min-height: 44px; }
  .foot-contacts { gap: 0; }
  .foot-contacts > * { min-height: 44px; }
  .doc-list { column-count: 2; column-gap: 16px; }
  .doc-list li { align-items: flex-start; padding: 0; }
  .doc-list a, .doc-list span { display: block; padding: 10px 0; min-height: 44px; }
  .doc-list svg { margin-top: 15px; }
  .lang-list, .states { column-count: 2; }
  .lang-list li, .home .lang-list li { padding: 0; }
  .lang-list a, .lang-list span { display: block; padding: 10px 0; }
  .states a { display: inline-block; padding: 12px 0; }
  .crumbs ol { gap: 4px 10px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .crumbs--plain li[aria-current] { display: none; }
  .consent { font-size: 14px; line-height: 1.6; min-height: 44px; }
  .link-more, .big-stat__label a { display: inline-flex; align-items: center; min-height: 44px; }
  .most-read li { padding: 2px 0; align-items: center; }
  .most-read a { display: flex; align-items: center; min-height: 44px; flex: 1; }
  .faq details { padding: 0; }
  .faq summary { padding: 20px 2px 20px 0; min-height: 44px; align-items: center; }
  .faq details p { margin-top: 0; padding-bottom: 20px; }
  .prose .wp-block-details { padding: 0; }
  .prose .wp-block-details summary { padding: 16px 0; min-height: 44px; align-items: center; }
  .prose .wp-block-details summary + * { margin-top: 0; }
  .prose .wp-block-details > :last-child:not(summary) { padding-bottom: 16px; }
  .local-copy summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; } /* details blocks inside city copy */
  .tag-red, .byline a, .author-box a { position: relative; } /* inline text links: enlarge the hit area, not the glyphs */
  .tag-red::before, .byline a::before, .author-box a::before { content: ""; position: absolute; inset: -8px 0; }
  .share { margin-left: auto; }
  .list-head { flex-wrap: wrap; gap: 4px 16px; }
  .pagination { flex-wrap: wrap; gap: 6px; }
  .pagination .page-numbers { padding: 0 8px; }
  /* Home */
  .industries__title { align-items: flex-start; gap: 12px; }
  .industries__title svg { width: 24px; height: 24px; margin-top: 3px; }
  .lang-note { text-align: left; }
  .mini-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .mini-feat { font-size: 13px; }
  .area-links.grid-3, .area-links.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .area-link { font-size: 15px; padding: 10px 0; }
  /* Tables: full-bleed horizontal scroll */
  .prose .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .prose .wp-block-table table { min-width: 520px; font-size: 14px; }
  .prose th, .prose td, .prose .wp-block-table th, .prose .wp-block-table td { padding: 10px 12px; }
  .related-services ul { grid-template-columns: minmax(0, 1fr); }
  .cred .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .seal-box { flex-direction: column; align-items: flex-start; }
  .step__line { display: none; }
}
.prose h2 + .wp-block-details, .prose h3 + .wp-block-details { margin-top: 18px; }

/* ---------- Illustrated icons (PNG packs, assets/icons) ---------- */
.pic { display: block; flex-shrink: 0; object-fit: contain; }
/* <picture> around .pic (AVIF/WebP): layout stays on the <img>; <source> would otherwise become a flex item and add a gap. */
.pic-wrap { display: contents; }
.pic-wrap > source { display: none; }
.page-hero__icon .pic { width: 96px; height: 96px; }
/* Dark backgrounds: the navy-outlined art sits on a white disc so it never disappears. */
.thumb__badge { display: flex; }
.thumb__badge:has(.pic) { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); }
.cta-band__icon:has(.pic) { background: #fff; }
.service-notes .pic { width: 32px; height: 32px; }
/* Raster art (engraving style, 3:2 on cream): service heroes and category covers. */
.page-hero__art--img { padding: 0; background: #fdfcf7; }
.page-hero__art--img img { display: block; width: 100%; height: auto; }
.thumb--cover { background-color: #fdfcf7; }
.thumb--cover picture { display: block; width: 100%; height: 100%; }
.doc-head__pic { flex-shrink: 0; }
.doc-head__pic .pic { width: 96px; height: 96px; }
.directory__pic { width: 32px; height: 32px; }
.related-services .pic { width: 40px; height: 40px; }
.side-links .pic { width: 32px; height: 32px; }
.upload__icon:has(.pic) { background: transparent; }
.upload__icon .pic { width: 48px; height: 48px; }
.hero--quote .upload__icon:has(.pic) { width: 40px; height: 40px; }
.hero--quote .upload__icon .pic { width: 40px; height: 40px; }
.directory dl > div:has(.pic) { align-items: flex-start; }
.map > picture { position: absolute; inset: 0; }
.map > picture img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  /* PNG icons need more room than the 32px line-icon column. */
  .services-editorial .svc-card:has(.pic) { grid-template-columns: 48px minmax(0, 1fr); }
  .services-editorial .svc-card__icon:has(.pic) { width: 48px; height: 48px; }
  .services-editorial .svc-card__icon .pic { width: 48px; height: 48px; }
  .cases-editorial .case-card:has(.pic) { grid-template-columns: 48px minmax(0, 1fr); }
  .cases-editorial .case-card__icon:has(.pic), .cases-editorial .case-card__icon .pic { width: 48px; height: 48px; }
}

/* ==========================================================================
   Hubs (page-hub.php, template-parts/hub/*): catalog of child pages + hub copy
   Rhythm: sections 80px desktop / 44px mobile; heading → content 24px / 18px; gutter 24px / 16px.
   ========================================================================== */
.hub .wrap { padding-left: 24px; padding-right: 24px; }
.hub-sec { padding: 80px 0; }
.hub-sec--paper { background: var(--paper); }
.hub-h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }

/* Hero: cream (#fdfcf7) so the engraved illustration sits on the page without a frame; navy type, red top rule. */
.hub-hero { background: var(--cream); color: var(--ink); border-top: 5px solid var(--red); border-bottom: 1px solid var(--line); }
.hub-hero .wrap { padding-top: 48px; padding-bottom: 48px; }
.hub-hero__row { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: nowrap; }
.hub-hero .page-hero__text { max-width: 680px; gap: 18px; }
.hub-hero .eyebrow--gold { color: var(--red); }
.hub-hero .h1 { color: var(--navy); }
.hub-hero p.hub-hero__lead { font-size: 19px; line-height: 1.6; color: var(--slate); }
.hub-badges { list-style: none; margin-top: 4px; gap: 10px; }
.hub-badges .badge { font-size: 15px; padding: 8px 14px; background: #fff; border-color: var(--line-strong); color: var(--navy); }
.hub-badges .badge svg { color: var(--red); }
.hub-hero__cta { margin-top: 6px; }
.hub-hero .btn--ghost { border-color: var(--navy); color: var(--navy); }
.hub-hero .btn--ghost:hover { background: var(--navy); color: #fff; }
.hub-hero__art { flex-shrink: 0; width: 520px; align-self: center; }
.hub-hero__art img { display: block; width: 100%; height: auto; }
.hub-hero__seal { flex-shrink: 0; width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(22, 46, 81, .05), 0 0 0 11px rgba(22, 46, 81, .18); }
.hub-hero__seal .pic { width: 190px; height: 190px; }

/* Fact box: full container width; the paragraph runs in two columns so the measure stays ~70 characters. */
.hub-sec--facts { padding: 48px 0 0; }
.hub-facts { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 32px; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.hub-facts__title { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.hub-facts p { font-size: 17px; line-height: 1.65; color: var(--slate); columns: 2; column-gap: 48px; }

/* Quick pick (most requested) */
.hub-sec--quick { padding-top: 56px; padding-bottom: 8px; }

/* Cards: compact rows, 3 across on desktop, no top rule (the strong rule belongs to the group headers). */
.hub-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hub-card { display: flex; min-width: 0; }
.hub-card__link { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 92px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-bottom: 2px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.hub-card__link:hover { border-color: var(--line-strong); border-bottom-color: var(--red); box-shadow: 0 6px 18px rgba(22, 46, 81, .08); color: inherit; }
.hub-card__link:hover .hub-card__title { text-decoration: underline; text-underline-offset: 3px; }
.hub-card__link:focus-visible { outline: 3px solid #2491ff; outline-offset: 2px; }
.hub-card__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.hub-card__icon .pic { width: 48px; height: 48px; }
.hub-card__glyph { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--navy); }
.hub-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex-grow: 1; }
.hub-card__title { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy); }
.hub-card__text { font-size: 14px; line-height: 1.45; color: var(--slate); }
.hub-card__arrow { flex-shrink: 0; color: var(--line-strong); transition: color .15s, transform .15s; }
.hub-card__link:hover .hub-card__arrow { color: var(--red); transform: translateX(3px); }
/* "Most requested": the same card, a notch larger. */
.hub-card--lg .hub-card__link { min-height: 104px; padding: 16px 18px; gap: 16px; }
.hub-card--lg .hub-card__icon, .hub-card--lg .hub-card__icon .pic { width: 56px; height: 56px; }
.hub-card--lg .hub-card__glyph { width: 52px; height: 52px; }
.hub-card--lg .hub-card__title { font-size: 19px; }
.hub-card--lg .hub-card__text { font-size: 15px; }
.blog-sections { padding: 28px 0; background: var(--paper, #fff); border-bottom: 1px solid var(--line); }
.blog-sections__list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.hub-card--missing .hub-card__link { background: var(--paper); border-style: dashed; border-color: var(--line-strong); border-bottom-width: 1px; }
.hub-card--missing .hub-card__title { color: var(--red-dark); }

/* Catalog */
.hub-sec--catalog { padding-top: 56px; padding-bottom: 56px; }
.hub-catalog__head { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin-bottom: 24px; }
.hub-catalog__head .hub-h2 { margin-bottom: 0; }
.hub-pills { position: sticky; top: calc(72px + var(--admin-bar, 0px)); z-index: 5; margin: 0 -8px 28px; padding: 10px 8px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.hub-pills ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; }
.hub-pills a:hover { border-color: var(--navy); background: var(--paper); }
.hub-pills__count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 6px; font-size: 12px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 999px; }
.hub-group { margin-bottom: 36px; scroll-margin-top: calc(140px + var(--admin-bar, 0px)); }
.hub-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px solid var(--navy); }
.hub-group__head .h3 { font-size: 22px; }
.hub-group__count { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hub-group__intro { font-size: 15px; color: var(--slate); margin-bottom: 14px; }
.hub-cards--missing { margin-top: 4px; }

/* Cross-axis links: a compact strip of plain links, no background. */
.hub-sec--cross { padding: 0 0 56px; }
.hub-cross { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hub-cross__col { display: flex; flex-direction: column; gap: 10px; }
.hub-cross__title { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.hub-cross__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; line-height: 1.5; }
.hub-cross__links li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--line-strong); }
.hub-cross__links a { display: inline-block; padding: 2px 0; font-weight: 600; color: var(--navy); text-decoration: none; }
.hub-cross__links a:hover { text-decoration: underline; color: var(--red-dark); }
.hub-cross .link-more { margin-top: 2px; }

/* What you receive: sample certificate (40%) + points, then the pricing row. */
.hub-sec--receive { background: var(--paper); }
.hub-receive { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; align-items: start; }
.hub-receive__cert { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cert-stage--hub { width: 100%; padding: 16px 0 24px; }
.cert-stage--hub .cert-doc { transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(22, 46, 81, .18); padding: 32px 32px 28px; }
.cert-stage--hub .cert-stage__back { background: #e2ddcc; box-shadow: none; top: 28px; bottom: 14px; }
.hub-receive__text .hub-h2 { margin-bottom: 12px; }
.hub-receive__lead { font-size: 18px; margin-bottom: 24px; }
.hub-receive__points { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.hub-receive__points li { display: flex; gap: 14px; align-items: flex-start; }
.hub-receive__check { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: var(--navy); color: #fff; }
.hub-receive__pt { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--navy); margin-bottom: 4px; }
.hub-receive__points p { font-size: 16px; line-height: 1.6; color: var(--slate); }
.hub-pricing { margin-top: 48px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 40px; align-items: center; }
.hub-pricing__title { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.hub-pricing__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.hub-pricing__list li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--slate); }
.hub-pricing__list strong { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.hub-pricing__list a { font-weight: 700; color: var(--red-dark); }
.hub-pricing__note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

/* Steps: three compact cards; horizontal rows on phones. */
.hub-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-step { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.hub-step__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 4px; }
.hub-step__icon:has(.pic) { background: #fff; border: 1px solid var(--line); }
.hub-step__icon .pic { width: 44px; height: 44px; }
.hub-step__num { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.hub-step .h3 { font-size: 19px; }
.hub-step p { font-size: 15px; line-height: 1.55; color: var(--slate); }

/* FAQ: full container width; on desktop the items split into two independent accordion columns (template-parts/hub/faq.php). */
.hub-faq__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.hub-faq .faq details { padding: 18px 0; }
.hub-faq .faq summary { font-size: 18px; }
.hub-faq .faq details p { font-size: 16px; }
.hub-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hub-related__head .hub-h2 { margin-bottom: 0; }
.hub-sec--related > .wrap > .h2 { margin-bottom: 24px; }
.hub-sec--content { padding-top: 0; }
/* Four cards (e.g. /services/) read better as 2 × 2 than 3 + 1. */
@media (min-width: 701px) { .hub-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1100px) {
  .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero__art { width: 400px; }
  .hub-hero__seal { width: 200px; height: 200px; }
  .hub-hero__seal .pic { width: 160px; height: 160px; }
  .hub-receive { gap: 36px; }
}
@media (max-width: 960px) {
  .hub-facts p { columns: 1; }
  .hub-receive { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hub-receive__cert { order: 2; }
  .cert-stage--hub { max-width: 480px; margin: 0 auto; }
  .hub-pricing { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hub-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* One column: the second accordion continues the first without a double rule between them. */
  .hub-faq__cols { grid-template-columns: minmax(0, 1fr); }
  .hub-faq__cols .faq + .faq { border-top: 0; }
}
@media (max-width: 700px) {
  .hub .wrap { padding-left: 16px; padding-right: 16px; }
  .hub-sec { padding: 44px 0; }
  .hub-h2 { margin-bottom: 18px; }
  .hub-hero .wrap { padding-top: 36px; padding-bottom: 36px; }
  .hub-hero .page-hero__text { gap: 14px; }
  .hub-hero .h1 { font-size: 34px; line-height: 1.1; }
  .hub-hero p.hub-hero__lead { font-size: 15px; line-height: 1.55; }
  .hub-badges { gap: 8px; }
  .hub-badges .badge { font-size: 13px; padding: 6px 10px; gap: 6px; }
  .hub-badges .badge svg { width: 15px; height: 15px; }
  .hub-hero__cta { flex-direction: column; gap: 4px; margin-top: 4px; }
  .hub-hero__cta .btn--red { width: 100%; min-height: 50px; font-size: 17px; }
  /* "Browse the list" becomes a plain text link under the one CTA. */
  .hub-hero__browse { flex: 0 0 auto; width: auto; min-height: 44px; padding: 8px 0; align-self: flex-start; border: 0; background: none; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
  .hub-hero__browse:hover { background: none; color: var(--red-dark); }
  .hub-sec--facts { padding-top: 28px; padding-bottom: 0; }
  .hub-facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px 16px; }
  .hub-facts__seal { display: none; }
  .hub-facts__title { margin-bottom: 8px; }
  .hub-facts p { font-size: 15px; line-height: 1.6; }
  .hub-sec--quick { padding-top: 36px; padding-bottom: 8px; }
  /* Phones: four popular cards, one column of compact rows. */
  .hub-cards--lg > :nth-child(n+5) { display: none; }
  .hub-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hub-card__link, .hub-card--lg .hub-card__link { min-height: 68px; padding: 8px 12px; gap: 12px; }
  .hub-card__icon, .hub-card__icon .pic, .hub-card--lg .hub-card__icon, .hub-card--lg .hub-card__icon .pic { width: 36px; height: 36px; }
  .hub-card__glyph, .hub-card--lg .hub-card__glyph { width: 34px; height: 34px; }
  .hub-card__glyph svg { width: 18px; height: 18px; }
  .hub-card__title, .hub-card--lg .hub-card__title { font-size: 16px; line-height: 1.25; }
  .hub-card__text, .hub-card--lg .hub-card__text { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hub-card__arrow { display: none; }
  .hub-sec--catalog { padding-top: 36px; padding-bottom: 40px; }
  .hub-catalog__head { margin-bottom: 16px; }
  .hub-catalog__head .lead { font-size: 15px; }
  .hub-group { margin-bottom: 20px; }
  .hub-group__head { padding-bottom: 6px; margin-bottom: 8px; }
  .hub-group__head .h3 { font-size: 18px; }
  .hub-group__count { font-size: 12px; }
  .hub-group__intro { display: none; }
  /* Pills scroll sideways on phones instead of wrapping into a tall sticky block. */
  .hub-pills { position: static; margin: 0 -16px 16px; padding: 8px 16px; }
  .hub-pills ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .hub-pills ul::-webkit-scrollbar { display: none; }
  .hub-pills li { flex-shrink: 0; }
  .hub-pills a { min-height: 36px; font-size: 14px; padding: 4px 12px; }
  .hub-sec--cross { padding-bottom: 40px; }
  .hub-cross { gap: 18px; padding: 18px 0; }
  .hub-cross__links { font-size: 14px; }
  /* Phones: the certificate preview is skipped; the link under the points leads to the full certification section. */
  .hub-receive { gap: 16px; }
  .cert-stage--hub { display: none; }
  .hub-receive__cert { align-items: flex-start; }
  .hub-receive__lead { font-size: 16px; margin-bottom: 16px; }
  .hub-receive__points { gap: 14px; }
  .hub-receive__check { width: 26px; height: 26px; }
  .hub-receive__pt { font-size: 17px; }
  .hub-receive__points p { font-size: 15px; }
  .hub-pricing { margin-top: 28px; padding: 16px; gap: 12px; }
  .hub-pricing__list { gap: 10px 24px; }
  .hub-pricing__list strong { font-size: 16px; }
  .hub-pricing__note { font-size: 13px; }
  /* Steps as horizontal rows: icon + two lines. */
  .hub-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; border-top-width: 1px; }
  .hub-step__icon { grid-row: 1 / 4; width: 44px; height: 44px; margin: 0; }
  .hub-step__icon .pic { width: 36px; height: 36px; }
  .hub-step .h3 { font-size: 17px; }
  .hub-step p { font-size: 14px; }
  .hub-faq .faq details { padding: 0; }
  .hub-faq .faq summary { font-size: 16px; padding: 14px 0; min-height: 44px; }
  .hub-faq .faq details p { font-size: 15px; padding-bottom: 14px; }
  .hub-step p { font-size: 14px; line-height: 1.45; }
  .hub-related__head { margin-bottom: 18px; }
}

/* ---------- Hub polish, review round 2 ---------- */
/* Most requested: a distinct card (cream, taller) so it does not read like the catalog. */
.hub-cards--lg .hub-card__link { background: var(--cream); border-color: var(--line-strong); border-bottom: 2px solid var(--navy); min-height: 96px; }
.hub-cards--lg .hub-card__link:hover { border-bottom-color: var(--red); }
.hub-card__link { min-height: 84px; }
.hub-facts { padding: 26px 28px; }
/* L2 fact box: the paragraphs themselves must not be column containers (the hub rule above puts columns on p). */
.hub-facts__text { columns: 2; column-gap: 48px; font-size: 17px; line-height: 1.65; color: var(--slate); }
.hub-facts__text p { columns: auto; column-gap: normal; break-inside: auto; font-size: inherit; line-height: inherit; }
.hub-facts__text--paras p + p { margin-top: 10px; }
@media (max-width: 960px) { .hub-facts__text { columns: 1; } }
@media (max-width: 700px) {
  .hub-cards--lg .hub-card__link { min-height: 72px; }
  .hub-card__link { min-height: 66px; }
  .hub-facts { padding: 16px; }
  .hub-facts p, .hub-facts__text { font-size: 14px; line-height: 1.55; }
  /* Category chips: snap scrolling with the next chip's edge showing. */
  .hub-pills { margin: 0 -16px 14px; padding: 6px 0 6px 16px; position: relative; }
  .hub-pills::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
  .hub-pills ul { scroll-snap-type: x proximity; scroll-padding-left: 16px; padding-right: 40px; gap: 8px; }
  .hub-pills li { scroll-snap-align: start; }
  .hub-pills a { min-height: 35px; font-size: 14px; padding: 4px 12px; }
  /* "What you receive" on phones: tighter list, clamped descriptions. */
  .hub-receive__points { gap: 16px; }
  .hub-receive__pt { font-size: 16px; }
  .hub-receive__points p { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* Footer: link groups in two compact columns, contacts stay open. */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: 40px; padding-bottom: 32px; }
  .foot-about { grid-column: 1 / -1; }
  .foot-col ul { gap: 2px; }
  .foot-col li a { min-height: 36px; font-size: 14px; }
  .foot-col h2 { font-size: 11px; }
}

/* ==========================================================================
   L2/L3 product pages (page.php -> template-parts/l2/*, data: inc/l2.php)
   ========================================================================== */
.l2-hero__pic { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 280px; height: 280px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(22, 46, 81, .05), 0 0 0 11px rgba(22, 46, 81, .18); }
.l2-hero__pic .pic { width: 200px; height: 200px; }
.l2-hero__art { width: 440px; }
.l2-hero__note { align-self: center; font-size: 14px; color: var(--slate); }
.l2-sec--facts { padding-top: 40px; }

/* Quick facts strip */
.l2-quick { padding: 20px 0 0; }
.l2-quick__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; }
.l2-quick__item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.l2-quick__item dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.l2-quick__item dd { font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--navy); margin: 0; }

/* Who accepts it: full-width table on desktop, cards on phones */
.l2-sec--accepts { padding-top: 64px; padding-bottom: 64px; }
.l2-accepts { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 15px; line-height: 1.55; }
.l2-accepts thead th { text-align: left; padding: 10px 16px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.l2-accepts tbody th, .l2-accepts tbody td { padding: 18px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.l2-accepts tbody th { width: 26%; text-align: left; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy); }
.l2-accepts tbody td:nth-child(2) { color: var(--slate); }
.l2-accepts tbody td:nth-child(3) { width: 22%; }
.l2-accepts tbody td:nth-child(3) a { font-weight: 700; }
.l2-accepts__note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.l2-accepts__foot { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.l2-accepts__foot span:first-child { font-weight: 700; color: var(--slate); }

/* Sample translation */
.l2-sec--sample { background: var(--paper); }
.l2-sample { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; align-items: center; }
.l2-sample__stage { max-width: 440px; }
.l2-sample__summary { display: none; }
.l2-sample__toggle > summary { list-style: none; }
.l2-sample__toggle > summary::-webkit-details-marker { display: none; }
.cert-stage--sample { padding-top: 10px; }
.l2-doc { padding: 26px 28px 22px; gap: 14px; transform: rotate(-1deg); }
.l2-doc__title { font-size: 15px; letter-spacing: .06em; }
.l2-doc__fields { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.5; }
.l2-doc__fields > div { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 10px; border-bottom: 1px dotted #cfc9b4; padding-bottom: 4px; }
.l2-doc__fields dt { font-weight: 700; color: var(--navy); }
.l2-doc__fields dd { margin: 0; color: var(--slate); font-family: var(--serif); }
.l2-doc__stamps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.l2-doc__stamps li { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-dark); border: 1px solid var(--red); padding: 3px 8px; border-radius: 2px; transform: rotate(-2deg); background: rgba(255, 255, 255, .6); }
.l2-doc__foot { margin-top: 4px; align-items: center; }
.l2-doc__foot .cert-doc__sign span { width: 220px; font-size: 10px; }
.l2-doc__seal { transform: rotate(-10deg); }
.l2-sample__note { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.l2-sample__text .hub-h2 { margin-bottom: 18px; }
.l2-sample__disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Included grid */
.l2-included { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.l2-included__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.l2-included__item p { font-size: 15px; line-height: 1.55; color: var(--slate); }

/* Checklist + mistakes: two cards side by side on desktop */
.l2-sec--check { padding-bottom: 24px; }
.l2-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.l2-check-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.l2-check { padding: 24px 26px; border: 1px solid var(--line); border-top: 3px solid var(--navy); background: #fff; }
.l2-check--x { border-top-color: var(--red); }
.l2-check__title { font-size: 21px; margin-bottom: 8px; }
.l2-check__lead { font-size: 15px; color: var(--slate); margin-bottom: 14px; }
.l2-check__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.l2-check__list li { display: flex; gap: 12px; align-items: flex-start; }
.l2-check__list strong { display: block; font-size: 16px; color: var(--navy); }
.l2-check__list p { font-size: 14px; line-height: 1.5; color: var(--slate); margin-top: 2px; }
.l2-check__mark { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--navy); color: #fff; }
.l2-check--x .l2-check__mark { background: var(--red); }

/* Pricing row, content, sources */
.l2-sec--pricing { padding: 48px 0 72px; }
.l2-sec--pricing .hub-pricing { margin-top: 0; }
.l2-sec--content { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l2-content { max-width: calc(820px + 48px); margin: 0; }
.l2-prose { max-width: 820px; }
.l2-content--toc.article-layout { padding-top: 0; padding-bottom: 0; }
.l2-sec--sources { padding: 0 0 72px; }
.l2-sources { padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.l2-sources__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.l2-sources__title { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.l2-sources__reviewed { font-size: 13px; color: var(--muted); }
.l2-sources__list { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.l2-sources__pub, .l2-sources__note { color: var(--muted); }
.l2-sources__pub::before, .l2-sources__note::before { content: " \00b7 "; }
.l2-sources__disclaimer { margin-top: 12px; font-size: 13px; color: var(--muted); }
.l2 .hub-sec--related { padding-top: 0; }
.l2 .hub-sec--related.hub-sec--paper { padding-top: 56px; padding-bottom: 56px; margin-bottom: 72px; }
.l2 .hub-sec--faq { padding-top: 0; }
.l2 .hub-sec--cross { padding-bottom: 48px; }

@media (max-width: 1100px) { .l2-hero__art { width: 360px; } .l2-hero__pic { width: 220px; height: 220px; } .l2-hero__pic .pic { width: 160px; height: 160px; } }
@media (max-width: 960px) {
  .l2-sample { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .l2-sample__stage { order: 2; max-width: 480px; }
  .l2-included { grid-template-columns: minmax(0, 1fr); }
  .l2-check-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 700px) {
  .l2-sec--facts { padding-top: 24px; }
  .l2-quick { padding-top: 14px; }
  .l2-quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .l2-quick__item { padding: 10px 12px; }
  .l2-quick__item dd { font-size: 14px; }
  .l2-sec--accepts { padding-top: 40px; padding-bottom: 40px; }
  /* Table -> vertical cards */
  .l2-accepts, .l2-accepts tbody, .l2-accepts tr, .l2-accepts th, .l2-accepts td { display: block; width: auto; }
  .l2-accepts thead { display: none; }
  .l2-accepts { border-top: 0; }
  .l2-accepts tr { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 14px 14px 12px; margin-bottom: 10px; background: #fff; }
  .l2-accepts tbody th, .l2-accepts tbody td, .l2-accepts tbody td:nth-child(3) { padding: 0; border: 0; width: auto; }
  .l2-accepts tbody th { font-size: 16px; margin-bottom: 6px; }
  .l2-accepts tbody td { font-size: 14px; }
  .l2-accepts tbody td:nth-child(3) { margin-top: 8px; }
  .l2-accepts tbody td:nth-child(3)::before { content: "Source: "; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .l2-accepts__foot { font-size: 13px; }
  /* Sample: compact preview behind a toggle */
  .l2-sample { gap: 16px; }
  .l2-sample__stage { order: 2; max-width: none; }
  .cert-stage--sample { padding: 8px 0 12px; }
  .l2-doc { padding: 16px; gap: 10px; transform: none; }
  .l2-doc__fields { font-size: 12px; }
  .l2-doc__foot .cert-doc__sign span { width: 160px; }
  .l2-sample__note { text-align: left; font-size: 13px; }
  .l2-included__item { padding: 14px 16px; }
  .l2-included__item p { font-size: 14px; }
  .l2-sec--check { padding-bottom: 12px; }
  .l2-check { padding: 16px; }
  .l2-sec--pricing { padding: 32px 0 44px; }
  .l2-sec--sources { padding-bottom: 44px; }
  .l2-sources { padding: 16px; }
  .l2 .hub-sec--related.hub-sec--paper { padding-top: 40px; padding-bottom: 40px; margin-bottom: 44px; }
  .l2 .hub-sec--cross { padding-bottom: 36px; }
}

/* ==========================================================================
   Service areas: hub (archive-area.php, template-parts/areas/*) and city pages (single-area.php)
   ========================================================================== */
.areas-hero__search { max-width: 460px; margin-top: 4px; border: 1px solid var(--line-strong); background: #fff; }
.areas-hero__search .input { min-height: 52px; }
.areas-hero__search button { min-height: 52px; }
.areas-results { padding-top: 48px; }
.areas-results__none p a { font-weight: 700; }

/* Stats strip */
.hub-stats { background: var(--navy); color: #fff; border-top: 4px solid var(--red); }
.hub-stats__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-stats__list li { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-left: 1px solid var(--navy-line); }
.hub-stats__list li:first-child { border-left: 0; padding-left: 0; }
.hub-stats__num { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: #fff; }
.hub-stats__label { font-size: 14px; color: var(--line); }

/* State cards */
.state-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.state-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); scroll-margin-top: calc(90px + var(--admin-bar, 0px)); }
.state-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.state-card__pin { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); color: var(--red); flex-shrink: 0; }
.state-card__pin--pic { width: 48px; height: 48px; background: none; border-radius: 0; }
.state-card__pin--pic img { width: 48px; height: 48px; object-fit: contain; }
.state-card__name { font-size: 22px; }
.state-card__abbr { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--navy); padding: 3px 8px; border-radius: 999px; }
.state-card__count { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.state-card__note { font-size: 15px; line-height: 1.55; color: var(--slate); }
.state-card__cities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.state-card__rules { list-style: none; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--slate); }
.state-card__rules li { display: flex; gap: 10px; align-items: flex-start; }
.state-card__rules svg { flex-shrink: 0; color: var(--navy); margin-top: 3px; }
.state-card__rules strong { color: var(--navy); }
.state-rest { margin-top: 32px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); }
.state-rest__title { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.state-rest__list { font-size: 14px; line-height: 1.8; color: var(--slate); }
.state-rest__note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Rules */
.rules-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rules-list strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 2px; }
.rules-list p { font-size: 14px; line-height: 1.55; color: var(--slate); }
.rules-list a { font-weight: 700; }
.areas-rules__table-title { margin-top: 40px; margin-bottom: 14px; }
.areas-rules__table tbody th { width: 16%; font-size: 16px; }
.areas-rules__table tbody td { font-size: 14px; }
.areas-rules__table tbody td:nth-child(2) { width: 20%; color: var(--navy); font-weight: 600; }
.areas-rules__table tbody td:nth-child(3), .areas-rules__table tbody td:nth-child(4) { width: auto; color: var(--slate); }
.areas-rules__table .muted { font-weight: 400; }

/* City page */
.area-copy__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.local-copy { max-width: 820px; font-size: 17px; line-height: 1.7; }
.local-copy .lead { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.local-copy h2 { font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.25; color: var(--navy); margin: 36px 0 12px; }
.local-copy h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy); margin: 24px 0 8px; }
.local-copy ul, .local-copy ol { padding-left: 1.3em; margin: 12px 0; }
.local-copy li + li { margin-top: 6px; }
.local-copy .muted { font-size: 14px; color: var(--muted); }
.local-copy h2:last-of-type { font-size: 14px; font-family: var(--sans); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.local-copy h2:last-of-type ~ ul { font-size: 14px; color: var(--muted); }
.local-copy h2:last-of-type ~ ul a { color: var(--slate); }
.local-copy .link-more { display: inline-block; margin-top: 24px; }
.area-rules-card { position: sticky; top: calc(96px + var(--admin-bar, 0px)); padding: 22px 24px; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.area-rules-card__title { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.area-rules-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--slate); }
.area-rules-card li { display: flex; gap: 10px; align-items: flex-start; }
.area-rules-card svg { flex-shrink: 0; color: var(--navy); margin-top: 2px; }
.area-rules-card strong { color: var(--navy); }
.area-rules-card .link-more { display: inline-block; margin-top: 14px; }
.directory__addr { font-size: 13px; color: var(--slate); }
.area-neighbors__all { margin-top: -16px; }
.area-cross { padding: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 0; }

@media (max-width: 1100px) {
  .area-copy__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}
@media (max-width: 960px) {
  .state-cards { grid-template-columns: minmax(0, 1fr); }
  .hub-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-stats__list li { padding: 20px 16px; }
  .hub-stats__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hub-stats__list li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .area-copy__grid { grid-template-columns: minmax(0, 1fr); }
  .area-rules-card { position: static; }
}
@media (max-width: 700px) {
  .areas-hero__search { max-width: none; }
  .state-card { padding: 16px; gap: 10px; }
  .state-card__name { font-size: 19px; }
  .state-rest { padding: 16px; }
  .areas-rules__table tbody th, .areas-rules__table tbody td, .areas-rules__table tbody td:nth-child(2) { width: auto; }
  .areas-rules__table tbody td:nth-child(2)::before { content: "Agency: "; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .areas-rules__table tbody td:nth-child(3)::before { content: "Translation rule: "; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .areas-rules__table tbody td:nth-child(4)::before { content: "Court rule: "; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .areas-rules__table tbody td + td { margin-top: 6px; }
  .local-copy { font-size: 16px; }
  .local-copy h2 { font-size: 22px; margin-top: 28px; }
  .area-rules-card { padding: 16px; }
}

/* ==========================================================================
   Home page: hub showcase (template-parts/home/hubs.php)
   ========================================================================== */
.home-hub { scroll-margin-top: calc(90px + var(--admin-bar, 0px)); } /* geometry: see "Home page rhythm (home-r3)" at the end of the file */
.home-hub__intro { display: flex; flex-direction: column; gap: 18px; }
.home-hub__art img { display: block; width: 100%; height: auto; }
.home-hub__text { display: flex; flex-direction: column; gap: 14px; }
.home-hub__title { font-size: clamp(26px, 2.6vw, 34px); }
.home-hub__lead { font-size: 17px; line-height: 1.6; }
.home-hub__search { max-width: 400px; border: 1px solid var(--line-strong); }
.home-hub__search .input, .home-hub__search button { min-height: 50px; }
.home-hub__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-hub__cards .hub-card__link { min-height: 80px; }
@media (max-width: 960px) {
  .home-hub__intro { flex-direction: row; align-items: flex-start; gap: 20px; }
}
@media (max-width: 700px) {
  .home-hub__text { gap: 10px; }
  .home-hub__title { font-size: 24px; }
  .home-hub__lead { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .home-hub__cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-hub__cards > :nth-child(n+5) { display: none; }
  .home-hub__cards .hub-card__link { min-height: 64px; }
}

/* ==========================================================================
   Framework pass 2026-11-07 (FRAMEWORK-BACKLOG): phone accordions, source-less rows, sample tables, chip blocks, checked dates
   ========================================================================== */
/* <details class="js-sm-collapse"> blocks: open on desktop with the summary hidden; main.js collapses them at ≤768px. */
.l2-collapse__summary, .l2-sample__summary { display: none; }
.l2-collapse > summary, .l2-sample__toggle > summary { list-style: none; }
.l2-collapse > summary::-webkit-details-marker, .l2-sample__toggle > summary::-webkit-details-marker { display: none; }
.l2-accepts__nosrc { font-size: 13px; font-style: italic; color: var(--muted); }
.l2-doc__fields dd, .l2-doc__fields dt { overflow-wrap: anywhere; }
.l2-doc__table { width: 100%; border-collapse: collapse; font-size: 11.5px; line-height: 1.4; margin-top: 4px; }
.l2-doc__table th { text-align: left; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--navy); padding: 3px 6px 4px 0; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.l2-doc__table td { padding: 4px 6px 4px 0; border-bottom: 1px dotted #cfc9b4; color: var(--slate); font-family: var(--serif); vertical-align: top; overflow-wrap: anywhere; }
.l2-doc__fields + .l2-doc__table { margin-top: 10px; }
/* Chip blocks (industries, more languages) in hubs and inline in hub content */
.chips--industries, .chips--langs { list-style: none; gap: 8px; margin: 0; padding: 0; }
.prose .chips--industries, .prose .chips--langs { margin: 18px 0 28px; }
.prose .chips li, .chips li { padding: 0; margin: 0; }
.prose .chips li::marker { content: none; }
.chip--req { background: var(--paper); }
.chip--req small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark); margin-left: 6px; }
.lang-groups { display: flex; flex-direction: column; gap: 22px; }
.prose .lang-groups { margin: 20px 0 16px; }
.lang-group__title { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.prose .lang-group__title { margin-top: 0; }
.lang-groups__note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.prose .lang-groups__note { font-family: var(--sans); font-size: 14px; }
/* State cards and the rules table: per-row checked date */
.state-card__checked, .areas-rules__checked { display: block; font-size: 12px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.state-card__checked { padding-left: 26px; }
.areas-rules__checked { margin-top: 4px; }
.state-card__more > summary { list-style: none; }
.state-card__more > summary::-webkit-details-marker { display: none; }

@media (max-width: 768px) {
  .l2-collapse__summary, .l2-sample__summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .l2-collapse__summary::before, .l2-sample__summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
  details[open] > .l2-collapse__summary::before, details[open] > .l2-sample__summary::before { transform: rotate(-135deg) translateY(-1px); }
  .l2-collapse:not([open]) .l2-collapse__close, .l2-collapse[open] .l2-collapse__open,
  .state-card__more:not([open]) .l2-collapse__close, .state-card__more[open] .l2-collapse__open,
  .l2-sample__toggle:not([open]) .l2-sample__close, .l2-sample__toggle[open] .l2-sample__open { display: none; }
  .l2-collapse[open] > .l2-collapse__summary { margin-bottom: 10px; }
  .state-card__more { padding-top: 8px; border-top: 1px solid var(--line); }
  .state-card__more .state-card__rules { border-top: 0; padding-top: 6px; }
  .state-card__note { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .state-card__toggle { min-height: 40px; }
  .l2-accepts__foot { margin-top: 10px; }
  /* Gutenberg tables and quotes in the L2 deep-text column */
  .l2-prose .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .l2-prose .wp-block-table table { min-width: 520px; font-size: 14px; }
  .l2-prose .wp-block-table th, .l2-prose .wp-block-table td { padding: 10px 12px; }
  .l2-prose .wp-block-quote, .l2-prose blockquote { padding: 18px 20px; font-size: 16px; }
  .l2-doc__fields > div { grid-template-columns: 34% minmax(0, 1fr); gap: 8px; }
  .l2-doc__table { font-size: 11px; }
}
@media (max-width: 768px) {
  /* 3+ column Gutenberg tables (main.js adds data-label + .is-stackable): one card per row instead of a sideways scroll */
  .prose .wp-block-table:has(> table.is-stackable) { overflow: visible; margin-left: 0; margin-right: 0; padding: 0; }
  .prose table.is-stackable { min-width: 0; font-size: 14px; }
  .prose table.is-stackable thead { display: none; }
  .prose table.is-stackable, .prose table.is-stackable tbody, .prose table.is-stackable tr, .prose table.is-stackable td { display: block; width: auto; }
  .prose table.is-stackable tr { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 10px 14px 4px; margin-bottom: 10px; background: #fff; }
  .prose table.is-stackable td { padding: 0 0 10px; border: 0; background: transparent !important; }
  .prose table.is-stackable td::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .prose table.is-stackable td:first-child { font-weight: 700; color: var(--navy); }
}
/* The hub's certificate preview is hidden on phones (above), but the L2 sample document must show once its toggle is opened. */
@media (max-width: 768px) { .cert-stage--sample { display: flex; } }
@media (max-width: 768px) { .cert-stage--sample .l2-doc { transform: none; } }

/* ==========================================================================
   Framework round 2 (ChatGPT review of final screens, 2026-11-07): backlog 26–32
   ========================================================================== */
/* 26. Catalog groups with 1–2 cards: title + intro on the left (≈32%), cards on the right; phones stack them. */
.hub-group--row { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 0 40px; align-items: start; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.hub-group--row .hub-group__head { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 4px; border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
.hub-group--row .hub-group__intro { grid-column: 1; margin-bottom: 0; line-height: 1.55; }
.hub-group--row .hub-cards { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); }
.hub-group--row .hub-cards:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-group--row .hub-card__link { min-height: 96px; }
.hub-group--row + .hub-cards--missing { margin-top: 8px; }

/* 27. Long L2/L3 deep text: 740px measure (≈70–75 characters) next to a 220px sticky table of contents. */
.l2-content--toc.article-layout { grid-template-columns: 220px minmax(0, 740px); gap: 56px; }
.l2-content--toc .toc { top: calc(104px + var(--admin-bar, 0px)); font-size: 14px; }
.l2-content--toc .toc a { padding: 6px 0 6px 12px; line-height: 1.4; }
.l2-prose { max-width: 740px; }
.l2-content { max-width: calc(740px + 48px); }

/* 29. Hero geometry shared by every hub and L2: ≥380px tall on desktop, text 55% / illustration 40%. */
.hub-hero__row { min-height: 284px; }
.hub-hero .page-hero__text { flex: 1 1 55%; max-width: 680px; }
.hub-hero__art, .l2-hero__art { flex: 0 1 40%; width: auto; max-width: 520px; }
.l2-hero__art { max-width: 440px; }

/* 31. Secondary text: explanations 14–15px, line-height 1.45–1.55. */
.l2-accepts__note, .l2-sample__disclaimer, .l2-sources__disclaimer, .lang-groups__note, .hub-pricing__note, .l2-accepts__foot { font-size: 14px; line-height: 1.5; }
.hub-card__text { line-height: 1.45; }
.hub-group__intro { line-height: 1.5; }

/* 32. Footer link groups: <details> that main.js collapses on phones; open with a plain heading on desktop. */
.foot-col__sum { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: default; }
.foot-col__sum::-webkit-details-marker { display: none; }
.foot-col__sum h2 { margin: 0; }
.foot-col__plus { display: none; }
.foot-col__group > ul { margin-top: 12px; }

@media (max-width: 1100px) {
  .hub-hero__art { max-width: 400px; }
  .l2-hero__art { max-width: 360px; }
}
@media (max-width: 960px) {
  .hub-group--row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hub-group--row .hub-cards { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .hub-group--row .hub-group__head { border-bottom: 2px solid var(--navy); padding-bottom: 6px; }
  .l2-content--toc.article-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  /* 29. Hero on phones: 32/16 padding, H1 32px, lead no longer than five lines. */
  .hub-hero .wrap { padding: 32px 16px; }
  .hub-hero__row { min-height: 0; }
  .hub-hero .h1 { font-size: 32px; line-height: 1.12; }
  .hub-hero p.hub-hero__lead { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .hub-hero .page-hero__text { gap: 12px; }
  /* 28. "What you receive" on phones: tighter list, two-line descriptions, compact pricing rows (target −30–40%). */
  .hub-sec--receive { padding: 36px 0; }
  .hub-receive { gap: 12px; }
  .hub-receive__text .hub-h2 { margin-bottom: 8px; }
  .hub-receive__lead { font-size: 15px; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hub-receive__points { gap: 12px; }
  .hub-receive__points li { gap: 10px; }
  .hub-receive__check { width: 22px; height: 22px; margin-top: 2px; }
  .hub-receive__check svg { width: 14px; height: 14px; }
  .hub-receive__pt { font-size: 16px; margin-bottom: 2px; }
  .hub-receive__points p { font-size: 14px; line-height: 1.45; -webkit-line-clamp: 2; }
  .hub-receive__cert-link { margin-top: 4px; }
  /* 30. Pricing block ≤200px: each item on one line (label · note), note in two lines max. */
  .hub-pricing { margin-top: 20px; padding: 12px 14px; gap: 8px; }
  .hub-pricing__title { font-size: 12px; }
  .hub-pricing__list { flex-direction: column; gap: 4px; }
  .hub-pricing__list li { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; line-height: 1.4; }
  .hub-pricing__list strong { font-size: 15px; }
  .hub-pricing__note { font-size: 13px; line-height: 1.45; padding-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .l2-sec--pricing { padding: 24px 0 36px; }
  /* 30. Steps as compact rows (72–90px each). */
  .hub-steps { gap: 8px; }
  .hub-step { grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 10px 14px; }
  .hub-step__icon { width: 36px; height: 36px; }
  .hub-step__icon .pic { width: 30px; height: 30px; }
  .hub-step__icon svg { width: 20px; height: 20px; }
  .hub-step__num { font-size: 11px; }
  .hub-step .h3 { font-size: 16px; line-height: 1.25; }
  .hub-step p { font-size: 13.5px; line-height: 1.4; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hub-sec--steps { padding: 36px 0; }
  /* 32. Footer accordions: two columns of closed groups, contacts and legal lines stay open. */
  .foot-grid { gap: 20px 16px; padding-top: 36px; padding-bottom: 20px; }
  .foot-col { gap: 0; }
  .foot-col__sum { min-height: 44px; cursor: pointer; border-bottom: 1px solid var(--navy-line); }
  .foot-col__plus { display: block; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid #ff8d7b; border-bottom: 2px solid #ff8d7b; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
  .foot-col__group[open] .foot-col__plus { transform: rotate(-135deg) translateY(-2px); }
  .foot-col__group > ul { margin: 6px 0 10px; }
  .foot-col li a { min-height: 34px; display: flex; align-items: center; font-size: 14px; }
  .foot-bottom .wrap { padding-top: 16px; padding-bottom: 20px; gap: 8px; }
}
@media (max-width: 768px) {
  /* 28/30 refinement: no mid-sentence cuts; the receive lead is dropped on phones (the heading carries it), points and steps keep three lines. */
  .hub-receive__lead { display: none; }
  .hub-receive__points p, .hub-step p { -webkit-line-clamp: 3; }
}

/* ==========================================================================
   Home page rhythm (home-r3, 2026-11-07): bands, dividers, overlapping cards, hub row variants
   ========================================================================== */
/* Bands: white (default), cream, blue tint, navy. A divider pseudo-element at the top carries the previous band's colour
   (--prev, white unless set) as an angled or curved edge; banded sections add the divider height to their top padding. */
.band { position: relative; --prev: #fff; --cut: clamp(24px, 3.4vw, 52px); }
.band--cream { background: var(--cream); }
.band--blue { background: #e9eff7; }
.band--navy { background: var(--navy); color: #fff; }
/* The divider starts 1px above the section: section tops land on fractional pixels (e.g. 6044.81) and a
   clip-path layer can snap differently from the section background, which leaves a hairline of the band colour above the wedge. */
.band--cut::before, .band--curve::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: calc(var(--cut) + 1px); background: var(--prev); pointer-events: none; z-index: 0; }
.band > .wrap, .band > .cta-inline__grid { position: relative; z-index: 1; }
.band--cut::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.band--cut-r::before { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.band--curve { --cut: 44px; }
.band--curve::before { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.home-hub.band--cut, .home-hub.band--curve, .sec.band--cut, .sec.band--curve { padding-top: calc(var(--sec) + var(--cut) * .6); }

/* Hero → trust strip: a white card that straddles the navy hero and the first white section. */
.home .hero--quote { padding-bottom: 56px; }
.service-notes--card { position: relative; z-index: 2; margin-top: -48px; border-bottom: 0; }
.service-notes--card .wrap { padding-top: 0; padding-bottom: 0; display: block; }
.service-notes__card { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(22, 46, 81, .14); }
.service-notes__card span, .service-notes__card a { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 15px; }
.service-notes__card svg { color: var(--red); flex-shrink: 0; }
.service-notes__card a { min-height: 44px; font-weight: 700; text-underline-offset: 4px; }

/* Hub rows: each row is a band with its own padding; split rows keep 5/12 text + 7/12 cards (flipped rows mirror the
   columns, which was the bug: the cards used to land in the narrow column), wide rows put the head above a card row. */
.home-hub { padding: 88px 0; }
.home-hub--first { padding-top: 72px; }
.home-hub--split .home-hub__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.home-hub--flip .home-hub__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.home-hub--flip .home-hub__intro { order: 2; }
.home-hub--wide .home-hub__intro { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px 64px; align-items: center; margin-bottom: 40px; }
.home-hub--wide .home-hub__art { order: 2; justify-self: end; }
.home-hub--wide .home-hub__text { max-width: 720px; }
/* Illustration as a mounted print: the engravings ship on a cream ground, so the ground becomes a deliberate plate
   (cream, hairline border) instead of a mismatched rectangle on a white section. */
.home-hub__art { width: 300px; padding: 0; background: none; border: 0; box-shadow: none; }
.home-hub__art img { filter: drop-shadow(0 10px 18px rgba(22, 46, 81, .10)); }
.home-hub__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-hub__cards .hub-card__link { min-height: 84px; }
.home-hub .hub-cards.home-hub__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-hub .hub-cards.home-hub__cards--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-hub__cards--tiles .hub-card__link { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 22px 22px; min-height: 0; background: #fff; border-bottom-width: 3px; }
.home-hub__cards--tiles .hub-card__icon, .home-hub__cards--tiles .hub-card__icon .pic { width: 56px; height: 56px; }
.home-hub__cards--tiles .hub-card__title { font-size: 18px; }
.home-hub__cards--tiles .hub-card__arrow { align-self: flex-end; margin-top: auto; }
.band--blue .hub-card__link { border-color: #cdd9e8; }
.band--blue .hub-card__link:hover { border-bottom-color: var(--red); }
.band--cream .hub-card__link { border-color: #e2ded0; }

/* How it works: white band, the delivery illustration mounted on a paper plate (its ground is #eef1f6). */
.order-editorial__plate { display: block; padding: 0; background: none; border: 0; box-shadow: none; }
.order-editorial__art { border-top: 0; filter: drop-shadow(0 10px 18px rgba(22, 46, 81, .10)); }

/* Certification: navy band, angled top edge rising from the white section above. */
#certification.band--cut { --cut: clamp(28px, 4vw, 64px); }

/* Pricing → blog: the price-match bar is a white card that straddles the white pricing section and the cream blog band. */
.sec--pricing { padding-bottom: 0; }
.home .beat-bar { position: relative; z-index: 1; margin-top: 56px; margin-bottom: -52px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); box-shadow: 0 20px 44px rgba(22, 46, 81, .14); }
.sec--blog { padding-top: calc(var(--sec) + 52px); }
.band--cream .post-card { border-color: #e2ded0; }

/* Final call: navy band with the red button and a curved top edge; the footer's tri-stripe separates it from the footer. */
.cta-band--navy { background: var(--navy); }
.cta-band--navy p { color: var(--line); }
.cta-band--navy .cta-band__icon { border-color: rgba(255, 255, 255, .55); }
.cta-band--navy .cta-band__bg { opacity: .06; }
.cta-band--navy .wrap { padding-top: 80px; padding-bottom: 72px; }
.cta-band__eyebrow { margin-bottom: 10px; font-size: 12px; }

@media (max-width: 1100px) {
  .home-hub--split .home-hub__grid { gap: 32px 40px; }
  /* Laptops/tablets: one wide card per row beside the intro instead of two cramped columns; use-case cards in two columns. */
  .home-hub--split .hub-cards.home-hub__cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-hub .hub-cards.home-hub__cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hub .hub-cards.home-hub__cards--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hub__cards--tiles .hub-card__link { flex-direction: row; align-items: center; padding: 14px 16px; }
  .home-hub__cards--tiles .hub-card__icon, .home-hub__cards--tiles .hub-card__icon .pic { width: 48px; height: 48px; }
  .home-hub__cards--tiles .hub-card__title { font-size: 17px; }
  .home-hub__cards--tiles .hub-card__arrow { align-self: center; margin-top: 0; }
}
@media (max-width: 960px) {
  .home-hub { padding: 64px 0; }
  .home-hub--first { padding-top: 56px; }
  .home-hub--split .home-hub__grid, .home-hub--flip .home-hub__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-hub--flip .home-hub__intro { order: 0; }
  .home-hub--wide .home-hub__intro { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; margin-bottom: 28px; }
  .home-hub__art { width: 200px; padding: 0; flex-shrink: 0; }
  .home-hub--split .hub-cards.home-hub__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-notes--card { margin-top: -40px; }
  .service-notes__card { padding: 18px 24px; gap: 14px 24px; }
  .home .beat-bar { margin-bottom: -44px; }
  .sec--blog { padding-top: calc(var(--sec) + 44px); }
}
@media (max-width: 700px) {
  .home-hub { padding: 48px 0; }
  .home-hub--first { padding-top: 40px; }
  .band--cut, .band--curve { --cut: 22px; }
  .home-hub.band--cut, .home-hub.band--curve { padding-top: 56px; }
  /* Phones: the plate sits top-right beside the eyebrow and title; lead, search and link run full width below. */
  .home-hub__intro, .home-hub--wide .home-hub__intro { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 10px 16px; align-items: start; margin-bottom: 0; }
  .home-hub__text { display: contents; }
  .home-hub__art, .home-hub--wide .home-hub__art { grid-column: 2; grid-row: 1 / span 2; width: 110px; padding: 0; margin: 0; order: 0; justify-self: end; }
  .home-hub__text .eyebrow { grid-column: 1; grid-row: 1; align-self: end; }
  .home-hub__title { grid-column: 1; grid-row: 2; }
  .home-hub__lead, .home-hub__search, .home-hub__text .link-more { grid-column: 1 / -1; }
  .home-hub__grid { display: flex; flex-direction: column; gap: 20px; }
  .home-hub--flip .home-hub__intro { order: 0; }
  .home-hub .hub-cards.home-hub__cards, .home-hub .hub-cards.home-hub__cards--3, .home-hub .hub-cards.home-hub__cards--tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-hub__cards--tiles .hub-card__link { min-height: 64px; padding: 8px 12px; gap: 12px; }
  .home-hub__cards--tiles .hub-card__icon, .home-hub__cards--tiles .hub-card__icon .pic { width: 36px; height: 36px; }
  .home-hub__cards--tiles .hub-card__title { font-size: 16px; }
  .home .hero--quote { padding-bottom: 36px; }
  .service-notes--card { margin-top: -28px; }
  .service-notes__card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
  .service-notes__card a { min-height: 40px; }
  .order-editorial__plate { padding: 0; }
  .home .beat-bar { margin-top: 40px; margin-bottom: -36px; }
  .sec--blog { padding-top: calc(var(--sec) + 36px); }
  .cta-band--navy .wrap { padding-top: 56px; padding-bottom: 48px; }
}

/* Hero price + turnaround accent (owner 2026-11-07) */
.hero__rate--stats { display: flex; align-items: stretch; gap: 0; margin-top: 28px; color: var(--line); }
.hero-stat { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; }
.hero-stat + .hero-stat { padding-left: 28px; padding-right: 0; border-left: 1px solid rgba(255, 255, 255, .22); }
.hero-stat__pre { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero-stat__value { font-family: var(--serif); font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -.01em; }
.hero-stat--price .hero-stat__value { font-size: 52px; }
.hero-stat--time .hero-stat__value { font-size: 34px; margin-top: auto; }
.hero-stat__note { font-size: 14px; color: rgba(255, 255, 255, .78); }
@media (max-width: 700px) {
  .hero-stat { padding-right: 18px; }
  .hero-stat + .hero-stat { padding-left: 18px; }
  .hero-stat--price .hero-stat__value { font-size: 40px; }
  .hero-stat--time .hero-stat__value { font-size: 26px; }
  .hero-stat__note { font-size: 13px; }
}

/* Home certification: ChatGPT engraving underlay (ribbon, seal, pen, guilloche) framing the HTML certificate */
#certification { overflow: hidden; }
.cert-stage--underlay { padding: 56px 0; }
.cert-stage__underlay { position: absolute; left: 50%; top: 50%; width: 740px; max-width: none; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.cert-stage__underlay img { display: block; width: 100%; height: auto; }
.cert-stage--underlay .cert-doc { z-index: 1; max-width: 420px; }
@media (max-width: 1100px) { .cert-stage__underlay { display: none; } .cert-stage--underlay { padding: 20px 0; } }
@media (max-width: 700px) {
  .cert-stage--underlay { padding: 40px 0; }
  .cert-stage__underlay { display: none; }
  .cert-stage--underlay .cert-doc { max-width: 330px; padding: 26px 24px 22px; }
}
/* Documents→Languages bridge CTA: carry the blue Documents band behind the card so no white strip shows */

/* ==========================================================================
   Round r4 (ChatGPT review): shorter phone home page, compact phone hero (<=700px only; desktop untouched)
   ========================================================================== */
@media (max-width: 700px) {
  /* Hero: offer + one action in the first screen; the form follows directly. */
  .home .hero--quote .hero__grid { padding-top: 28px; padding-bottom: 28px; gap: 24px; }
  .home .hero--quote .hero__main { gap: 14px; }
  .home .hero--quote .h1 { font-size: 31px; line-height: 1.14; }
  .home .hero--quote .hero__text { font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .home .hero--quote .btn-row { margin-top: 0; }
  .home .hero--quote .btn-row .btn { width: 100%; }
  .home .hero--quote .hero__details, .home .hero--quote .submit-box--main { display: none; }
  .home .hero--quote .submit-box--below-form { display: flex; margin-top: 0; padding: 20px 0 4px; }
  .home .hero--quote .submit-box--below-form .checklist { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home .hero--quote .hero__rate--stats { margin-top: 4px; }
  .home .hero--quote .hero-stat--price .hero-stat__value { font-size: 34px; }
  .home .hero--quote .hero-stat--time .hero-stat__value { font-size: 22px; }
  .home .hero--quote .hero-stat__note { font-size: 12px; }
  .home .hero--quote { padding-bottom: 20px; }
  .home .hero__foot { display: none; }
  /* Hub bands: tighter rhythm, max 4 cards, 2-line descriptions. */
  .home-hub { padding: 36px 0; }
  .home-hub--first { padding-top: 28px; }
  .home-hub.band--cut, .home-hub.band--curve { padding-top: 44px; }
  .home-hub__grid { gap: 14px; }
  .home-hub__art, .home-hub--wide .home-hub__art { width: 84px; }
  .home-hub__intro, .home-hub--wide .home-hub__intro { grid-template-columns: minmax(0, 1fr) 84px; gap: 6px 14px; }
  .home-hub__lead { -webkit-line-clamp: 2; font-size: 15px; line-height: 1.5; }
  .home-hub__cards { gap: 6px; }
  .home-hub__cards .hub-card__link, .home-hub__cards--tiles .hub-card__link { min-height: 56px; padding: 6px 12px; }
  .home-hub__cards .hub-card__text { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 700px) {
  /* Lower home sections: fewer, lighter blocks on phones. */
  .home .sec--blog .posts > :nth-child(n+3) { display: none; }
  .home .sec--blog .post-card > :not(.post-card__body) { display: none; }
  .home .sec--blog .post-card__body { padding: 16px 18px 18px; }
  .home .sec--blog .sec-head { margin-bottom: 20px; }
  .home #pricing .price-card, .home #pricing .price-card--featured { padding: 22px 20px; gap: 12px; }
  .home #pricing .price-card__desc { min-height: 0; }
  .home #pricing .price-card__list { padding-top: 12px; gap: 8px; }
  .home #how-it-works .order-editorial__plate { display: none; }
}
@media (max-width: 700px) {
  .home #pricing .price-card:not(.price-card--feature) .price-card__list { display: none; }
  .home #pricing .price-card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home .service-notes__card { gap: 6px; padding: 12px 16px; }
  .home .service-notes__card a { min-height: 36px; display: inline-flex; align-items: center; }
  .home #certification .cert-list { gap: 8px; }
  .home .beat-bar { padding-top: 18px; padding-bottom: 18px; }
  /* Real section heights on phones (cleanup.php estimates are larger than the content-visibility sections now are). */
  .home main .sec:has(.zip-form) { contain-intrinsic-size: auto 1000px; }
  .home main .sec:has(.posts) { contain-intrinsic-size: auto 650px; }
  .home main .sec:has(.faq) { contain-intrinsic-size: auto 900px; }
}
@media (max-width: 700px) {
  .home .home-hub__art, .home .home-hub--wide .home-hub__art { width: 72px; }
}

/* ==========================================================================
   Round r6: three full-size CTA cards (template-parts/cta-inline.php). Square corners, 4px left rule.
   A navy (Documents -> Languages), B white (Businesses -> How it works), C cream on a light-blue zone (after Certification).
   ========================================================================== */
.cta-inline { --over: 40px; position: relative; z-index: 2; }
.cta-inline--straddle, .cta-inline--straddle > .wrap { display: flow-root; }
.cta-inline--straddle .cta-inline__card { margin: calc(var(--over) * -1) 0; }
.cta-inline__card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px 48px; min-height: 140px; padding: 30px 40px; border-radius: 0; border-left: 4px solid var(--red); }
.cta-inline__copy { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.cta-inline__title { font-size: 26px; font-weight: 900; line-height: 1.2; margin: 0; }
.cta-inline__text { margin: 0; font-size: 16px; line-height: 1.5; }
.cta-inline__actions { display: flex; align-items: center; gap: 12px 28px; flex-shrink: 0; }
.cta-inline__actions .btn { border-radius: 0; white-space: nowrap; }
.cta-inline__link { font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0f2240; color: #fff; }
/* A */
.cta-inline--navy .cta-inline__card { background: #162E51; color: #fff; box-shadow: 0 12px 28px rgba(22, 46, 81, .15); }
.cta-inline--navy .cta-inline__title, .cta-inline--navy .cta-inline__link { color: #fff; }
.cta-inline--navy .cta-inline__text { color: rgba(255, 255, 255, .88); }
.cta-inline--navy .btn--red { background: #B31B1B; }
/* B */
.cta-inline--white .cta-inline__card { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(22, 46, 81, .10); }
.cta-inline--white .cta-inline__title, .cta-inline--white .cta-inline__text, .cta-inline--white .cta-inline__link { color: var(--navy); }
.cta-inline--white .btn--navy { background: #162E51; }
/* C */
.cta-inline--cream .cta-inline__card { background: #FDFCF7; color: var(--navy); border-left-color: #162E51; box-shadow: 0 8px 24px rgba(22, 46, 81, .08); }
.cta-inline--cream .cta-inline__title, .cta-inline--cream .cta-inline__text, .cta-inline--cream .cta-inline__link { color: var(--navy); }
.cta-inline--zone { --over: 28px; background: #E9EFF7; padding: 68px 0 0; z-index: 2; }
.cta-inline--zone.band--curve { padding-top: 68px; }
.cta-inline--zone > .wrap { z-index: 2; display: flow-root; }
.cta-inline--zone .cta-inline__card { margin-bottom: calc(var(--over) * -1); }
.cta-inline--zone { margin-bottom: 0; }
/* Neighbouring bands make room for the overhang. */
#languages.home-hub { padding-top: calc(var(--sec) + var(--cut) * .6 + 40px); }
#how-it-works { padding-top: calc(var(--sec) + 40px); }
#pricing.sec--pricing, #pricing { padding-top: calc(var(--sec) + 28px); }
.cta-inline--zone + #pricing { position: relative; z-index: 0; }
@media (max-width: 960px) {
  .cta-inline__card { padding: 28px 28px; gap: 18px 28px; }
  .cta-inline__title { font-size: 23px; }
  .cta-inline__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 700px) {
  .cta-inline { --over: 24px; }
  .cta-inline--zone { --over: 24px; padding-top: 44px; }
  .cta-inline--zone.band--curve { padding-top: 44px; }
  .cta-inline__card { flex-direction: column; align-items: stretch; min-height: 0; padding: 24px 20px; gap: 18px; }
  .cta-inline__title { font-size: 22px; }
  .cta-inline__text { font-size: 15px; }
  .cta-inline__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-inline__actions .btn { width: 100%; }
  .cta-inline__link { text-align: center; }
  #languages.home-hub { padding-top: calc(56px + 24px); }
  #how-it-works { padding-top: calc(var(--sec) + 24px); }
  #pricing { padding-top: calc(var(--sec) + 24px); }
}
/* Pricing section must stack above the cream blog band so the overlapping "Found a lower quote?" bar is not covered */
.home section:has(.beat-bar) { position: relative; z-index: 2; }
/* content-visibility:auto implies paint containment and clips the overlapping beat-bar; keep the pricing section unclipped */
.home #pricing { content-visibility: visible; contain: none; position: relative; z-index: 3; }

/* State page (/areas/<state>/): verified filing rules list */
.state-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.state-facts > li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.state-facts svg { flex-shrink: 0; color: var(--navy); margin-top: 3px; }
.state-facts h3 { font-size: 18px; margin-bottom: 6px; }
.state-facts p { font-size: 15px; line-height: 1.6; color: var(--slate); overflow-wrap: anywhere; }
@media (max-width: 768px) { .state-facts { grid-template-columns: minmax(0, 1fr); } .state-facts > li { padding: 16px; } }

/* Header v3: the last two dropdowns open towards the left so they never leave the viewport on laptop widths. */
@media (min-width: 1001px) {
  .nav .menu > .menu-item:nth-last-child(-n+2):not(.menu-item--mega) > .sub-menu { left: auto; right: -18px; }
}

/* Prime Guarantee badge (template-parts/guarantee-badge.php) */
.pg-badge { margin: 0; padding: 24px 28px 30px; border: 1px solid var(--line); border-top: 3px solid var(--navy); background: #fff; }
.pg-badge__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pg-badge__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--navy); }
.pg-badge__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--blue); text-decoration: none; }
.pg-badge__link:hover { text-decoration: underline; }
.pg-badge__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-badge__grid li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pg-badge__grid img, .pg-badge__grid svg { width: 96px; height: 96px; display: block; }
.pg-badge__grid span { font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--navy); max-width: 260px; }
.pg-badge-sec { padding: 8px 0 48px; }
@media (max-width: 760px) {
  .pg-badge { padding: 18px 16px 22px; }
  .pg-badge__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pg-badge-sec { padding-bottom: 36px; }
}

/* Visible dates line (under the H1): muted on light heroes, light on the navy ones */
.page-dates { margin: 0; }
.page-dates .page-dates__line { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.page-dates .page-dates__line time { font-weight: 600; }
.page-hero .page-dates .page-dates__line, .hero .page-dates .page-dates__line { color: var(--line); }
.page-hero.hub-hero .page-dates .page-dates__line { color: var(--muted); }

/* Market price comparison: muted struck-through competitor price + visible dated footnote (2026-11-07) */
.pcmp { margin: 0; }
.pcmp__line { margin: 0; font-size: 14px; color: var(--muted); }
.pcmp__line s { text-decoration-thickness: 1px; }
.pcmp__prime strong { color: var(--navy); font-family: var(--serif); font-weight: 900; }
.pcmp__note { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pcmp__note a { color: inherit; text-decoration: underline; }
.pcmp--card { margin-top: -8px; }
.pcmp__note--home { margin: 18px 0 0; padding-left: 12px; border-left: 3px solid var(--line-strong); max-width: 760px; }
.hero__cmp { margin-top: 16px; max-width: 560px; }
.hero__cmp .pcmp__line { color: rgba(255, 255, 255, .85); }
.hero__cmp .pcmp__prime { display: none; }
.hero__cmp .pcmp__note { color: rgba(255, 255, 255, .7); font-size: 12px; }
.hero__cmp .pcmp__note a { color: #fff; }
.l2-pricecompare { padding: 16px 0 0; }
.l2-pricecompare .pcmp--block { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); padding: 14px 16px; }
.l2-pricecompare .pcmp__line { font-size: 16px; }
@media (max-width: 700px) {
  .pcmp__note { font-size: 12px; }
  .hero__cmp { margin-top: 10px; }
  .l2-pricecompare .pcmp__line { font-size: 15px; }
}

/* Homepage client cases: redacted scans, top of the page shown. */
.case-card__img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: top; background: #f4f4f4; border-bottom: 1px solid var(--line, #dfe1e2); }

/* Hub cards with a document preview (cases hub). */
.hub-cards:has(> .hub-card--doc) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hub-card--doc .hub-card__link { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 12px 16px; height: 100%; }
.hub-card--doc .hub-card__body { flex: 1; }
.hub-card--doc .hub-card__arrow { align-self: flex-end; }
@media (max-width: 1100px) { .hub-cards:has(> .hub-card--doc) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hub-cards:has(> .hub-card--doc) { grid-template-columns: minmax(0, 1fr); } }
.hub-card__doc img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: top; background: #f4f4f4; border: 1px solid var(--line, #dfe1e2); }

/* Legal notice: "we translate, we do not give legal advice" (template-parts/legal-notice.php, UPL review 2026-11-08) */
.legal-notice-sec { padding: 8px 0 40px; }
.legal-notice--block { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--navy, #1b2a4a); font-size: 15px; line-height: 1.55; color: var(--slate); }
.legal-notice__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.legal-notice--block p { margin: 0 0 8px; }
.legal-notice--block p:last-child { margin-bottom: 0; }
.legal-notice--form { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.legal-notice--line { display: block; flex-basis: 100%; }
@media (max-width: 640px) { .legal-notice--block { padding: 16px; } }

/* Related work by topic (template-parts/l2/related-work.php): own rhythm, independent of the siblings block. */
.hub-sec--cases-rel, .l2 .hub-sec--cases-rel { padding: 64px 0; }
.hub-sec--cases-rel .hub-related__head { margin-bottom: 8px; }
.hub-sec--cases-rel .lead { margin: 0 0 24px; max-width: 720px; }
.hub-sec--cases-rel + .hub-sec--faq { padding-top: 8px; }
.l2-sec--content + .hub-sec--guides-rel { border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .hub-sec--cases-rel, .l2 .hub-sec--cases-rel { padding: 40px 0; }
  .hub-sec--cases-rel .lead { margin-bottom: 18px; }
}
@media (min-width: 1001px) { .hub-sec--cases-rel .hub-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- "From our practice" notes (interview material, 2026-11) ---------- */
.practice { margin: 28px 0; padding: 22px 26px; background: var(--mist); border-left: 4px solid var(--blue); }
.practice p { margin: 0 0 12px; }
.practice p:last-child { margin-bottom: 0; }
.practice__label { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); }
.practice__by { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .practice { padding: 18px 16px; } }
