/* ==========================================================
   Chosen Home Care — site styles
   Brand colors sampled from the official logo.
   ========================================================== */

:root {
  /* Brand */
  --navy: #001460;
  --navy-800: #0a1d6e;
  --navy-950: #000a33;
  --pink: #ff1f78;          /* decorative / large text / on navy */
  --pink-ink: #d10a5e;      /* text & buttons on white (AA contrast) */
  --pink-ink-hover: #b0084f;
  --blush: #fff0f6;
  --blush-line: #ffd3e5;

  /* Neutrals */
  --ink: #161b3a;
  --muted: #4a5170;
  --line: #e3e6f0;
  --surface: #ffffff;
  --surface-soft: #f5f6fb;

  /* Type */
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (compact 4/8 scale) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --section: clamp(28px, 4.5vw, 52px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(0, 20, 96, .08);
  --shadow-pink: 0 6px 0 -2px var(--blush-line), 0 6px 20px rgba(0, 20, 96, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-ink); }
a:hover { color: var(--pink-ink-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 var(--s3);
  font-weight: 700;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Eyebrow + underline accent (from reference site) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: var(--s1);
}
.accent::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 10px;
  background: var(--pink); border-radius: 4px;
}
.center { text-align: center; }
.center.accent::after, .center .accent::after { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-pink { background: var(--pink-ink); color: #fff; box-shadow: 0 6px 16px rgba(209, 10, 94, .25); }
.btn-pink:hover { background: var(--pink-ink-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blush); color: var(--navy); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .95rem; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; min-height: 42px; padding-block: 4px; }
.topbar a, .topbar span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--pink); }
.topbar .i { color: var(--pink); }
.topbar-cta { margin-left: auto; font-weight: 600; }
.topbar-cta span.tag {
  background: var(--pink-ink); color: #fff; border-radius: 999px;
  padding: 1px 10px; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: var(--s4); min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 66px; height: 66px; }
.brand-text { font-family: var(--font-head); line-height: 1; }
.brand-text b { display: block; color: var(--pink-ink); font-size: 1.55rem; letter-spacing: .04em; }
.brand-text small { display: block; color: var(--navy); font-size: .95rem; font-weight: 600; letter-spacing: .12em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s4); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  display: block; padding: 10px 12px;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; letter-spacing: .02em;
  color: var(--navy); text-decoration: none; border-radius: 8px;
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
  background: var(--pink); border-radius: 3px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--pink-ink); }
.nav a.nav-tab {
  background: var(--blush); color: var(--pink-ink);
  border: 1px dashed var(--pink); margin-left: 6px;
}
.nav a.nav-tab::after { display: none; }
.nav a.nav-tab:hover, .nav a.nav-tab[aria-current="page"] { background: var(--pink-ink); color: #fff; border-style: solid; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .i { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s3);
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: var(--s3) 16px var(--s4);
    display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-tab { margin: 6px 0 0; text-align: center; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { background: var(--blush); }
}
@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .topbar-cta { margin-left: 0; }
  .brand img { width: 54px; height: 54px; }
  .nav-in { min-height: 68px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 31, 120, .08) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 100%, rgba(0, 20, 96, .06) 0 180px, transparent 181px),
    linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: var(--s6); padding-block: clamp(24px, 4vw, 44px);
}
.hero h1 { margin-bottom: var(--s3); }
.hero h1 .home-word {
  display: block; color: var(--pink-ink); text-transform: none;
  font-size: 1.55em; line-height: 1;
}
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin-bottom: var(--s5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s5); padding: 0; list-style: none; color: var(--navy); font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .i { color: var(--pink-ink); }
.hero-media { padding: 0 0 14px 16px; }
.hero-media img {
  width: 100%; max-width: 480px; margin-left: auto;
  aspect-ratio: 1; object-fit: cover; object-position: 50% 0;
  border-radius: 46% 46% 28px 28px / 40% 40% 28px 28px;
  box-shadow: -14px 10px 0 0 var(--pink), 0 18px 40px rgba(0, 20, 96, .14);
}

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-in { gap: var(--s5); }
  .hero-media img { max-width: 300px; margin-inline: auto; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.page-banner .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0, 10, 51, .95) 0%, rgba(0, 20, 96, .88) 50%, rgba(0, 20, 96, .5) 100%);
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--pink);
}
.page-banner .container { padding-block: clamp(26px, 4vw, 44px); }
.page-banner h1 { color: #fff; margin: 0; }
.page-banner p { color: #dfe3f5; max-width: 62ch; margin: 8px 0 0; font-size: 1.08rem; }
.crumbs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 6px; font-size: .95rem; }
.crumbs a { color: var(--pink); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9aa3cc; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-soft { background: var(--surface-soft); }
.section-head { margin-bottom: var(--s5); }
.section-head p { color: var(--muted); max-width: 70ch; }

/* Content + right "Request Services" sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.with-aside > .main-col > * + * { margin-top: var(--section); }
@media (max-width: 980px) { .with-aside { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 1080px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); box-shadow: var(--shadow-pink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 -2px var(--pink), 0 12px 26px rgba(0, 20, 96, .12); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 1rem; }
.card-num {
  font-family: var(--font-head); font-weight: 700; color: var(--pink-ink);
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
}
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blush); color: var(--pink-ink); margin-bottom: var(--s3);
}
.icon-badge .i { width: 26px; height: 26px; }
.card-row { display: flex; gap: var(--s4); align-items: flex-start; }
.card-row .icon-badge { margin-bottom: 0; }

/* Service tiles — mirrors the reference "Our Services" tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s3); }
.tile {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-pink);
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: .03em;
}
.tile .i { color: var(--pink-ink); width: 24px; height: 24px; }

.service-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s4); }
.service-detail .card { padding: var(--s4) var(--s5); }

/* Values / split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.mv-card { position: relative; overflow: hidden; }
.mv-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--pink);
}
.mv-card.navy { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.mv-card.navy h3 { color: #fff; }
.mv-card.navy p { color: #dfe3f5; }
.mv-card p { font-size: 1.05rem; }
.home-em { font-family: var(--font-head); font-weight: 700; color: var(--pink); letter-spacing: .05em; }
.mv-card:not(.navy) .home-em { color: var(--pink-ink); }

.verse {
  margin: 0; padding: var(--s4) var(--s5); border-left: 4px solid var(--pink);
  background: var(--blush); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--navy);
}
.verse cite { display: block; font-style: normal; font-weight: 600; color: var(--pink-ink); margin-top: 4px; }

.counties { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s4) 0 0; }
.counties li {
  background: #fff; border: 1px solid var(--blush-line); color: var(--navy);
  padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.counties .i { color: var(--pink-ink); }

.stat {
  display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s4);
  background: var(--blush); border: 1px solid var(--blush-line); border-radius: var(--radius);
  padding: 10px 22px 10px 18px;
}
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--pink-ink); }
.stat-label { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.15; color: var(--navy); letter-spacing: .02em; }

/* CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-800) 60%, #2a1a6e 100%);
  color: #fff; border-radius: var(--radius); padding: var(--s5) var(--s6);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; border: 18px solid rgba(255, 31, 120, .35);
}
.cta-band h2, .cta-band h3 { color: #fff; margin: 0 0 4px; }
.cta-band p { color: #dfe3f5; margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Request Services aside ---------- */
.request-aside { position: sticky; top: 96px; }
.request-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 20px var(--s5); box-shadow: 0 14px 34px rgba(0, 20, 96, .22);
  border-top: 6px solid var(--pink);
  scroll-margin-top: 100px;
}
.request-card h2 { color: #fff; font-size: 1.9rem; margin-bottom: 4px; }
.request-card > p { color: #dfe3f5; font-size: .98rem; margin-bottom: var(--s4); }
.request-card .field label { color: #fff; font-size: .92rem; }
.request-card .form-grid { gap: 10px; }
.request-card .field input, .request-card .field select { min-height: 44px; padding-block: 8px; }
.request-card .field textarea { min-height: 72px; }
.request-card .req { color: var(--pink); }
.request-card .field input, .request-card .field select, .request-card .field textarea { border-color: transparent; }
.request-card .call-line {
  margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .98rem; color: #dfe3f5;
}
.request-card .call-line a { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.request-card .call-line a .i { color: var(--pink); }
@media (max-width: 980px), (max-height: 780px) { .request-aside { position: static; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--s3); }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .legend-like { font-weight: 600; font-size: .95rem; color: var(--navy); }
.req { color: var(--pink-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #c9cee0; border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 31, 120, .25);
}
.field .help { font-size: .88rem; color: var(--muted); }
.request-card .field .help { color: #c3c9e6; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c4001d; }
.field .err { font-size: .88rem; color: #b00020; font-weight: 600; }
.request-card .field .err { color: #ffb3c9; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 6px 14px; border: 1.5px solid #c9cee0; border-radius: 999px; cursor: pointer;
  font-weight: 500; background: #fff;
}
.field .choice input, .field .check-line input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--pink-ink); margin: 0; box-shadow: none; }
.choice:has(input:checked) { border-color: var(--pink-ink); background: var(--blush); }
.choice:has(input:focus-visible) { outline: 3px solid var(--pink); outline-offset: 2px; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

.form-status { margin-top: var(--s3); font-weight: 600; border-radius: var(--radius-sm); }
.form-status:empty { display: none; }
.form-status.ok { padding: 12px 14px; background: #e7f7ee; color: #0b5a2c; }
.form-status.fail { padding: 12px 14px; background: #fde8ec; color: #8a0019; }
.request-card .form-status.ok { background: #d9f5e5; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- Contact page ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.contact-list .icon-badge { width: 46px; height: 46px; margin: 0; }
.contact-list b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); letter-spacing: .02em; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list .big { font-size: 1.3rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-soft); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Team ---------- */
/* Flex so a short last row stays centered (e.g. 7 people = 4 + 3) */
.team-grid { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); }
.team-grid > .team-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--s4)) / var(--cols)); }
@media (max-width: 1080px) { .team-grid { --cols: 3; } }
@media (max-width: 760px) { .team-grid { --cols: 2; } }
@media (max-width: 480px) { .team-grid { --cols: 1; } }
.team-card { text-align: center; padding: var(--s4); }
.team-photo {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto var(--s3);
  width: min(180px, 100%); border: 5px solid #fff; outline: 3px solid var(--pink);
  background: var(--surface-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; font-size: 1.3rem; }
.team-role { color: var(--pink-ink); font-weight: 600; font-size: .98rem; margin: 0; }

/* ---------- Application ---------- */
.app-toolbar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.app-sheet {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px);
}
.app-letterhead { display: flex; gap: var(--s4); align-items: center; border-bottom: 3px solid var(--navy); padding-bottom: var(--s4); margin-bottom: var(--s4); }
.app-letterhead img { width: 76px; height: 76px; }
.app-letterhead h2 { margin: 0; font-size: 1.9rem; }
.app-letterhead p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.app-section { padding-block: var(--s4); border-bottom: 1px dashed var(--line); }
.app-section:last-of-type { border-bottom: 0; }
.app-section > h3, .app-section > legend {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy);
  margin-bottom: var(--s3);
}
.app-section > legend { float: left; width: 100%; }
.app-section > legend + * { clear: both; }
.step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pink-ink); color: #fff; font-size: .95rem;
}
.page-marker {
  display: flex; align-items: center; gap: 12px; margin: var(--s5) 0 var(--s2);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink-ink); font-size: .95rem;
}
.page-marker::before, .page-marker::after { content: ""; flex: 1; height: 2px; background: var(--blush-line); }
.subcard { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s4); background: var(--surface-soft); }
.subcard + .subcard { margin-top: var(--s3); }
.subcard h4 { font-size: 1.15rem; margin-bottom: var(--s3); }
.edu-table { width: 100%; border-collapse: collapse; }
.edu-table th, .edu-table td { padding: 6px; text-align: left; vertical-align: middle; }
.edu-table th { font-size: .92rem; color: var(--navy); }
.edu-table td:first-child { font-weight: 600; color: var(--navy); width: 120px; }
.edu-table input { width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 16px; border: 1.5px solid #c9cee0; border-radius: var(--radius-sm); }
.edu-table input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 31, 120, .25); }
@media (max-width: 640px) {
  .edu-table thead { display: none; }
  .edu-table tr { display: grid; gap: 6px; padding-block: 8px; border-bottom: 1px solid var(--line); }
  .edu-table td { padding: 0; width: auto !important; }
}
.notice { font-size: .95rem; color: var(--navy); background: var(--blush); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: var(--s3); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check-line input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pink-ink); flex: none; }
.print-only { display: none; }
.lead-note { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #c9cfe9; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: var(--s6); padding-block: var(--s7) var(--s6); }
.site-footer h3 { color: #fff; font-size: 1.25rem; margin-bottom: var(--s3); }
.site-footer h3::after { content: ""; display: block; width: 36px; height: 3px; background: var(--pink); margin-top: 8px; border-radius: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.site-footer li { display: flex; gap: 8px; align-items: flex-start; }
.site-footer .i { color: var(--pink); margin-top: 4px; }
.footer-brand img { width: 92px; height: 92px; margin-bottom: var(--s3); background: #fff; border-radius: 50%; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: var(--s4); font-size: .9rem; color: #9aa3cc; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- Reveal motion ---------- */
.reveal { transform: translateY(12px); transition: transform .5s var(--ease); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   PRINT — makes the employment application print like paper
   ========================================================== */
@media print {
  @page { size: letter; margin: 0.45in 0.5in; }
  body { font-size: 9.5pt; line-height: 1.3; color: #000; background: #fff; }
  .req { display: none; }
  .legend-like, legend { color: #000 !important; font-weight: 600 !important; font-size: 9.5pt !important; margin-bottom: 1pt !important; }
  .choice-row { gap: 2pt 14pt; }
  input::-webkit-calendar-picker-indicator { display: none; }
  input.is-empty::-webkit-datetime-edit { color: transparent; }
  .app-section p { margin-bottom: 2pt; font-size: 9pt; }
  .topbar, .site-header, .site-footer, .page-banner, .app-toolbar, .no-print, .skip, .form-status { display: none !important; }
  .print-only { display: revert; }
  ::placeholder { color: transparent !important; }
  .hp { display: none !important; }
  .section { padding: 0; }
  .container { width: 100%; }
  .app-sheet { border: 0; box-shadow: none; padding: 0; }
  .app-letterhead { justify-content: center; text-align: center; flex-direction: column; gap: 2pt; border-bottom: 1.5pt solid #000; padding-bottom: 5pt; margin-bottom: 4pt; }
  .app-letterhead img { width: 44px; height: 44px; }
  .app-letterhead h2 { color: #000; font-size: 13pt; }
  .app-letterhead p { color: #000; font-size: 9pt; }
  .app-section { padding-block: 4pt; border-bottom: 0; }
  .app-section > h3, .app-section > legend { font-size: 10.5pt; color: #000; margin-bottom: 3pt; gap: 4pt; }
  .step-num { display: inline; background: none; color: #000; width: auto; height: auto; font-size: inherit; }
  .step-num::after { content: "."; }
  .page-marker { display: none; }
  .page-break { break-before: page; }
  .subcard { background: none; border: 0; padding: 0; break-inside: avoid; }
  .subcard + .subcard { margin-top: 5pt; }
  .subcard h4 { font-size: 9.5pt; color: #000; margin-bottom: 1pt; }
  .form-grid { gap: 3pt 14pt; }
  .notice { font-size: 9pt; margin-top: 2pt !important; }
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .field { flex-direction: row; align-items: flex-end; gap: 6pt; }
  .field label { white-space: nowrap; font-weight: 400; color: #000; font-size: 9.5pt; }
  .field .help, .field .err { display: none; }
  .field input, .field select, .field textarea, .edu-table input {
    border: 0; border-bottom: 0.75pt solid #000; border-radius: 0; min-height: 0; height: 15pt;
    padding: 0 2pt; font-size: 9.5pt; background: none; box-shadow: none; min-width: 50pt;
    -webkit-appearance: none; appearance: none;
  }
  .field textarea { height: 28pt; resize: none; }
  .edu-table th, .edu-table td { padding: 2pt 4pt; font-size: 9pt; color: #000; }
  .field.stack { flex-direction: column; align-items: stretch; }
  .choice { border: 0; padding: 0; min-height: 0; background: none !important; }
  .choice input { -webkit-appearance: none; appearance: none; width: 11pt; height: 11pt; border: 1px solid #000; border-radius: 0; position: relative; }
  .choice input:checked::after { content: "X"; position: absolute; inset: 0; font-size: 9pt; line-height: 11pt; text-align: center; }
  .field .choice input, .field .check-line input, .check-line input {
    -webkit-appearance: none; appearance: none; min-width: 0; width: 10pt; height: 10pt;
    border: 0.75pt solid #000; padding: 0; position: relative;
  }
  .choice { gap: 4pt; font-size: 9.5pt; }
  .edu-table td:first-child { color: #000; }
  .app-section .lead-note { color: #000; }
  .edu-table, .edu-table th, .edu-table td { border: 1px solid #000; }
  .edu-table td:first-child { width: 90pt; }
  .edu-table input { border: 0; }
  .notice { background: none; padding: 0; color: #000; font-weight: 700; }
  .screen-only { display: none !important; }
  a { color: #000; text-decoration: none; }
}
