/* Royal Capital Solutions, v2: home page
   Loads after hero-template.css, which holds the hero, header frame and
   sticky bar. Everything here is the rest of the page. Quiet by design: light surfaces,
   hairlines and small type, with deep green kept for three moments.

   CONTENTS: 1 header panels · 2 phone menu · 3 frame · 4 reason finder ·
   5 programs · 6 statement · 7 comparison · 8 steps · 9 stories · 10 South Florida ·
   11 Robert · 12 FAQ · 13 index · 14 close · 15 footer · 16 reviews ticker · Lenis
   ============================================================ */

/* The hero glow fades out behind the trust strip instead of stopping at it */
.hx::before {
    bottom: -24rem; opacity: 0.45;
    background:
        radial-gradient(60rem 42rem at 92% 8%, rgb(91 196 138 / 0.34), transparent 70%),
        radial-gradient(44rem 30rem at 100% calc(100% - 24rem), rgb(34 165 91 / 0.42), transparent 70%);
}

/* 1. HEADER PANELS ============================================ */
.nav-list { align-items: center; }
.nav-trigger {
    display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem;
    padding: 0 var(--s-2); border: 0; border-radius: var(--r-control); background: none;
    color: var(--text-2); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap;
    transition: color var(--t-ui) var(--ease);
}
.nav-trigger .ic { transform: rotate(90deg); transition: transform var(--t-ui) var(--ease); }
.nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav-trigger[aria-expanded="true"] .ic { transform: rotate(-90deg); }
.nav-item-drop { position: relative; }
.nav-cta, .nav-m { display: none; }

.mega, .drop { background: var(--surface); box-shadow: var(--shadow-2); border-radius: var(--r-card); }
.mega {
    position: absolute; top: 100%; inset-inline: var(--edge);
    display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--s-2);
    max-height: calc(100vh - var(--hdr-h) - var(--edge)); overflow-y: auto; overscroll-behavior: contain;
    max-height: calc(100svh - var(--hdr-h) - var(--edge)); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--s-2);
}
.mega[hidden], .drop[hidden] { display: none; }
.mega-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); padding: var(--s-4); }
.mega-group > summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
    margin-bottom: var(--s-1); padding-inline: var(--s-2);
    list-style: none; pointer-events: none;
    color: var(--text-brand); font-size: var(--fs-xs); font-weight: 600;
}
.mega-group > summary::-webkit-details-marker { display: none; }
.mega-group > summary .ic { display: none; }
.navgroup .mega-links, .navgroup .drop-links { display: grid; gap: var(--s-1); }
.navgroup .mega-links a { display: flex; min-height: 2rem; padding-inline: var(--s-2); font-size: var(--fs-xs); white-space: normal; }
.navgroup .mega-links .mega-all { color: var(--text-brand); font-weight: 600; }
.mega .mega-feature { min-height: 0; justify-content: flex-end; gap: var(--s-3); padding: var(--s-5); }
.navgroup .mega-feature .btn { width: 100%; justify-content: center; min-height: 3rem; color: var(--text); font-size: var(--fs-sm); font-weight: 600; white-space: normal; }

.drop { position: absolute; top: 100%; inset-inline-start: 0; width: 22rem; padding: var(--s-2); }
.mega-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s-2); min-width: 0; }
.navgroup .mega-calc { display: grid; gap: 2px; min-height: 2.75rem; padding: var(--s-3) var(--s-4); border-radius: var(--r-control); background: var(--surface-mint); color: var(--text); white-space: normal; }
.mega-calc strong { font-size: var(--fs-sm); font-weight: 500; }
.mega-calc span { font-size: var(--fs-xs); line-height: 1.4; color: var(--text-2); }

.navgroup .drop-links a { display: grid; gap: 2px; min-height: 2.75rem; align-content: center; padding: var(--s-2) var(--s-3); white-space: normal; color: var(--text); }
.drop-links strong { font-size: var(--fs-sm); font-weight: 500; }
.drop-links span { font-size: var(--fs-xs); line-height: 1.4; color: var(--text-2); }

@media (hover: hover) and (pointer: fine) {
    .nav-trigger:hover { color: var(--text); }
    .navgroup .mega-links a:hover, .navgroup .drop-links a:hover { background: var(--surface-mint); }
}
@media (prefers-reduced-motion: no-preference) {
    .mega:not([hidden]), .drop:not([hidden]) { animation: hm-panel var(--t-ui) var(--ease); }
    @keyframes hm-panel { from { opacity: 0; } }
}

/* 2. PHONE MENU ===============================================
   Fills the screen below the header. Same content and order; each
   loan group folds out. Absolute, not fixed: the header's backdrop
   filter makes it the containing block for fixed children.        */
@media (max-width: 63.99rem) {
    html.menu-open { overflow: hidden; }
    .hdr.full .navgroup.is-open {
        inset: 100% 0 auto; height: calc(100dvh - var(--hdr-h)); margin: 0;
        padding: var(--s-2) var(--edge) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
        border-radius: 0; box-shadow: none;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .navgroup.is-open .nav-list { align-items: stretch; }
    .nav-item-drop { position: static; }
    .nav-trigger { display: flex; justify-content: space-between; width: 100%; min-height: 3.25rem; padding-inline: var(--s-3); font-size: var(--fs-base); color: var(--text); }
    .navgroup.is-open .nav-item > a { min-height: 3.25rem; color: var(--text); }
    .mega, .drop { position: static; display: block; width: auto; max-height: none; overflow: visible; padding: 0 0 var(--s-2); box-shadow: none; border-radius: 0; }
    .mega-groups { display: block; padding: 0; }
    .mega-group > summary { min-height: 2.75rem; margin: 0; padding-inline: var(--s-3); pointer-events: auto; font-size: var(--fs-sm); }
    .mega-group > summary .ic { display: block; transform: rotate(90deg); }
    .mega-group[open] > summary .ic { transform: rotate(-90deg); }
    .navgroup.is-open .mega-links a { min-height: 2.75rem; padding-inline: var(--s-5); font-size: var(--fs-sm); }
    .navgroup.is-open .drop-links a { display: grid; font-size: var(--fs-sm); padding: var(--s-2) var(--s-3); }
    .mega-side { display: block; }
    .mega-feature { margin-top: var(--s-2); }
    .navgroup.is-open .mega-calc { display: grid; margin-top: var(--s-2); padding-inline: var(--s-4); font-size: var(--fs-sm); }
    .navgroup.is-open .nav-m { display: block; }
    .navgroup.is-open .nav-cta { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
    .navgroup.is-open .nav-cta a { justify-content: center; font-size: var(--fs-sm); }
    .navgroup.is-open .nav-cta .btn-primary { color: var(--on-action); }
    .navgroup.is-open .nav-cta .btn-secondary { color: var(--text); }
}

/* 3. FRAME ====================================================
   The hero and trust strip stay edge to edge. Sections below take a
   page margin of about 50px at 1280 up to 200px at 2560. Light and quiet: type
   does the work, hairlines carry structure, and the deep green is
   kept for the hero, the map and the close.                        */
:root {
    --page: clamp(0.75rem, calc((100vw - 48rem) * 0.1 + 1rem), 12.5rem);
    --sec-gap: clamp(var(--s-16), 2.5rem + 5vw, 7.5rem);
}
.hm-sec { padding: var(--sec-gap) var(--page) 0; }
/* A page that ends on a content block (not the closing tile, whose margin already spaces it) keeps clear space above the footer */
main > .hm-sec:last-child:not([data-final]) { padding-bottom: var(--sec-gap); }
.hm-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-8); }
.hm-title { font-size: clamp(1.875rem, 1.3rem + 1.7vw, 3rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.hm-lead { max-width: 44ch; font-size: var(--fs-base); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.tile-deep .hm-lead { color: var(--text-on-deep-2); }
.hm-micro { font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); }
.hm-call { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 2.75rem; width: fit-content; color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.hm-call .ic { color: var(--text-brand); }
@media (min-width: 64rem) {
    .hm-head-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); }
}

.hm-strip { padding-inline: var(--edge); margin-top: var(--s-2); }
.hm-strip dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line-strong); }
.hm-strip dl > div { display: grid; justify-items: center; align-content: center; gap: 2px; padding: var(--s-4); text-align: center; }
.hm-strip dt { font-size: var(--fs-xs); color: var(--text-3); }
.hm-strip dd { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; }
@media (min-width: 64rem) {
    .hm-strip dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hm-strip dl > div + div { border-inline-start: 1px solid var(--line); }
}

/* 4. REASON FINDER: the problem turns into the next step ========= */
.hm-two { display: grid; gap: var(--s-6); align-items: center; }
.hm-two .hm-head { margin-bottom: 0; justify-items: start; }
.hm-finder { padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hm-finder .chip span { white-space: normal; border-color: var(--line-strong); font-weight: 500; }
.hm-finder .finder-out { justify-items: start; min-height: 0; gap: var(--s-1); }
.hm-finder .finder-copy { display: grid; gap: var(--s-1); justify-self: stretch; overflow: clip; }
.hm-finder .btn { margin-top: var(--s-3); }
.hm-finder a.btn { color: var(--on-action); font-weight: 600; }
@media (min-width: 64rem) { .hm-two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-16); } }

/* 5. PROGRAMS: even rows, 7 + 5 then two rows of three. Every card is
   built the same way: a soft stage with the instrument running off its
   bottom edge, then the name and its links (the link cards below). */
.hm-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pc { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: box-shadow var(--t-ui) var(--ease); }
.pc-stage { display: flex; justify-content: center; height: 13rem; margin: var(--s-2) var(--s-2) 0; padding-top: var(--s-6); overflow: hidden; border-radius: var(--r-control); background: linear-gradient(180deg, #F3F6F3, var(--surface-mint)); }
.pc-stage img { flex: none; width: 21rem; max-width: none; height: auto; }
.pc-7, .pc-5 { grid-column: 1 / -1; }
@media (max-width: 47.99rem) {
    .pc:not(.pc-7, .pc-5) .pc-stage { height: 7rem; padding-top: var(--s-3); }
    .pc:not(.pc-7, .pc-5) .pc-stage img { width: 11rem; }
    .pc:not(.pc-7, .pc-5) .t-xs { display: none; }
}
@media (min-width: 48rem) {
    .hm-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .pc-7 { grid-column: span 7; }
    .pc-5 { grid-column: span 5; }
    .pc-4 { grid-column: span 4; }
}
@media (hover: hover) and (pointer: fine) {
    .pc:hover { box-shadow: inset 0 0 0 1px var(--text-brand); }
}

/* Link cards: the same bento, but each card holds a line of copy and
   keyword links, so the card itself isn't one link and has no hover */
.lc-bento { margin: 0; padding: 0; list-style: none; }
.lc-bento .pc { gap: var(--s-1); padding-bottom: var(--s-5); }
.lc-bento .pc > :not(.pc-stage) { margin-inline: var(--s-5); }
.lc-bento .pc > h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-4); }
.lc-bento .pc > p:not(.lc-links) { max-width: 46ch; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-2); }
.lc-bento .lc-links { padding-bottom: var(--s-2); }
@media (hover: hover) and (pointer: fine) { .lc-bento .pc:hover { box-shadow: inset 0 0 0 1px var(--line); } }
/* Cards in one row share a height: the illustration area takes up the slack, so the text and links stay tight and no card ends in a band of empty white */
@media (min-width: 48rem) { .lc-bento .pc-stage { flex: 1 0 13rem; height: auto; min-height: 13rem; } }
@media (max-width: 47.99rem) {
    .lc-bento .pc > :not(.pc-stage) { margin-inline: var(--s-3); }
    .lc-bento .pc > h3 { margin-top: var(--s-3); }
    .lc-bento .pc { padding-bottom: var(--s-4); }
    /* Cards hug their own content: no equal-height stretch, so a card with one loan has no hole */
    .hm-bento.lc-bento { align-items: start; }
}
/* Narrow phones and a folded cover screen: one card per row, so a loan name and its line never squeeze */
@media (max-width: 29.99rem) {
    .hm-bento.lc-bento { grid-template-columns: minmax(0, 1fr); }
    .lc-bento .pc:not(.pc-7, .pc-5) .pc-stage { height: 8.5rem; }
}
.lc-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin-top: auto; padding-top: var(--s-2); }
.lc-links a { position: relative; display: inline-flex; align-items: center; gap: var(--s-1); min-height: 1.75rem; color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
/* the tap area stays 44px tall, but invisible, so it adds no space around the link */
.lc-links a::after { content: ""; position: absolute; inset: -0.5rem -0.25rem; }
.lc-links .ic { color: var(--text-brand); }
/* Home "Start here" paths (D19): quiet direct links under the four goals, on the deep tile */
.hm-paths-more { margin: var(--s-6) 0 0; padding-top: 0; }
.tile-deep .lc-links a { color: var(--text-on-deep); }
.tile-deep .lc-links .ic { color: var(--text-lumen); }
/* Loan cards: each loan is a link with its one plain line under it. */
.lc-loans { display: grid; gap: var(--s-4) var(--s-5); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.lc-loans li { display: grid; align-content: start; gap: var(--s-1); }
.lc-loans a { position: relative; justify-self: start; color: var(--text); font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.lc-loans a::after { content: ""; position: absolute; inset: -0.75rem -0.25rem -0.25rem; }
.lc-loans a .ic { display: inline-block; margin-left: var(--s-1); vertical-align: -0.125em; }
.lc-loans .ic { color: var(--text-brand); }
.lc-loans span { font-size: var(--fs-xs); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
/* wide cards: two loans side by side; a single loan keeps the full width */
@media (min-width: 48rem) { .pc-7 .lc-loans, .pc-5 .lc-loans { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }

/* 6. STATEMENT ==================================================== */
.hm-statement { padding-block: var(--s-10); border-block: 1px solid var(--line-strong); font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.hm-statement span { color: var(--text-3); }

/* 7. COMPARISON SHEET: hairlines, no container ==================== */
.hm-compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.4; }
.hm-compare th, .hm-compare td { padding: var(--s-4) var(--s-5); text-align: start; vertical-align: middle; font-weight: 400; }
.hm-compare th:first-child { padding-inline-start: 0; }
.hm-compare thead th { font-weight: 500; color: var(--text); }
.hm-compare tbody tr { border-top: 1px solid var(--line-strong); }
.hm-compare tbody tr:last-child { border-bottom: 1px solid var(--line-strong); }
.hm-compare td { color: var(--text-2); }
.hm-compare td .ic { color: var(--text-3); }
.hm-compare td:last-child { color: var(--text); font-weight: 500; }
.hm-compare td:last-child .ic { color: var(--text-brand); }
.hm-compare tr > :last-child { background: var(--surface); }
@media (min-width: 64rem) { .hm-compare th, .hm-compare td { width: 30%; } .hm-compare th:first-child { width: 40%; } }
@media (max-width: 47.99rem) {
    .hm-compare thead { display: none; }
    .hm-compare, .hm-compare tbody, .hm-compare tr, .hm-compare th, .hm-compare td { display: block; width: auto; }
    .hm-compare tbody tr { padding-block: var(--s-3); }
    .hm-compare th, .hm-compare td { padding: var(--s-1) 0; }
    .hm-compare tbody th { font-weight: 500; }
    .hm-compare td { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
    .hm-compare tr > :last-child { background: none; }
    .hm-compare td::before { content: attr(data-label); font-size: var(--fs-xs); font-weight: 400; color: var(--text-2); }
}

/* 8. STEPS ======================================================== */
/* One ruled panel of cells, one hairline between neighbours. Each cell:
   a mono label at the top, the title anchored low with a short rule under
   it, then the plain line. Four steps: one column on a phone, two by two
   from tablet (beside the Robert card on service pages), four across on
   the wide home page. Cell lines are each cell's own top and left edge,
   so an odd count never leaves a stray line. */
.hm-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hm-steps li { display: flex; flex-direction: column; min-width: 0; padding: var(--card-pad); box-shadow: -1px -1px 0 0 var(--line-strong); }
.hm-steps .hm-micro { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: var(--tr-mono); text-transform: uppercase; color: var(--text-3); }
.hm-steps h3 { display: flex; flex-direction: column; justify-content: flex-end; margin: 0; padding-top: var(--s-10); font-size: var(--fs-xl); font-weight: 500; line-height: var(--lh-tight); letter-spacing: var(--tr-head); text-wrap: balance; }
.hm-steps h3::after { content: ""; display: block; flex: none; width: 1.5rem; height: 1px; margin-top: var(--s-4); background: var(--line-control); }
/* Room for a two-line title in every cell, so titles, rules and text line up across a row */
@media (min-width: 48rem) { .hm-steps h3 { min-height: calc(var(--s-10) + 2 * var(--fs-xl) * var(--lh-tight) + var(--s-4) + 1px); } }
.hm-steps p { max-width: 44ch; margin-top: var(--s-3); font-size: var(--fs-sm); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
@media (min-width: 48rem) {
    .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-steps li { min-height: 17rem; padding: var(--s-6); }
}
@media (min-width: 72rem) { .hm-sec > .hm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 9. STORIES: case files ==========================================
   One file open at a time. Phones: a chip row picks the file. Desktop: a
   list of files on the left, the open file on a deep tile on the right.
   Without JS every file shows, stacked. The open file plays once: the line
   draws down, then Denied, Robert's review and Outcome land in turn.      */
.cf { display: grid; gap: var(--s-2); }
.cf-tabs { display: none; }
.cf-stage { display: grid; gap: var(--s-2); }
.cf-panel { display: grid; align-content: start; gap: var(--s-6); padding: clamp(1.25rem, 0.6rem + 2.4vw, 2.5rem); border-radius: var(--r-card); background: var(--surface-deep); color: var(--text-on-deep); }
.cf-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cf-meta { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--tr-mono); text-transform: uppercase; color: var(--text-on-deep-2); }
.cf-chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0.3rem 0.75rem; border-radius: var(--r-chip); box-shadow: inset 0 0 0 1px var(--line-on-deep); font-size: var(--fs-xs); font-weight: 500; color: var(--text-lumen); }
.cf-chip::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--g-500); }
.cf-title { max-width: 18ch; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 500; line-height: 1.08; letter-spacing: var(--tr-head); text-wrap: balance; }

.cf-steps { --cf-gap: var(--s-6); position: relative; display: grid; gap: var(--cf-gap); margin: 0; padding: 0; list-style: none; }
.cf-steps li { position: relative; display: grid; gap: var(--s-1); padding-inline-start: var(--s-10); }
.cf-steps strong { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: var(--tr-mono); text-transform: uppercase; color: var(--text-on-deep-2); }
.cf-steps p { max-width: 62ch; font-size: var(--fs-base); line-height: 1.55; color: var(--text-on-deep-2); text-wrap: pretty; }
/* Node: a 22px circle whose glyph is a centered SVG background */
.cf-steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 1.375rem; height: 1.375rem; box-sizing: border-box; border-radius: 50%; background-color: var(--surface-deep); background-position: center; background-repeat: no-repeat; background-size: 100% 100%; }
/* The line runs from each node to the next one, so nothing hangs below the last */
.cf-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.375rem; bottom: calc(var(--cf-gap) * -1); inset-inline-start: 0.6875rem; width: 1px; background: var(--line-on-deep); transform-origin: top; }
/* Denied: thin red cross, red ring, text muted */
.cf-no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10.25' fill='none' stroke='%23E5736A' stroke-width='1.5'/%3E%3Cpath d='M7.75 7.75l6.5 6.5M14.25 7.75l-6.5 6.5' stroke='%23E5736A' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Review: green ring and dot, text in full white */
.cf-rv::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10.25' fill='none' stroke='%235BC48A' stroke-width='1.5'/%3E%3Ccircle cx='11' cy='11' r='3.5' fill='%235BC48A'/%3E%3C/svg%3E"); }
.cf-rv p { color: var(--text-on-deep); }
/* Outcome: filled green node with a check, lumen label, larger text */
.cf-yes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='11' fill='%2322A55B'/%3E%3Cpath d='M6.5 11.25l3.1 3.1 5.9-6.6' fill='none' stroke='%23062A19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cf-yes strong { color: var(--text-lumen); }
.cf-yes p { font-size: var(--fs-lg); line-height: 1.4; color: var(--text-on-deep); }

/* With JS: tabs on, one panel shown */
.cf.is-on .cf-tabs { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.cf.is-on .cf-tabs::-webkit-scrollbar { display: none; }
.cf.is-on .cf-panel { display: none; }
.cf.is-on .cf-panel.is-open { display: grid; }
.cf-tab { all: unset; box-sizing: border-box; flex: 0 0 auto; display: grid; gap: var(--s-1); padding: var(--s-3) var(--s-4); border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line); background: transparent; cursor: pointer; scroll-snap-align: start; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), transform var(--t-press) var(--ease); }
.cf-tab:active { transform: scale(0.97); }
.cf-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cf-tab-meta { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--tr-mono); text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.cf-tab-name { display: none; font-size: var(--fs-base); font-weight: 500; line-height: 1.25; letter-spacing: var(--tr-ui); color: var(--text-2); text-wrap: balance; }
.cf-tab[aria-selected="true"] { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--g-600); }
.cf-tab[aria-selected="true"] .cf-tab-meta { color: var(--text-brand); }
.cf-tab[aria-selected="true"] .cf-tab-name { color: var(--text); }

/* The open file plays */
@keyframes cf-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cf-land { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cf-node { from { transform: scale(0.6); } to { transform: scale(1); } }
@keyframes cf-ring { from { box-shadow: 0 0 0 0 rgb(34 165 91 / 0.55); } to { box-shadow: 0 0 0 0.875rem rgb(34 165 91 / 0); } }
@media (prefers-reduced-motion: no-preference) {
    .cf-panel.is-play .cf-top, .cf-panel.is-play .cf-title { animation: cf-land 480ms var(--ease) both; }
    .cf-panel.is-play .cf-title { animation-delay: 60ms; }
    .cf-panel.is-play .cf-steps li::after { animation: cf-draw 420ms var(--ease) calc(420ms + var(--i) * 280ms) both; }
    .cf-panel.is-play .cf-steps li { animation: cf-land 520ms var(--ease) calc(260ms + var(--i) * 280ms) both; }
    .cf-panel.is-play .cf-steps li::before { animation: cf-node 420ms var(--ease) calc(260ms + var(--i) * 280ms) both; }
    .cf-panel.is-play .cf-steps .cf-yes::before { animation: cf-node 420ms var(--ease) 820ms both, cf-ring 900ms ease-out 1000ms 1; }
}

@media (min-width: 64rem) {
    .cf.is-on { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-4); align-items: start; }
    .cf.is-on .cf-tabs { flex-direction: column; overflow: visible; }
    .cf-tab { padding: var(--s-5); gap: var(--s-2); }
    .cf-tab-name { display: block; }
    .cf-steps { --cf-gap: var(--s-8); }
}
@media (hover: hover) and (pointer: fine) { .cf-tab[aria-selected="false"]:hover { background: var(--surface); } }

/* 10. SOUTH FLORIDA KNOW-HOW: dot map from county boundaries ======================= */
.hm-areas { display: grid; gap: var(--s-8); min-height: 0; padding: clamp(var(--s-5), 0.8rem + 1.6vw, var(--s-10)); overflow: hidden; }
.hm-map-wrap { position: relative; justify-self: center; align-self: center; width: min(100%, 14rem); }
.hm-map { width: 100%; height: auto; overflow: visible; }
.hm-map path { stroke: var(--text-lumen); stroke-opacity: 0.46; stroke-width: 1.05; stroke-linecap: round; transition: stroke-opacity var(--t-slow) var(--ease); }
.hm-map-pin { fill: var(--surface); }
.hm-map-pin-ring { stroke: var(--surface); stroke-width: 0.3; }
.hm-map-tag { position: absolute; top: var(--t); inset-inline-end: var(--r); padding: 2px var(--s-2); border-radius: var(--r-chip); background: var(--surface); color: var(--text); font-size: var(--fs-micro); font-weight: 600; line-height: 1.5; white-space: nowrap; transform: translateY(-50%); }
.hm-areas:has(.a-palm:hover, .a-palm:focus-visible) .c-palm,
.hm-areas:has(.a-broward:hover, .a-broward:focus-visible) .c-broward,
.hm-areas:has(.a-miami:hover, .a-miami:focus-visible) .c-miami { stroke-opacity: 1; }
.hm-areas-text { display: grid; align-content: center; gap: var(--s-3); }
.hm-areas .hm-lead { max-width: 60ch; }
.hm-local { display: grid; gap: var(--s-4); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.hm-local li { display: grid; align-content: start; justify-items: start; gap: var(--s-1); padding-top: var(--s-3); border-top: 1px solid var(--line-on-deep); }
.hm-local p { font-size: var(--fs-sm); line-height: 1.5; color: var(--text-on-deep-2); }
.hm-local a { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem; color: var(--text-on-deep); font-size: var(--fs-sm); font-weight: 500; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.hm-local .ic { color: var(--text-lumen); }
.hm-locals { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--text-on-deep-2); }
.hm-locals a { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem; color: var(--text-on-deep); font-weight: 500; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.hm-locals .ic { color: var(--text-lumen); }
@media (min-width: 48rem) { .hm-local { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-areas :focus-visible { outline-color: var(--text-lumen); }
@media (min-width: 64rem) { .hm-areas { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-10); } .hm-map-wrap { width: min(100%, 15rem); } }

/* 11. ROBERT ====================================================== */
.hm-robert { display: grid; gap: var(--s-6); align-items: center; }
.hm-portrait { aspect-ratio: 1; min-height: 0; padding: 0; background: #333333; }
.hm-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hm-robert-text { display: grid; justify-items: start; gap: var(--s-3); }
.hm-facts { display: grid; gap: var(--s-3) var(--s-8); width: 100%; margin: var(--s-2) 0; padding-block: var(--s-4); border-block: 1px solid var(--line-strong); }
.hm-facts dt { font-size: var(--fs-xs); color: var(--text-3); }
.hm-facts dd { font-size: var(--fs-sm); }
.hm-facts a { color: var(--text); text-underline-offset: 0.25em; text-decoration-thickness: 1px; text-decoration-color: var(--line-control); }
@media (hover: hover) and (pointer: fine) { .hm-facts a:hover { color: var(--text-brand); text-decoration-color: currentColor; } }
@media (min-width: 40rem) { .hm-facts { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (min-width: 64rem) { .hm-robert { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-16); } }

/* 12. FAQ ========================================================= */
.hm-faq { display: grid; gap: var(--s-6); }
/* The side holds the heading with its way out right under it, and stays
   in view while the answers scroll past */
.hm-faq-side { display: flex; flex-direction: column; gap: var(--s-5); }
.hm-faq-foot { display: grid; justify-items: start; gap: var(--s-1); max-width: 24rem; padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
@media (min-width: 64rem) { .hm-faq-side { position: sticky; top: calc(var(--hdr-h) + var(--s-6)); align-self: start; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.5rem; padding-block: var(--s-3); cursor: pointer; list-style: none; font-size: var(--fs-base); font-weight: 500; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-control); }
.pm::before, .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0.625rem; height: 1px; margin: -0.5px 0 0 -0.3125rem; background: var(--text); transition: transform var(--t-slow) var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq details > div { display: grid; justify-items: start; gap: var(--s-2); padding-bottom: var(--s-5); max-width: 60ch; color: var(--text-2); font-size: var(--fs-sm); }
.faq details a { color: var(--text-brand); font-weight: 600; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
@media (min-width: 64rem) { .hm-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-16); } }

/* Height eases open and closed where the browser can; instant elsewhere */
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    @media (prefers-reduced-motion: no-preference) {
        details::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-slow) var(--ease), content-visibility var(--t-slow) allow-discrete; }
        details[open]::details-content { block-size: auto; }
    }
}

/* 13. INDEX: ruled rows, not a post grid ========================== */
.hm-index-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); }
.hm-all { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem; color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.hm-all .ic { color: var(--text-brand); }
.hm-index ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.hm-index li { border-bottom: 1px solid var(--line-strong); }
.hm-index li a { display: grid; gap: 2px; padding-block: var(--s-4); color: var(--text); text-decoration: none; transition: color var(--t-ui) var(--ease); }
@media (min-width: 64rem) { .hm-index li a { grid-template-columns: 8rem 8rem minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: baseline; } }
@media (hover: hover) and (pointer: fine) { .hm-index li a:hover .t-h4 { color: var(--text-brand); } }

/* 14. CLOSE =======================================================
   The form is the focus: a white sheet on the right, running the full
   height of the tile. The left column reads heading, note, then calling
   as the quieter second way in, with the logo's contour roofs filling
   the space down to the contact block. Phones: one column, DOM order.
   .hm-cta-main is display: contents so its children share one grid. */
.hm-cta { display: grid; gap: var(--s-5); align-items: start; min-height: 0; padding: clamp(var(--s-4), 0.6rem + 2.4vw, var(--s-12)); margin-bottom: var(--page); }
.hm-cta-main { display: contents; }
.hm-cta :focus-visible { outline-color: var(--text-lumen); }
.hm-cta .hm-title { max-width: 16ch; }
.hm-cta .hx-actions { margin-top: 0; }
.hm-cta .hx-actions .btn-ghost { min-height: 3rem; padding-inline: var(--s-5); border: 1px solid rgb(255 255 255 / 0.22); }
.hm-promise { display: grid; align-content: end; gap: var(--s-2); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--text-on-deep-2); }
.hm-promise li { display: flex; align-items: center; gap: var(--s-2); }
.hm-promise .ic { color: var(--text-lumen); }
@media (hover: hover) and (pointer: fine) { .hm-cta .hx-actions .btn-ghost:hover { text-decoration: none; background: rgb(255 255 255 / 0.08); } }
@media (min-width: 64rem) {
    .hm-cta { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto auto minmax(var(--s-8), 1fr) auto; column-gap: clamp(var(--s-10), 4vw, var(--s-20)); row-gap: var(--s-5); }
    .hm-cta-main > *, .hm-cta > .hm-promise, .hm-cta > .lc-contact { grid-column: 1; }
    .hm-cta .enq-slot { grid-column: 2; grid-row: 1 / -1; }
    .hm-cta > .hm-promise { grid-row: 6; align-self: end; }
    .hm-cta::before {
        content: ""; grid-column: 1; grid-row: 5; align-self: stretch; justify-self: start;
        width: min(100%, 22rem); min-height: 10rem; pointer-events: none; opacity: 0.55;
        background: url("../assets/contour-deep.svg") no-repeat left bottom / contain;
    }
}

/* 15. FOOTER ====================================================== */
.foot { padding: var(--s-12) var(--page) var(--s-8); background: var(--surface-deep); color: var(--text-on-deep-2); font-size: var(--fs-sm); line-height: 1.5; }
.foot a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.foot :focus-visible { outline-color: var(--text-lumen); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot-top { display: grid; gap: var(--s-10); }
.foot-brand { display: grid; align-content: start; gap: var(--s-4); justify-items: start; }
.foot-brand img { width: min(16rem, 100%); height: auto; }
.foot-brand address { font-style: normal; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }
.foot-nav h2 { margin-bottom: var(--s-2); font-size: var(--fs-xs); font-weight: 500; color: var(--text-lumen); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; }
.foot-legal { display: grid; gap: var(--s-3); margin-top: var(--s-10); padding-top: var(--s-5); border-top: 1px solid var(--line-on-deep); font-size: var(--fs-xs); }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.foot-legal li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 48rem) { .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .foot-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
/* Hours: two plain lines under the phone and email. The second line says
   open or closed now (js/home.js, Eastern time); without JS it stays static. */
.foot-hours { display: grid; gap: var(--s-1); margin: 0; }
.foot-hours-now { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--fs-xs); line-height: 1.5; color: var(--text-on-deep-2); }
.foot-hours-now::before { content: ""; flex: none; margin-top: 0.47em; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--n-500); }
.foot-hours-now[data-state="open"]::before { background: var(--g-500); box-shadow: 0 0 0 3px rgb(34 165 91 / 0.28); }
@media (max-width: 47.99rem) {
    /* The sticky bar sits over the page end, so only the footer makes room */
    .hx { padding-bottom: var(--edge); }
    .foot { padding-bottom: calc(var(--s-8) + 4.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* 16. REVIEWS TICKER: the top of the footer on every page ==========
   Runs edge to edge inside the footer, fading at both ends. Moves at
   about 32px a second, pauses on hover or the button, and is a row the
   visitor scrolls when motion is reduced or the script hasn't run.   */
.rv { display: grid; gap: var(--s-6); margin: calc(var(--s-12) * -1) calc(var(--page) * -1) var(--s-12); padding-block: var(--s-10); border-bottom: 1px solid var(--line-on-deep); }
/* Hidden until real reviews exist: never ship 0.0 or placeholder quotes */
.rv[hidden] { display: none; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); padding-inline: var(--page); }
.rv-title { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-on-deep); text-wrap: balance; }
.rv-score { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); }
.rv-score strong { font-size: var(--fs-xl); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--text-on-deep); }
.rv-stars { display: flex; gap: 2px; color: var(--text-lumen); }
.rv-stars .ic { width: 0.875rem; height: 0.875rem; fill: currentColor; stroke: none; }
.rv-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin-inline-start: auto; }
.rv-pause { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem; padding: 0 var(--s-4) 0 var(--s-3); border: 1px solid var(--line-on-deep); border-radius: var(--r-pill); background: none; color: var(--text-on-deep); font-size: var(--fs-xs); font-weight: 500; cursor: pointer; transition: border-color var(--t-ui) var(--ease); }
.rv-pause .ic { color: var(--text-lumen); }
.foot .rv-all { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 2.75rem; color: var(--text-on-deep); font-weight: 500; }
.rv-all .ic { color: var(--text-lumen); }
.rv-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 max(var(--page), 2.5rem), #000 calc(100% - max(var(--page), 2.5rem)), transparent); mask-image: linear-gradient(90deg, transparent, #000 max(var(--page), 2.5rem), #000 calc(100% - max(var(--page), 2.5rem)), transparent); }
.foot ul.rv-track { display: flex; width: max-content; }
/* The gap is each card's own end margin, so two sets are exactly twice one */
.rv-card { flex: none; display: flex; flex-direction: column; gap: var(--s-3); width: min(20rem, 80vw); margin-inline-end: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: var(--glass-frost); box-shadow: inset 0 0 0 1px var(--line-on-deep); }
.rv-card blockquote { margin: 0; }
.rv-card blockquote p { font-size: var(--fs-sm); line-height: 1.55; color: var(--text-on-deep); text-wrap: pretty; }
.rv-who { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line-on-deep); font-size: var(--fs-xs); line-height: 1.35; }
.rv-who > span:last-child { display: grid; }
.rv-who strong { font-weight: 500; color: var(--text-on-deep); }
.rv-face { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--g-800); color: var(--text-lumen); font-weight: 600; }
/* The cards arrive one by one when the ticker is first seen (js/home.js section 6) */
.rv.is-intro .rv-card { opacity: 0; transform: translateY(14px); }
.rv.is-intro .rv-card.is-in { opacity: 1; transform: none; transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .rv.is-intro .rv-card { opacity: 1; transform: none; } }
.rv:not(.is-live) .rv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv:not(.is-live) .foot ul.rv-track, .rv:not(.is-live) .rv-track { padding-inline: var(--page); }
.rv:not(.is-live) .rv-card { scroll-snap-align: start; }
.rv:not(.is-live) .rv-pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .rv.is-live .rv-track { animation: rv-run var(--rv-dur, 60s) linear infinite; }
    .rv.is-live .rv-viewport:hover .rv-track, .rv.is-paused .rv-track { animation-play-state: paused; }
    @keyframes rv-run { to { transform: translateX(-50%); } }
}
@media (hover: hover) and (pointer: fine) { .rv-pause:hover { border-color: var(--text-lumen); } }
@media (max-width: 47.99rem) { .rv-acts { margin-inline-start: 0; } }

/* Lenis ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
[data-lenis-prevent] { overscroll-behavior: contain; }

/* Motion (js/motion.js): lines are the unit SplitType animates ======== */
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) {
    .mo-line { display: block; overflow: hidden; padding-block: 0.1em 0.14em; margin-block: -0.1em -0.14em; } /* mask for the bend-up; padding keeps descenders */
    .mo-in { display: block; transform-origin: 0 100%; will-change: transform; }
    .mo-word { display: inline-block; }
}

/* Menu button: two bare lines that turn into a cross ==============
   No border, no background. The lines and the panel share one curve. */
.hdr-menu {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; margin-inline-end: -0.5rem;
    border: 0; background: none; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.burger { position: relative; display: block; width: 1.5rem; height: 1.5rem; }
.burger i {
    position: absolute; inset-inline: 1px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.burger i:nth-child(1) { transform: translateY(-4px); }
.burger i:nth-child(2) { transform: translateY(4px); }
.hdr-menu[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hdr-menu[aria-expanded="true"] .burger i:nth-child(2) { transform: translateY(0) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger i { transition: none; } }

/* PHONES: roomier edges, section containers centred ================
   One gutter all the way round, a real top margin under the header, and
   the top-level sections fill the width between the gutters. Only the
   section heads and the hero are centred; forms, lists, cards, tables and
   the footer keep their own alignment.                                 */
@media (max-width: 47.99rem) {
    :root { --edge: 1rem; --page: 1.25rem; }
    .hx { padding-top: var(--edge); }
    .hx-a { padding: var(--s-6) var(--s-5); align-items: center; justify-items: center; text-align: center; }
    .hx-a > * { justify-self: center; }
    .hx-h1, .hx-sub { margin-inline: auto; max-width: none; }
    .hx-actions, .hx-actions .btn { width: 100%; }
    .hx-actions .btn-white { justify-content: center; }
    .hm-sec { padding-inline: var(--page); }
    .hm-sec > .hm-head, .hm-sec > .hm-head-row, .hm-sec > .hm-statement { justify-items: center; text-align: center; margin-inline: auto; }
    .hm-sec > .hm-head .hm-title, .hm-sec > .hm-head .hm-lead { margin-inline: auto; max-width: none; }
    .hm-statement { padding-block: var(--s-8); }
}
@media (max-width: 47.99rem) {
    .hm-sec .hm-title, .hm-sec .hm-lead { text-align: center; margin-inline: auto; max-width: none; }
    .hm-faq > div:first-child, .hm-faq .hm-head { justify-items: center; text-align: center; }
    .hm-faq .hm-all, .hm-faq a.hm-all { justify-self: center; }
}

/* Overlay scrollbar (js/scrollbar.js) ==============================
   Floats over the page, takes no space. The native bar is hidden only
   once the script has made this one, and only for mouse devices.     */
@media (hover: hover) and (pointer: fine) {
    html.has-sb { scrollbar-width: none; -ms-overflow-style: none; }
    html.has-sb::-webkit-scrollbar, html.has-sb body::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .sb-track {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: 18px;
        opacity: 0; transition: opacity 0.35s ease;
    }
    .sb-track.is-on, .sb-track:hover, .sb-track.is-drag { opacity: 1; }
    .sb-track.is-none { display: none; }
    .sb-thumb {
        position: absolute; top: 0; right: 4px; width: 6px; border-radius: 6px; cursor: grab; touch-action: none;
        background: rgb(16 24 20 / 0.62); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4);
        transition: width 0.2s ease, right 0.2s ease, background-color 0.2s ease;
    }
    .sb-track:hover .sb-thumb, .sb-track.is-drag .sb-thumb { right: 3px; width: 10px; background: rgb(16 24 20 / 0.82); }
    .sb-track.is-drag .sb-thumb { cursor: grabbing; }
}
@media (prefers-reduced-motion: reduce) { .sb-track, .sb-thumb { transition: none; } }

/* Fallbacks for browsers without dvh/svh (iOS before 15.4, older Chromium) */
@media (max-width: 63.99rem) {
    .hdr.full .navgroup.is-open { height: calc(100vh - var(--hdr-h)); height: calc(100dvh - var(--hdr-h)); }
}
@media (min-width: 64rem) { .hdr-menu { display: none; } }

/* Hero calls to action stay above the fold on laptops (checked at
   1280x720, 1366x768, 1440x900, 1920x1080 and 1024x768). The headline is
   sized by width AND height, with a lower ceiling than before. */
@media (min-width: 48rem) {
    .hx-h1:not(.lc-h1) { font-size: clamp(2.25rem, min(6vw, 8.8vh), 6.5rem); font-size: clamp(2.25rem, min(6vw, 8.8svh), 6.5rem); max-width: 22ch; }
    .hx-h1.lc-h1 { font-size: clamp(2.25rem, min(6.2vw, 9vh), 6rem); font-size: clamp(2.25rem, min(6.2vw, 9svh), 6rem); }
}
@media (min-width: 64rem) and (min-height: 50rem) {
    .hx-h1:not(.lc-h1) { font-size: clamp(2.25rem, min(6.5vw, 9.2vh), 7.25rem); font-size: clamp(2.25rem, min(6.5vw, 9.2svh), 7.25rem); }
    .hx-h1.lc-h1 { font-size: clamp(2.25rem, min(6.5vw, 9.4vh), 6.75rem); font-size: clamp(2.25rem, min(6.5vw, 9.4svh), 6.75rem); }
}
/* Short laptop windows: tighter hero so the buttons still show */
@media (min-width: 48rem) and (max-height: 46rem) {
    .hx-a { gap: var(--s-3); padding-block: var(--s-6); }
    .hx-h1:not(.lc-h1), .hx-h1.lc-h1 { font-size: clamp(2.25rem, min(5.3vw, 7.4vh), 4.75rem); font-size: clamp(2.25rem, min(5.3vw, 7.4svh), 4.75rem); }
    .hx-sub { font-size: 1.0625rem; line-height: 1.45; }
    .lc-crumbs a { min-height: 2rem; }
}

/* The page you are on, in the menu ================================= */
.navgroup a[aria-current="page"] { color: var(--text-brand); font-weight: 600; }
.nav-trigger[data-here] { color: var(--text); font-weight: 600; }
@media (min-width: 64rem) {
    .nav-trigger[data-here]::after { content: ""; position: absolute; inset: auto var(--s-2) 0.35rem; height: 2px; border-radius: 2px; background: var(--signal); }
    .nav-trigger { position: relative; }
}
.navgroup .mega-links a[aria-current="page"], .navgroup .drop-links a[aria-current="page"] { background: var(--surface-mint); color: var(--text); font-weight: 600; }
