/* AREAS sites. Ledger palette, Marcellus + Hanken Grotesk, panelled elements (10px corners, lifted shadow).
   Layout: full-bleed hero, then bands of content on a 1160px measure. Light by default, with a dark theme. */
:root {
  --page: #e7e1dc; --bg: #f7f3f0; --bg-2: #ede5df; --card: #fffdfb; --ink: #221a19; --muted: #625556; --line: #dccfc7;
  --brand: #c10102; --btn: #c10102; --on-btn: #ffffff; --accent: #a3080b;
  --deep: #2a0b0c; --on-deep: #f6ece8; --on-deep-dim: #cdb6b1; --region: #1d4a5c; --on-region: #ffffff;
  --tbc-bg: #fff3c4; --tbc-ink: #5c4600;
  --r: 10px;
  --shadow: 0 2px 4px rgb(30 20 20 / 8%), 0 20px 40px -16px rgb(30 20 20 / 34%);
  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0606; --bg: #170e0e; --bg-2: #1f1414; --card: #241919; --ink: #f2e9e6; --muted: #bba9a6; --line: #3b2c2b;
    --accent: #f2857b; --deep: #0e0707; --on-deep: #f2e9e6; --on-deep-dim: #bba9a6; --region: #4f97b3; --on-region: #07141b;
    --tbc-bg: #4a3b0a; --tbc-ink: #ffe9a3;
    --shadow: 0 2px 6px rgb(0 0 0 / 55%), 0 20px 40px -16px rgb(0 0 0 / 75%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn); color: var(--on-btn); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(48px, 8vw, 96px); background: var(--bg); }
.band.alt { background: var(--bg-2); }
.band.deep { background: var(--deep); color: var(--on-deep); }
.tbc { background: var(--tbc-bg); color: var(--tbc-ink); padding: 0 .3em; border-radius: 4px; font-size: .92em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tbc::before { content: "To confirm: "; font-weight: 700; font-size: .78em; letter-spacing: .02em; text-transform: uppercase; }

/* type */
.h1, .h2, .h3, .subname { font-family: var(--f-display); font-weight: 400; letter-spacing: 0; text-wrap: balance; }
.h1 { font-size: clamp(36px, 5.6vw, 70px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.h3 { display: block; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; }
.eyebrow, .kick { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow { margin-bottom: 14px; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 60ch; margin-top: 16px; }
.small { font-size: 14px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sec-head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.sec-h { margin-bottom: 28px; }

/* buttons, links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--btn); color: var(--on-btn); font: 700 15px/1.2 var(--f-body); padding: 15px 22px; min-height: 50px; border-radius: 8px; border: 0; text-decoration: none; cursor: pointer; letter-spacing: .01em; transition: background-color .2s ease, transform .2s var(--ease); }
.btn:hover { background: color-mix(in srgb, var(--btn) 86%, #000); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn.light { background: var(--on-region); color: var(--region); }
.btn.sm { padding: 10px 16px; min-height: 42px; font-size: 14px; }
.btn.wide { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arr { display: inline-block; transition: transform .2s var(--ease); }
a:hover .arr, .btn:hover .arr { transform: translateX(3px); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--on-deep) 16%, transparent); color: var(--on-deep); }
.tel { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* header: clear over a hero, then solid with a hairline once the hero has passed (height never changes) */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; flex: none; }
.brand .logo { transition: transform .25s var(--ease); transform-origin: left center; }
.subname { font-size: 23px; line-height: 1; color: var(--region); transition: transform .25s var(--ease); transform-origin: left center; }
.endorse { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.endorse.lg { font-size: 16px; font-weight: 700; gap: 8px; color: inherit; }
.nav { position: relative; display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-top { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.hdr-cta { white-space: nowrap; }
.nav-top:hover { border-color: currentColor; }
.nav-top[aria-current="page"] { border-color: var(--brand); }
.nav-cta { display: none; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* drop-downs: hover or keyboard focus on wide screens, the arrow button for touch */
.sub-btn { display: grid; place-items: center; width: 22px; height: 30px; margin-left: 1px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 4px; }
.sub-btn::before { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.has-sub:hover > .sub-btn::before, .has-sub.open > .sub-btn::before { transform: translateY(1px) rotate(-135deg); }
.sub { position: absolute; top: 100%; left: -14px; z-index: 30; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .2s var(--ease), visibility 0s linear .2s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub.shut > .sub { opacity: 0; visibility: hidden; }
.mega { position: static; }
.mega > .sub { left: auto; right: 0; }
.sub-in { min-width: 250px; padding: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r); box-shadow: var(--shadow); font-weight: 500; }
.sub-in ul { list-style: none; margin: 0; padding: 0; }
.sub-in a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.sub-in a:hover, .sub-in a:focus-visible { background: var(--bg-2); color: var(--accent); }
.sub-in a[aria-current="page"] { color: var(--accent); }
.sub-in a.ext::after { content: " ↗"; }
.sub-in.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; width: min(760px, calc(100vw - 48px)); }
.sub-head { font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0 !important; margin-bottom: 4px; }
.sub-col a:not(.sub-head) { white-space: normal; }
.menu { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; padding: 0 10px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; color: inherit; }
.menu i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.hdr.over { margin-bottom: calc(-1 * var(--hdr-h) - 1px); background: transparent; border-color: transparent; color: #fff; }
.hdr.over .subname, .hdr.over .endorse { color: #fff; }
.hdr.over.condensed, .hdr.condensed { background: var(--bg); color: var(--ink); border-color: var(--line); box-shadow: 0 6px 20px -14px rgb(0 0 0 / 35%); }
.hdr.over.condensed .subname { color: var(--region); }
.hdr.over.condensed .endorse { color: var(--muted); }
.hdr.condensed .brand .logo { transform: scale(.86); }
.hdr.condensed .subname { transform: scale(.92); }

/* heroes */
.hero { position: relative; color: var(--on-deep); background: var(--deep); }
.frames { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.frames img, .frames video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero::after, .pin::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 62%, transparent) 0, transparent 140px), linear-gradient(90deg, color-mix(in srgb, var(--deep) 86%, transparent) 0%, color-mix(in srgb, var(--deep) 52%, transparent) 55%, color-mix(in srgb, var(--deep) 10%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--deep) 70%, transparent), transparent 50%); }
.scrub::after { display: none; }
.hero-in { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--hdr-h) + 56px) clamp(48px, 7vw, 80px); }
.hero .h1 { max-width: 17ch; }
.hero .lede, .hero .crumbs { color: var(--on-deep-dim); }
.hero.photo { min-height: clamp(400px, 58vh, 600px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .eyebrow { color: #f3c9c2; }
/* the scroll scrub: the hero holds while the first screen of scroll carries it from late light to blue hour */
.scrub { --p: 0; height: 175svh; }
.pin { position: sticky; top: 0; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.scrub .frames img, .scrub .frames video { transform: scale(calc(1.02 + var(--p) * .06)); transform-origin: var(--pos, 50% 50%); will-change: transform; }
.scrub .f1 { opacity: calc(var(--p) * 1.35 - .2); }
.scrub .fv { z-index: 1; opacity: 0; transform: scale(1.02); transition: opacity .35s ease; }
.scrub .fv.ready { opacity: 1; }
.scrub .hero-in { transform: translateY(calc(var(--p) * -20px)); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* cards (panelled) */
.card { background: var(--card); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
a.card { transition: transform .25s var(--ease), box-shadow .25s ease; }
a.card:hover { transform: translateY(-3px); }
.pad { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sum { color: var(--muted); font-size: 15.5px; }
.card .arr { color: var(--accent); font-weight: 700; margin-top: auto; padding-top: 4px; }
.cards { display: grid; gap: 20px; }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.svc .kick { font-size: 11.5px; }

/* home: audience doors, proof, why, lender band, offices */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door { padding: 26px; gap: 10px; }
.door .h3 { font-size: clamp(22px, 2.2vw, 27px); }
.door .links { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.door.lead { background: var(--deep); color: var(--on-deep); }
.door.lead .sum { color: var(--on-deep-dim); }
.door.lead .links, .door.lead .arr { color: #f3c9c2; }
.proof { padding-block: 34px; border-block: 1px solid var(--line); }
.proof-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid var(--brand); }
.stat b { display: block; overflow: hidden; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; padding-bottom: .06em; }
.stat > span { color: var(--muted); font-size: 15px; }
.stat .tbc { font-size: .62em; padding: .1em .35em; vertical-align: .15em; }
.stat .tbc::before { display: block; font-size: .42em; font-family: var(--f-body); }
.roll { display: inline-block; transition: transform .7s var(--ease) calc(var(--i, 0) * 90ms); }
.stat > span { transition: opacity .5s ease calc(var(--i, 0) * 90ms + 150ms); }
.pre .roll { transform: translateY(105%); transition: none; }
.pre .stat > span { opacity: 0; transition: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.why-i { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.why-i p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.region-band { background: var(--region); color: var(--on-region); padding-block: clamp(40px, 6vw, 64px); }
.region-band .kick { color: inherit; opacity: .85; margin-bottom: 10px; }
.lender-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.lender-in > div { max-width: 720px; }
.lender-in p { margin-top: 12px; opacity: .92; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.office img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.endorse-band { background: var(--region); color: var(--on-region); padding-block: 26px; }
.endorse-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.endorse-in p { flex: 1; min-width: 240px; opacity: .92; }
.endorse-in .link { color: inherit; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 32px); }
.towns li { color: color-mix(in srgb, var(--ink) 55%, var(--bg)); }
.towns li:first-child { color: var(--ink); }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 22px; align-items: start; }
.t-team .people .person:first-child { grid-column: 1 / -1; }
.t-team .people .person:first-child .pad > p:not(.kick) { max-width: 78ch; }
.person { flex-direction: row; align-items: stretch; }
.portrait { flex: none; width: 112px; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait.mono { display: grid; place-items: start center; padding-top: 22px; background: var(--deep); }
.portrait.mono span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-deep) 12%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-deep) 30%, transparent); color: var(--on-deep); font: 400 24px/1 var(--f-display); letter-spacing: .02em; }
.person .pad { gap: 8px; }
.person .pad p:not(.kick) { color: var(--muted); font-size: 15px; }
.person .post { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-top: 4px; }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.crew a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease); }
.crew a:hover { transform: translateY(-2px); }
.crew-i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--on-deep); font: 400 17px/1 var(--f-display); }
.crew b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.2; }
.crew .post { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--accent); margin-top: 2px; }
.crew-r { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.local-team { margin-top: 2.4em; display: flex; flex-direction: column; gap: 16px; }
.local-team .h3 { margin: 0; }
.local-team .h2 { margin-bottom: 18px; }
.split .people { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) { .person { flex-direction: column; } .portrait { width: 100%; height: 120px; } .portrait.mono { place-items: center; padding: 0; } }

/* rows, faq */
.rows { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 22px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row:last-child { border-bottom: 0; }
.row > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.row b { font-family: var(--f-display); font-weight: 400; font-size: clamp(19px, 2vw, 23px); }
.row b + span { color: var(--muted); font-size: 15px; }
.row .arr { color: var(--accent); font-weight: 700; }
.faq { display: flex; flex-direction: column; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }
.qa[open] summary::after { content: "−"; }
.qa > div { color: var(--muted); padding-bottom: 18px; max-width: 64ch; }
.qa > div p + p { margin-top: 10px; }

/* interior pages */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-grid.contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.prose { max-width: 68ch; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.15; margin-top: 1.7em; text-wrap: balance; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a:not(.btn):not(.link) { color: var(--accent); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose blockquote { margin: 0; padding-left: 1.2em; font-family: var(--f-display); font-size: 1.12em; line-height: 1.45; color: var(--muted); }
.checklist { padding: 24px 26px; margin-top: 2em; }
.checklist ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--accent); }
.page-faq { margin-top: 2.4em; }
.page-faq .h2 { margin-bottom: 6px; }
.sources { margin-top: 2.2em; }
.sources ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sources a { color: var(--accent); }
.side { position: sticky; top: calc(var(--hdr-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.side-card { padding: 24px; gap: 12px; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-rel { display: flex; flex-direction: column; }
.side-rel .kick { margin-bottom: 6px; }
.side-rel a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.side-rel a .arr { color: var(--accent); }
.hub-intro { margin-bottom: clamp(28px, 4vw, 48px); }
.nap .map { width: 100%; height: auto; }
.nap address { font-style: normal; color: var(--muted); }
.naps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 2em; }
.nf { min-height: 60vh; }
.nf .rows { margin-top: 40px; }

/* enquiry form */
.enquiry { padding: clamp(22px, 3vw, 32px); gap: 18px; }
.paths { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.paths legend { margin-bottom: 10px; }
.paths label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 15px; }
.paths label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.paths input { accent-color: var(--accent); margin-top: .3em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 500 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 12px 13px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.enquiry[data-path="client"] [data-for="lender"] { display: none; }
.form-out { padding: 16px; border-radius: 8px; background: var(--bg-2); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.form-out textarea { font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; width: 100%; min-height: 150px; padding: 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }

/* closing band, footer */
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta p { margin-top: 10px; color: var(--on-deep-dim); max-width: 56ch; }
.cta .acts { margin-top: 0; }
.foot { background: var(--deep); color: var(--on-deep); padding-block: 56px 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 7px; }
.foot-grid a { color: var(--on-deep-dim); text-decoration: none; }
.foot-grid a:hover { color: var(--on-deep); text-decoration: underline; }
.foot address { font-style: normal; color: var(--on-deep-dim); margin-top: 14px; }
.foot .subname { color: var(--on-deep); }
.foot .endorse { color: var(--on-deep-dim); }
.fh { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep); margin-bottom: 4px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); color: var(--on-deep-dim); font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: inherit; }

/* responsive */
@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the menu button takes over before any label or the header button has to wrap */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); color: var(--ink); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgb(0 0 0 / 40%); }
  .nav.open { display: flex; max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item, .mega { position: relative; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-top { flex: 1; padding: 14px 0; border-bottom: 0; }
  .nav-top[aria-current="page"] { color: var(--accent); }
  .sub-btn { width: 44px; height: 44px; }
  /* in the menu a section opens only with its arrow button */
  .has-sub:hover > .sub-btn::before { transform: translateY(-2px) rotate(45deg); }
  .has-sub.open > .sub-btn::before { transform: translateY(1px) rotate(-135deg); }
  .sub, .mega > .sub { position: static; display: none; width: 100%; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub.open > .sub { display: block; }
  .sub-in, .sub-in.cols { display: block; width: auto; min-width: 0; padding: 0 0 0 14px; background: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
  .sub-in a { padding: 9px 0 9px 4px; white-space: normal; }
  .sub-in a:hover, .sub-in a:focus-visible { background: none; }
  .sub-head { border-bottom: 0; margin: 6px 0 0; }
  .sub-col ul { padding-left: 14px; }
  .nav-cta { display: block; margin-top: 12px; padding: 14px 0; text-align: center; text-decoration: none; background: var(--btn); color: var(--on-btn) !important; border-radius: 8px; border: 0 !important; }
  .hdr-cta { display: none; }
  .menu { display: flex; }
  .hdr-in { position: relative; }
}
@media (max-width: 900px) {
  .cards.c3, .doors { grid-template-columns: minmax(0, 1fr); }
  .split, .page-grid, .page-grid.contact { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .offices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  :root { --hdr-h: 64px; }
  .cards.c4, .why, .fields, .naps, .proof-in { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acts .btn { flex: 1 1 100%; }
  .scrub { height: 160svh; }
  .pin { min-height: 520px; }
  .hero-in { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .scrub { height: auto; }
  .pin { position: relative; }
  .scrub .frames img, .scrub .hero-in { transform: none; }
  .scrub .fv { display: none; }
  a.card:hover { transform: none; }
}
@media print {
  .hdr, .foot, .side, .hero .frames, .cta, video { display: none !important; }
  .hero { background: none; color: #000; }
}
