/* Self-hosted variable fonts (latin subset): no third-party request, preloaded from the page head */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/newsreader-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Baltimore Deeds: a clear, conventional services page.
   Spacing, margins and radii measured from parloa.com / cofactr.com / paypath.ai (docs/REFERENCE-SPEC.md).
   Palette: ink, paper, one harbor blue. Headings: Newsreader (serif). Body and UI: Plus Jakarta Sans. */
:root {
  --white: #fff; --paper: #f6f3ec;
  --g5: #eee9de; --g100: #e3ddcf; --g200: #d2cbbb; --g300: #b5ae9d; --g500: #857e70; --g600: #655f54;
  --g900: #0b1a24; /* ink */ --black: #10171c;
  --accent: #3f86a6; --accent-ink: #1d5565; --glow: #8cc0d6;
  --sel-light: #cfe3ec; --red: #b3321f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(.14, .875, .33, .915); /* parloa --ease-out */
  --d-sm: 110ms; --d-md: 200ms; --d-lg: 320ms; /* UI transitions: Parloa measured 110/260/480; tightened for snap */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale */
  --fs-hero: 42px; --lh-hero: 1.08;
  --fs-h2: 34px; --lh-h2: 1.1;
  --fs-h3: 24px; --lh-h3: 1.2;
  --fs-lead: 20px; --lh-lead: 1.5;
  --fs-body: 16px; --lh-body: 1.55;
  --fs-ui: 14px; --lh-ui: 1.4;
  --fs-small: 12px; --lh-small: 1.4;
  --tr-display: -0.015em;

  /* layout */
  --m: 24px;          /* side margin */
  --sec-y: 72px;      /* section padding, top and bottom */
  --r-media: 0; --r-ctl: 0; /* square corners everywhere except the CTA pills and the header, which share --r-pill */
  --r-pill: 999px; --r-panel: 30px;
}
@media (min-width: 768px) { :root { --m: 48px; --sec-y: 96px; --fs-hero: 52px; --fs-h2: 44px; --fs-h3: 26px; } }
@media (min-width: 1200px) { :root { --m: 80px; --sec-y: 128px; --fs-hero: 64px; --fs-h2: 54px; --lh-h2: 1.05; --fs-h3: 28px; } }
@media (min-width: 1440px) { :root { --m: 128px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--black); font: 400 var(--fs-body)/var(--lh-body) var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sel-light); }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: var(--tr-display); }
h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 14px; }
.container { max-width: calc(1184px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.22em; }

.ulink { position: relative; text-decoration: none; padding: 5px 10px; display: inline-block; white-space: nowrap; transition: color var(--d-md) var(--ease-ui); }
.ulink::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0; font: 500 var(--fs-ui)/var(--lh-ui) var(--text); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; background: var(--g900); color: #fff; transition: background-color var(--d-lg) var(--ease-ui), color var(--d-lg) var(--ease-ui); }
.pill:hover { background: var(--accent-ink); color: #fff; }
.pill:disabled { opacity: .7; cursor: default; }
.pill .icon { width: 20px; height: 20px; vertical-align: middle; }
.pill-light { background: #fff; color: var(--g900); }
.pill-light:hover { background: var(--glow); color: var(--g900); }
.pill:focus-visible, .more-btn:focus-visible, .back-btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[data-magnetic] { will-change: transform; }

/* ---------- Header: full-width flat bar, content aligned to the page container ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 110; color: var(--g900); }
.site-nav-bar { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 max(var(--m), calc((100% - 1184px) / 2)); background: #fefdf9; box-shadow: 0 1px 0 color-mix(in srgb, currentColor 12%, transparent); }
.wordmark { font-family: var(--display); font-size: 24px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.site-links { display: none; position: relative; flex: 1; justify-content: center; align-items: center; gap: 2px; }
@media (min-width: 1000px) { .site-links { display: flex; } }
.site-links a { position: relative; z-index: 1; border-radius: var(--r-pill); font: 400 15px/1.2 var(--text); letter-spacing: -0.005em; color: inherit; text-decoration: none; padding: 9px 13px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: color var(--d-md) var(--ease-ui); }
.site-links a:hover { color: var(--accent-ink); }
.site-links .hl { position: absolute; left: 0; top: 0; height: 0; width: 0; border-radius: var(--r-pill); background: #0b1a240d; opacity: 0; pointer-events: none; z-index: 0; }
.site-actions { display: none; align-items: center; gap: 18px; margin-left: auto; }
@media (min-width: 1000px) { .site-actions { display: flex; margin-left: 0; } }
.site-call { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; text-decoration: none; color: inherit; white-space: nowrap; transition: color var(--d-md) var(--ease-ui); }
.site-call .icon { width: 16px; height: 16px; }
.site-call:hover { color: var(--accent-ink); }
.nav-cta { min-height: 40px; padding: 0 20px; border-radius: var(--r-pill); }
@media (min-width: 1000px) { .site-nav-bar .wordmark { min-width: 190px; } }
.nav-toggle { position: relative; width: 43px; height: 43px; margin-left: auto; margin-right: -10px; background: none; border: 0; border-radius: var(--r-pill); cursor: pointer; color: inherit; }
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform var(--d-lg) var(--ease-ui), top var(--d-lg) var(--ease-ui); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 25px; }
.site-nav[data-open="true"] .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-nav[data-open="true"] .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.site-nav .nav-cta-mobile { display: none; }
@media (max-width: 999px) and (min-width: 520px) { .site-actions { display: flex; } .site-actions .site-call { display: none; } }

/* mobile menu: the panel drops from the bar */
.nav-panel { color: var(--g900); position: absolute; top: 100%; left: 0; right: 0; background: #fefdf9; border-radius: 0; box-shadow: 0 30px 70px -30px #0b1a24b3, 0 1px 0 #0b1a241f inset; max-height: calc(100svh - 64px); overflow: auto; }
.nav-panel[hidden] { display: none; }
@media (min-width: 1000px) { .nav-panel { display: none !important; } }
.nav-panel-inner { display: grid; padding: 26px var(--m) 28px; }
.nav-col { display: grid; gap: 32px; }
.nav-links { display: grid; gap: 2px; }
.nav-links a { font-family: var(--display); font-size: 30px; line-height: 1.25; letter-spacing: -0.01em; text-decoration: none; width: fit-content; }
.nav-label { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.nav-contact { display: grid; gap: 4px; }
.nav-line { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); text-decoration: none; margin: 0; }
.nav-line.muted { color: var(--g600); font-size: var(--fs-ui); }
.nav-line .icon { width: 18px; height: 18px; color: var(--g600); }
a.nav-line:hover { color: var(--accent-ink); }
.nav-scrim { position: fixed; inset: 0; z-index: 109; background: #0b1a2473; opacity: 0; pointer-events: none; }
.nav-scrim[data-open="true"] { pointer-events: auto; }
body[data-menu="open"] { overflow: hidden; }
@media (min-width: 1000px) { .nav-scrim { display: none; } }
.site-nav .pill:focus-visible, .nav-toggle:focus-visible, .site-links a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: var(--r-pill); }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 56px; }
@media (min-width: 768px) { .hero { padding-top: 160px; } }
@media (min-width: 1200px) { .hero { padding: 192px 0 96px; } }
.hero h1 { max-width: 980px; }
.hero h1 .line { display: block; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .06em .28em; margin: -.12em -.06em -.28em; }
.hero h1 .w > span { display: inline-block; will-change: transform; }
.hero-row { margin: 32px 0 56px; }
@media (min-width: 900px) { .hero-row { display: flex; justify-content: flex-end; margin-bottom: 72px; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero-cta .ulink { padding-left: 0; } .hero-cta .ulink::after { left: 0; }
.slot { width: 100%; background: repeating-linear-gradient(135deg, var(--g5) 0 14px, #e8e3d6 14px 28px); border: 1px dashed var(--g300); border-radius: var(--r-media); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--g600); font-size: var(--fs-ui); }

/* ---------- Sections ---------- */
.section { padding: var(--sec-y) 0; }
.section-alt { background: var(--g5); }
.dark { background: var(--g900); color: #fff; }
.sec-title { max-width: 860px; margin-bottom: 40px; }
@media (min-width: 1200px) { .sec-title { margin-bottom: 64px; } }

.facts { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.facts-row { display: grid; gap: 0; }
.facts-row li { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-size: var(--fs-ui); line-height: var(--lh-ui); }
.facts-row li + li { border-top: 1px solid var(--g200); }
.facts-row .icon { color: var(--accent-ink); width: 20px; height: 20px; }
@media (min-width: 768px) { .facts-row { grid-template-columns: repeat(3, 1fr); } .facts-row li { justify-content: center; padding: 22px 16px; } .facts-row li + li { border-top: 0; border-left: 1px solid var(--g200); } .facts-row li:first-child { justify-content: flex-start; padding-left: 0; } .facts-row li:last-child { justify-content: flex-end; padding-right: 0; } }

/* services */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; overflow: hidden; background: var(--white); border: 0; border-radius: var(--r-media); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.card-icon { will-change: transform; }
.card-icon { width: 28px; height: 28px; color: var(--accent-ink); stroke-width: 1.5; }
.card p { color: var(--g600); }
.card h3 { margin-top: 20px; }

/* photo + text split */
.split2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split2 { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.photo { overflow: hidden; border-radius: var(--r-media); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--g100); transform: scale(1.12); will-change: transform; }
.split2-text { display: grid; gap: 24px; justify-items: start; }
.split2-text p { color: var(--g600); max-width: 460px; }

/* city / county */
.areas { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { background: var(--white); border: 0; border-radius: var(--r-media); overflow: hidden; }
.area .slot { transform-origin: 50% 50%; will-change: transform; }
.area-media { overflow: hidden; }
.area .slot { border: 0; border-radius: 0; aspect-ratio: 16 / 10; }
.area-body { padding: 32px; display: grid; gap: 14px; }
.area-body h3 { margin-top: 8px; }
.area-body p { color: var(--g600); }
.area-foot { margin-top: 32px; display: grid; gap: 20px; }
.area-foot .area-note { margin: 0; }
.area-note { margin-top: 32px; color: var(--g600); max-width: 560px; }
.area-sources { display: grid; gap: 8px; justify-items: start; font-size: var(--fs-ui); line-height: 1.3; }
.area-sources-label { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g600); }
.area-sources .ulink { padding: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--g900); font-weight: 500; }
.area-sources .ulink::after { left: 0; right: 0; bottom: -3px; transform: scaleX(1); }
.area-sources .ulink:hover::after, .area-sources .ulink:focus-visible::after { transform: scaleX(0); transform-origin: right; }
.area-sources .icon { width: 14px; height: 14px; color: var(--accent-ink); }
@media (min-width: 900px) { .area-foot { grid-template-columns: 1fr auto; align-items: start; gap: 48px; } .area-sources { justify-items: end; } }

/* taxes */
.taxes-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .taxes-grid { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: start; } }
.taxes-body { display: grid; gap: 32px; }
.taxlist { display: grid; }
.taxlist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid #ffffff29; color: #ffffffcc; }
.taxlist li:last-child { border-bottom: 1px solid #ffffff29; }
.taxlist .icon { margin-top: 3px; color: var(--glow); width: 20px; height: 20px; }

/* process */
.steps { position: relative; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--g200); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(var(--line, 1)); transform-origin: left; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 28px 0 32px; border-bottom: 1px solid var(--g200); display: grid; gap: 10px; align-content: start; }
@media (min-width: 900px) { .steps li { padding: 32px 32px 0 0; border-bottom: 0; } .steps li + li { padding-left: 32px; border-left: 1px solid var(--g200); } }
.step-num { font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: 0.06em; font-weight: 600; color: var(--g600); font-variant-numeric: tabular-nums; transition: color var(--d-lg) var(--ease-ui); }
.steps li.on .step-num { color: var(--accent-ink); }
.js-motion .steps { --line: 0; }
.steps h3 { margin-top: 28px; }
.steps p { color: var(--g600); max-width: 280px; }

/* price */
.price-band { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .price-band { grid-template-columns: 1fr auto; gap: 80px; } }
.price { display: grid; gap: 14px; }
.price-amt { font-family: var(--display); font-size: clamp(88px, 14vw, 160px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-note { color: var(--g600); max-width: 400px; }
.price-cta { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 900px) { .price-cta { justify-items: end; } }

/* faq */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; } }
.faq-help { margin-top: 20px; color: var(--g600); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.qa { border-top: 1px solid var(--g200); }
.qa:last-child { border-bottom: 1px solid var(--g200); }
.qa summary { cursor: pointer; font-family: var(--display); font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--text); font-size: 24px; line-height: 1; transition: transform .36s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 0 24px; color: var(--g600); max-width: 600px; }

/* request */
.request-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .request-grid { grid-template-columns: 1fr 1.15fr; gap: 96px; } }
.request-copy { display: grid; gap: 20px; }
.request-copy .lead { color: #ffffffcc; }
.contact-list { display: grid; gap: 4px; margin-top: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--glow); }
.contact-list .ulink { padding-left: 0; } .contact-list .ulink::after { left: 0; }

/* ---------- Form (white card) ---------- */
.form-card { background: var(--white); color: var(--black); border-radius: var(--r-media); padding: 28px 22px 32px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .form-card { padding: 40px; } }
#deedForm { display: grid; gap: 24px; }
#deedForm[hidden] { display: none; }
.progress { height: 3px; background: var(--g100); margin: -28px -22px 0; }
@media (min-width: 768px) { .progress { margin: -40px -40px 0; } }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.step-head { display: grid; gap: 4px; }
.step-count { font-size: var(--fs-ui); line-height: var(--lh-ui); font-weight: 500; color: var(--g500); }
.step-title { font-size: var(--fs-h3); }
.steps-wrap { overflow: hidden; margin: -4px; padding: 4px; }
.step { display: grid; gap: 20px; }
.step[hidden] { display: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
legend { font-weight: 600; font-size: var(--fs-body); padding: 0; margin-bottom: 12px; }
.row2, .row3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 2fr 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: var(--fs-ui); line-height: var(--lh-ui); font-weight: 500; }
.field em { color: var(--g500); font-style: normal; font-weight: 400; }
.field input, .field textarea { font: 400 var(--fs-body)/var(--lh-body) var(--text); color: var(--black); width: 100%; border: 1px solid var(--g200); border-radius: var(--r-ctl); padding: 12px 14px; background: #fff; transition: border-color .36s var(--ease), box-shadow .36s var(--ease); }
.field input:hover, .field textarea:hover { border-color: var(--g500); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--sel-light); }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: var(--red); background: #fff8f6; }
.err { font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--red); overflow: hidden; height: 0; opacity: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.choice-label { width: 100%; font-size: var(--fs-ui); line-height: var(--lh-ui); font-weight: 500; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span:not(.choice-label) { display: inline-block; padding: 10px 18px; border: 1px solid var(--g200); border-radius: 0; font-size: var(--fs-ui); font-weight: 500; transition: background-color .36s var(--ease), color .36s var(--ease), border-color .36s var(--ease); }
.choice label:hover span { border-color: var(--g500); }
.choice input:checked + span { background: var(--g900); color: #fff; border-color: var(--g900); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.more-btn { background: none; border: 0; padding: 0; font: 600 var(--fs-ui)/var(--lh-ui) var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-align: left; color: var(--black); }
.more-btn .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.more-panel { overflow: hidden; }
.more-panel[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-row .pill { margin-left: auto; }
.back-btn { background: none; border: 0; font: 600 var(--fs-ui)/var(--lh-ui) var(--text); cursor: pointer; padding: 12px 0; display: inline-flex; align-items: center; gap: 8px; }
.back-btn .icon { width: 18px; height: 18px; }
.back-btn[hidden], .nav-row .pill[hidden] { display: none; }
.form-error { color: var(--red); font-size: var(--fs-ui); line-height: var(--lh-ui); }
.form-consent { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g600); }
.form-done { padding: 8px 0; }
.form-done[hidden] { display: none; }
.form-done svg { color: var(--accent-ink); margin-bottom: 20px; display: block; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { color: var(--g600); max-width: 460px; }

/* ---------- Footer ---------- */
.footer { background: var(--g5); padding: var(--sec-y) 0 32px; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 40px 16px; }
@media (min-width: 768px) { .grid2 { grid-template-columns: repeat(12, 1fr); } .grid2 > :first-child { grid-column: 1 / 7; } .grid2 > :last-child { grid-column: 8 / 13; } }
.foot-title { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
.footer p { margin-bottom: 4px; }
.crow { display: flex; align-items: flex-start; gap: 12px; }
.crow .icon { margin-top: 5px; color: var(--g600); }
.crow .ulink { padding-left: 0; } .crow .ulink::after { left: 0; }
.muted { color: var(--g600); font-size: var(--fs-ui); line-height: var(--lh-ui); }
.foot-nav { display: grid; align-content: start; gap: 2px; }
.foot-nav .ulink { justify-self: start; padding-left: 0; } .foot-nav .ulink::after { left: 0; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--g200); display: grid; gap: 14px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g600); }

.section { position: relative; }

/* ---------- Motion hooks (js adds .js-motion only when motion is allowed) ---------- */
.js-motion [data-reveal], .js-motion [data-stagger] > *, .js-motion [data-hero="fade"] { opacity: 0; }
.js-motion .hero h1 .w > span { transform: translateY(135%); }
.js-motion .hero-bg { opacity: 0; }
.js-motion .site-nav { opacity: 0; transform: translateY(-96px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }

/* ---------- Photo hero: full-bleed image, headline bottom-left, CTA right ---------- */
.hero-photo { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 128px 0 40px; overflow: clip; }
@media (min-width: 1200px) { .hero-photo { padding: 160px 0 72px; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-video-on .hero-bg { display: none; }
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: 0; pointer-events: none; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,26,36,.62) 0%, rgba(11,26,36,0) 20%),
    linear-gradient(0deg, rgba(11,26,36,.80) 0%, rgba(11,26,36,.42) 34%, rgba(11,26,36,0) 62%),
    linear-gradient(90deg, rgba(11,26,36,.48) 0%, rgba(11,26,36,0) 58%),
    rgba(11,26,36,.16); }
.hero-photo .container { position: relative; z-index: 2; width: 100%; }
.hero-photo .hero-inner { display: flex; flex-direction: column; gap: 32px; }
.hero-photo .hero-row { margin: 0; display: block; }
.hero-photo h1 { max-width: 820px; }
.hero-title-m { display: none; }
/* Phones: the headline is replaced by a short "Get Started" above the bar; the real h1 stays in the page for search engines and screen readers */
@media (max-width: 699px) {
  .hero-photo h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .hero-title-m { display: block; margin: 0 0 -8px; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 10vw, 44px); line-height: var(--lh-hero); letter-spacing: var(--tr-display); color: #fff; }
}
/* Jump starter: one horizontal bar, segments split by hairlines (step 1 of the request) */
.jump-bar { display: grid; grid-template-columns: 1fr; background: #fefdf9; color: var(--g900); box-shadow: 0 24px 60px -28px #0b1a24b3; }
.jump-seg { position: relative; display: grid; gap: 2px; padding: 12px 18px 11px; border-bottom: 1px solid #0b1a2420; cursor: text; transition: background-color var(--d-md) var(--ease-ui); }
.jump-seg > span { font-size: var(--fs-small); line-height: 1.2; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--g600); }
.jump-seg input { width: 100%; min-width: 0; border: 0; background: none; padding: 2px 0; font: 400 var(--fs-body)/1.3 var(--text); color: var(--g900); outline: 0; border-radius: 0; }
.jump-seg input::placeholder { color: var(--g500); opacity: 1; }
.jump-seg:hover, .jump-seg:focus-within { background: #0b1a240a; }
.jump-seg:focus-within::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent-ink); }
.jump-seg[data-invalid="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #b3261e; }
.jump-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 0; background: var(--g900); color: #fff; font: 500 var(--fs-ui)/1 var(--text); letter-spacing: -0.01em; cursor: pointer; transition: background-color var(--d-lg) var(--ease-ui); }
.jump-go:hover, .jump-go:focus-visible { background: var(--accent-ink); }
.jump-go .icon { width: 18px; height: 18px; }
.jump-err { margin: 10px 0 0; padding: 8px 12px; background: #fefdf9; color: #b3261e; font-size: var(--fs-ui); }
.jump-sub { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: var(--fs-ui); color: rgba(255,255,255,.88); }
.jump-sub .ulink { padding-left: 0; } .jump-sub .ulink::after { left: 0; }
@media (max-width: 899px) {
  /* Phones: compact two-column bar so the photo stays visible */
  .jump-bar { grid-template-columns: 1fr 1fr; }
  .jump-addr, .jump-go { grid-column: 1 / -1; }
  .jump-seg { padding: 9px 14px 8px; }
  .jump-jur { grid-column: auto; }
  .jump-zip { border-right: 1px solid #0b1a2420; }
  .jump-seg > span { font-size: 11px; }
  .jump-seg input, .dd-btn { font-size: 16px; padding: 0; }   /* 16px stops iOS zooming on focus */
  .jump-go { min-height: 50px; }
  .jump-sub { margin-top: 10px; font-size: 14px; }
  .jump-sub > :first-child { display: none; }
}
@media (min-width: 900px) {
  .jump-bar { grid-template-columns: 2.4fr .9fr 1.4fr auto; align-items: stretch; }
  .jump-seg { border-bottom: 0; border-right: 1px solid #0b1a2420; padding: 14px 20px 13px; }
  .jump-go { min-height: 0; padding: 0 30px; }
}

/* Photo and text side by side, 50/50: the photo fills the left half edge to edge, the text sits on solid navy on the right */
.bg-photo { display: grid; padding: 0; background: var(--g900); }
.bg-photo-media { position: relative; overflow: hidden; }
.bg-photo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 90% center; opacity: 0; transition: opacity 1s ease; }
.bg-photo-video.on { opacity: 1; }
.bg-photo-img { display: block; width: 100%; height: clamp(260px, 70vw, 420px); object-fit: cover; object-position: 90% center; }
.bg-photo-inner { display: flex; align-items: center; padding: var(--sec-y) var(--m); }
.bg-photo .split2-text p { color: rgba(255,255,255,.78); }
@media (min-width: 900px) {
  .bg-photo { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .bg-photo-img { height: 100%; min-height: 600px; }
  .bg-photo-inner { padding: var(--sec-y) max(var(--m), calc((100vw - 1184px) / 2)) var(--sec-y) clamp(48px, 6vw, 96px); }
}

/* Header bar tone (set by js/nav.js): dark bar over light sections */
.site-nav[data-bar="dark"] .site-links a:hover, .site-nav[data-bar="dark"] .site-call:hover { color: var(--glow); }
.site-nav[data-bar="dark"] .site-links .hl { background: #ffffff1a; }
.site-nav[data-bar="dark"] .nav-cta { background: #fff; color: var(--g900); }
.site-nav[data-bar="dark"] .nav-cta:hover { background: var(--glow); color: var(--g900); }

/* Consent banner */
button.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.pill-line { background: transparent; color: var(--g900); box-shadow: inset 0 0 0 1px var(--g200); }
.pill-line:hover { background: #0b1a240a; color: var(--g900); box-shadow: inset 0 0 0 1px var(--g900); }
.consent { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; background: #fefdf9; color: var(--g900); border-radius: 0; box-shadow: 0 24px 60px -28px #0b1a24b3, 0 0 0 1px #0b1a241a; }
.consent-main { display: grid; gap: 16px; padding: 20px 22px; align-items: center; }
.consent-text { font-size: 14px; line-height: 1.5; color: var(--g600); max-width: 64ch; }
.consent-text a { color: var(--g900); }
.consent-actions, .consent-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .pill { min-height: 42px; padding: 0 20px; }
.consent-panel { overflow: hidden; border-top: 1px solid var(--g200); }
.consent-cats { list-style: none; margin: 0; padding: 4px 22px; display: grid; }
.consent-cat { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--g200); }
.consent-cat:last-child { border-bottom: 0; }
.consent-cat-copy { display: grid; gap: 2px; }
.consent-cat-title { font-weight: 500; font-size: 15px; }
.consent-cat-text { font-size: 14px; line-height: 1.5; color: var(--g600); max-width: 60ch; }
.consent-locked { font-size: 14px; color: var(--g600); white-space: nowrap; }
.consent-switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: var(--g300); cursor: pointer; transition: background-color var(--d-md) var(--ease-ui); }
.consent-switch[data-on="true"] { background: var(--accent-ink); }
.consent-knob { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.consent-switch:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.consent-panel-actions { padding: 16px 22px 20px; justify-content: flex-end; }
@media (min-width: 700px) {
  .consent { left: max(var(--m), calc((100% - 1184px) / 2)); right: max(var(--m), calc((100% - 1184px) / 2)); bottom: 24px; }
  .consent-main { grid-template-columns: 1fr auto; gap: 40px; }
  .consent-cats, .consent-panel-actions { padding-left: 28px; padding-right: 28px; }
  .consent-main { padding: 20px 28px; }
}

/* Hairline arch shapes behind a section (js/shapes.js moves them) */
.has-shapes { position: relative; overflow: hidden; }
.has-shapes > .container { position: relative; z-index: 1; }
.shape-stack { position: absolute; inset: 0; display: grid; place-items: end center; color: rgba(11,26,36,.14); pointer-events: none; }
.shape { grid-area: 1 / 1; height: var(--h, 135%); translate: var(--x, 0) 0; will-change: transform; }
.shape svg { display: block; height: 100%; width: auto; overflow: visible; will-change: transform; }
.shape path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.slot.has-img { background: none; border: 0; padding: 0; display: block; overflow: hidden; }
.slot.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* Abstract haze plate behind a dark section: very subtle, edges fade into the section navy (image from prompt 1.8) */
.has-haze { position: relative; isolation: isolate; overflow: hidden; }
.has-haze::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--haze) var(--haze-pos, 70% 90%) / var(--haze-bg, cover) no-repeat; opacity: var(--haze-op, .6);
  -webkit-mask-image: radial-gradient(ellipse var(--haze-size, 90% 90%) at var(--haze-mask, 55% 55%), #000 45%, transparent 100%); mask-image: radial-gradient(ellipse var(--haze-size, 90% 90%) at var(--haze-mask, 55% 55%), #000 45%, transparent 100%); }
.consent[data-view="prefs"] .consent-actions [data-consent="decline"], .consent[data-view="prefs"] .consent-actions [data-consent="accept"] { display: none; }
.consent-prefs { align-self: center; padding: 0 6px; font: 500 14px/1.2 var(--text); color: var(--g900); }

/* ---------- texture (merged to save a request) ---------- */
/* Texture system: mesh gradient + film grain + dot field + a glowing ribbon line.
   Palette: --ink, --steel (harbor blue), --teal, --glow and --mist (paper); retune them in one place.
   Motion: js/motion.js drifts --ax..--cy; js/scroll.js sets --sp (section scroll progress) for parallax. */
:root { --ink: #0b1a24; --teal: #1d5565; --steel: #3f86a6; --glow: #8cc0d6; --mist: #f6f3ec; }
/* overflow: clip (not hidden) so position: sticky scenes inside a textured section still pin. */
.tex { position: relative; isolation: isolate; overflow: clip; }
.tex > .container, .tex > .scene-track { position: relative; z-index: 1; }
.tex::before { content: ""; position: absolute; inset: -22% -6%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 48% at calc(var(--ax, 18) * 1%) calc(var(--ay, 28) * 1%), var(--b1), transparent 72%),
    radial-gradient(48% 44% at calc(var(--bx, 84) * 1%) calc(var(--by, 22) * 1%), var(--b2), transparent 72%),
    radial-gradient(70% 52% at calc(var(--cx, 55) * 1%) calc(var(--cy, 108) * 1%), var(--b3), transparent 74%),
    var(--base);
  transform: translateY(calc((var(--sp, 0.5) - 0.5) * -140px)); }
.tex::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain, 0.5); mix-blend-mode: var(--blend, overlay);
  background-image: var(--noise), radial-gradient(var(--dot, rgba(255,255,255,.16)) 1px, transparent 1.3px);
  background-size: 220px 220px, 13px 13px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }

.tex-ink { --base: var(--ink); --b1: rgba(63,134,166,.55); --b2: rgba(29,85,101,.7); --b3: rgba(140,192,214,.26);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--ink); color: #fff; }
.tex-mist { --base: var(--mist); --b1: rgba(63,134,166,.20); --b2: rgba(210,200,178,.5); --b3: rgba(29,85,101,.12); --grain: .55; --blend: multiply; --dot: rgba(11,26,36,.09);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--mist); }

/* Ribbon: a luminous curve with a travelling pulse. */
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(46vw, 520px); z-index: -1; pointer-events: none; overflow: visible;
  transform: translateY(calc((var(--sp, 0.5) - 0.5) * 70px)); }
.ribbon path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ribbon .r-glow { stroke-width: 30; opacity: .5; }
.ribbon .r-line { stroke-width: 1.5; opacity: .85; }
.ribbon .r-pulse { stroke-width: 4; stroke-dasharray: .14 1.3; stroke-dashoffset: 1.2; }
.tex-mist .ribbon { opacity: .55; }
.tex-mist .ribbon .r-glow { opacity: .35; }
.tex-ink .ribbon { opacity: .75; }

/* Flat variant: solid colour + grain + dots only (no gradient orbs, no ribbon). The hero keeps the full version. */
.tex-flat::before { display: none; }
.tex-flat.tex-ink { background: var(--ink); }
.tex-flat.tex-mist { background: var(--g5); }

/* Custom dropdown (hero bar) */
.dd { cursor: default; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 2px 0; border: 0; background: none; font: 400 var(--fs-body)/1.3 var(--text); color: var(--g900); text-align: left; cursor: pointer; border-radius: 0; outline: 0; }
.dd[data-filled="false"] .dd-value { color: var(--g500); }
.dd-chev { flex: none; color: var(--g600); }
.dd[data-open="true"] { background: #0b1a240a; }
.dd:has(.dd-btn:focus-visible)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent-ink); }
.dd-list { position: absolute; z-index: 20; left: -1px; right: -1px; margin: 0; padding: 6px 0; list-style: none; background: #fefdf9; box-shadow: 0 24px 50px -20px #0b1a24cc, 0 0 0 1px #0b1a2426; min-width: 220px; }
.dd[data-dir="down"] .dd-list { top: 100%; margin-top: 1px; }
.dd[data-dir="up"] .dd-list { bottom: 100%; margin-bottom: 1px; }
.dd-list[hidden] { display: none; }
.dd-list [role="option"] { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; font-size: var(--fs-body); color: var(--g900); cursor: pointer; }
.dd-list [role="option"].is-active { background: #0b1a240d; }
.dd-list [aria-selected="true"] { font-weight: 600; }
.dd-list [aria-selected="true"]::after { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -2px); }
@media (min-width: 900px) { .dd-list { min-width: 100%; } }

/* About strip */
.about { display: grid; gap: 40px; }
.about-text .lead { margin-top: 20px; max-width: 520px; }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.about-points li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid #0b1a2420; }
.about-points li:last-child { border-bottom: 1px solid #0b1a2420; }
.about-points .icon { width: 26px; height: 26px; color: var(--accent-ink); stroke-width: 1.5; margin-top: 2px; }
.about-points h3 { font-size: 22px; line-height: 1.25; margin: 0 0 6px; }
.about-points p { margin: 0; color: var(--g600); }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }

/* Hero jump starter: rounded (pill bar, pill segments, pill button) to match the CTAs */
.jump-bar { border-radius: 28px; padding: 6px; gap: 4px; }
.jump-seg { border: 0 !important; border-radius: 20px; }
.jump-seg:focus-within::after, .jump-seg[data-invalid="true"]::after, .dd:has(.dd-btn:focus-visible)::after { left: 18px; right: 18px; bottom: 5px; border-radius: 2px; }
.jump-go { border-radius: var(--r-pill); will-change: transform; }
.jump-err { border-radius: 14px; }
.dd-list { border-radius: 20px; padding: 8px; left: 0; right: 0; }
.dd-list [role="option"] { border-radius: 14px; }
@media (min-width: 900px) {
  .jump-bar { border-radius: var(--r-pill); padding: 6px; gap: 0; align-items: stretch; }
  .jump-seg { border-radius: var(--r-pill); padding: 12px 26px 11px; position: relative; }
  .jump-seg + .jump-seg::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #0b1a2426; transition: opacity var(--d-md) var(--ease-ui); }
  .jump-seg:hover::before, .jump-seg:hover + .jump-seg::before, .jump-seg:focus-within::before, .jump-seg:focus-within + .jump-seg::before { opacity: 0; }
  .jump-seg:focus-within::after, .jump-seg[data-invalid="true"]::after, .dd:has(.dd-btn:focus-visible)::after { left: 26px; right: 26px; bottom: 6px; }
  .jump-go { padding: 0 34px; min-height: 0; align-self: stretch; margin: 0; }
  .dd-list { top: calc(100% + 8px); }
  .dd[data-dir="up"] .dd-list { top: auto; bottom: calc(100% + 8px); }
  .dd-list { min-width: 240px; left: 0; right: auto; }
}
@media (max-width: 899px) {
  .jump-zip { border-right: 0 !important; }
  .jump-go { min-height: 50px; margin-top: 2px; }
}
