
:root {
  --navy: #0C1D3E;
  --navy-2: #14295A;
  --navy-3: #1F3B78;
  --chart: #EEF2F7;
  --paper: #FFFFFF;
  --ink: #0C1D3E;
  --slate: #4A525E;
  --logo-grey: #63666A;
  --line: #D3DCE8;
  --beacon: #D45C19;
  --beacon-text: #A9450D;
  --beacon-light: #F7A06B;
  --btn: #C4520F;
  --btn-hover: #A5440C;
  --radius: 6px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --gold: #D0902E;
  --gold-light: #E6B363;
  --brass: #d0902e;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--navy-3);
  --bs-link-hover-color: var(--beacon-text);
  --bs-border-color: var(--line);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: inherit; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); letter-spacing: -0.028em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; }
.h-sm { font-size: 1.5rem; letter-spacing: -0.015em; }
p { max-width: 68ch; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--beacon); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius); transition: top .15s; }
.skip-link:focus { top: 1rem; }
@media (min-width: 1400px) { .container { max-width: 1280px; } }

.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.ico-sm { width: 1rem; height: 1rem; flex: none; }
.ico-lg { width: 2rem; height: 2rem; flex: none; }
.ico-xl { width: 1.9rem; height: 1.9rem; flex: none; }

.lead-sm { margin-top: 1rem; font-size: 1.1875rem; line-height: 1.62; color: var(--slate); max-width: 62ch; }
.fine-print { font-size: .875rem; color: var(--slate); }
.stars { color: var(--beacon); letter-spacing: .12em; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--beacon-text); text-decoration: none; }
.text-link:hover { text-decoration: underline; color: var(--beacon-text); }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius); padding: .7rem 1.3rem; letter-spacing: .005em; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.0625rem; --bs-btn-border-radius: var(--radius); }
.btn-beacon {
  --bs-btn-color: #fff; --bs-btn-bg: var(--btn); --bs-btn-border-color: var(--btn);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--btn-hover); --bs-btn-hover-border-color: var(--btn-hover);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--btn-hover); --bs-btn-active-border-color: var(--btn-hover);
  --bs-btn-focus-shadow-rgb: 212, 92, 25;
}
.btn-line-light {
  --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--navy); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff;
  --bs-btn-border-width: 1.5px;
}
.btn-line-navy {
  --bs-btn-color: var(--navy); --bs-btn-bg: transparent; --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy);
  --bs-btn-border-width: 1.5px;
}
.btn-navy {
  --bs-btn-color: #fff; --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-2); --bs-btn-hover-border-color: var(--navy-2);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-2); --bs-btn-active-border-color: var(--navy-2);
  padding: .9rem 1.6rem; font-size: 1.0625rem;
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); }
.topstrip { background: var(--navy); color: #fff; font-size: .8125rem; line-height: 1; max-height: 2.5rem; overflow: hidden; transition: max-height .25s ease; }
.topstrip .container { min-height: 2.25rem; }
.site-header.is-scrolled .topstrip { max-height: 0; }
.slogan { font-family: var(--font-display); font-weight: 600; font-size: .9rem; letter-spacing: .01em; }
.strip-contact { gap: 1.5rem; align-items: center; }
.strip-contact a, .strip-contact span, .strip-phone { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.9); text-decoration: none; }
.strip-contact a:hover, .strip-phone:hover { color: #fff; text-decoration: underline; }
.strip-phone { color: #fff; font-weight: 600; }

.navbar { --bs-navbar-padding-y: .55rem; position: relative; }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.navbar-brand img { height: 44px; width: auto; display: block; }
.navbar .nav-link { font-weight: 600; font-size: .95rem; color: var(--ink); padding: .65rem .7rem; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible { color: var(--beacon-text); }
@media (min-width: 1200px) {
  .navbar .nav-link.active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--beacon); }
  .navbar .dropdown-toggle.active::after { border: 0; margin: 0; vertical-align: 0; }
}
.navbar .nav-link.active { color: var(--ink); }
.navbar .dropdown-toggle::after { margin-left: .35em; border-width: .28em .28em 0; }
.navbar-toggler { border: 1.5px solid var(--navy); border-radius: var(--radius); padding: .5rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(212,92,25,.3); }
.toggler-bars, .toggler-bars::before, .toggler-bars::after { display: block; width: 1.4rem; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.toggler-bars { position: relative; }
.toggler-bars::before, .toggler-bars::after { content: ""; position: absolute; left: 0; }
.toggler-bars::before { top: -7px; }
.toggler-bars::after { top: 7px; }
.navbar-toggler:not(.collapsed) .toggler-bars { background: transparent; }
.navbar-toggler:not(.collapsed) .toggler-bars::before { transform: translateY(7px) rotate(45deg); }
.navbar-toggler:not(.collapsed) .toggler-bars::after { transform: translateY(-7px) rotate(-45deg); }

.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(12,29,62,.35); padding: .5rem; --bs-dropdown-link-active-bg: var(--navy); --bs-dropdown-link-hover-bg: var(--chart); }
.dropdown-item { border-radius: 4px; padding: .5rem .8rem; font-weight: 500; white-space: normal; }
/* Resources (and any other simple, non-mega) dropdown: size the menu to its longest item so every link stays on one line. */
@media (min-width: 1200px) {
  .navbar .dropdown-menu:not(.mega) { width: max-content; min-width: 100%; }
  .navbar .dropdown-menu:not(.mega) .dropdown-item { white-space: nowrap; }
}
.dropdown-item:active { background: var(--navy); }
.mega-title { font-family: var(--font-display); font-weight: 700; color: var(--slate); font-size: .9rem; padding: .25rem .8rem .4rem; margin: 0; }
.mega-all { display: inline-flex; align-items: center; gap: .4rem; margin: .5rem .8rem .35rem; font-weight: 700; color: var(--beacon-text); text-decoration: none; }
.mega-all:hover { text-decoration: underline; }
@media (min-width: 1200px) {
  .has-mega { position: static; }
  .navbar .has-mega .dropdown-menu.mega { left: 50%; right: auto; transform: translateX(-50%); width: min(960px, calc(100vw - 2rem)); padding: 1.25rem 1.25rem 1rem; margin-top: .35rem; }
  .mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
}
@media (max-width: 1199.98px) {
  .navbar-collapse { padding: .75rem 0 1.25rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .navbar .nav-link { padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .dropdown-menu { box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 .5rem .25rem; }
  .mega-grid { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/contours.svg") center / cover no-repeat; opacity: .07; }
.hero-copy .crumbs { margin-bottom: 1.5rem; }
.hero-slogan { color: var(--beacon-light); font-weight: 600; font-size: 1.0625rem; margin-bottom: .9rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.25rem; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative;
  z-index: 45;}
.hero-actions .btn-lg { padding: .85rem 1.25rem; font-size: 1rem; }
.hero--about .hero-sub { max-width: 38rem; }

.hero-person-photo img {
  object-position: bottom;
  height: 550px;
  width: 100%;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.4));
  object-fit: contain;
}
.hero-portrait-role{
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brass)!important;
  line-height: 1.3;
}
.hero-person::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,rgba(18, 12, 12, 0.52) 20%, rgba(0, 0, 0, 0) 38%);
  z-index: 1;
}
.hero-person-name {
  margin: 0rem;
  white-space: nowrap;
  font-size: 1.5rem;
}
.hero-person-name a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.hero-person-licenses li {
  font-size: 1rem;
  line-height: 1.55;
  color: #AEC0D3;
  position: relative;
  padding-left: 11px;
}
.hero figcaption { 
  position: absolute;
  z-index: 145;
  bottom: 10px;
  margin-left: 100px;
}

.hero-people { display: flex; align-items: flex-end; gap: clamp(.75rem, 2.2vw, 1.75rem); }
.person { flex: 1 1 0; min-width: 0; margin: 0; }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.person figcaption { position: relative; margin-top: -3.25rem; }
.person-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.015em; color: #fff; text-decoration: none; line-height: 1.15; }
.person-name:hover { color: var(--beacon-light); text-decoration: underline; }
.person-role { display: block; color: var(--beacon-light); font-weight: 600; font-size: 1rem; margin-top: .15rem; }
.lic-list { list-style: none; padding: 0; margin: .7rem 0 0; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.8); }
.lic-list span { color: #fff; font-weight: 600; }
.person--second { margin-top: clamp(2rem, 6vw, 5rem); }

/* ---------- homepage hero: portrait split ---------- */
.hero-home { padding-top: clamp(0rem, 0vw, 0rem); padding-bottom: 0; }
.hero-home-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "left right"; gap: clamp(1rem, 4vw, 1rem) 1rem; align-items: start; }
.hero-home-copy {position: relative; grid-area: copy; text-align: center; display: flex; flex-direction: column; align-items: center;width: 300%;
  left: -100%; }
.hero-home-copy .hero-slogan { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.1875rem); color: rgba(255,255,255,.88); margin-bottom: .75rem; }
.hero-home-copy h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.16; letter-spacing: -.008em; max-width: 19ch; margin-bottom: 1.1rem; }
.hero-home-copy .hero-sub { font-family: var(--font-body); font-size: clamp(1.0625rem, 1.1vw, 1.1875rem); color: rgba(255,255,255,.85); max-width: 34rem; margin-bottom: 1.6rem; }
.hero-home-copy .hero-actions { justify-content: center; }
.hero-portrait { position: relative; margin: 0; }
.hero-portrait--left { grid-area: left; }
.hero-portrait--right { grid-area: right; }

.hero-portrait-img img { width: 100%; height: 100%; object-fit:contain; display: block; position: relative;
  bottom: -150px;}
.hero-portrait figcaption { margin-top: .85rem; text-align: left; }

.hero-portrait-name { display: block; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: #fff; text-decoration: none; margin-bottom: .5rem; }
.hero-portrait-name:hover { color: var(--gold-light); text-decoration: underline; }
.hero-portrait-lic { list-style: none; margin: 0; padding: 0; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.88); }
.hero-portrait-lic li { position: relative; padding-left: .95rem; }
.hero-portrait-lic li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.btn-gold { background: var(--gold); color: #fff; border: 1px solid var(--gold); border-radius: 999px; }
.btn-gold:hover { background: #B87B22; border-color: #B87B22; color: #fff; }
.hero-home .btn-line-light { border-radius: 999px; }
.hero-person.hero-person-left,.hero-person-right{
  margin: 0px;
}
@media (min-width: 992px) {
  .hero-home { padding-bottom: 0; }
  .hero-home-grid { grid-template-columns: minmax(220px, 1fr) minmax(250px, 300px) minmax(220px, 1fr); grid-template-areas: "left copy right"; align-items: stretch; column-gap: clamp(1rem, 3vw, 2.5rem); row-gap: 0; min-height: clamp(560px, 68vh, 740px); max-width: 90%; margin-inline: auto; }
  .hero-home-copy { justify-content: center; padding-block: 0rem; }
  .hero-portrait { height: 100%; }
  .hero-portrait-img { height: 120%; aspect-ratio: auto; border-radius: 0; position: relative;
    top: -150px;}
  .hero-portrait figcaption { position: absolute; inset: auto 0 0 0; margin: 0; padding: clamp(1.5rem, 3vw, 2.75rem); }
  .hero-portrait--right figcaption { text-align: left; }
}
.person--solo .person-photo { aspect-ratio: 4 / 4.6; }
.hero--about .person--solo { max-width: 26rem; margin-left: auto; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero .person { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .person--lead { animation-delay: .2s; }
  .hero .person--second, .hero .person--solo { animation-delay: .34s; }
}

/* ---------- trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.trust-list li { flex: 1 1 16rem; display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1.1rem 1.25rem; font-weight: 600; font-size: .9875rem; text-align: left; border-left: 1px solid var(--line); }
.trust-list li:first-child { border-left: 0; }
.trust-list .ico { color: var(--navy-3); }
@media (max-width: 991.98px) { .trust-list li { flex-basis: 100%; justify-content: flex-start; border-left: 0; border-top: 1px solid var(--line); } .trust-list li:first-child { border-top: 0; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.section--chart { background: var(--chart); }
.section--navy { background: var(--navy); color: #fff; position: relative; isolation: isolate; }
.section--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/contours.svg") center / cover no-repeat; opacity: .06; }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--slate); font-size: 1.1875rem; margin: .8rem 0 0; }
.section-head--light p { color: rgba(255,255,255,.82); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- rates ---------- */
.rates-wrap { background: #fff; border: 1px solid var(--line); padding: 1.25rem 1.5rem 1.5rem; }
.rates-meta { font-size: .875rem; color: var(--slate); margin-bottom: .5rem; font-weight: 500; }
.rates-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates-table th, .rates-table td { padding: .95rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.rates-table thead th { font-size: .875rem; font-weight: 600; color: var(--slate); border-bottom: 2px solid var(--navy); }
.rates-table tbody th { font-weight: 600; }
.rates-table td { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.rates-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- service tiles ---------- */
.tile-row + .tile-row { margin-top: 2.5rem; }
.row-label { font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--slate); margin-bottom: .7rem; }
.tile-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: .95rem; padding: 1.5rem 1.25rem 1.6rem; min-height: 9.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: background-color .18s, color .18s; }
.tile-icon { display: inline-flex; color: var(--navy-3); transition: color .18s; }
.tile-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; }
.tile-blurb { font-size: .9375rem; line-height: 1.5; color: var(--slate); transition: color .18s; }
.tile:hover, .tile:focus-visible { background: var(--navy); color: #fff; }
.tile:hover .tile-icon, .tile:focus-visible .tile-icon { color: var(--beacon); }
.tile:hover .tile-blurb, .tile:focus-visible .tile-blurb { color: rgba(255,255,255,.82); }
.tile:focus-visible { outline-offset: -3px; }
@media (max-width: 1199.98px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } .tile { padding: 1.15rem 1rem; min-height: 8.25rem; } .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- why local ---------- */
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.012em; margin-bottom: .2rem; }
.why-list span { color: var(--slate); }

/* ---------- journey route ---------- */
.route { list-style: none; margin: 3.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.route-line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 33px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 15px); }
.route-line span { display: block; height: 100%; width: 0; background: var(--beacon); transition: width 1.7s cubic-bezier(.65, 0, .35, 1); }
.route.is-in .route-line span { width: 100%; }
.stop { position: relative; text-align: center; padding: 0 .6rem; }
.stop-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.35); color: #fff; transition: border-color .35s, color .35s; transition-delay: calc((var(--i) - 1) * .3s); }
.route.is-in .stop-icon { border-color: var(--beacon); color: var(--beacon-light); }
.stop-step { display: block; font-size: .8125rem; font-weight: 600; color: var(--beacon-light); margin-bottom: .15rem; }
.stop-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
@media (max-width: 991.98px) { .stop { padding: 0 .25rem; } .stop-label { font-size: 1.05rem; } .stop-icon { width: 60px; height: 60px; } .route-line { top: 29px; } }
@media (max-width: 767.98px) {
  .route { grid-template-columns: 1fr; row-gap: 1.75rem; margin-top: 2.25rem; }
  .route-line { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.3) 0 8px, transparent 8px 15px); }
  .route-line span { width: 100%; height: 0; transition-property: height; }
  .route.is-in .route-line span { width: 100%; height: 100%; }
  .stop { display: grid; grid-template-columns: 60px 1fr; column-gap: 1.1rem; align-items: center; text-align: left; padding: 0; }
  .stop-icon { grid-row: 1 / 3; margin: 0; }
  .stop-step { align-self: end; }
  .stop-label { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .route-line span { transition: none; width: 100%; height: 100%; }
  .stop-icon { transition: none; border-color: var(--beacon); color: var(--beacon-light); }
}

/* ---------- reviews ---------- */
.rv-controls { display: flex; gap: .5rem; }
.rv-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 50%; transition: background-color .15s, color .15s; }
.rv-btn:hover { background: var(--navy); color: #fff; }
.rv-viewport { overflow: hidden; margin-inline: -.75rem; }
.rv-track { display: flex; will-change: transform; }
.rv-slide { flex: 0 0 calc(100% / var(--n, 3)); padding: 0 .75rem; display: flex; }
.rv-card { margin: 0; width: 100%; border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.rv-stars { color: var(--beacon); letter-spacing: .14em; font-size: 1.05rem; line-height: 1; }
.rv-card blockquote { margin: .9rem 0 1.1rem; font-size: 1.125rem; line-height: 1.6; }
.rv-card blockquote p { margin: 0; }
.rv-card figcaption strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.rv-card figcaption span { color: var(--slate); font-size: .9375rem; }
.rv-wall { column-count: 3; column-gap: 2rem; }
.rv-wall .rv-card { break-inside: avoid; margin-bottom: 2.25rem; }
@media (max-width: 991.98px) { .rv-wall { column-count: 2; } }
@media (max-width: 639.98px) { .rv-wall { column-count: 1; } }

/* ---------- row links & guide cards ---------- */
.row-links { border-top: 1px solid var(--line); }
.row-link { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row-link-ico { color: var(--navy-3); }
.row-link-text { flex: 1; }
.row-link-text strong { display: block; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.012em; line-height: 1.2; }
.row-link-text span { color: var(--slate); font-size: .9875rem; }
.row-arrow { color: var(--beacon-text); transition: transform .18s; }
.row-link:hover .row-arrow, .row-link:focus-visible .row-arrow { transform: translateX(4px); }
.row-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.guide-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.25rem; }
.guide-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-content: start; padding: 1.75rem; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .18s, background-color .18s; }
.guide-card .tile-icon { grid-row: 1 / span 3; }
.guide-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.guide-card p { margin: 0 0 .9rem; color: var(--slate); font-size: 1rem; }
.guide-card .text-link { grid-column: 2; }
.guide-card:hover { border-color: var(--navy); }
.guide-card--wide { height: 100%; }
.guide-card--wide p { margin: 0; }
.guide-card--lead { grid-row: span 3; grid-template-columns: 1fr; background: var(--navy); border-color: var(--navy); color: #fff; padding: clamp(1.75rem, 3vw, 2.75rem); align-content: end; min-height: 22rem; position: relative; isolation: isolate; overflow: hidden; }
.guide-card--lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/contours.svg") center / cover; opacity: .09; }
.guide-card--lead .tile-icon { grid-row: auto; color: var(--beacon); margin-bottom: auto; }
.guide-card--lead .tile-icon .ico-lg { width: 2.75rem; height: 2.75rem; }
.guide-card--lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 3rem; }
.guide-card--lead p { color: rgba(255,255,255,.85); font-size: 1.125rem; }
.guide-card--lead .text-link { grid-column: 1; color: var(--beacon-light); }
.guide-card--lead:hover { background: var(--navy-2); }
@media (max-width: 991.98px) { .guide-grid { grid-template-columns: 1fr; } .guide-card--lead { grid-row: auto; min-height: 16rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--beacon); color: var(--navy); padding-block: clamp(3rem, 6vw, 4.75rem); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .8rem; }
.cta-band p { font-size: 1.25rem; font-weight: 700; line-height: 1.45; margin: 0; max-width: 44ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
@media (min-width: 992px) { .cta-actions { align-items: flex-end; } }
.cta-phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--navy); font-weight: 700; font-size: 1.2rem; }
.cta-phone:hover { color: #fff; }
.cta-band :focus-visible { outline-color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; font-size: .9875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 1.1rem; line-height: 1.35; }
.footer-brand img { flex: none; width: 84px; height: 84px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.015em; }
.brokerage { color: rgba(255,255,255,.7); font-size: .875rem; }
.site-footer address { line-height: 1.75; margin: 0; }
.footer-h { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: 1rem; }
.footer-links li { padding: .22rem 0; }
.footer-lic dt { color: #fff; font-weight: 600; margin-top: .6rem; }
.footer-lic dd { margin: 0 0 .5rem; }
.socials { display: flex; gap: .6rem; }
.social { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.social:hover { background: #fff; color: var(--navy) !important; text-decoration: none !important; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .8125rem; color: rgba(255,255,255,.7); }
.footer-base p { margin: 0; max-width: none; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--chart); border-bottom: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 1.1rem; }
.page-hero .hero-sub { color: var(--slate); font-size: 1.2rem; margin-bottom: 1.25rem; max-width: 44rem; }
.hero-icon { display: inline-grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 1.25rem; }
.crumbs { --bs-breadcrumb-divider-color: var(--logo-grey); --bs-breadcrumb-item-active-color: var(--slate); font-size: .875rem; margin-bottom: 1.75rem; }
.crumbs a { color: var(--slate); }
.crumbs--light { --bs-breadcrumb-divider-color: rgba(255,255,255,.55); --bs-breadcrumb-item-active-color: rgba(255,255,255,.85); }
.crumbs--light a { color: rgba(255,255,255,.85); }
.reviewed { display: inline-flex; align-items: center; gap: .4rem; color: var(--slate); font-weight: 600; font-size: .9375rem; margin: 0; }
.reviewed .ico-sm { color: var(--beacon-text); }

/* ---------- content pages ---------- */
.content-main .block { margin-bottom: 3rem; }
.content-main .block > h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.15rem; }
.steps, .journey-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; }
.steps li, .journey-steps li { counter-increment: st; position: relative; padding: 0 0 1.5rem 3.5rem; }
.steps li { font-size: 1.125rem; line-height: 1.55; padding-top: .3rem; }
.steps li::before, .journey-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.steps li::after, .journey-steps li::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.7rem; bottom: .2rem; width: 2px; background: var(--line); }
.steps li:last-child, .journey-steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after, .journey-steps li:last-child::after { display: none; }
.journey-steps h3 { font-size: 1.3rem; margin: .2rem 0 .3rem; }
.journey-steps p { margin: 0; color: var(--slate); }

.points, .checklist { list-style: none; padding: 0; margin: 0; }
.points li { position: relative; padding: .55rem 0 .55rem 1.75rem; font-size: 1.125rem; line-height: 1.55; max-width: 62ch; }
.points li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 1rem; height: 2px; background: var(--beacon); }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; font-size: 1.125rem; }
.checklist .ico-sm { margin-top: .4rem; color: var(--beacon-text); }
.defs dt { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.012em; margin-top: 1.25rem; }
.defs dt:first-child { margin-top: 0; }
.defs dd { margin: .25rem 0 0; font-size: 1.125rem; max-width: 62ch; }

.callout { border-left: 4px solid var(--beacon); background: var(--chart); padding: 1.25rem 1.5rem; margin-bottom: 3rem; }
.callout strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: .25rem; }
.callout p { margin: 0; }
.example { border: 1.5px dashed var(--logo-grey); padding: 1.25rem 1.5rem; margin-bottom: 3rem; }
.example-tag { display: block; font-weight: 700; font-size: .875rem; color: var(--slate); margin-bottom: .5rem; }
.example p { margin: 0; font-size: 1.125rem; }

.related-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.related-list a .ico-sm { color: var(--beacon-text); transition: transform .18s; }
.related-list a:hover { color: var(--beacon-text); }
.related-list a:hover .ico-sm { transform: translateX(4px); }

.guide-tag { display: inline-block; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 600; padding: .2rem .65rem; border-radius: 3px; margin-bottom: .7rem; }
.caps-table { width: 100%; border-collapse: collapse; }
.caps-table th, .caps-table td { padding: 1rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.caps-table tr:first-child > * { border-top: 2px solid var(--navy); }
.caps-table th { font-weight: 600; font-size: 1.0625rem; }
.caps-table td { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; text-align: right; }
.source { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .9375rem; color: var(--slate); }

.aside-sticky { position: sticky; top: 7rem; }
.aside-panel { border: 1px solid var(--line); padding: 1.5rem; margin-bottom: 1.25rem; background: #fff; }
.aside-panel h2 { font-size: 1.25rem; letter-spacing: -.012em; margin-bottom: .75rem; }
.aside-panel p { font-size: .9875rem; }
.aside-panel--contact { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-panel--contact p { color: rgba(255,255,255,.85); }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .9rem; color: #fff; font-weight: 700; text-decoration: none; }
.aside-phone:hover { text-decoration: underline; color: #fff; }
.aside-panel--list ul { max-height: min(62vh, 34rem); overflow-y: auto; }
.aside-panel--list a { display: block; padding: .38rem 0; color: var(--ink); text-decoration: none; font-size: .9875rem; line-height: 1.35; }
.aside-panel--list a:hover { color: var(--beacon-text); text-decoration: underline; }
.aside-panel--list a[aria-current] { font-weight: 700; color: var(--beacon-text); }
@media (max-width: 991.98px) { .aside-sticky { position: static; } }

/* ---------- FAQ accordion ---------- */
.faq { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1D3E' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M12 5v14M5 12h14'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9450D' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M5 12h14'/%3e%3c/svg%3e"); }
.faq .accordion-item { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq .accordion-item:last-child { border-bottom: 1px solid var(--line); }
.faq .accordion-header { font-size: inherit; margin: 0; }
.faq .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; padding: 1.2rem .25rem; background: transparent; color: var(--ink); box-shadow: none; border-radius: 0; gap: 1rem; }
.faq .accordion-button:not(.collapsed) { background: transparent; color: var(--ink); box-shadow: none; }
.faq .accordion-button::after { transform: none; width: 1.25rem; height: 1.25rem; background-size: 1.25rem; margin-left: auto; flex: none; }
.faq .accordion-button:not(.collapsed)::after { transform: none; }
.faq .accordion-button:focus-visible { outline: 3px solid var(--beacon); outline-offset: -3px; }
.faq .accordion-body { padding: 0 2.5rem 1.4rem .25rem; font-size: 1.125rem; color: var(--slate); max-width: 62ch; }
.faq-group { margin-top: 2.75rem; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { margin-bottom: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.chip { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9875rem; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--chart); }
.chip.is-active { background: var(--navy); color: #fff; }

/* ---------- glossary ---------- */
.gloss-search { border-radius: var(--radius); border: 1.5px solid var(--navy); padding: .85rem 1.1rem; }
.gloss-count { color: var(--slate); font-size: .9375rem; margin: .75rem 0 1.5rem; }
.glossary { margin: 0; }
.gloss-item { display: grid; grid-template-columns: 14rem 1fr; gap: .5rem 2rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.gloss-item:last-child { border-bottom: 1px solid var(--line); }
.gloss-item dt { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.012em; }
.gloss-item dd { margin: 0; font-size: 1.125rem; max-width: 60ch; }
.gloss-item[hidden], .faq-group[hidden] { display: none; }
.empty-state, .empty-panel { border: 1.5px dashed var(--logo-grey); padding: 1.5rem 1.75rem; }
.empty-panel p, .empty-state { margin: 0; }
.empty-panel h2 { margin-bottom: .4rem; }
@media (max-width: 767.98px) { .gloss-item { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.prose p { max-width: 60ch; }
.table-scroll { overflow-x: auto; }
.lic-table { width: 100%; border-collapse: collapse; background: #fff; }
.lic-table caption { caption-side: top; color: var(--slate); padding: 0 0 .75rem; font-weight: 500; }
.lic-table th, .lic-table td { padding: .95rem 1.1rem; border: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.lic-table thead th { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.lic-table tbody th { font-weight: 600; background: #fff; }
.bio h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.25rem; }
.bio-role { color: var(--beacon-light); font-weight: 600; margin: .15rem 0 .8rem; }
.bio p { color: rgba(255,255,255,.86); }
.person--bio .person-photo { aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.lic-list--inline { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: 0 0 1rem; font-size: .9rem; }

/* ---------- calculators ---------- */
.calc-tabs { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.calc-tab { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.25; transition: background-color .15s, color .15s; }
.calc-tab:last-child { border-bottom: 0; }
.calc-tab .ico { color: var(--navy-3); }
.calc-tab:hover { background: var(--chart); }
.calc-tab.active { background: var(--navy); color: #fff; }
.calc-tab.active .ico { color: var(--beacon); }
@media (max-width: 991.98px) { .calc-tabs { flex-direction: row; overflow-x: auto; } .calc-tab { flex: none; border-bottom: 0; border-right: 1px solid var(--line); white-space: nowrap; } }
.calc-panes { border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.25rem); background: #fff; }
.calc-panes > .tab-pane > .h-sm { margin-bottom: 1.5rem; }
.form-label { font-weight: 600; font-size: .9875rem; margin-bottom: .35rem; }
.form-control, .form-select, .input-group-text { border-color: #B9C5D6; border-radius: var(--radius); padding: .65rem .85rem; }
.input-group > .form-control { border-radius: 0; }
.input-group > .form-control:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.input-group > .form-control:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.input-group > .input-group-text:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.input-group > .input-group-text:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.input-group-text { background: var(--chart); color: var(--slate); font-weight: 600; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .25rem rgba(212,92,25,.28); }
.form-text { color: var(--slate); }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.opt { font-weight: 400; color: var(--slate); }
.res-panel { background: var(--chart); padding: 1.5rem; height: 100%; }
.res { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.res-label { color: var(--slate); font-weight: 500; font-size: .9875rem; }
.res-value { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.res--big { display: block; padding: 0 0 1rem; margin-bottom: .4rem; border-bottom: 2px solid var(--navy); }
.res--big .res-label { display: block; margin-bottom: .3rem; }
.res--big .res-value { display: block; text-align: left; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.025em; color: var(--navy); }
.res-panel .fine-print { margin: 1rem 0 0; }
.dp-msg { margin: .9rem 0 0; font-weight: 600; }
.dp-msg.is-warn { color: #9A2A0B; }
.dp-msg.is-ok { color: #1B5E3B; }

/* ---------- contact ---------- */
.contact-form { background: #fff; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: #B9C5D6; background-image: none; padding-right: .85rem; }
.was-validated .form-select:valid { background-image: var(--bs-form-select-bg-img); padding-right: 2.25rem; }
.was-validated .form-control:valid:focus, .was-validated .form-select:valid:focus { border-color: var(--navy); box-shadow: 0 0 0 .25rem rgba(212,92,25,.28); }
.form-success { border-left: 4px solid var(--beacon); background: var(--chart); padding: 1.5rem 1.75rem; }
.form-success p { margin: 0; }
.contact-list { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; color: var(--slate); }
.contact-list dt .ico { color: var(--navy-3); margin-top: .18rem; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { color: var(--ink); }
.lic-note { background: var(--chart); padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; font-size: .9875rem; }
.lic-note p { margin: 0 0 .4rem; }
.lic-note p:last-child { margin: 0; }
.map-wrap iframe { width: 100%; height: 26rem; border: 0; display: block; background: var(--chart); filter: saturate(.85); }

/* ---------- print ---------- */
@media print {
  .site-header, .cta-band, .site-footer, .aside-sticky { display: none !important; }
}

/* ---------- responsive fixes ---------- */
/* Bootstrap's .g-5 gutter (3rem) is wider than the container padding on phones, which pushes rows 12px past the viewport. */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
/* Long values (email addresses) must wrap inside the contact list instead of widening the page. */
.contact-list > div { grid-template-columns: 7rem minmax(0, 1fr); }
.contact-list dd, .contact-list a { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .contact-list > div { grid-template-columns: 1fr; gap: .35rem; } }
.btn-sm { padding: .45rem .85rem; font-size: .9375rem; }
@media (max-width: 420px) { .topstrip .slogan { font-size: .75rem; } }
.navbar-toggler { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.5rem; padding: 0; }
@media (max-width: 575.98px) { .navbar-brand { margin-right: .25rem; } .navbar-brand img { width: 142px; height: auto; } }

/* ---------- blog ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.blog-filter button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; padding: .5rem 1.05rem; border-radius: 999px; transition: background-color .15s, color .15s, border-color .15s; }
.blog-filter button:hover { border-color: var(--navy-3); }
.blog-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 991.98px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .18s, transform .18s, box-shadow .18s; }
.blog-card:hover, .blog-card:focus-visible { border-color: var(--navy-3); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(12,29,62,.1); color: var(--ink); }
.blog-card[hidden] { display: none; }
.blog-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy) url("../images/contours.svg") center / cover no-repeat; display: grid; place-items: center; color: #fff; isolation: isolate; }
.blog-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,59,120,.55), rgba(12,29,62,.15)); z-index: -1; }
.blog-thumb .ico-xl { width: 3.25rem; height: 3.25rem; color: var(--beacon-light); }
.blog-cat { position: absolute; left: 1rem; top: 1rem; background: var(--beacon); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 3px; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .875rem; color: var(--slate); margin-bottom: .7rem; }
.blog-card h2, .blog-card h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: .6rem; }
.blog-card p { color: var(--slate); font-size: 1rem; margin: 0 0 1.1rem; }
.blog-card .text-link { margin-top: auto; }
.blog-card--feature { grid-column: 1 / -1; flex-direction: row; }
.blog-card--feature .blog-thumb { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
.blog-card--feature .blog-body { justify-content: center; padding: 2rem 2.25rem; }
.blog-card--feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 767.98px) { .blog-card--feature { flex-direction: column; } .blog-card--feature .blog-thumb { flex: none; aspect-ratio: 16 / 9; min-height: 0; } .blog-card--feature .blog-body { padding: 1.4rem 1.5rem 1.6rem; } }
.blog-empty { display: none; }
.blog-empty.is-on { display: block; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--slate); margin: 0; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta .ico-sm { color: var(--beacon-text); }
.post-body > p:first-of-type { font-size: 1.1875rem; color: var(--slate); }
.post-body p { margin-bottom: 1.15rem; max-width: 66ch; }
.post-body h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin: 2.5rem 0 1rem; }
.post-body h3 { margin: 1.75rem 0 .6rem; }
.post-body ul, .post-body ol { max-width: 66ch; padding-left: 1.3rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: .5rem; }
.post-body .callout { margin: 2rem 0; }
.post-body .table-scroll { margin: 1.5rem 0 2rem; }
.post-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.75rem; }
.post-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.post-author strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.post-author span { color: var(--slate); font-size: .9375rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.post-nav a { display: block; border: 1px solid var(--line); padding: 1rem 1.25rem; text-decoration: none; color: var(--ink); border-radius: var(--radius); transition: border-color .15s; }
.post-nav a:hover { border-color: var(--navy-3); }
.post-nav small { display: block; color: var(--beacon-text); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; margin-bottom: .2rem; }
.post-nav a:last-child { text-align: right; }
.post-nav a:only-child { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .post-nav { grid-template-columns: 1fr; } .post-nav a:last-child { text-align: left; } }
