/* ==========================================================================
   Heights Legal
   Palette is inherited from the previous site: #169fe6 / #42b3ed / #1285c1.
   Signature device: the "ascent" — three rising bars, for Heights.
   ========================================================================== */

:root {
  --blue: #169fe6;
  --blue-light: #42b3ed;
  --blue-dark: #1285c1;
  --blue-deep: #1178ae;

  --ink: #0b1c27;
  --ink-soft: #16303f;
  --body: #41545f;
  --muted: #6d838f;

  --paper: #ffffff;
  --mist: #f1f7fb;
  --mist-deep: #e6f1f8;
  --rule: #d7e6ef;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow: 0 1px 2px rgba(11, 28, 39, .05), 0 12px 32px -12px rgba(11, 28, 39, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius); text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Signature: the ascent
   -------------------------------------------------------------------------- */

.ascent { width: 44px; height: 24px; display: block; }
.ascent rect { fill: var(--blue); }
.ascent rect:nth-child(1) { fill: var(--blue-light); }
.ascent rect:nth-child(2) { fill: var(--blue); }
.ascent rect:nth-child(3) { fill: var(--blue-deep); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--text);
  font-size: .875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn::after {
  content: ""; width: .5rem; height: .5rem;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .18s var(--ease);
}
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); color: #fff; }

.btn-quiet {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.btn-quiet:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --------------------------------------------------------------------------
   Icons (inline masks — no icon font)
   -------------------------------------------------------------------------- */

.ico {
  display: inline-block; width: 1em; height: 1em;
  background: currentColor; vertical-align: -.125em; flex: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.58 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.58 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ico-mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.ico-facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.5 22v-8h2.7l.4-3.1h-3.1V8.9c0-.9.25-1.5 1.55-1.5H16.7V4.6A21 21 0 0 0 14.3 4.5c-2.4 0-4 1.45-4 4.1v2.3H7.6V14h2.7v8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.5 22v-8h2.7l.4-3.1h-3.1V8.9c0-.9.25-1.5 1.55-1.5H16.7V4.6A21 21 0 0 0 14.3 4.5c-2.4 0-4 1.45-4 4.1v2.3H7.6V14h2.7v8z'/%3E%3C/svg%3E"); }
.ico-twitter { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22 5.9a8 8 0 0 1-2.35.64 4.1 4.1 0 0 0 1.8-2.26 8.2 8.2 0 0 1-2.6 1A4.1 4.1 0 0 0 11.8 9a11.6 11.6 0 0 1-8.44-4.28 4.1 4.1 0 0 0 1.27 5.47A4 4 0 0 1 2.8 9.7v.05a4.1 4.1 0 0 0 3.3 4.02 4.1 4.1 0 0 1-1.86.07 4.1 4.1 0 0 0 3.83 2.85A8.3 8.3 0 0 1 2 18.4a11.6 11.6 0 0 0 6.29 1.84c7.55 0 11.68-6.25 11.68-11.67v-.53A8.3 8.3 0 0 0 22 5.9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22 5.9a8 8 0 0 1-2.35.64 4.1 4.1 0 0 0 1.8-2.26 8.2 8.2 0 0 1-2.6 1A4.1 4.1 0 0 0 11.8 9a11.6 11.6 0 0 1-8.44-4.28 4.1 4.1 0 0 0 1.27 5.47A4 4 0 0 1 2.8 9.7v.05a4.1 4.1 0 0 0 3.3 4.02 4.1 4.1 0 0 1-1.86.07 4.1 4.1 0 0 0 3.83 2.85A8.3 8.3 0 0 1 2 18.4a11.6 11.6 0 0 0 6.29 1.84c7.55 0 11.68-6.25 11.68-11.67v-.53A8.3 8.3 0 0 0 22 5.9'/%3E%3C/svg%3E"); }
.ico-linkedin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.94 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0M3 20h3.9V8.5H3zm6.4 0h3.9v-6.1c0-1.65.32-3.25 2.37-3.25 2 0 2.03 1.9 2.03 3.36V20H21.6v-6.7c0-3.4-.73-6.02-4.7-6.02a4.13 4.13 0 0 0-3.7 2.04h-.06V8.5H9.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.94 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0M3 20h3.9V8.5H3zm6.4 0h3.9v-6.1c0-1.65.32-3.25 2.37-3.25 2 0 2.03 1.9 2.03 3.36V20H21.6v-6.7c0-3.4-.73-6.02-4.7-6.02a4.13 4.13 0 0 0-3.7 2.04h-.06V8.5H9.4z'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */

.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .8125rem;
}
.utility-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  align-items: center; justify-content: space-between;
  min-height: 42px;
}
.utility ul { list-style: none; margin: 0; padding: 0; display: flex; }
.utility-contact { gap: 1.75rem; flex-wrap: wrap; }
.utility-contact li { display: flex; align-items: center; gap: .5rem; }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--blue-light); }
.utility .ico { color: var(--blue-light); }

.utility-social { gap: .25rem; }
.utility-social a {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--radius);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.utility-social a:hover { background: var(--blue); color: #fff; }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 8px 24px -16px rgba(11, 28, 39, .45); }

.masthead-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 112px;
}
/* The mark is stacked, so it is sized by height and the width follows. */
.brand { flex: none; line-height: 0; }
.brand img { height: 82px; width: auto; }

.primary { margin-left: auto; display: flex; align-items: center; gap: 1rem; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: .1rem;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: .35rem;
  white-space: nowrap;
  padding: .6rem .7rem;
  font-size: .9375rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  border-radius: var(--radius);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-list > li > a:hover { color: var(--blue-deep); background: var(--mist); }
.nav-list > li > a[aria-current="page"],
.nav-list > li > a[data-within] { color: var(--blue-deep); }
.nav-list > li > a[aria-current="page"]::before {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: -1px;
  height: 2px; background: var(--blue);
}

.caret {
  width: .38rem; height: .38rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sub-toggle { display: none; }

.subnav {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; left: 0; top: calc(100% + 1px);
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }

.subnav a {
  display: block; padding: .55rem .75rem;
  font-size: .9375rem; color: var(--ink-soft); text-decoration: none;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.subnav a:hover { background: var(--mist); border-left-color: var(--blue); color: var(--blue-deep); }
.subnav a[aria-current="page"] { border-left-color: var(--blue); color: var(--blue-deep); font-weight: 600; }

.nav-cta { padding: .8rem 1.1rem; font-size: .75rem; white-space: nowrap; }

/* Below the desktop breakpoint the CTA is the first thing to give way. */
@media (min-width: 901px) and (max-width: 1140px) {
  .nav-cta { display: none; }
  .brand img { height: 60px; }
}

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  cursor: pointer; padding: 0;
  place-items: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 28, 39, .96) 0%, rgba(11, 28, 39, .82) 55%, rgba(17, 120, 174, .55) 100%);
}

.hero-inner {
  padding-block: clamp(4.5rem, 12vw, 8.5rem);
  max-width: 940px;
}
.hero-inner .ascent { width: 58px; height: 32px; margin-bottom: 1.75rem; }
.hero-inner .ascent rect:nth-child(1) { fill: rgba(255, 255, 255, .45); }
.hero-inner .ascent rect:nth-child(2) { fill: var(--blue-light); }
.hero-inner .ascent rect:nth-child(3) { fill: var(--blue); }

.eyebrow {
  font-family: var(--text);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 1rem;
}
.hero .eyebrow { color: var(--blue-light); }

.hero-title {
  font-size: clamp(2.35rem, 6vw, 4rem);
  line-height: 1.06;
  color: #fff;
  max-width: 18ch;
  margin: 0 0 2.25rem;
  font-weight: 600;
  text-wrap: balance;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(22, 159, 230, .28) 100%);
}
.page-hero > .wrap { position: relative; padding-block: clamp(2.75rem, 6vw, 4.25rem); }

.breadcrumb ol {
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
}
.breadcrumb li + li::before {
  content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .35);
}
.breadcrumb a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--blue-light); }

.page-hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: #fff; margin: 0; font-weight: 600;
  line-height: 1.1;
}
.page-hero-title .lead-in { color: rgba(255, 255, 255, .55); font-weight: 400; }

/* --------------------------------------------------------------------------
   Statement band (replaces the old circle separator)
   -------------------------------------------------------------------------- */

.statement { background: var(--mist); border-bottom: 1px solid var(--rule); }
.statement-inner {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  max-width: 900px; text-align: center;
}
.statement-text {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 1.75rem;
  text-wrap: pretty;
}
.statement-text strong { font-weight: 700; color: var(--blue-deep); }
.statement .ascent { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Home: welcome
   -------------------------------------------------------------------------- */

.welcome-inner {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.welcome-head { position: sticky; top: 148px; }
.welcome-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin: 0;
  text-wrap: balance;
}
.welcome-body { font-size: 1.09375rem; }
.welcome-body strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Home: service cards
   -------------------------------------------------------------------------- */

.services { background: var(--mist); border-block: 1px solid var(--rule); }
.services > .wrap { padding-block: clamp(3rem, 7vw, 5rem); }
.services-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service-card {
  display: flex; flex-direction: column;
  background: #fff;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none; color: var(--body);
  position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .28s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--mist-deep);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleY(1); }
.card-title { font-size: 1.1875rem; margin: 0 0 .7rem; }
.service-card p { font-size: .96875rem; margin: 0 0 1.5rem; }
.card-more {
  margin-top: auto;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-deep);
}

/* --------------------------------------------------------------------------
   Home: who are we
   -------------------------------------------------------------------------- */

.who-inner {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem); align-items: center;
}
.who-title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 1.25rem; }
.who-text .btn { margin-top: 1.25rem; }
.who-figure { margin: 0; position: relative; }
.who-figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: 18px 18px 0 var(--mist-deep);
}
.who-figure figcaption {
  margin-top: 2.25rem;
  font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}

/* --------------------------------------------------------------------------
   Home: SRA badges
   -------------------------------------------------------------------------- */

.regulated { background: var(--mist); border-top: 1px solid var(--rule); }
.regulated > .wrap { padding-block: clamp(2.75rem, 6vw, 4rem); text-align: center; }
.regulated-title {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0 0 2rem;
  color: var(--ink-soft);
}
.sra-row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: center; align-items: center;
}
.sra-badge { width: 275px; max-width: 100%; }
.sra-badge iframe { width: 100%; aspect-ratio: 275 / 163; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Inner page layout
   -------------------------------------------------------------------------- */

.body-section > .wrap { padding-block: clamp(3rem, 7vw, 5rem); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.layout-legal { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }

.sidebar { position: sticky; top: 144px; }

.side-heading {
  font-family: var(--text);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}

.service-list { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.service-list li { border-bottom: 1px solid var(--rule); }
.service-list a {
  display: block; padding: .7rem 0 .7rem .9rem;
  font-size: .9375rem; line-height: 1.45;
  color: var(--ink-soft); text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease), padding-left .18s var(--ease);
}
.service-list a:hover { border-left-color: var(--blue-light); color: var(--blue-deep); padding-left: 1.15rem; }
.service-list .is-current > a {
  border-left-color: var(--blue); color: var(--blue-deep); font-weight: 700;
}

.pull-quote {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--mist);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.pull-quote blockquote { margin: 0; }
.pull-quote p {
  font-family: var(--display);
  font-size: 1.0625rem; line-height: 1.5;
  color: var(--ink); margin: 0 0 .9rem;
}
.pull-quote p::before { content: "\201C"; }
.pull-quote p::after { content: "\201D"; }
.pull-quote figcaption {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.side-cta {
  padding: 1.5rem;
  background: var(--ink);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .82);
}
.side-cta p { font-size: .9375rem; margin: 0 0 1.1rem; }
.side-cta .btn { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Prose
   -------------------------------------------------------------------------- */

.prose { max-width: 72ch; font-size: 1.09375rem; }
.prose > *:first-child { margin-top: 0; }

.prose h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  position: relative;
}
.prose h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; background: var(--blue);
}
.prose h3 { font-size: 1.375rem; margin: 2.25rem 0 .85rem; }
.prose h4 { font-size: 1.1875rem; margin: 2rem 0 .75rem; }
.prose h5 {
  font-family: var(--text);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deep);
  margin: 2rem 0 .75rem;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--blue-deep); }

/* Long legal documents read better a touch tighter and smaller. */
.prose-legal { font-size: 1.03125rem; }
.prose-legal h3 {
  font-size: 1.1875rem;
  margin: 2.5rem 0 .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.prose-legal > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose-legal h5 { color: var(--ink); font-size: .875rem; }
/* The source documents separate clauses with <br> rather than paragraphs, so the
   line height does the work of paragraph spacing here. */
.prose-legal p { line-height: 1.8; }

/* Regulatory footnote that closes the privacy policy. */
.doc-footnote {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.contact-details h3 {
  font-family: var(--text);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--rule);
}
.contact-details h3:first-child { margin-top: 0; }
.contact-details ul { list-style: none; margin: 0 0 1.15em; padding: 0; }
.contact-details ul li {
  padding: .55rem 0 .55rem .9rem;
  border-left: 2px solid var(--blue-light);
  margin-bottom: .5rem;
}

.address-card {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.address-card img { width: auto; height: 96px; margin-bottom: 1.25rem; }
.address-card address { font-style: normal; line-height: 1.8; margin-bottom: 1.25rem; }
.map-link {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-deep);
}

.contact-form-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-heading { font-size: 1.5rem; margin: 0 0 1.5rem; }

/* --------------------------------------------------------------------------
   Closer
   -------------------------------------------------------------------------- */

.closer {
  background: var(--ink);
  position: relative; overflow: hidden;
}
.closer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(22, 159, 230, .32) 100%);
}
.closer-inner {
  position: relative;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: center; justify-content: space-between;
}
.closer-title {
  color: #fff; margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: #071219; color: rgba(255, 255, 255, .68); font-size: .9375rem; }
.footer-grid {
  padding-block: clamp(3rem, 6vw, 4rem);
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-brand img { width: 180px; margin-bottom: 1.5rem; }
.footer-heading {
  font-family: var(--text);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin: 0 0 1.1rem;
}
.footer-address { line-height: 1.9; margin: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-list a:hover { color: var(--blue-light); text-decoration: underline; }
.footer-list .tag {
  display: inline-block; width: 1.35em;
  color: var(--blue-light); font-weight: 700;
}

.footer-regulated {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-regulated p {
  margin: 0;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-light);
}

.footer-base {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: .8125rem;
}
.copyright { margin: 0; color: rgba(255, 255, 255, .5); }
.copyright span { color: rgba(255, 255, 255, .78); }
.footer-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.footer-menu a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.footer-menu a:hover { color: var(--blue-light); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .welcome-inner { grid-template-columns: 1fr; }
  .welcome-head { position: static; }
  .who-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .layout, .layout-legal { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .prose { max-width: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .masthead-inner { min-height: 82px; }
  .brand img { height: 54px; }

  .primary {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block; margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding: 1rem var(--gutter) 1.75rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .3s var(--ease);
  }
  .primary.is-open { clip-path: inset(0 0 0 0); }

  .nav-list { display: block; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-list > li > a { padding: .9rem 0; font-size: 1.0625rem; }
  .nav-list > li > a[aria-current="page"]::before { display: none; }
  .nav-list > li > a:hover { background: none; }
  .has-sub > a .caret { display: none; }

  .sub-toggle {
    display: grid; place-items: center;
    position: absolute; right: 0; top: 0;
    width: 48px; height: 52px;
    background: none; border: 0; cursor: pointer;
  }
  .sub-toggle::after {
    content: ""; width: .5rem; height: .5rem;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s var(--ease);
  }
  .sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; min-width: 0;
    padding: 0 0 .75rem .75rem;
    display: none;
  }
  .subnav.is-open { display: block; }

  .nav-cta { margin-top: 1.5rem; width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .utility-inner { justify-content: center; }
  .utility-contact { flex-direction: column; gap: .15rem; text-align: center; }
  .utility { padding-block: .5rem; }
  .closer-inner { flex-direction: column; align-items: flex-start; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .utility, .masthead, .closer, .side-cta, .skip-link { display: none; }
  body { color: #000; font-size: 11pt; }
  .layout { display: block; }
}
