/* ===========================================================================
   Wendy Hartman-Paytas · Hartford Funding, Ltd. — site.css
   Design tokens first. The palette mirrors Hartford Funding's brand
   (navy / warm cream / copper, Poppins) but lives entirely in the
   variables below, so re-skinning for Wendy later is a token change.
   =========================================================================== */
:root {
  --navy: #1F2C4E;          /* Hartford brand navy */
  --navy-900: #141D36;      /* footer / deep sections */
  --navy-700: #2A3A66;      /* hover on navy */
  --copper: #C87048;        /* logo copper — decorative only (not for text on cream) */
  --copper-300: #E0A070;    /* copper on navy: buttons, accents (6.2:1 vs navy) */
  --copper-200: #F0C8A8;    /* copper on navy: small text (8.9:1) */
  --copper-700: #A85A2E;    /* copper button with white text (5.0:1) */
  --copper-800: #9E5228;    /* copper text on cream (5.3:1) */
  --cream: #FAF6F1;         /* page background (Hartford's) */
  --cream-200: #F1E9DD;     /* alternate sections */
  --cream-300: #E6DBCB;     /* borders on cream */
  --ink: #282828;           /* body text (Hartford's) */
  --muted: #5A5A5A;         /* secondary text (6.4:1 on cream) */
  --line: #E4DCD0;
  --white: #FFFFFF;
  --focus: #C87048;
  --nav-muted: #C9CFDD;     /* nav links on navy (8.8:1) */
  --foot-muted: #B8C0D4;    /* footer text on navy-900 (9.2:1) */

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(31, 44, 78, .10);
  --shadow-sm: 0 2px 10px rgba(31, 44, 78, .08);
  --wrap: 1180px;
  --wrap-nav: 1320px;      /* header may run wider than the text column */
  --nav-h: 76px;
}

/* --- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-800); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; color: var(--navy); font-weight: 700; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; line-height: 1.55; }
.wrap { width: min(100% - 32px, var(--wrap)); margin: 0 auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: var(--radius); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-copper { background: var(--copper-300); color: var(--navy); border-color: var(--copper-300); }
.btn-copper:hover { background: var(--copper-200); color: var(--navy); }
.btn-copper-solid { background: var(--copper-700); color: #fff; border-color: var(--copper-700); }
.btn-copper-solid:hover { background: var(--copper-800); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* --- Eyebrow chip (Hartford's "YOUR LOCAL LOAN OFFICER" treatment) --------- */
.eyebrow {
  display: inline-block; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .38rem .7rem; border-radius: 3px; margin-bottom: 1.1rem;
}
.eyebrow.light { background: var(--copper-300); color: var(--navy); }
.eyebrow.copper { background: transparent; color: var(--copper-800); padding: 0; }
.rule { width: 56px; height: 4px; background: var(--copper); border-radius: 2px; margin: 0 0 1.4rem; }
.rule.center { margin-left: auto; margin-right: auto; }

/* --- Header --------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); position: relative; }
.nav > .wrap { width: min(100% - 32px, var(--wrap-nav)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.brand img { width: 136px; height: auto; flex: none; }
.brand-sep { width: 1px; height: 38px; background: var(--copper); opacity: .8; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; overflow: hidden; }
.brand-name b { font-weight: 600; font-size: 1rem; white-space: nowrap; }
.brand-name span { font-size: .72rem; color: var(--nav-muted); letter-spacing: .02em; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex: 0 1 auto; }
.menu a { color: var(--nav-muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--copper-300); }
.menu .menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.nav-actions .btn { white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; fill: var(--copper-300); }
.nav-phone:hover { color: var(--copper-200); }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.4); color: #fff; border-radius: var(--radius); padding: .5rem .65rem; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; display: block; }
@media (max-width: 1280px) {
  .brand-name { display: none; }
  .brand-sep { display: none; }
  .menu { gap: 1.1rem; }
}
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: -16px; right: -16px; top: 100%; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 30px rgba(0,0,0,.25);
  }
  .menu.open { display: flex; }
  .menu li a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .menu li:last-child a { border-bottom: 0; }
  .menu .menu-cta { display: block; margin-top: .75rem; }
  .menu .menu-cta a { background: var(--copper-300); color: var(--navy); border-radius: var(--radius); text-align: center; font-weight: 700; padding: .9rem; border-bottom: 0; }
}
@media (max-width: 900px) {
  .nav-phone { display: none; }
  .nav-actions .btn { display: none; }
}

/* --- Hero (home) ---------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .9rem; }
.hero h1 em { font-style: normal; color: var(--navy); font-weight: 600; }
.hero .lead { max-width: 560px; }
.hero-dots { color: var(--copper-800); letter-spacing: .35em; font-size: 1.4rem; line-height: 1; margin: .2rem 0 1.2rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 1.2rem; max-width: 560px; }
.tile {
  display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.05rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--copper-300); color: var(--ink); }
.tile svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.8; flex: none; margin-top: 2px; }
.tile b { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: .1rem; }
.tile span { font-size: .86rem; color: var(--muted); }
.hero-note { font-size: .86rem; color: var(--muted); }

.lo-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.6rem; text-align: center; position: relative; overflow: hidden;
}
.lo-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--copper), var(--copper-300)); }
.lo-card img.headshot { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; margin: .6rem auto 1rem; border: 5px solid var(--cream); box-shadow: 0 6px 20px rgba(31,44,78,.15); }
.lo-card h2 { font-size: 1.35rem; margin-bottom: .15rem; }
.lo-card .role { color: var(--muted); font-size: .95rem; margin: 0; }
.lo-card .nmls { color: var(--navy); font-weight: 600; font-size: .9rem; margin: .2rem 0 .8rem; }
.lo-card .phone { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.15rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.lo-card .phone svg { width: 18px; height: 18px; fill: var(--navy); }
.socials { display: flex; justify-content: center; gap: .6rem; margin: .9rem 0 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); background: var(--cream); transition: background .15s, color .15s; }
.socials a:hover { background: var(--navy); color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.lo-card .btn-row { justify-content: center; }
.lo-card .logo-strip { margin: 1.3rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: .8rem; }
.lo-card .logo-strip img { width: 120px; background: var(--navy); padding: 8px 10px; border-radius: 6px; }
.lo-card .logo-strip span { font-size: .75rem; color: var(--muted); text-align: left; line-height: 1.3; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lo-card { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
}

/* --- Sections ------------------------------------------------------------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.alt { background: var(--cream-200); }
.section.white { background: #fff; }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3, .section.navy h4, .section.navy p { color: #fff; }
.section.navy .lead, .section.navy .muted { color: var(--nav-muted); }
.section.navy a { color: var(--copper-200); }
.section.navy a:hover { color: #fff; }
.section.navy .pills a { color: #fff; }
.section.navy .pills a:hover, .section.navy .btn-copper, .section.navy .btn-copper:hover { color: var(--navy); }
.section.navy .btn-ghost-light { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .4rem;
}
.card h3 { margin-bottom: .2rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .more { margin-top: auto; padding-top: .8rem; font-weight: 600; text-decoration: none; color: var(--copper-800); }
.card .more:hover { text-decoration: underline; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--copper-300); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream-200); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.card .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.card-navy { background: var(--navy); border: 0; padding: 2rem; }

/* program pills on navy (Hartford's "Loan programs we specialize in") */
/* Pills default to DARK text on a light chip, because most of the site is on
   cream. The white-on-translucent variant is opt-in via a navy container —
   used on a light background it renders white-on-cream and disappears. */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.pills li a, .pills li span {
  display: inline-block; background: #fff; border: 1px solid var(--cream-300); color: var(--navy);
  border-radius: 999px; padding: .5rem 1rem; font-size: .92rem; font-weight: 500; text-decoration: none;
}
.pills li span { color: var(--muted); }
.pills li a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* On navy: translucent chips, white text. */
.section.navy .pills li a, .section.navy .pills li span,
.card-navy .pills li a, .card-navy .pills li span {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff;
}
.section.navy .pills li a:hover, .card-navy .pills li a:hover {
  background: var(--copper-300); color: var(--navy); border-color: var(--copper-300);
}

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.3rem 1.3rem; position: relative; counter-increment: step; box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(step); display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--copper-200); font-weight: 700; align-items: center; justify-content: center; margin-bottom: .8rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .94rem; color: var(--muted); }
.steps.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .steps.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* proof strip */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.proof div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; }
.proof b { display: block; color: var(--navy); font-size: 1.3rem; line-height: 1.2; }
.proof span { font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .proof { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--copper-300); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 3px); width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* photo blocks */
.photo-frame { position: relative; z-index: 0; }
.photo-frame img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); position: relative; z-index: 1; }
.photo-frame::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--copper-300); border-radius: var(--radius-lg); z-index: 0; }
.about-photo { max-width: 420px; margin: 0 auto; }

/* quote / callout */
.callout { background: #fff; border-left: 5px solid var(--copper); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); margin: 1.6rem 0; }
.callout p:last-child { margin: 0; }
blockquote.quote { margin: 0 0 1.4rem; padding: 0 0 0 1.4rem; border-left: 4px solid var(--copper); font-size: 1.15rem; color: var(--navy); font-weight: 500; }
blockquote.quote footer { font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: .6rem; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: var(--nav-muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* --- Interior page hero --------------------------------------------------- */
.page-hero { padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(1.6rem, 4vw, 2.6rem); border-bottom: 1px solid var(--cream-300); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.page-hero h1 { margin-bottom: .7rem; }
.page-hero .lead { max-width: 720px; }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--copper); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }

/* --- Prose (legal pages, long copy) --------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; padding-top: .4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink); }
.prose .meta { color: var(--muted); font-size: .9rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1rem 0 1.4rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); font-weight: 600; }

/* program detail rows */
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 20px); }
.program h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.program p { margin-bottom: .5rem; }
.program .fit { font-size: .92rem; color: var(--muted); margin: .4rem 0 .8rem; }
.program .fit b { color: var(--navy); font-weight: 600; }
.program-group { margin-top: 2.4rem; }
.program-group > h2 { display: flex; align-items: center; gap: .8rem; font-size: 1.4rem; }
.program-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--cream-300); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; font-size: .88rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--cream-300); color: var(--navy); text-decoration: none; }
.jump a:hover { border-color: var(--navy); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--copper); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink); }
.faq details > div p:last-child { margin-bottom: 0; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label, .field .lbl { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid #C9C2B6; border-radius: var(--radius); font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(31,44,78,.18); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: .8rem; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.ok { display: block; background: #EAF5EC; color: #1E5A2B; border: 1px solid #BFE0C6; }
.form-status.err { display: block; background: #FBEDEA; color: #8A2A1E; border: 1px solid #F1C9C2; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; }
.info-card h3 { margin-bottom: .6rem; }
.info-card address { font-style: normal; line-height: 1.7; }
.info-card .lbl { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-800); font-weight: 700; margin-top: .8rem; }
.info-card a { text-decoration: none; font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* --- Area pages ----------------------------------------------------------- */
.area-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.area-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.1rem; font-size: .93rem; }
.area-facts b { display: block; color: var(--navy); margin-bottom: .15rem; }
@media (max-width: 760px) { .area-facts { grid-template-columns: 1fr; } }
.nearby { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 0; }
.nearby a, .nearby span { display: inline-block; font-size: .9rem; padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--cream-300); color: var(--navy); text-decoration: none; }
.nearby a:hover { border-color: var(--navy); }

/* --- Footer --------------------------------------------------------------- */
.foot { background: var(--navy-900); color: var(--foot-muted); padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--copper-200); text-decoration: underline; }
.foot h4 { color: var(--copper-200); font-size: .8rem; letter-spacing: .12em; margin-bottom: .9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .45rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img.logo { width: 210px; margin-bottom: 1rem; }
.foot-brand p { margin-bottom: .9rem; }
.foot-nap { font-style: normal; line-height: 1.7; }
.foot-nap b { color: #fff; }
.foot .lbl { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-200); margin-top: .7rem; }
.foot .socials { justify-content: flex-start; margin: .8rem 0 0; }
.foot .socials a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.foot .socials a:hover { background: var(--copper-300); color: var(--navy); }
.foot-legal { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 90px 1fr; gap: 1.4rem; align-items: start; }
.foot-legal img { width: 72px; background: #fff; border-radius: 6px; padding: 6px; }
.foot-legal p { font-size: .8rem; line-height: 1.6; margin-bottom: .6rem; color: var(--foot-muted); }
@media (max-width: 560px) { .foot-legal { grid-template-columns: 1fr; } }
.foot-bot { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; font-size: .82rem; }
.foot-bot ul { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.foot-bot li { margin: 0; }
.foot-credit a { color: var(--copper-200); }

/* --- Sticky mobile action bar ------------------------------------------- */
.mbar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 66px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: .6rem .3rem .55rem; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600; }
  .mbar a svg { width: 20px; height: 20px; fill: var(--copper-300); }
  .mbar a.apply { background: var(--copper-300); color: var(--navy); }
  .mbar a.apply svg { fill: var(--navy); }
}

/* --- Mobile polish: 44px tap targets, safe-area, no tap flash -------------- */
@media (max-width: 900px) {
  .btn, .tile, .socials a, .pills li a, .jump a, .nearby a, .foot-bot ul a { min-height: 44px; }
  .btn { padding-top: .7rem; padding-bottom: .7rem; }
  .socials a { width: 44px; height: 44px; }
  .pills li a, .jump a, .nearby a { display: inline-flex; align-items: center; }
  .foot li { margin-bottom: .2rem; }
  .foot li a { display: inline-block; padding: .35rem 0; }
  .foot-bot ul { gap: .2rem 1.1rem; }
  .foot-bot ul a { display: inline-flex; align-items: center; padding: 0 .1rem; }
  .breadcrumbs { gap: 0 .4rem; }
  .breadcrumbs li { display: inline-flex; align-items: center; min-height: 40px; }
  .lo-card img.headshot { width: 180px; height: 180px; }
  .nav-toggle { min-width: 44px; min-height: 44px; padding: .55rem .7rem; }
  .info-card address a, .info-card p a, .prose a, .callout a { display: inline-block; padding: .5rem 0; }
  .form .consent a { display: inline; padding: 0; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .section { padding: 2.6rem 0; }
  .mbar { padding-bottom: env(safe-area-inset-bottom); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
a, button { -webkit-tap-highlight-color: rgba(31, 44, 78, .15); }
input, select, textarea, button { font-size: 1rem; } /* prevents iOS zoom-on-focus */

/* --- 404 ------------------------------------------------------------------ */
.notfound { padding: 6rem 0; text-align: center; }
.notfound h1 { font-size: clamp(2.5rem, 8vw, 5rem); color: var(--navy); }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .nav, .mbar, .cta-band, .btn, .socials, .map { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
