/* Clinical Corner
 * Look: Apex Clinic "Clinic Two", home version two (RadiantThemes), taken
 * from its stylesheets and computed styles (.template/). Poppins 700 heads
 * with 1px tracking, Rubik body; white top bar over the #305893 nav bar;
 * navy #00236A pill buttons; blue panels; #F7F7F7 grey bands; people cut out
 * of their photographs; a navy footer.
 * One change for contrast: the demo's panel blue #2986E2 carries white body
 * text at 3.6:1, so panels use #1D6FC5 (about 5:1); #2986E2 stays for the
 * logo's cross and for decoration.
 */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/rubik-var.woff2") format("woff2"); }

:root {
  --navy: #00236A;      /* buttons, the demo's "Book an appointment" */
  --bar: #305893;       /* nav bar */
  --accent: #4575BD;    /* eyebrow rules, icons, links */
  --panel: #1D6FC5;     /* blue panels (demo #2986E2, deepened for AA) */
  --bright: #2986E2;    /* decoration only */
  --deep: #10275C;      /* footer, navy band */
  --ink: #2A2A2A;       /* headings */
  --text: #434343;      /* body */
  --copy: #5E5E61;      /* copy blocks */
  --muted: #6B6B70;
  --grey: #F7F7F7;
  --grey2: #F1F1F1;
  --line: #E2E2E2;
  --pale: #E4EFFA;      /* inner banner ground */
  --white: #fff;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --frame: 1170px;
  --shadow: 0 10px 30px rgba(0, 35, 106, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 15px/28px var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: 1px; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 30px; }
.skip-link:focus { top: 12px; color: #fff; }
.frame { width: 100%; max-width: calc(var(--frame) + 30px); margin: 0 auto; padding: 0 15px; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* --- Buttons: the demo's pills ------------------------------------------- */
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 51px; padding: 12px 34px; border-radius: 30px; border: 2px solid transparent; font: 700 15px/23px var(--body); text-transform: uppercase; letter-spacing: .3px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; text-align: center; }
.abtn svg { width: 18px; height: 18px; flex: none; }
.abtn--fill { background: var(--navy); color: #fff; }
.abtn--fill:hover { background: var(--bar); color: #fff; }
.abtn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.abtn--ghost:hover { background: #fff; color: var(--navy); }
.abtn--light { background: #fff; color: var(--navy); }
.abtn--light:hover { background: var(--navy); color: #fff; }
.abtn--outline { border: 1px solid rgba(255, 255, 255, .7); color: #fff; min-height: 40px; padding: 7px 26px; font-size: 13px; }
.abtn--outline:hover { background: #fff; color: var(--panel); }
.abtn--outline-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; min-height: 44px; padding: 8px 28px; font-size: 13px; margin-top: 8px; }
.abtn--outline-light:hover { background: #fff; color: var(--panel); }
.abtn--block { width: 100%; }

/* --- Header: white top bar, blue nav bar --------------------------------- */
.site-header { position: sticky; top: -93px; z-index: 50; }
.topbar { background: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 93px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand .mark { width: 44px; height: 44px; }
.brand-word { font: 600 27px/1 var(--head); letter-spacing: -.4px; color: currentColor; }
.brand-word b { font-weight: 600; color: var(--bright); }
.top-info { list-style: none; display: flex; gap: 34px; align-items: center; }
.top-info li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 22px; color: var(--text); }
.top-info svg { width: 30px; height: 30px; color: var(--accent); flex: none; stroke-width: 1.4; }
.top-info b { display: block; font-weight: 500; color: var(--accent); font-size: 14px; }
.top-info a { color: var(--accent); font-weight: 500; font-size: 15px; }
.top-info a:hover { color: var(--navy); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bar); color: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }
.navbar { background: var(--bar); transition: box-shadow .3s; }
.site-header.is-scrolled .navbar { box-shadow: 0 6px 20px rgba(0, 35, 106, .18); }
.navbar-in { min-height: 53px; display: flex; align-items: center; }
.nav { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nl { display: inline-flex; align-items: center; gap: 4px; padding: 13px 16px; color: #fff; font: 500 13px/27px var(--body); text-transform: uppercase; letter-spacing: .5px; position: relative; }
.nl:hover, .nl.is-on { color: #fff; }
.nl::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nl:hover::after, .nl.is-on::after { transform: scaleX(1); }
.nl svg { width: 14px; height: 14px; transition: transform .25s; }
.nl-cta { margin-left: 10px; background: var(--navy); border-radius: 30px; padding: 8px 22px; }
.nl-cta::after { display: none; }
.nl-cta:hover, .nl-cta.is-on { background: #fff; color: var(--navy); }
.sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; box-shadow: 0 12px 30px rgba(0, 35, 106, .14); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; border-top: 3px solid var(--accent); }
.sub a { display: block; padding: 7px 24px; color: var(--text); font-size: 14px; line-height: 24px; }
.sub a:hover, .sub a[aria-current] { color: var(--accent); }
.has-dd:hover .sub, .has-dd:focus-within .sub, .has-dd.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.has-dd.is-shut .sub { opacity: 0; visibility: hidden; }
.has-dd:hover .nl svg, .has-dd.is-open .nl svg { transform: rotate(180deg); }

/* Phone menu panel */
.mpanel { position: fixed; inset: 0; z-index: 90; }
.mp-scrim { position: absolute; inset: 0; background: rgba(0, 20, 60, .5); opacity: 0; transition: opacity .35s; }
.mp-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--deep); color: #fff; padding: 22px 24px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 24px; }
.mpanel.is-open .mp-scrim { opacity: 1; }
.mpanel.is-open .mp-in { transform: none; }
.mp-top { display: flex; justify-content: space-between; align-items: center; }
.mp-top .brand { color: #fff; }
.mp-top .brand-word b { color: #8EC2F7; }
.mp-top .brand .mark { width: 36px; height: 36px; }
.mp-top .brand-word { font-size: 22px; }
.mp-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mp-close svg { width: 20px; height: 20px; }
.mp-menu { list-style: none; }
.mp-link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); background: none; color: #fff; font: 500 15px/24px var(--body); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; text-align: left; }
.mp-link:hover, .mp-link[aria-current] { color: #8EC2F7; }
.mp-link svg { width: 18px; height: 18px; transition: transform .25s; }
.mp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mp-sub { list-style: none; padding: 6px 0 10px 12px; }
.mp-sub a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.mp-sub a:hover, .mp-sub a[aria-current] { color: #fff; }
.mpanel .abtn--fill { background: #fff; color: var(--navy); }

/* --- Shared headings ------------------------------------------------------ */
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; font: 700 15px/25px var(--head); letter-spacing: 1px; color: #595959; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); flex: none; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }
.h-sec { font-size: 36px; line-height: 50px; }
.h-sec--sm { font-size: 30px; line-height: 42px; }
.sec-copy { font-size: 17px; line-height: 30px; color: var(--copy); }
.big-lede { font-size: 19px; line-height: 32px; color: var(--copy); margin: 22px 0 26px; }
.sec { padding: 100px 0; }
.sec--grey { background: var(--grey); }
.sec--top0 { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.sec-copy--rule { border-left: 1px solid var(--line); padding-left: 40px; margin: 0; }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: 580px; overflow: hidden; color: #fff; background: var(--bar); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: blur(2px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(24, 70, 150, .94) 0%, rgba(32, 96, 186, .86) 45%, rgba(41, 134, 226, .55) 100%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; min-height: 580px; }
.hero-copy { padding: 110px 0 150px; max-width: 640px; }
.hero-eb { display: flex; align-items: center; gap: 16px; font: 700 15px/24px var(--head); letter-spacing: 1px; margin: 0 0 14px; color: #fff; }
.hero-eb::before { content: ""; width: 30px; height: 3px; background: #fff; }
.hero h1 { color: #fff; font-size: 60px; line-height: 70px; letter-spacing: 0; }
.hero-sub { font: 700 18px/30px var(--body); margin: 22px 0 32px; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-person { align-self: end; justify-self: end; width: 100%; max-width: 440px; }
.hero-person img { width: 100%; height: auto; max-height: 540px; object-fit: contain; object-position: bottom; }
.feats-wrap { position: relative; z-index: 5; margin-top: -60px; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 14px 40px rgba(0, 35, 106, .10); }
.feat { padding: 30px 28px 26px; border-right: 1px solid var(--line); background: #fff; }
.feat:last-child { border-right: 0; }
.feat-ic { display: block; width: 46px; height: 46px; color: var(--accent); margin-bottom: 14px; }
.feat-ic svg { width: 46px; height: 46px; }
.feat h2, .feat h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.feat p { margin: 0; font-size: 15px; line-height: 26px; color: var(--copy); }
.feats--flat { margin-top: 50px; box-shadow: none; gap: 30px; background: none; }
.feat--flat { border: 0; box-shadow: var(--shadow); }

/* --- Six conditions beside the hours box --------------------------------- */
.svcs { padding-top: 110px; }
.svcs-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 50px; }
.svc { display: block; color: var(--text); }
.svc:hover { color: var(--text); }
.svc-ic { display: block; width: 52px; height: 52px; color: var(--bar); margin-bottom: 16px; transition: color .25s, transform .3s var(--ease); }
.svc-ic svg { width: 52px; height: 52px; }
.svc:hover .svc-ic { color: var(--bright); transform: translateY(-3px); }
.svc h3 { font-size: 20px; line-height: 30px; margin-bottom: 8px; transition: color .2s; }
.svc:hover h3 { color: var(--accent); }
.svc p { margin: 0; font-size: 16px; line-height: 28px; color: var(--copy); }
.hours { background: var(--panel); color: #fff; padding: 34px 32px 38px; }
.hours h3 { color: #fff; font-size: 20px; line-height: 30px; }
.hours h3:first-child { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .4); margin-bottom: 4px; }
.hours h3:not(:first-child) { margin-top: 26px; }
.hours-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-t th, .hours-t td { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font-weight: 400; text-align: left; }
.hours-t td { text-align: right; }
.hours p { margin: 8px 0 18px; font-size: 15px; line-height: 26px; }

/* --- Navy band with the digestive tract ---------------------------------- */
.band { position: relative; background: var(--deep); color: #fff; margin-top: 60px; }
.band-bg { position: absolute; inset: 0; overflow: hidden; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: grayscale(1); }
.band-in { position: relative; display: grid; grid-template-columns: 300px 300px 1fr; gap: 40px; align-items: end; min-height: 520px; }
.band-person { align-self: end; margin-top: -80px; }
.band-person img { width: 100%; max-height: 600px; object-fit: contain; object-position: bottom; }
.band-map { align-self: center; padding: 50px 0; }
.tract-svg { width: 100%; max-width: 300px; height: auto; margin: 0 auto; overflow: visible; }
.tract-tube { fill: none; stroke: rgba(142, 194, 247, .2); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.tract-tube--thin { stroke-width: 11; stroke: rgba(142, 194, 247, .14); }
.tract-line { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tract-organ { fill: rgba(142, 194, 247, .2); stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; }
.tract-soft { stroke-opacity: .7; stroke-width: 2; }
.tdot circle:last-child { fill: #fff; transition: fill .25s; }
.tdot-halo { fill: rgba(142, 194, 247, .22); transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), fill .3s; }
.tdot:hover .tdot-halo, .tdot:focus .tdot-halo, .tdot.is-hot .tdot-halo { fill: rgba(142, 194, 247, .55); transform: scale(1.5); }
.tdot:hover circle:last-child, .tdot:focus circle:last-child, .tdot.is-hot circle:last-child { fill: #8EC2F7; }
.band-copy { align-self: center; padding: 70px 0; }
.band-copy h2 { color: #fff; font-size: 36px; line-height: 45px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.legend a { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: #fff; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: #fff; flex: none; margin-top: 7px; box-shadow: 0 0 0 5px rgba(142, 194, 247, .22); transition: background .25s, box-shadow .25s; }
.legend b { display: block; font: 600 16px/26px var(--head); letter-spacing: .5px; }
.legend span { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .78); }
.legend a:hover i, .legend a:focus i, .legend a.is-hot i { background: #8EC2F7; box-shadow: 0 0 0 7px rgba(142, 194, 247, .4); }
.legend a:hover b, .legend a.is-hot b { color: #CFE5FC; }
.playlink { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; color: #fff; font: 700 15px/24px var(--head); letter-spacing: 1px; text-transform: uppercase; }
.playlink:hover { color: #CFE5FC; }
.play { width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.play svg { width: 20px; height: 20px; }
.playlink:hover .play { background: #fff; color: var(--deep); }

/* --- "Special video" panel and the wide photo ---------------------------- */
.special { position: relative; padding-bottom: 100px; overflow: hidden; }
.special-panel { width: 50%; background: var(--grey); padding: 70px 0 150px; }
.special-copy { max-width: 585px; margin-left: auto; padding: 0 60px 0 15px; }
.special-copy p { margin: 18px 0 0; }
.special-ring { position: absolute; right: -120px; top: -150px; width: 440px; height: 440px; border-radius: 50%; border: 70px solid var(--grey2); pointer-events: none; }
.special-photo { position: relative; display: block; margin-top: -110px; height: 420px; overflow: hidden; color: #fff; box-shadow: 18px 18px 0 var(--grey2); }
.special-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.special-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 25, 70, .7), rgba(0, 25, 70, .1) 60%); }
.special-photo:hover img { transform: scale(1.03); }
.special-cap { position: absolute; z-index: 2; left: 34px; bottom: 30px; display: flex; align-items: center; gap: 16px; font: 700 30px/38px var(--head); letter-spacing: .5px; color: #fff; }
.special-cap .play { width: 58px; height: 58px; }
.special-photo:hover .play { background: #fff; color: var(--navy); }

/* --- "Group of professionals": photos and the four steps ----------------- */
.pros { padding: 30px 0 110px; }
.pros-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.pros-art { position: relative; min-height: 640px; }
.pros-sq { position: absolute; left: 0; top: 0; width: 46%; aspect-ratio: 1; background: var(--grey); z-index: 0; }
.pros-a { position: absolute; left: 12%; top: 70px; width: 72%; aspect-ratio: 4 / 5; overflow: hidden; z-index: 1; }
.pros-b { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1; overflow: hidden; z-index: 2; border: 8px solid #fff; }
.pros-a img, .pros-b img { width: 100%; height: 100%; object-fit: cover; }
.pros-copy { padding-top: 40px; }
.pros-copy .sec-copy { margin: 18px 0 0; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }
.step { background: var(--grey); padding: 30px 28px; }
.step:nth-child(2), .step:nth-child(3) { background: var(--grey2); }
.step-n { display: block; font: 700 13px/20px var(--head); letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; }
.step h3 { font-size: 18px; line-height: 26px; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 25px; color: var(--copy); margin: 0; }
.step .step-then { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 23px; }

/* --- Blue panel with the sign-up card ------------------------------------ */
.consult { padding: 40px 0 100px; }
.consult-in { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; }
.consult-blue { position: relative; background: var(--panel); color: #fff; padding: 80px 60px 70px 70px; margin-top: 120px; display: grid; grid-template-columns: 1fr; }
.consult-copy { position: relative; z-index: 2; max-width: 470px; }
.consult-blue h2 { color: #fff; font-size: 36px; line-height: 50px; }
.consult-blue p { font-size: 16px; line-height: 30px; margin: 24px 0 0; }
.consult-call { font-weight: 700; font-size: 17px !important; margin-top: 34px !important; }
.consult-num { display: inline-block; font: 400 46px/56px var(--body); color: #fff; letter-spacing: .5px; }
.consult-num:hover { color: #CFE5FC; }
.consult .consult-hours { margin: 0 0 20px; font-size: 14px; opacity: .9; }
.consult-side { position: relative; margin-left: -60px; z-index: 3; }
.consult-person { width: 62%; max-width: 330px; margin: 0 20px 0 auto; height: 330px; overflow: hidden; }
.consult-person img { width: 100%; height: auto; }
.consult-card { position: relative; margin-top: -10px; }
.wcard { background: #fff; box-shadow: 0 20px 50px rgba(0, 35, 106, .12); padding: 44px 40px 40px; border-radius: 4px; }
.wcard > h2 { font-size: 30px; line-height: 40px; }
.wcard > p { color: var(--copy); margin: 10px 0 24px; }
.consult-card > h2 { font-size: 36px; line-height: 45px; text-align: center; }
.consult-card > p { text-align: center; }

/* --- Questions on the grey band ------------------------------------------ */
.qa2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; align-items: start; }
.qcard { background: #fff; padding: 14px 34px; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border: 0; background: none; cursor: pointer; text-align: left; font: 600 17px/27px var(--head); color: var(--ink); letter-spacing: .3px; }
.acc-q button:hover { color: var(--accent); }
.acc-q svg { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 50%; background: var(--grey); color: var(--navy); transition: transform .3s var(--ease), background .3s, color .3s; }
.acc-item.is-open .acc-q svg { transform: rotate(45deg); background: var(--navy); color: #fff; }
.acc-a { overflow: hidden; }
.acc-a p { margin: 0 0 22px; color: var(--copy); font-size: 16px; line-height: 28px; }
.sec .acc { background: transparent; }

/* --- Guide cards (the demo's blog) --------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; margin-top: 50px; }
.post { display: flex; flex-direction: column; color: var(--text); }
.post:hover { color: var(--text); }
.post-img { display: block; aspect-ratio: 360 / 240; overflow: hidden; background: var(--grey); margin-bottom: 22px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-meta { font: 600 13px/20px var(--body); color: var(--accent); letter-spacing: .3px; }
.post-t { font-size: 20px; line-height: 30px; margin: 8px 0 10px; color: #333; transition: color .2s; }
.post:hover .post-t { color: var(--accent); }
.post p { font-size: 15px; line-height: 26px; color: var(--copy); margin: 0 0 14px; }
.post-more { margin-top: auto; color: var(--ink); display: inline-flex; }
.post-more svg { width: 26px; height: 26px; transition: transform .25s; }
.post:hover .post-more svg { transform: translateX(5px); color: var(--accent); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { position: relative; background: var(--deep) radial-gradient(circle at 85% 20%, rgba(41, 134, 226, .16), transparent 45%); color: #fff; padding-top: 80px; }
.f-top { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.2fr; gap: 40px; }
.f-brand { color: #fff; margin-bottom: 22px; }
.f-brand:hover { color: #fff; }
.f-brand .brand-word b { color: #8EC2F7; }
.f-about p { font-size: 15px; line-height: 26px; color: rgba(255, 255, 255, .88); }
.f-h { color: #fff; font-size: 20px; line-height: 30px; margin-bottom: 22px; }
.f-links { list-style: none; }
.f-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; line-height: 26px; padding: 4px 0; }
.f-links a svg { width: 14px; height: 14px; color: #8EC2F7; }
.f-links a:hover { color: #8EC2F7; }
.f-contact { list-style: none; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 26px; margin-bottom: 12px; color: rgba(255, 255, 255, .9); }
.f-contact svg { width: 20px; height: 20px; color: #8EC2F7; flex: none; margin-top: 3px; }
.f-contact a { color: #fff; word-break: break-word; }
.f-contact a:hover { color: #8EC2F7; }
.f-note { margin: 50px 0 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; line-height: 24px; color: rgba(255, 255, 255, .8); }
.f-bar { background: rgba(0, 0, 0, .18); }
.f-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.f-bar p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.f-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.f-legal a { color: #fff; font-size: 14px; }
.f-legal a:hover { color: #8EC2F7; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .25s; }
.to-top:hover { background: var(--bar); color: #fff; }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }

/* --- Inner banner --------------------------------------------------------- */
.phead { position: relative; background: var(--pale); min-height: 208px; display: flex; align-items: center; overflow: hidden; }
.phead-img { position: absolute; top: 0; bottom: 0; right: 0; width: 52%; }
.phead-img img { width: 100%; height: 100%; object-fit: cover; }
.phead-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pale) 0%, rgba(228, 239, 250, .82) 30%, rgba(228, 239, 250, .25) 75%, rgba(228, 239, 250, .1)); }
.phead-in { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 44px; }
.phead h1 { font-size: 40px; line-height: 50px; letter-spacing: .5px; max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--text); }
.crumbs a { color: var(--text); }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 14px; height: 14px; color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.phead--plain { min-height: 180px; }
.phead-lede { font-size: 19px; line-height: 32px; color: var(--copy); max-width: 860px; margin: 56px 0 50px; }

/* --- Condition pages ------------------------------------------------------ */
.cond-intro { padding-top: 70px; }
.cond-intro-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.cond-intro-in--flip { grid-template-columns: .9fr 1.1fr; }
.cond-photo { position: relative; padding: 40px 0 0 40px; }
.cond-photo .pros-sq { width: 55%; }
.cond-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.where-tag { display: flex; gap: 16px; align-items: center; background: var(--grey); padding: 16px 20px; margin: 0 0 26px; }
.where-tag svg { width: 44px; height: 44px; color: var(--accent); flex: none; }
.where-tag b { display: block; font: 700 15px/22px var(--head); color: var(--ink); letter-spacing: .5px; }
.where-tag span { font-size: 15px; line-height: 24px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split2 .sec-copy { margin-top: 20px; }
.side-h { font-size: 20px; line-height: 30px; margin-bottom: 18px; }
.looks { list-style: none; }
.looks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.looks li:last-child { border-bottom: 0; }
.looks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; margin-top: 2px; }
.looks b { display: block; font: 600 16px/26px var(--head); color: var(--ink); letter-spacing: .3px; }
.looks span { font-size: 15px; line-height: 26px; color: var(--copy); }
.checks-in { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: stretch; }
.checks-in .h-sec { margin-bottom: 30px; }
.checks-img { overflow: hidden; min-height: 320px; }
.checks-img img { width: 100%; height: 100%; object-fit: cover; }
.tablewrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 26px; }
.dtable thead th { background: var(--bar); color: #fff; font: 600 15px/24px var(--head); letter-spacing: .5px; text-align: left; padding: 14px 20px; }
.dtable tbody th, .dtable td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dtable tbody th { font: 600 15px/24px var(--head); color: var(--ink); letter-spacing: .3px; width: 34%; }
.dtable tbody tr:nth-child(even) { background: var(--grey); }
.sec--grey .dtable tbody tr { background: #fff; }
.sec--grey .dtable tbody tr:nth-child(even) { background: var(--grey2); }
.dtable a { font-weight: 600; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 26px; }
.sticky-col { position: sticky; top: 80px; }
.prose h2 { font-size: 26px; line-height: 36px; margin: 46px 0 14px; letter-spacing: .5px; }
.prose > h2:first-child, .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; line-height: 28px; margin: 28px 0 10px; letter-spacing: .3px; }
.prose p { font-size: 16px; line-height: 30px; color: var(--copy); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--copy); font-size: 16px; line-height: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.asklist { list-style: none; margin: 10px 0 0; display: grid; gap: 10px; }
.asklist li { background: var(--grey); padding: 15px 20px 15px 22px; border-left: 3px solid var(--accent); font: 500 16px/26px var(--body); color: var(--ink); }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0 0; }
.terms-grid div { border: 1px solid var(--line); padding: 22px; }
.terms-grid dt { font: 700 17px/26px var(--head); color: var(--ink); margin-bottom: 8px; letter-spacing: .3px; }
.terms-grid dd { margin: 0; font-size: 15px; line-height: 25px; color: var(--copy); }
.sbox { padding: 30px; }
.sbox h2 { font-size: 22px; line-height: 32px; margin-bottom: 10px; }
.sbox p { font-size: 15px; line-height: 26px; }
.sbox--blue { background: var(--panel); color: #fff; }
.sbox--blue h2 { color: #fff; }
.sbox--grey { background: var(--grey); }
.sbox--line { border: 1px solid var(--line); }
.side-links { list-style: none; }
.side-links a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; color: var(--ink); font-size: 15px; line-height: 24px; border-bottom: 1px solid var(--line); }
.side-links li:last-child a { border-bottom: 0; }
.side-links a svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; transition: transform .2s; }
.side-links a:hover { color: var(--accent); }
.side-links a:hover svg { transform: translateX(3px); }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; line-height: 24px; }
.info-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.info-list b { display: block; font-weight: 600; color: var(--ink); }
.info-list a { word-break: break-word; }
.rows { list-style: none; }
.rows li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 25px; }
.rows li:last-child { border-bottom: 0; }
.rows b { display: block; font: 600 16px/26px var(--head); color: var(--ink); letter-spacing: .3px; }
.rows span { color: var(--copy); }
.art-photo { margin: 0 0 30px; aspect-ratio: 16 / 9; overflow: hidden; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; }
.points { margin-top: 46px; background: var(--grey); padding: 32px 34px; border-top: 3px solid var(--accent); }
.points h2 { font-size: 22px; line-height: 32px; margin-bottom: 14px; }
.points ul { list-style: none; }
.points li { display: flex; gap: 12px; padding: 7px 0; font-size: 16px; line-height: 27px; color: var(--copy); }
.points svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

/* Hub cards */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ccard { display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow); color: var(--text); }
.ccard:hover { color: var(--text); }
.ccard-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ccard:hover .ccard-img img { transform: scale(1.05); }
.ccard-t { position: relative; display: flex; flex-direction: column; flex: 1; padding: 46px 30px 28px; }
.ccard-t .svc-ic { position: absolute; top: -36px; left: 30px; width: 72px; height: 72px; padding: 12px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); margin: 0; }
.ccard-t .svc-ic svg { width: 48px; height: 48px; }
.ccard h2 { font-size: 22px; line-height: 32px; margin-bottom: 10px; transition: color .2s; }
.ccard:hover h2 { color: var(--accent); }
.ccard p { font-size: 15px; line-height: 26px; color: var(--copy); }

/* How it works / about */
.dd2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.ddcard { background: #fff; box-shadow: var(--shadow); padding: 36px 36px 30px; border-top: 3px solid var(--accent); }
.ddcard--no { border-top-color: var(--navy); }
.sec--grey .ddcard { box-shadow: none; }
.ddcard h3 { font-size: 22px; line-height: 32px; margin-bottom: 14px; }
.ticks { list-style: none; }
.ticks li { display: flex; gap: 12px; padding: 9px 0; font-size: 16px; line-height: 27px; color: var(--copy); }
.ticks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; margin-top: 2px; }
.ticks--no svg { background: var(--navy); }

/* Sign-up strip */
.subband { background: var(--panel); color: #fff; padding: 56px 0; }
.subband-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.subband h2 { color: #fff; font-size: 28px; line-height: 38px; margin-bottom: 8px; }
.subband p { margin: 0; max-width: 700px; font-size: 16px; line-height: 28px; }

/* FAQ page */
.faq-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.faq-nav { position: sticky; top: 80px; display: flex; flex-direction: column; background: var(--grey); padding: 14px 0; }
.tnav { padding: 12px 24px; color: var(--ink); font: 600 15px/24px var(--head); border-left: 3px solid transparent; letter-spacing: .3px; }
.tnav:hover { color: var(--accent); }
.tnav.is-on { border-left-color: var(--accent); color: var(--accent); background: #fff; }
.faq-group { margin-bottom: 50px; scroll-margin-top: 90px; }
.faq-group h2 { font-size: 26px; line-height: 36px; margin-bottom: 8px; scroll-margin-top: 90px; }

/* Contact */
.info3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.info3-i { background: var(--grey); padding: 34px 30px; text-align: center; }
.info3-i > svg { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: var(--navy); color: #fff; margin: 0 auto 16px; }
.info3-i h2 { font-size: 20px; line-height: 30px; margin-bottom: 6px; }
.info3-i p { margin: 0; word-break: break-word; }
.formpair { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; margin-bottom: 60px; }
.formpair:last-child { margin-bottom: 0; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 80px; background: var(--grey); padding: 26px; }
.toc-h { font: 700 16px/24px var(--head); color: var(--ink); margin-bottom: 10px; }
.toc ol { padding-left: 18px; }
.toc li { font-size: 14px; line-height: 22px; padding: 4px 0; }
.legal-body section { scroll-margin-top: 90px; }
.legal-body section + section { margin-top: 12px; }

/* --- Forms ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.span2 { grid-column: 1 / -1; }
.field label { display: block; font: 500 14px/22px var(--body); color: var(--ink); margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 15px; border: 1px solid #D5D9E0; border-radius: 0; background: #fff; font-size: 15px; line-height: 24px; color: #252525; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6E7280; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(69, 117, 189, .18); }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--accent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B3261E; background: #FCF1F1; }
.consents { margin-top: 22px; display: grid; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { width: 22px; height: 22px; border: 1.5px solid #9AA3B2; background: #fff; flex: none; display: grid; place-items: center; margin-top: 1px; transition: background .2s, border-color .2s; }
.check-box svg { width: 16px; height: 16px; color: #fff; opacity: 0; stroke-width: 2.4; }
.check input:checked + .check-box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check-box svg { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--bright); outline-offset: 2px; }
.check.is-invalid .check-box { border-color: #B3261E; }
.check-text { font-size: 13px; line-height: 21px; color: var(--copy); }
.check-text a { text-decoration: underline; }
.opt-tag { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: 3px; background: var(--pale); color: #1B4F94; font: 600 11px/19px var(--body); letter-spacing: .4px; text-transform: uppercase; vertical-align: 1px; }
.consent-links { font-size: 13px; line-height: 21px; color: var(--copy); margin: 0 0 0 34px; }
.consent-links a { text-decoration: underline; }
.form-error { display: none; margin: 16px 0 0; padding: 12px 16px; border: 1px solid #B3261E; background: #FCF1F1; color: #8C1D18; font-size: 14px; line-height: 22px; }
.form-error.is-shown { display: block; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; min-height: 51px; padding: 12px 42px; border: 0; border-radius: 30px; background: var(--navy); color: #fff; font: 700 15px/23px var(--body); text-transform: uppercase; letter-spacing: .3px; cursor: pointer; transition: background .25s; }
.sbtn:hover { background: var(--bar); }
.sbtn:disabled { opacity: .7; cursor: progress; }
.consult-card .sbtn { display: flex; margin-left: auto; margin-right: auto; }
.form-note { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; font-size: 13px; line-height: 20px; color: var(--copy); }
.consult-card .form-note { justify-content: center; }
.form-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.form-done { display: none; text-align: center; padding: 20px 0; }
.form-done.is-shown { display: block; }
.form-done:focus { outline: none; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: #fff; }
.done-ic svg { width: 30px; height: 30px; stroke-width: 2.2; }
.form-done h3 { font-size: 24px; line-height: 34px; margin-bottom: 10px; }
.form-done p { color: var(--copy); margin-bottom: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Motion (gated on .motion, set by main.js; off for reduced motion) ---- */
/* The demo's WOW fadeInUp on blocks, and one orchestrated hero load. */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }
@keyframes personIn { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
.motion [data-hero] { opacity: 0; animation: riseIn .9s var(--ease) forwards; }
.motion [data-hero="1"] { animation-delay: .1s; }
.motion [data-hero="2"] { animation-delay: .25s; }
.motion [data-hero="3"] { animation-delay: .45s; }
.motion [data-hero="4"] { animation-delay: .6s; }
.motion [data-hero="5"] { animation: personIn 1.1s var(--ease) .3s forwards; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1199px) {
  .site-header { top: 0; }
  .navbar { display: none; }
  .burger { display: grid; }
  .top-info { display: none; }
  .topbar-in { min-height: 76px; }
  .site-header.is-scrolled .topbar { box-shadow: 0 6px 20px rgba(0, 35, 106, .12); }
  .sticky-col, .faq-nav, .toc { top: 96px; }
  .band-in { grid-template-columns: 240px 260px 1fr; gap: 30px; }
  .hero h1 { font-size: 52px; line-height: 62px; }
}
@media (max-width: 991px) {
  .sec { padding: 80px 0; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 0 120px; }
  .hero-person { display: none; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(2) { border-right: 0; }
  .feat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feats--flat .feat { border: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-copy--rule { border-left: 0; padding-left: 0; }
  .svcs-in { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: 1fr 1fr; }
  .band-person { display: none; }
  .special-panel { width: 100%; padding-bottom: 140px; }
  .special-copy { max-width: none; margin: 0; padding: 0 15px; }
  .special-ring { display: none; }
  .pros-in { grid-template-columns: 1fr; gap: 40px; }
  .pros-art { min-height: 0; aspect-ratio: 1 / .85; max-width: 600px; }
  .consult-in { grid-template-columns: 1fr; }
  .consult-blue { margin-top: 0; padding: 60px 40px; }
  .consult-side { margin: 0; }
  .consult-person { display: none; }
  .consult-card { margin: -30px 20px 0; }
  .qa2 { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .cond-intro-in, .cond-intro-in--flip, .split2, .checks-in { grid-template-columns: 1fr; gap: 40px; }
  .cond-photo { max-width: 520px; }
  .art, .formpair { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
  .faq-grid, .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; padding: 6px; }
  .tnav { border-left: 0; border-bottom: 3px solid transparent; padding: 10px 14px; }
  .tnav.is-on { border-bottom-color: var(--accent); }
  .toc { position: static; }
  .subband-in { flex-direction: column; align-items: flex-start; gap: 22px; }
  .phead-img { width: 70%; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .sec { padding: 64px 0; }
  .brand-word { font-size: 23px; }
  .brand .mark { width: 38px; height: 38px; }
  .hero, .hero-in { min-height: 0; }
  .hero-copy { padding: 60px 0 100px; }
  .hero h1 { font-size: 38px; line-height: 46px; }
  .hero-sub { font-size: 17px; line-height: 28px; }
  .h-sec { font-size: 28px; line-height: 38px; }
  .h-sec--sm { font-size: 25px; line-height: 35px; }
  .feats { grid-template-columns: 1fr; }
  .feat { border-right: 0; border-bottom: 1px solid var(--line); }
  .feats--flat { gap: 18px; }
  .svc-grid { grid-template-columns: 1fr; gap: 34px; }
  .band-in { grid-template-columns: 1fr; gap: 0; }
  .band-map { padding: 50px 0 0; }
  .tract-svg { max-width: 220px; }
  .band-copy { padding: 30px 0 60px; }
  .band-copy h2 { font-size: 28px; line-height: 36px; }
  .legend { grid-template-columns: 1fr; }
  .special-photo { height: 280px; }
  .special-cap { left: 20px; right: 20px; bottom: 20px; font-size: 21px; line-height: 28px; }
  .special-cap .play { width: 46px; height: 46px; }
  .steps { grid-template-columns: 1fr; }
  .consult { padding-top: 0; }
  .pros { padding-bottom: 64px; }
  .consult-blue { padding: 50px 24px; }
  .consult-blue h2 { font-size: 28px; line-height: 38px; }
  .consult-num { font-size: 34px; line-height: 44px; }
  .consult-card { margin: -20px 0 0; }
  .wcard { padding: 32px 20px 28px; }
  .wcard > h2, .consult-card > h2 { font-size: 26px; line-height: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .qcard { padding: 6px 20px; }
  .acc-q button { font-size: 16px; line-height: 25px; }
  .posts { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 34px; }
  .phead { min-height: 160px; }
  .phead h1 { font-size: 30px; line-height: 38px; }
  .phead-img { width: 100%; opacity: .35; }
  .phead-lede { font-size: 17px; line-height: 29px; margin: 36px 0 34px; }
  .big-lede { font-size: 17px; line-height: 29px; }
  .ccards { grid-template-columns: 1fr; }
  .dd2 { grid-template-columns: 1fr; }
  .info3 { grid-template-columns: 1fr; }
  .dtable thead { display: none; }
  .dtable tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dtable tbody th, .dtable td { display: block; width: auto; border: 0; padding: 4px 16px; }
  .checks-img { min-height: 220px; }
  .prose h2 { font-size: 23px; line-height: 32px; }
  .subband h2 { font-size: 24px; line-height: 32px; }
  .pros-art { aspect-ratio: 1 / 1; }
  .cond-photo { padding: 24px 0 0 24px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 34px; line-height: 42px; }
  .abtn { padding: 12px 24px; }
  .consult-num { font-size: 30px; }
}

/* A banner lede already spaces the section that follows it. */
.frame:has(> .phead-lede) + .sec { padding-top: 0; }
.h-sec + .tablewrap { margin-top: 30px; }
