/* ===========================================================================
   Elevation EMS: site stylesheet
   ---------------------------------------------------------------------------
   Built on the PapaMedic landing page's design system (the .lp-* and .pm-*
   rules in papamedic-ai/web/routes/sign-in.jsx), so the company site and the
   product read as one family. Same type, same section panels, same bullets,
   same buttons; the parent brand's logo and neon green lead.

   The page is a sky before sunrise, as on PapaMedic:
     NIGHT (black hero) -> DAWN (a thin band that carries no text)
     -> DAY (pale blue to white) -> NIGHT again (contact band, footer).
   Each band sets its own background AND its own text colours, so contrast is
   decided per band. Change a band's background and its text colours
   together, then re-check contrast at both ends of its gradient.

   Colour rules
   - Neon green #96FA00 is the brand green (brand guide). Dark backgrounds
     only: on white it is about 1.3:1 and fails every contrast test.
   - Lime #A6CE39 (PapaMedic's lime) is decoration on light backgrounds:
     bullets, borders, tag fills with dark text. Never text on light.
   - Blue #2563EB is for actions, as in PapaMedic.
   - Text on light is ink #0B1220 (headings) and slate #334155 (body).
   =========================================================================== */

/* Archivo is self-hosted (SIL Open Font License, see fonts/Archivo-OFL-LICENSE.txt):
   no request to a font CDN, and the headings render the same on every device. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  /* night */
  --night: #010204;
  --night-2: #02040a;
  --on-dark: #d3dcec;
  --on-dark-soft: #9fb0cc;
  --neon: #96fa00;

  /* day */
  --ink: #0b1220;
  --text: #334155;
  --link: #1e3a8a;
  --line: rgba(15, 23, 42, 0.2);
  --line-strong: rgba(15, 23, 42, 0.32);
  --frame: #0d1524;
  --shadow: 0 16px 36px rgba(15, 23, 42, 0.28);

  /* shared */
  --navy: #0f2147;
  --lime: #a6ce39;
  --lime-deep: #6a9414;
  --lime-ink: #14200a;
  --lime-text: #3f6212;   /* lime-family text that passes on white */
  --blue: #2563eb;
  --blue-hover: #1d4ed8;

  --display: "Archivo", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Anchor targets clear the sticky header. */
[id] { scroll-margin-top: 84px; }

:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }
.day :focus-visible { outline-color: var(--link); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 18px; background: var(--neon); color: var(--lime-ink); font-weight: 800;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header (night) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 2, 4, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  padding: 6px 0;
  color: var(--on-dark);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #ffffff; }
.nav-links a[aria-current="page"] { color: #ffffff; border-bottom-color: var(--neon); }
.nav-cta { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--ui); font-size: 16px; font-weight: 800; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-blue { background: var(--blue); color: #ffffff; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #b6db55; }
/* outline on dark */
.btn-line { background: transparent; color: #ffffff; border-color: rgba(211, 220, 236, 0.5); }
.btn-line:hover { border-color: var(--neon); }
/* outline on light (PapaMedic's "Back to sign in") */
.btn-ghost { background: #ffffff; color: var(--link); border-color: rgba(30, 58, 138, 0.45); }
.btn-ghost:hover { border-color: var(--link); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero (night) ---------- */
.hero {
  overflow: hidden;
  background: linear-gradient(180deg, #000000 0%, var(--night) 60%, var(--night-2) 100%);
  color: var(--on-dark);
}
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center; gap: 40px;
  padding-top: 76px; padding-bottom: 64px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--neon);
  font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero h1 {
  max-width: 16ch;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.lede {
  max-width: 56ch; margin: 0 0 14px;
  color: var(--on-dark);
  font-size: clamp(1.06rem, 1.7vw, 1.26rem); line-height: 1.5;
}
.lede-2 { max-width: 60ch; margin: 0 0 28px; color: var(--on-dark-soft); font-size: 1.02rem; }
.lede-2 strong { color: #ffffff; }

.hero-mark { justify-self: end; width: min(100%, 340px); }
.hero-mark img { width: 100%; filter: drop-shadow(0 0 36px rgba(150, 250, 0, 0.16)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark img { animation: hover 7s ease-in-out infinite; }
}
@keyframes hover {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-10px) rotate(0.5deg); }
}

/* The page crosses the middle greys here, so this band carries no text. */
.dawn { height: 40px; background: linear-gradient(180deg, var(--night-2) 0%, #2b3a5c 40%, #a9bbd8 80%, #dfe8f4 100%); }

/* ---------- day ---------- */
.day {
  padding: 14px 0 44px;
  background: linear-gradient(180deg, #dfe8f4 0%, #edf2f9 18%, #f5f8fc 55%, #ffffff 100%);
  color: var(--text);
}
.day a:not(.btn) { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.day a:not(.btn):hover { color: #0b1f5e; }

/* intro block: PapaMedic's .pm-intro */
.intro { max-width: 82ch; margin: 18px 0 22px; padding: 2px 0 2px 18px; border-left: 4px solid var(--lime); }
.intro h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15;
}
.intro p { margin: 0; color: var(--text); font-size: 1.08rem; line-height: 1.55; }
.intro p + p { margin-top: 6px; }

/* section panel: PapaMedic's .pm-tool */
.panel {
  margin: 0 0 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line); border-radius: 12px;
}
.panel-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px;
  padding: 11px 20px;
  background: var(--navy);
  border-left: 5px solid var(--lime);
}
.panel-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
}
.panel-head p { margin: 0; color: var(--on-dark); font-size: 1.05rem; line-height: 1.4; }
.panel-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px 20px 20px; }
.panel.has-pic .panel-body { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; }
.panel.has-pic.is-flip .panel-body { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
.panel.is-flip .shot { order: -1; }
.panel-text { min-width: 0; }
.panel-text > p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.6; }
.panel .fine { color: #475569; font-size: 0.98rem; }

/* bullets: PapaMedic's .pm-bullets */
.bullets { display: grid; align-content: start; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; color: var(--text); font-size: 1.1rem; line-height: 1.45; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: 0.52em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--lime);
}
.bullets strong { color: var(--ink); font-weight: 800; }

/* screenshot frame: PapaMedic's .pm-shot-frame */
.shot {
  margin: 0; overflow: hidden;
  background: var(--frame);
  border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot.is-tall img { max-height: 440px; object-fit: cover; object-position: top; }
.shot figcaption { padding: 8px 12px 10px; color: #c3cee0; font-size: 0.84rem; }

/* thumbnails: PapaMedic's .pm-thumbs (each opens the full image) */
.thumbs { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0 20px 18px; list-style: none; }
.thumb { display: block; width: 160px; text-decoration: none; }
.thumb-frame {
  display: block; height: 100px; overflow: hidden;
  background: var(--frame);
  border: 1px solid var(--line-strong); border-radius: 8px;
}
.thumb-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.day a.thumb .thumb-label { display: block; margin-top: 4px; color: var(--link); font-size: 0.88rem; font-weight: 700; line-height: 1.25; }
.thumb:hover .thumb-label { text-decoration: underline; }

/* two panels side by side */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0 0 22px; }
.pair .panel { display: flex; flex-direction: column; margin: 0; }
.pair .panel-head { flex-direction: column; align-items: flex-start; }   /* title over subtitle, so the two heads match */
.pair .panel-body { flex: 1; grid-template-rows: 1fr auto; }
.more { margin: 0; font-size: 1.02rem; }

/* day sections with a plain title */
.band { padding: 30px 0 6px; }
.band-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15;
}
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 34px; }
.col { padding: 2px 0 2px 18px; border-left: 4px solid var(--lime); }
.col h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.3rem; font-weight: 800; }
.col p { margin: 0; font-size: 1.05rem; line-height: 1.6; }

/* people */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.person { padding: 20px 22px 18px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; }
.person .role {
  margin: 0 0 4px;
  color: var(--lime-text);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.person h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; }
.person p { margin: 0; font-size: 1rem; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.chips li {
  padding: 3px 10px;
  background: rgba(166, 206, 57, 0.18);
  border: 1px solid rgba(106, 148, 20, 0.45); border-radius: 999px;
  color: #2d4a0b;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em;
}

/* course cards (courses page) */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.course { padding: 16px 18px 18px; background: #fbfdff; border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: 10px; }
.course .for {
  margin: 0 0 4px;
  color: var(--lime-text);
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.course h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.course p { margin: 0; font-size: 1rem; line-height: 1.55; }

/* lime callout: PapaMedic's .pm-nursing */
.note {
  margin: 4px 0 0; padding: 16px 20px;
  background: rgba(166, 206, 57, 0.16);
  border: 1px solid rgba(63, 98, 18, 0.35); border-left: 4px solid var(--lime-deep); border-radius: 12px;
}
.note h3 { margin: 0 0 4px; color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.note p { margin: 0; color: #26323f; font-size: 1rem; line-height: 1.55; }

/* ---------- contact band (night again) ---------- */
.contact {
  padding: 56px 0 60px;
  background: linear-gradient(180deg, var(--navy) 0%, #0a1733 55%, var(--night) 100%);
  border-top: 5px solid var(--lime);
  color: var(--on-dark);
}
.contact h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
}
.contact p { max-width: 62ch; margin: 0 0 22px; font-size: 1.1rem; }
.contact .hint { margin: 20px 0 0; color: var(--on-dark-soft); font-size: 0.98rem; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--on-dark); font-size: 0.98rem; }
.contact-meta a { color: #ffffff; }

/* ---------- footer (night) ---------- */
.site-footer {
  padding: 36px 0 40px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark-soft);
  font-size: 0.92rem;
}
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot-brand img { width: auto; height: 26px; margin: 0 0 10px; }
.foot-brand p { margin: 0; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.foot ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: #ffffff; text-decoration: underline; }
.legal {
  margin: 26px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8193b2;
  font-size: 0.82rem;
}

/* ---------- PapaMedic page (papamedic.html, generated by build.mjs) ----------
   The app's home page (sign-in.jsx: .lp-brand, .pm-tabs, .pm-tool-main, .pm-cue, .pm-soon,
   .pm-about-box, .pm-nursing, .parent-co) in this stylesheet's vocabulary. */
.hero.is-center .hero-stack {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 40px; padding-bottom: 44px;
  text-align: center;
}
.hero.is-center h1 { max-width: none; }
.hero.is-center .lede { max-width: 62ch; margin-right: auto; margin-left: auto; }
.hero.is-center .cta-row { justify-content: center; }
.pm-brand { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.pm-brand-mark { width: clamp(64px, 6vw, 84px); height: auto; }
.pm-brand-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pm-brand-name {
  margin: 0;
  color: var(--neon);
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05;
}
.pm-brand-sub {
  margin: 6px 0 0;
  color: #c9d6e8;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.signin-note { margin: 12px 0 0; color: var(--on-dark-soft); font-size: 0.92rem; }

/* Tabs are plain links. The address's #fragment chooses the panel, so no script is needed and
   app-style links (/papamedic#agencies) open the right tab. Browsers without :has() show all
   three panels, one after another. */
.tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 18px 0 14px; padding: 6px;
  background: var(--navy);
  border-left: 5px solid var(--lime); border-radius: 10px;
}
.day a.tab {
  flex: 1 1 0;
  padding: 9px 14px 7px;
  border-bottom: 4px solid transparent; border-radius: 8px 8px 4px 4px;
  color: var(--on-dark);
  font-family: var(--display); font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 800;
  text-align: center; text-decoration: none;
}
.day a.tab:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.day a.tab:focus-visible { outline-color: var(--lime); }
.pm-panel { scroll-margin-top: 150px; }   /* a chosen tab keeps the tab bar in view */
@supports selector(:has(*)) {
  .pm-panel { display: none; }
  .panels:not(:has(> .pm-panel:target)) > .pm-panel:first-child,
  .panels > .pm-panel:target { display: block; }
  body:not(:has(.pm-panel:target)) .tabs a.tab:first-child,
  body:has(#programs:target) .tabs a[href="#programs"],
  body:has(#agencies:target) .tabs a[href="#agencies"],
  body:has(#about:target) .tabs a[href="#about"] {
    background: #1c3a78; border-bottom-color: var(--lime); color: #ffffff;
  }
  body:has(#about:target) .tiles-end,
  body:has(#about:target) .sample-note { display: none; }
}

.pm-page .panel.has-pic .panel-body { align-items: stretch; }
.bullets.is-cols { display: block; columns: 2; column-gap: 30px; }
.bullets.is-cols li { margin-bottom: 9px; break-inside: avoid; }

/* the main picture fills the text's height and shows its top, as in the app */
.day a.shot { color: #ffffff; text-decoration: none; }
.shot.is-main { position: relative; display: block; min-height: 290px; cursor: zoom-in; }
.shot.is-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cue {
  position: absolute; right: 0; bottom: 0; left: 0;
  padding: 34px 14px 10px;
  background: linear-gradient(180deg, rgba(13, 21, 36, 0) 0%, rgba(13, 21, 36, 0.94) 60%);
  color: #ffffff; font-size: 1rem; font-weight: 800; text-align: center;
}

.soon { margin: 0 0 10px; color: var(--text); font-size: 1rem; line-height: 1.4; }
.soon-end { margin: 0; padding: 4px 20px 16px; }
.soon-tag {
  display: inline-block; margin-right: 8px; padding: 2px 9px;
  background: var(--lime); border-radius: 999px;
  color: var(--lime-ink); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  vertical-align: 1px;
}

.about-box {
  padding: 22px 26px 26px;
  background: #0b1220;
  border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: var(--shadow);
  color: #cbd5e1;
}
.about-eyebrow {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.about-box h2 {
  margin: 0 0 16px;
  color: #e8eefb;
  font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance;
}
.about-body { columns: 2 420px; column-gap: 44px; }
.about-body p { margin: 0 0 14px; font-size: 1.04rem; line-height: 1.65; break-inside: avoid; }
.about-box .cta-row { margin-top: 18px; }

.tiles-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin: 8px 0 10px; }
.sample-note { margin: 0 0 22px; color: #475569; font-size: 0.92rem; text-align: center; }

.nursing {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin: 0 0 8px; padding: 18px 22px;
  background: rgba(166, 206, 57, 0.16);
  border: 1px solid rgba(63, 98, 18, 0.35); border-left: 4px solid var(--lime-deep); border-radius: 14px;
}
.nursing h2 { margin: 0 0 6px; color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; }
.nursing p { max-width: 720px; margin: 0; color: #26323f; font-size: 0.98rem; line-height: 1.55; }

.parent { padding: 24px 2px 4px; }
.parent h2 { margin: 0 0 10px; color: var(--ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.parent p { max-width: 70ch; margin: 0 0 18px; font-size: 1rem; line-height: 1.6; }

@media (max-width: 760px) {
  .shot.is-main { min-height: 0; aspect-ratio: 4 / 3; }
  .bullets.is-cols { columns: 1; }
  .about-box { padding: 18px 16px 20px; }
  .about-box h2 { font-size: 1.6rem; }
}
@media (max-width: 560px) {
  .day a.tab { flex: 1 1 100%; }
}

/* ---------- 404 ---------- */
.lost { padding: 18px 0 12px; }
.lost .cta-row { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; padding-bottom: 44px; }
  .hero-mark { display: none; }
  .panel.has-pic .panel-body,
  .panel.has-pic.is-flip .panel-body { grid-template-columns: minmax(0, 1fr); }
  .panel.is-flip .shot { order: 0; }
  .pair, .cols, .people { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { flex-wrap: wrap; gap: 6px 12px; min-height: 0; padding-top: 12px; padding-bottom: 8px; }
  .brand img { height: 22px; }
  .nav-cta { margin-left: auto; padding: 7px 12px; font-size: 13.5px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 22px; overflow-x: auto; }
  .nav-links a { font-size: 14.5px; white-space: nowrap; }
  [id] { scroll-margin-top: 96px; }
  .hero-in { padding-top: 36px; padding-bottom: 36px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.16em; }
  .lede-2 { margin-bottom: 22px; }
  .cta-row .btn { flex: 1 1 auto; }
  .panel-head { padding: 9px 14px; }
  .panel-body { padding: 14px; }
  .thumbs { padding: 0 14px 14px; }
  .thumbs li { width: calc(50% - 6px); }
  .thumb { width: 100%; }
  .bullets li { font-size: 1.03rem; }
  .contact { padding: 40px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
