@charset "UTF-8";
/* ==================================================================
   REGNUM SOLICITORS — Design System
   ------------------------------------------------------------------
   Palette is derived from the firm's own logo: the six graded blues
   of the R-E-G-N-U-M roundels, plus the "SOLICITORS" red as a signal
   accent. Nothing invented; everything measured off the mark.
   ================================================================== */

/* ---------- 1. Tokens ------------------------------------------- */

:root {
  /* Brand blues, sampled from the wordmark roundels (left → right) */
  --b-900: #003c6e;
  --b-800: #0060a8; /* the R monogram — primary brand blue */
  --b-700: #0070c0;
  --b-600: #0088d0;
  --b-500: #0098d8;
  --b-400: #00b0f0;
  --b-300: #18c0f0;
  --b-200: #7fd9f6;
  --b-100: #cceef9;
  --b-050: #eaf6fd;

  /* Signal red, sampled from "SOLICITORS" */
  --red-600: #b0141b;
  --red-500: #d01820;
  --red-100: #fdeaeb;

  /* Neutrals — very slightly warm, so the page reads as paper */
  --n-950: #0b1620;
  --n-900: #12202c;
  --n-800: #1d2e3c;
  --n-700: #33475a;
  --n-600: #4d6274;
  --n-500: #5e7181; /* 4.75:1+ on every light surface at 11px */
  --n-400: #94a5b2;
  --n-300: #c2ced7;
  --n-200: #dfe6ec;
  --n-150: #eaeff3;
  --n-100: #f2f4f6;
  --n-050: #f8f8f6;
  --paper: #fdfcfa;

  /* Semantic — light theme */
  --bg: var(--paper);
  --bg-sunken: var(--n-050);
  --bg-raised: #ffffff;
  --bg-invert: #061726;
  --surface-line: var(--n-200);
  --surface-line-soft: var(--n-150);

  --ink: #0d1a25;
  --ink-2: var(--n-700);
  --ink-3: var(--n-500);
  --ink-invert: #f3f7fa;
  --ink-invert-2: #a9c2d4;

  --brand: var(--b-800);
  --brand-hover: var(--b-900);
  --brand-soft: var(--b-050);
  --accent: var(--red-500);
  --accent-ink: #f05a60; /* red for use on the dark navy ground */

  --focus: var(--b-500);
  --shadow-color: 210 40% 20%;

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino,
    Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo,
    Consolas, monospace;

  /* Fluid type scale (16px → 20px base rhythm) */
  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-base: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --t-md: clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
  --t-lg: clamp(1.25rem, 1.14rem + 0.5vw, 1.5rem);
  --t-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --t-2xl: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  --t-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --t-4xl: clamp(2.75rem, 1.7rem + 4.4vw, 5.25rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);

  /* Shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-full: 999px;

  --shadow-1: 0 1px 2px hsl(var(--shadow-color) / 0.06),
    0 1px 3px hsl(var(--shadow-color) / 0.05);
  --shadow-2: 0 2px 4px hsl(var(--shadow-color) / 0.05),
    0 6px 16px -4px hsl(var(--shadow-color) / 0.09);
  --shadow-3: 0 4px 8px hsl(var(--shadow-color) / 0.05),
    0 18px 40px -10px hsl(var(--shadow-color) / 0.16);

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme — redefine tokens only */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071522;
    --bg-sunken: #04101b;
    --bg-raised: #0e2333;
    --bg-invert: #04101b;
    --surface-line: #19364b;
    --surface-line-soft: #12293a;

    --ink: #eaf2f8;
    --ink-2: #a9c2d4;
    --ink-3: #7e9bb0;
    --ink-invert: #eaf2f8;
    --ink-invert-2: #a9c2d4;

    --brand: var(--b-400);
    --brand-hover: var(--b-300);
    --brand-soft: #0d2c42;
    --accent: #ff5a60;

    --focus: var(--b-300);
    --shadow-color: 205 60% 3%;
    --shadow-1: 0 1px 2px hsl(var(--shadow-color) / 0.5);
    --shadow-2: 0 2px 4px hsl(var(--shadow-color) / 0.4),
      0 6px 16px -4px hsl(var(--shadow-color) / 0.5);
    --shadow-3: 0 4px 8px hsl(var(--shadow-color) / 0.4),
      0 18px 40px -10px hsl(var(--shadow-color) / 0.6);
  }
}

:root[data-theme="dark"] {
  --bg: #071522;
  --bg-sunken: #04101b;
  --bg-raised: #0e2333;
  --bg-invert: #04101b;
  --surface-line: #19364b;
  --surface-line-soft: #12293a;

  --ink: #eaf2f8;
  --ink-2: #a9c2d4;
  --ink-3: #7e9bb0;
  --ink-invert: #eaf2f8;
  --ink-invert-2: #a9c2d4;

  --brand: var(--b-400);
  --brand-hover: var(--b-300);
  --brand-soft: #0d2c42;
  --accent: #ff5a60;

  --focus: var(--b-300);
  --shadow-color: 205 60% 3%;
  --shadow-1: 0 1px 2px hsl(var(--shadow-color) / 0.5);
  --shadow-2: 0 2px 4px hsl(var(--shadow-color) / 0.4),
    0 6px 16px -4px hsl(var(--shadow-color) / 0.5);
  --shadow-3: 0 4px 8px hsl(var(--shadow-color) / 0.4),
    0 18px 40px -10px hsl(var(--shadow-color) / 0.6);
}

/* ---------- 2. Reset -------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--brand-hover);
}
ul,
ol {
  padding-left: 1.15em;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--b-800);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 3. Typography --------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 {
  font-size: var(--t-3xl);
}
h2 {
  font-size: var(--t-2xl);
}
h3 {
  font-size: var(--t-lg);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h4 {
  font-size: var(--t-md);
  line-height: 1.3;
}
p {
  text-wrap: pretty;
}
.display {
  font-size: var(--t-4xl);
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.lede {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-2);
}
.kicker {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.kicker--center {
  justify-content: center;
}
.kicker--plain::before {
  display: none;
}
.serif-em {
  font-style: italic;
  color: var(--brand);
}
.muted {
  color: var(--ink-3);
}
.small {
  font-size: var(--t-sm);
  line-height: 1.6;
}

/* ---------- 4. Layout ------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 560px) {
  .wrap {
    width: min(100% - 2rem, var(--wrap));
  }
}
.wrap--narrow {
  width: min(100% - 2.5rem, var(--wrap-narrow));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: calc(var(--section-y) * 0.62);
}
.section--sunken {
  background: var(--bg-sunken);
  border-block: 1px solid var(--surface-line-soft);
}
.section--ink {
  background: var(--bg-invert);
  color: var(--ink-invert);
}
.section--ink h1,
.section--ink h2,
.section--ink h3 {
  color: #fff;
}
.section--ink .lede,
.section--ink p {
  color: var(--ink-invert-2);
}
.section--ink .kicker {
  color: var(--b-300);
}

.section-head {
  display: grid;
  gap: var(--sp-4);
  max-width: 46ch;
  margin-bottom: var(--sp-7);
}
.section-head--center {
  max-width: 56ch;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: end;
  gap: var(--sp-6);
}
@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.rule {
  height: 1px;
  background: var(--surface-line);
  border: 0;
}

/* ---------- 5. Buttons ------------------------------------------ */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.82em 1.5em;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.24s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  flex: none;
  transition: transform 0.24s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  --btn-bg: var(--b-800);
  background-image: linear-gradient(105deg, var(--b-900), var(--b-800) 55%, var(--b-700));
  background-size: 160% 100%;
  background-position: 0% 50%;
  transition: background-position 0.5s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.24s var(--ease);
}
.btn--primary:hover {
  background-position: 100% 50%;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--surface-line);
}
.btn--ghost:hover {
  --btn-bd: var(--brand);
  --btn-fg: var(--brand);
  box-shadow: none;
}
.btn--onink {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.28);
}
.btn--onink:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-bd: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.btn--sm {
  padding: 0.6em 1.1em;
  font-size: var(--t-xs);
}
.btn--lg {
  padding: 1em 1.9em;
  font-size: var(--t-base);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  color: var(--brand);
}
.link-arrow::after {
  content: "";
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.24s var(--ease);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}
:root {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Touch targets: keep every control at or above 44px on small screens. */
@media (max-width: 640px), (pointer: coarse) {
  .btn {
    min-height: 44px;
  }
  .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .bio-toggle,
  .link-arrow {
    min-height: 32px;
  }
}

/* ---------- 6. Header ------------------------------------------- */

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--b-800);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-md);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 1rem;
  color: #fff;
}

.topbar {
  background: var(--bg-invert);
  color: var(--ink-invert-2);
  font-size: var(--t-xs);
  letter-spacing: 0.01em;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  padding-block: 0.35rem;
}
.topbar a {
  color: inherit;
  text-decoration: none;
}
.topbar a:hover {
  color: #fff;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.topbar__list li {
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.topbar__list svg {
  opacity: 0.65;
}
@media (max-width: 820px) {
  .topbar__hide-sm {
    display: none;
  }
}
@media (max-width: 560px) {
  .topbar__in {
    justify-content: center;
  }
  .topbar__right {
    display: none;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--surface-line);
  box-shadow: var(--shadow-1);
}
.header__in {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
  margin-right: auto;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__text {
  display: grid;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.5625rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
@media (max-width: 1040px) {
  .nav,
  .header__cta {
    display: none;
  }
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover,
.nav__item:focus-within > .nav__link {
  color: var(--ink);
  background: var(--bg-sunken);
}
.nav__link[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}
.nav__link .chev {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.24s var(--ease);
}
.nav__item:hover .chev,
.nav__item:focus-within .chev {
  transform: rotate(180deg);
}

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(92vw, 720px);
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: var(--sp-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}
.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.8rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.16s var(--ease);
}
.mega__link:hover {
  background: var(--brand-soft);
  color: var(--ink);
}
.mega__ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.mega__link:hover .mega__ico {
  background: var(--b-800);
  color: #fff;
}
.mega__ttl {
  font-weight: 600;
  font-size: var(--t-sm);
  line-height: 1.3;
}
.mega__desc {
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 2px;
}
.mega__foot {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 0.8rem;
  border-top: 1px solid var(--surface-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--t-xs);
  color: var(--ink-3);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  color: var(--ink-2);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.icon-btn:hover {
  background: var(--bg-sunken);
  color: var(--ink);
}
.theme-btn .moon {
  display: none;
}
:root[data-theme="dark"] .theme-btn .sun,
.theme-btn .sun {
  display: block;
}
:root[data-theme="dark"] .theme-btn .sun {
  display: none;
}
:root[data-theme="dark"] .theme-btn .moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-btn .moon {
    display: block;
  }
}
.burger {
  display: none;
}
@media (max-width: 1040px) {
  .burger {
    display: grid;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: hsl(210 40% 8% / 0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer.is-open .drawer__scrim {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(88vw, 400px);
  background: var(--bg);
  box-shadow: var(--shadow-3);
  transform: translateX(100%);
  transition: transform 0.36s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--surface-line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.drawer__body {
  padding: 0.75rem 0.75rem 2rem;
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.75rem;
  border-radius: var(--r-md);
  font-size: var(--t-md);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.drawer__link:hover {
  background: var(--bg-sunken);
  color: var(--ink);
}
.drawer__sub {
  padding: 0 0 0.5rem 0.75rem;
  display: grid;
}
.drawer__sub a {
  padding: 0.6rem 0.75rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
  text-decoration: none;
  border-left: 2px solid var(--surface-line);
}
.drawer__sub a:hover {
  color: var(--brand);
  border-left-color: var(--brand);
}
.drawer__foot {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid var(--surface-line);
  display: grid;
  gap: 0.75rem;
}

/* ---------- 7. Hero --------------------------------------------- */

.hero {
  position: relative;
  background: var(--bg-invert);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__aurora {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(52% 46% at 78% 18%, rgba(24, 192, 240, 0.34), transparent 68%),
    radial-gradient(46% 44% at 24% 8%, rgba(0, 112, 192, 0.4), transparent 66%),
    radial-gradient(60% 50% at 50% 100%, rgba(0, 60, 110, 0.6), transparent 70%);
  filter: blur(10px);
  animation: drift 26s var(--ease) infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(72% 60% at 50% 34%, #000 20%, transparent 78%);
  mask-image: radial-gradient(72% 60% at 50% 34%, #000 20%, transparent 78%);
}
.hero__in {
  padding-block: clamp(4.5rem, 3rem + 9vw, 9.5rem) clamp(3.5rem, 2rem + 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__in {
    grid-template-columns: 1fr;
  }
}
.hero .kicker {
  color: var(--b-300);
  margin-bottom: var(--sp-4);
}
.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(96deg, var(--b-300), var(--b-200) 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  font-size: var(--t-md);
  color: rgba(226, 240, 250, 0.82);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.hero__note {
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-xs);
  color: rgba(200, 222, 238, 0.7);
}
.hero__note svg {
  color: var(--b-300);
  flex: none;
}

/* Hero side card */
.hero-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.hero-card__ttl {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-300);
  margin-bottom: var(--sp-4);
}
.hero-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.hero-card__list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-card__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  color: rgba(235, 245, 252, 0.9);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  transition: color 0.18s var(--ease), padding-left 0.24s var(--ease);
}
.hero-card__list a:hover {
  color: #fff;
  padding-left: 6px;
}
.hero-card__list a span.n {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--b-300);
  opacity: 0.75;
}
.hero-card__foot {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--t-xs);
  color: rgba(200, 222, 238, 0.72);
  line-height: 1.55;
}

/* Page hero (inner pages) */
.phero {
  position: relative;
  background: var(--bg-invert);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.phero__aurora {
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 200%;
  z-index: -1;
  background: radial-gradient(44% 60% at 82% 20%, rgba(0, 152, 216, 0.32), transparent 70%),
    radial-gradient(40% 50% at 12% 12%, rgba(0, 96, 168, 0.42), transparent 68%);
  filter: blur(8px);
}
.phero__in {
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(2.5rem, 2rem + 4vw, 4.5rem);
}
/* Dark grounds outside .hero also need the light-blue kicker. */
.phero .kicker,
.cta .kicker {
  color: var(--b-300);
}
.phero h1 {
  color: #fff;
  max-width: 20ch;
  margin-top: var(--sp-4);
}
.phero__lede {
  margin-top: var(--sp-4);
  font-size: var(--t-md);
  color: rgba(226, 240, 250, 0.8);
  max-width: 58ch;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--t-xs);
  color: rgba(190, 215, 232, 0.7);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.45;
}
.crumbs [aria-current] {
  color: var(--b-300);
}

/* ---------- 8. Trust bar & stats -------------------------------- */

.trustbar {
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--surface-line-soft);
}
.trustbar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-6);
  padding-block: 1.1rem;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.trustbar__item svg {
  color: var(--brand);
  flex: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--surface-line);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 0.3rem;
  align-content: start;
}
.stat__v {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--b-900), var(--b-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__l {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
}
.stat__s {
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.5;
}

/* ---------- 9. Practice cards ----------------------------------- */

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.pcard::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--b-800), var(--b-500) 55%, var(--b-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
  color: var(--ink);
}
.pcard:hover::before {
  transform: scaleX(1);
}
.pcard__ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.pcard:hover .pcard__ico {
  background: var(--b-800);
  color: #fff;
}
.pcard__kick {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}
.pcard h3 {
  font-size: var(--t-lg);
}
.pcard p {
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.6;
  flex: 1;
}
.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
}
.pcard__more svg {
  transition: transform 0.24s var(--ease);
}
.pcard:hover .pcard__more svg {
  transform: translateX(4px);
}
.pcard--wide {
  grid-column: span 2;
}
@media (max-width: 700px) {
  .pcard--wide {
    grid-column: span 1;
  }
}

/* ---------- 10. Differentiators --------------------------------- */

.diff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0;
  border-top: 1px solid var(--surface-line);
}
.diff__item {
  padding: var(--sp-6) var(--sp-5) var(--sp-6) 0;
  border-bottom: 1px solid var(--surface-line);
  position: relative;
}
.diff__item + .diff__item {
  padding-left: var(--sp-5);
  border-left: 1px solid var(--surface-line);
}
@media (max-width: 700px) {
  .diff__item + .diff__item {
    padding-left: 0;
    border-left: 0;
  }
}
.diff__n {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
  display: block;
}
.diff__item h3 {
  margin-bottom: var(--sp-2);
}
.diff__item p {
  font-size: var(--t-sm);
  color: var(--ink-2);
}

/* ---------- 11. People ------------------------------------------ */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: var(--sp-5);
}
.person {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
.person:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}
/* The photographs are 3:4 studio portraits; show them at that ratio rather
   than cropping them into a small circle. */
.person__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--surface-line-soft);
}
.person__photo--mono {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.25rem);
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(140deg, var(--b-900), var(--b-800) 58%, var(--b-700));
  user-select: none;
}
.person__head {
  padding: 1.25rem 1.35rem 0.9rem;
}
.avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(140deg, var(--b-900), var(--b-800) 58%, var(--b-700));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22);
  user-select: none;
  font-size: 1rem;
}
/* Scraped portraits are square studio shots; crop to a circle and bias the
   framing slightly upward so no one loses the top of their head. */
.avatar--photo {
  object-fit: cover;
  object-position: 50% 22%;
  background: var(--bg-sunken);
  box-shadow: 0 0 0 1px var(--surface-line), inset 0 0 0 3px rgba(255, 255, 255, 0.22);
}
.avatar--sm {
  box-shadow: 0 0 0 1px var(--surface-line);
}
.person__name {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.person__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 5px;
}
.person__body {
  padding: 0 1.35rem 1.1rem;
  display: grid;
  gap: 0.75rem;
}
.person__admitted {
  font-size: var(--t-xs);
  color: var(--ink-3);
  display: flex;
  gap: 0.45em;
  align-items: baseline;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25em 0.7em;
  border-radius: var(--r-full);
  background: var(--bg-sunken);
  border: 1px solid var(--surface-line-soft);
  color: var(--ink-2);
  white-space: nowrap;
}
.person__foot {
  margin-top: auto;
  padding: 0.9rem 1.35rem;
  border-top: 1px solid var(--surface-line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--bg-sunken);
}
.person__mail {
  font-size: var(--t-xs);
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person__mail:hover {
  color: var(--brand);
}
.bio-toggle {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
}
.bio-toggle svg {
  transition: transform 0.28s var(--ease);
}
.bio-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.person__bio {
  overflow: hidden;
  transition: height 0.38s var(--ease-out);
}
.person__bio-in {
  padding: 0 1.35rem 1.35rem;
  display: grid;
  gap: 0.8rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.65;
}
.pullquote {
  border-left: 2px solid var(--b-400);
  padding: 0.2rem 0 0.2rem 1rem;
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.32em 0.75em;
  border-radius: var(--r-full);
  background: linear-gradient(120deg, var(--b-900), var(--b-700));
  color: #fff;
}

/* Practice-area detail layout: body column + sticky rail. */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: var(--sp-4);
}
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    position: static;
  }
}

/* ---------- 12. Prose ------------------------------------------- */

.prose {
  max-width: 68ch;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: var(--t-xl);
  margin-top: 2em;
}
.prose h3 {
  font-size: var(--t-lg);
  margin-top: 1.8em;
}
.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  display: grid;
  gap: 0.55em;
}
.prose li::marker {
  color: var(--b-400);
}
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-soft) var(--tick) center / 12px no-repeat;
  flex: none;
}
:root {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230060a8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b0f0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b0f0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  }
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.6;
}
.callout svg {
  color: var(--brand);
  flex: none;
  margin-top: 2px;
}
.callout--warn {
  background: var(--red-100);
  border-color: color-mix(in srgb, var(--red-500) 25%, transparent);
}
.callout--warn svg {
  color: var(--red-500);
}
:root[data-theme="dark"] .callout--warn {
  background: #341216;
}

/* ---------- 13. Tables & fees ----------------------------------- */

/* Accordion */
.acc {
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
}
.acc + .acc {
  margin-top: var(--sp-3);
}
.acc__h {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--ink);
  transition: background-color 0.18s var(--ease);
}
.acc__btn:hover {
  background: var(--bg-sunken);
}
.acc__btn .pm {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}
.acc__btn[aria-expanded="true"] .pm {
  transform: rotate(45deg);
  background: var(--b-800);
  color: #fff;
}
/* Height is driven by JS so the animation works everywhere; with JS off
   the panel keeps its natural height and all content stays readable. */
.acc__panel {
  overflow: hidden;
  transition: height 0.36s var(--ease-out);
}
.acc__in {
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid var(--surface-line-soft);
  padding-top: 1.15rem;
}

/* Panel card (contact form) */
.panel {
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-xl);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: var(--sp-5);
}
/* ---------- 15. Contact ----------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.info-card {
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.info-card__head {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--surface-line-soft);
  background: var(--bg-sunken);
}
.info-card__body {
  padding: 1.4rem;
  display: grid;
  gap: 1.15rem;
}
.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}
.info-row__ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.info-row__k {
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.info-row__v {
  font-size: var(--t-sm);
  color: var(--ink);
  line-height: 1.55;
}
.info-row__v a {
  text-decoration: none;
}
.info-row__v a:hover {
  text-decoration: underline;
}
.hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: var(--t-sm);
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-2);
}
.hours li span:last-child {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--surface-line);
  background: var(--bg-sunken);
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-embed__pin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--b-900), var(--b-600));
  color: #fff;
  margin-inline: auto;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 12%, transparent);
}
.map-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--surface-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, transparent 20%, #000 90%);
  mask-image: radial-gradient(60% 60% at 50% 50%, transparent 20%, #000 90%);
}
.map-embed > * {
  position: relative;
}

/* ---------- 16. CTA band ---------------------------------------- */

.cta {
  position: relative;
  background: var(--bg-invert);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -50% -10%;
  z-index: -1;
  background: radial-gradient(40% 60% at 20% 40%, rgba(0, 112, 192, 0.5), transparent 70%),
    radial-gradient(46% 60% at 82% 60%, rgba(24, 192, 240, 0.28), transparent 70%);
  filter: blur(6px);
}
.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-6);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}
@media (max-width: 820px) {
  .cta__in {
    grid-template-columns: 1fr;
  }
}
.cta h2 {
  color: #fff;
  max-width: 20ch;
}
.cta p {
  color: rgba(220, 238, 250, 0.78);
  max-width: 52ch;
  margin-top: var(--sp-3);
}

/* ---------- 17. Footer ------------------------------------------ */

.footer {
  background: var(--bg-invert);
  color: var(--ink-invert-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--t-sm);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem);
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}
.footer .brand__name {
  color: #fff;
}
.footer .brand__sub {
  color: var(--accent-ink);
}
.footer__blurb {
  margin-top: var(--sp-4);
  max-width: 40ch;
  color: rgba(190, 214, 232, 0.75);
  line-height: 1.6;
  font-size: var(--t-sm);
}
.footer h2 {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.footer a {
  color: rgba(190, 214, 232, 0.85);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--t-xs);
  color: rgba(168, 196, 216, 0.7);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.sra {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--t-xs);
  line-height: 1.4;
  color: rgba(200, 222, 238, 0.85);
  max-width: 320px;
}
.sra__mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--b-900), var(--b-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}
.sra strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- 18. Utilities & motion ------------------------------ */

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.center { text-align: center; }

/* ---------- 19. Print ------------------------------------------- */

@media print {
  .header,
  .topbar,
  .drawer,
  .cta,
  .hero__aurora,
  .hero__grid,
  .btn,
  .icon-btn {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .hero,
  .phero,
  .footer,
  .section--ink {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1,
  .phero h1,
  .section--ink h2 {
    color: #000 !important;
  }
  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  .section {
    padding-block: 1.5rem;
    break-inside: avoid;
  }
}
