/* ==========================================================================
   Base stylesheet: Polk Pre-Approvals / Canopy Mortgage (shared)
   1 Tokens  2 Base  3 Type  4 Buttons  5 Header  6 Hero  7 Sections
   8 Paths  9 About  10 Steps  11 Tools  12 Programs  13 FAQ  14 Contact
   15 Modal  16 Footer  17 Motion  18 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy: #0a2540;
  --navy-2: #12396b;
  --navy-deep: #051428;
  --blue: #1f63b5;
  --sky: #4da3ff;
  --sky-hover: #8cc4ff;
  --sky-text: #1d5fb4;        /* sky tone with enough contrast on light backgrounds */
  --bg: #f5f8fd;
  --bg-alt: #e8f0fb;
  --ink: #0c1a2e;
  --ink-2: #2b3b52;
  --muted: #4a5d75;
  --line: #d5e1f1;
  --danger: #b3261e;

  /* legacy names (used by older markup/plugins) */
  --forest: var(--navy);
  --forest-2: var(--navy-2);
  --moss: var(--blue);
  --gold: var(--sky);
  --gold-2: var(--sky-text);
  --ivory: var(--bg);
  --cream: var(--bg-alt);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --r: var(--radius);
  --shadow: 0 24px 60px -24px rgba(10, 37, 64, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  margin: 0; padding: 0; background: var(--navy);
  scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
body {
  margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  /* smoother letterforms */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal; font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
p { text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; padding: 8px 12px; background: #fff; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; }
[hidden] { display: none !important; }

/* full-bleed wrapper: fills the screen even inside padded page-builder containers */
.canopy-root { display: block; position: relative; width: 100%; max-width: none; overflow-x: clip; background: var(--bg); }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3 {
  margin: 0 0 .5em; font-family: var(--serif); font-weight: 500;
  line-height: 1.1; letter-spacing: -.015em; text-wrap: balance;
  font-optical-sizing: auto;
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--sky-text); }
.hero h1 em, .section--dark h2 em { color: var(--sky); }
.eyebrow {
  margin: 0 0 16px; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky-text);
}
.hero .eyebrow, .section--dark .eyebrow { color: var(--sky); }
.lead { max-width: 33em; font-size: 1.2rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.link { font-weight: 600; text-decoration: none; color: var(--blue); border-bottom: 1.5px solid var(--sky); }
.link:hover { color: var(--navy); }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 .95rem var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--sky); color: var(--navy); }
.btn--gold:hover { background: var(--sky-hover); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(77, 163, 255, .7); }
.btn--forest { background: var(--navy); color: #fff; }
.btn--forest:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* 5. Header ---------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(10, 37, 64, .94); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4); }
.nav .wrap { width: min(1360px, 100% - 48px); }
.nav__in { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; color: #fff; font: 500 1.25rem var(--serif); text-decoration: none; white-space: nowrap; }
.brand em { font-style: italic; color: var(--sky); }
.nav__links { display: flex; flex: none; flex-wrap: nowrap; gap: 22px; }
.nav__links a { color: rgba(255, 255, 255, .92); font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--sky); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { color: #fff; font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.burger { position: relative; display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.social { display: flex; align-items: center; gap: 8px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.social a:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.social--menu { display: none; }
.social--footer { margin-top: 26px; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: 150px 0 110px; background: var(--navy); color: #fff; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(77, 163, 255, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 99, 181, .55), transparent 60%),
    linear-gradient(160deg, #071a30, #0f3a6d);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: .45em; color: #fff; font-size: clamp(2.75rem, 5.8vw, 4.9rem); line-height: 1.04; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 46px; }
.trust { display: flex; flex-wrap: wrap; gap: 36px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.trust li { display: flex; flex-direction: column; }
.trust strong { font: 500 1.25rem var(--serif); color: var(--sky); }
.trust span { font-size: .85rem; color: rgba(255, 255, 255, .8); }

.card-lo { overflow: hidden; background: var(--bg); color: var(--ink); border: 1px solid rgba(255, 255, 255, .2); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.card-lo__photo { aspect-ratio: 7 / 6; overflow: hidden; background: var(--bg-alt); }
.card-lo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s ease; }
.card-lo:hover .card-lo__photo img { transform: scale(1.03); }
.card-lo__body { padding: 26px; }
.card-lo h2 { margin-bottom: 2px; font-size: 1.7rem; }
.card-lo dl { display: grid; gap: 10px; margin: 18px 0 22px; }
.card-lo dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.card-lo dt { color: var(--muted); }
.card-lo dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.card-lo a { text-decoration: none; }

/* 7. Sections -------------------------------------------------------------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--bg-alt); }              /* legacy alias */
.section--dark, .section--forest { background: linear-gradient(160deg, #071a30, var(--navy-2)); color: #fff; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.sec-head--light h2 { color: #fff; }
.sec-head .muted { margin: 14px 0 0; }

/* 8. Paths (tabs + cards) -------------------------------------------------- */
.tabs { display: inline-flex; margin-bottom: 32px; padding: 6px; background: var(--bg-alt); border-radius: 999px; }
.tabs button { padding: 12px 28px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 .95rem var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 37, 64, .6); }
.tabpanel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path { position: relative; padding: 34px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s, border-color .3s; }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky); }
.path__n { font: 400 1rem var(--serif); letter-spacing: .1em; color: var(--sky-text); }
.path h3 { margin: 14px 0 10px; font-size: 1.45rem; }
.path p { margin: 0 0 22px; color: var(--muted); font-size: 1rem; }

/* 9. About ----------------------------------------------------------------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.about blockquote { position: relative; margin: 0 0 18px; padding-top: 20px; color: var(--navy); font: 400 clamp(1.8rem, 3.2vw, 2.6rem)/1.2 var(--serif); }
.about blockquote::before { content: ""; display: block; width: 56px; height: 3px; margin-bottom: 24px; background: var(--sky); }
.about__text p { margin: 0 0 1.2em; color: var(--ink-2); font-size: 1.125rem; line-height: 1.8; }
.about__text .sign { color: var(--navy); font: 400 1.4rem var(--serif); }
.about__text .sign em { color: var(--sky-text); }

/* 10. Steps: hover cards (plain numerals, no boxes) ------------------------ */
div.steps { display: block; margin: 0; padding: 0; }
ol.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps br { display: none; }
.steps li {
  position: relative; overflow: hidden; padding: 34px 28px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: opacity .8s ease, transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.steps li::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.steps li:hover { transform: translateY(-8px); border-color: var(--sky); box-shadow: var(--shadow); }
.steps li:hover::before { transform: scaleX(1); }
.steps li span {
  display: block; margin: 0 0 14px; color: var(--sky-text);
  font: 400 2.75rem/1 var(--serif); letter-spacing: -.02em;
  transition: color .3s ease, transform .3s var(--ease);
}
.steps li:hover span { color: var(--blue); transform: translateX(4px); }
.steps li h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.2; }
.steps li p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* 11. Tools ---------------------------------------------------------------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.tool { display: block; padding: 30px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); text-decoration: none; transition: background .3s, transform .3s, border-color .3s; }
.tool:hover { background: rgba(255, 255, 255, .12); border-color: var(--sky); transform: translateY(-5px); }
.tool svg { width: 34px; height: 34px; margin-bottom: 18px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tool h3 { margin-bottom: 6px; color: #fff; font-size: 1.2rem; }
.tool p { margin: 0; color: rgba(255, 255, 255, .86); font-size: .95rem; }
@media (max-width: 1099px) { .tools .tool:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* 12. Programs ------------------------------------------------------------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program { padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sky); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program h3 { margin-bottom: 8px; font-size: 1.3rem; }
.program p { margin: 0; color: var(--muted); font-size: 1rem; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--sky); box-shadow: 0 14px 34px -22px rgba(10, 37, 64, .5); }
.faq__item summary { position: relative; padding: 20px 56px 20px 24px; list-style: none; cursor: pointer; color: var(--navy); font: 500 1.2rem/1.35 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--sky-text); font: 400 1.6rem/1 var(--sans); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 24px 22px; }
.faq__a p { margin: 0; color: var(--ink-2); }

/* 14. Contact + form ------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact__direct { margin: 26px 0; font: 400 1.3rem/1.7 var(--serif); }
.contact__direct a { text-decoration: none; }
.contact__panel { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); text-align: center; }
.contact__panel h3 { margin-bottom: 10px; font-size: 1.8rem; }
.contact__panel p { margin: 0 0 24px; color: var(--muted); }
.contact__panel .contact__note { margin: 20px 0 0; font-size: .95rem; }
.contact__panel a { color: var(--navy); font-weight: 600; }

.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row--3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form label { display: grid; gap: 6px; color: var(--navy); font-size: .85rem; font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: 400 1rem var(--sans); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(77, 163, 255, .2); }
.form .invalid { border-color: var(--danger) !important; }
.check { display: flex !important; align-items: flex-start; gap: 12px; color: var(--muted) !important; font-size: .84rem !important; font-weight: 400 !important; line-height: 1.55; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.check a { color: var(--blue); }
.form__status { min-height: 1.4em; margin: 0; font-size: .92rem; font-weight: 600; }
.form__status.ok { color: var(--blue); }
.form__status.err { color: var(--danger); }

/* 15. Modal (pop-up form) -------------------------------------------------- */
html.lock { overflow: hidden; }
.modal {
  width: min(740px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border: 0; border-radius: 26px; background: var(--bg); color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .55); overscroll-behavior: contain; scrollbar-width: none;
}
.modal::-webkit-scrollbar { display: none; }
.modal::backdrop { background: rgba(5, 20, 40, .68); backdrop-filter: blur(5px); }
.modal[open] { animation: pop .28s var(--ease); }
.modal[open]::backdrop { animation: fade .28s ease; }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 28px 6px; background: var(--bg); }
.modal__head h2 { margin: 0; font-size: 1.7rem; }
.modal__head .eyebrow { margin-bottom: 4px; }
.modal__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal__sub { margin: 0; padding: 0 28px 10px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.modal__sub a { color: var(--blue); font-weight: 600; }
.modal .form { gap: 11px; padding: 4px 28px 22px; }
.modal .form label { gap: 4px; font-size: .8rem; }
.modal .form input:not([type="checkbox"]), .modal .form select, .modal .form textarea { padding: 10px 13px; border-radius: 10px; font-size: .95rem; }
.modal .form textarea { resize: none; }
.modal .check { font-size: .78rem !important; line-height: 1.45; }
.modal .btn--block { padding: 13px 24px; }
.modal .form__status:empty { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 16. Footer --------------------------------------------------------------- */
.footer { padding: 64px 0 40px; background: var(--navy-deep); color: rgba(255, 255, 255, .86); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer nav a { font-size: .9rem; text-decoration: none; }
.footer nav a:hover { color: var(--sky); }
.legal { max-width: 900px; margin: 28px 0 0; color: rgba(255, 255, 255, .78); font-size: .84rem; line-height: 1.75; }
.legal a { color: var(--sky); }

/* 17. Motion: content stays visible unless JS is running ------------------- */
.js .reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .8s ease, transform .8s ease; }

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1560px) and (min-width: 1101px) { .nav__phone { display: none; } }
@media (max-width: 1280px) and (min-width: 1101px) { .social--bar { display: none; } .nav__links { gap: 18px; } }

@media (max-width: 1100px) {
  /* header collapses to a hamburger before the links run out of room */
  .nav__phone, .social--bar { display: none; }
  .burger { display: block; }
  .nav .wrap { width: min(1360px, 100% - 40px); }
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 20px 22px; background: var(--navy); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); transform: translateY(-120%); transition: transform .35s; }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.05rem; }
  .nav.menu-open { background: var(--navy); }
  .social--menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 6px; }
  .nav__links .social--menu a { width: auto; height: auto; gap: 14px; justify-content: flex-start; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; font-size: 1.05rem; color: rgba(255, 255, 255, .85); }
  .nav__links .social--menu a:hover { background: none; color: var(--sky); transform: none; }
  .social--menu svg { width: 20px; height: 20px; }
  ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
  .hero__grid, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .card-lo { max-width: 440px; }
  .tabpanel { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .modal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .modal[open] { animation: sheet .32s var(--ease); }
  .modal__head { padding: 22px 20px 10px; }
  .modal__head h2 { font-size: 1.65rem; }
  .modal__sub { padding: 0 20px 14px; }
  .modal .form { padding: 6px 20px 28px; }
  .row--3 { grid-template-columns: 1fr; }
  .row--keep { grid-template-columns: 1fr 1fr !important; }
  .contact__panel { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .programs, ol.steps { grid-template-columns: 1fr; }
  .steps li { padding: 28px 22px 26px; }
  .row { grid-template-columns: 1fr; }
  .faq__item summary { padding: 18px 50px 18px 18px; font-size: 1.1rem; }
  .faq__a { padding: 0 18px 20px; }
  .trust { gap: 22px; }
  .nav__cta .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .steps li, .steps li span, .steps li::before, .path, .tool, .program { transition: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .modal[open], .modal[open]::backdrop { animation: none; }
  .steps li:hover, .path:hover, .tool:hover, .program:hover { transform: none; }
}

/* ==========================================================================
   WordPress theme only
   ========================================================================== */
.brand__mark { flex: none; width: 34px; height: 34px; color: var(--sky); }
.brand__photo { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; border: 2px solid var(--sky); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.brand .custom-logo { width: auto; height: 38px; }
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* inner-page banner + editor content */
.page-hero { position: relative; overflow: hidden; padding: 150px 0 70px; background: linear-gradient(160deg, #071a30, var(--navy-2)); color: #fff; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 163, 255, .25), transparent 65%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .lead { margin: 18px 0 0; }
.entry { max-width: 820px; }
.entry h2 { margin: 1.6em 0 .5em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.entry h2:first-child { margin-top: 0; }
.entry h3 { margin: 1.4em 0 .4em; font-size: 1.35rem; }
.entry p, .entry li { color: var(--ink-2); font-size: 1.1rem; line-height: 1.8; }
.entry ul { padding-left: 1.2em; }
.entry a:not(.btn) { color: var(--blue); font-weight: 600; }
.entry .btn { margin: 6px 10px 6px 0; }
.entry .programs, .entry .faq__list { margin: 1.2em 0; }
.entry:has(.steps) { max-width: 1160px; }
.entry:has(.steps) > p, .entry:has(.steps) > h2, .entry:has(.steps) > h3 { max-width: 820px; }
.entry .steps { margin: 1.4em 0; }
.entry .steps li { font-size: 1rem; }
@media (max-width: 980px) { .page-hero { padding: 120px 0 54px; } }

/* social follow band */
.follow { padding: 72px 0; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; }
.follow h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.follow p { max-width: 36em; margin: 0 auto 26px; color: rgba(255, 255, 255, .86); }
.follow__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.follow__links a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.follow__links a:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); transform: translateY(-2px); }
.follow__links svg { width: 20px; height: 20px; }

/* ==========================================================================
   Canopy page only: licenses + map
   ========================================================================== */
.loc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.loc h2 { font-size: 2.4rem; }
.loc h3 { margin-top: 28px; font-size: 1.2rem; }
.lic { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lic li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.map { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 980px) { .loc { grid-template-columns: 1fr; gap: 44px; } }
