/* Mayday Hope Medical Services — flat design, blue/green/white, leaf motif */

:root {
  --blue: #064A9B;
  --blue-deep: #083A77;
  --ink: #12293E;
  --muted: #46586A;
  --green: #168B32;
  --green-strong: #0F6E29;
  --blue-50: #EDF3FB;
  --blue-100: #DCE8F6;
  --green-50: #EAF6EC;
  --green-100: #D6EEDC;
  --line: #D6E1EC;
  --white: #FFFFFF;
  --danger: #B42318;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius: 6px;
  --r-btn: 5px;
  --r-chip: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--blue-deep); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 72ch; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue-deep); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ header */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 90;
}
.site-head .wrap {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding-top: 6px; padding-bottom: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 44px; width: auto; border-radius: 8px; }
.brand-logo-footer { height: 44px; margin-bottom: 10px; }
.brand-name { font-weight: 700; color: var(--blue-deep); font-size: 1.02rem; line-height: 1.15; }
.brand-name small { display: block; font-weight: 600; color: var(--green-strong); font-size: .78rem; }

.head-phone {
  display: none;
  margin-left: auto;
  font-weight: 600; text-decoration: none;
  color: var(--blue-deep);
  padding: 10px 0;
}

.nav { margin-left: auto; }
.menu-toggle {
  cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--r-btn);
  color: var(--blue-deep); background: var(--white);
  padding: 0;
}
.menu-toggle .nav-i-close { display: none; }
.menu-toggle[aria-expanded="true"] {
  background: var(--blue-50); border-color: var(--blue);
}
.menu-toggle[aria-expanded="true"] .nav-i-open { display: none; }
.menu-toggle[aria-expanded="true"] .nav-i-close { display: block; }
.nav-list {
  display: none;
  list-style: none; margin: 0; padding: 10px 20px 16px;
  position: absolute; right: 0; left: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 72px); overflow-y: auto;
}
.nav-list.is-open { display: block; animation: nav-in .18s ease-out; }
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.nav-list li { border-top: 1px solid var(--blue-50); }
.nav-list li:first-child { border-top: 0; }
.nav-list a {
  display: flex; align-items: center; min-height: 48px;
  padding: 6px 4px; text-decoration: none; color: var(--ink); font-weight: 600;
}
.nav-list a[aria-current] { color: var(--green-strong); }
/* the Book CTA shows inside the open mobile menu, full width */
@media (max-width: 899px) {
  .nav-list a.head-cta {
    display: flex; justify-content: center; align-items: center;
    min-height: 48px; margin: 8px 0 2px; color: #fff; text-decoration: none;
  }
}
.head-cta { display: none; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  border-radius: var(--r-btn); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--green-strong); color: #fff; border-color: var(--green-strong); }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-deep); }
.btn-quiet { color: var(--blue); padding: 12px 8px; }
.btn-block { width: 100%; }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .9rem; }

/* paired CTAs — side by side on one line on phones */
@media (max-width: 899px) {
  .hero-actions, .btn-pair {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .hero-actions .btn, .btn-pair .btn {
    min-height: 44px; padding: 9px 10px;
    font-size: .9rem; font-weight: 600;
    white-space: nowrap; justify-content: center;
    overflow: hidden; text-overflow: ellipsis;
    border-radius: var(--r-btn);
  }
}
@media (min-width: 900px) {
  .btn-pair { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
}

/* -------------------------------------------------------------- signature */

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-strong);
  margin-bottom: 10px;
}
.kicker svg { flex: none; }

.leaf-rule {
  display: flex; justify-content: center;
  color: var(--green); margin: 0 0 26px;
}
.leaf-rule svg { flex: none; }

/* media slots — provisional aspect ratios, one CSS var each */
.media-slot {
  position: relative; overflow: hidden;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: var(--ar, 3 / 2);
  display: flex; align-items: center; justify-content: center;
}
.media-slot .ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--blue); text-align: center; padding: 12px;
}
.media-slot .ph span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.media-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.ar-hero { --ar: 3 / 2; }
.ar-wide { --ar: 16 / 7; }
.ar-square { --ar: 1 / 1; }
.ar-photo { --ar: 4 / 3; }
.ar-map { --ar: 4 / 3; }

/* ------------------------------------------------------------------ layout */

main { display: block; }
section { padding: 40px 0; }
section.tight { padding: 28px 0; }
.band { background: var(--blue-50); }
.band-green { background: var(--green-50); }
.band-ink { background: var(--blue-deep); color: #fff; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a { color: #fff; }

/* closing CTA strip: copy left, action right; stacks on phones */
.band-cta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
}
.band-cta > div { max-width: 62ch; }
.band-cta .btn { flex: none; }

.grid { display: grid; gap: 16px; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
.split { display: grid; gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 10px; }
.card-link {
  display: block; text-decoration: none; color: var(--ink);
  transition: border-color .15s;
}
.card-link:hover { border-color: var(--blue); }
.card-link:hover h3 { color: var(--blue); }

/* photo cards: image bleeds to the card's top edges */
.card-link:has(.media-slot) { padding: 0 0 18px; }
.card-link:has(.media-slot) .media-slot {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
}
.card-link:has(.media-slot) > :not(.media-slot) {
  margin-left: 22px; margin-right: 22px;
}
.icon-box {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-50); color: var(--green-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.chevron { font-weight: 700; color: var(--green-strong); font-size: .92rem; }

/* ------------------------------------------------------- page heroes */

.page-hero {
  position: relative; overflow: hidden;
  background: var(--blue-deep); color: #fff;
  padding: 64px 0 54px;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(8, 58, 119, .62); }
.page-hero-inner { position: relative; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .kicker { color: var(--green-100); }
.page-hero-lead { font-size: 1.1rem; max-width: 56ch; color: #EAF1F9; }
.page-hero a { color: #fff; }
.page-hero .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.page-hero .btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }


/* ---------------------------------------------------------------- hero */

.hero { background: var(--blue-50); padding: 48px 0 44px; border-bottom: 1px solid var(--blue-100); }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero p.lead { font-size: 1.12rem; color: var(--ink); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  padding: 0; list-style: none; font-size: .9rem; color: var(--muted); font-weight: 600;
}
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges svg { color: var(--green-strong); }

.alert-strip {
  background: var(--blue-deep); color: #fff;
  padding: 14px 0; font-size: .95rem;
}
.alert-strip .wrap { display: flex; gap: 12px; align-items: flex-start; }
.alert-strip svg { flex: none; margin-top: 3px; }
.alert-strip strong { display: block; }
.alert-strip a { color: #fff; font-weight: 700; }

.care-urgent {
  border: 2px solid var(--blue); background: var(--blue-50);
  border-radius: var(--radius); padding: 16px 18px; margin: 24px 0;
}
.care-urgent strong { color: var(--blue-deep); }
.pill {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--blue-100); color: var(--blue-deep);
  border-radius: var(--r-chip); padding: 2px 8px; vertical-align: middle;
}

/* ------------------------------------------------------------------ lists */

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg); border-radius: 1px;
}

.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.loc-list li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: grid; gap: 2px;
}
.loc-kind {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--green-strong);
}
.loc-list .town { color: var(--muted); font-size: .92rem; }

.approach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.approach-list li {
  display: flex; gap: 14px; align-items: flex-start;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.approach-list .icon-box { margin: 0; flex: none; }

.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step-list li {
  position: relative; padding: 3px 0 18px 42px; counter-increment: step;
}
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--green-50); color: var(--green-strong);
  font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ — hairline accordion (cleaner than boxed cards) */
details.faq {
  border-top: 1px solid var(--line); margin-bottom: 0;
  background: transparent;
}
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; padding: 15px 36px 15px 2px; font-weight: 600; color: var(--blue-deep);
  min-height: 48px; list-style: none; position: relative;
}
details.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-weight: 700; font-size: 1.3rem; color: var(--green-strong); line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-body { padding: 0 2px 16px; }

/* ------------------------------------------------------------------ forms */

form.stack { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--muted); margin: 2px 0 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--muted); border-radius: var(--r-btn);
}
.field textarea { min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2346586A' stroke-width='2.2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: 3px solid var(--blue-100);
}
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; flex: none; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.flash {
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px;
  font-weight: 600; border: 1px solid;
}
.flash.ok { background: var(--green-50); border-color: var(--green-100); color: var(--green-strong); }
.flash.err { background: #FBECEA; border-color: #F3C9C4; color: var(--danger); }
.flash.info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-deep); }

/* ------------------------------------------------------------------ tables */

.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.status {
  display: inline-block; font-size: .78rem; font-weight: 700;
  border-radius: var(--r-chip); padding: 2px 8px; text-transform: uppercase; letter-spacing: .04em;
}
.status.new { background: var(--blue-100); color: var(--blue-deep); }
.status.contacted { background: var(--green-100); color: var(--green-strong); }
.status.booked, .status.confirmed { background: var(--green-50); color: var(--green-strong); border: 1px solid var(--green-100); }
.status.done { background: var(--blue-50); color: var(--muted); }
.status.pending { background: var(--blue-100); color: var(--blue-deep); }

.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-form select { min-height: 40px; font-size: .9rem; padding: 6px 8px; border: 1px solid var(--muted); border-radius: var(--r-btn); }

/* ------------------------------------------------------------------ admin */

.admin-shell { display: grid; gap: 24px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 10px 14px; color: var(--blue-deep); background: var(--white);
  min-height: 44px; display: inline-flex; align-items: center;
}
.admin-nav a:hover { background: var(--blue-50); }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-decoration: none; color: var(--ink);
}
.stat b { display: block; font-size: 1.7rem; color: var(--blue-deep); }
.stat span { font-size: .88rem; color: var(--muted); font-weight: 600; }

.img-preview {
  margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 240px; aspect-ratio: 1/1; object-fit: cover; background: var(--blue-50);
}

/* --------------------------------------------------------------- floating */

.float-stack {
  position: fixed; right: 16px; z-index: 100;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
}
.float-stack a {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
}
.float-stack a.wa { background: #25D366; }
.float-stack a.call { background: var(--blue); }

/* ------------------------------------------------------------------ footer */

.site-foot { background: var(--blue-deep); color: #DCE8F6; padding: 40px 0 24px; margin-top: 8px; }
.site-foot h2, .site-foot h3 { color: #fff; font-size: 1rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 26px; }
.foot-note { border-top: 1px solid #1c4f88; margin-top: 26px; padding-top: 18px; font-size: .85rem; }
.foot-note p { max-width: 100%; }

/* ------------------------------------------------------------- video tiles */

.video-tile {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--blue-deep); aspect-ratio: 16/9; cursor: pointer;
  width: 100%; padding: 0; font: inherit;
}
.video-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-tile .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-tile .play span {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green-strong); display: flex; align-items: center; justify-content: center;
}
.video-tile iframe { width: 100%; height: 100%; border: 0; }

/* reviews marquee — single line, infinite loop on all screens */
.reviews { padding: 40px 0; }
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review {
  flex: none; width: min(300px, 78vw); margin: 0 16px 0 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.review p { font-size: .95rem; margin-bottom: 10px; }
.review footer { font-size: .85rem; color: var(--muted); }
.review footer strong { color: var(--blue-deep); }
.review-stars { color: var(--green-strong); margin-bottom: 8px; display: flex; gap: 2px; }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

.empty-state {
  border: 1px dashed var(--muted); border-radius: var(--radius);
  padding: 28px; text-align: center; color: var(--muted); background: var(--blue-50);
}

/* ----------------------------------------------------------- breakpoints */

@media (min-width: 620px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .head-phone { display: block; }
  section { padding: 52px 0; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav-list {
    position: static; display: flex; gap: 4px; padding: 0; border: 0;
    align-items: center;
  }
  .nav-list li { border: 0; }
  .nav-list a { min-height: 44px; padding: 6px 12px; font-size: .95rem; }
  .head-cta { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-2-1 { grid-template-columns: 2fr 1fr; }
  .split-1-2 { grid-template-columns: 1fr 2fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .approach-list { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 220px 1fr; align-items: start; }
  .admin-nav { flex-direction: column; position: sticky; top: 84px; }
  .admin-nav a { width: 100%; }
}

@media (min-width: 1280px) {
  :root { --max: 1160px; }
  .grid-3.wide-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1600px) {
  :root { --max: 1240px; }
}

/* ------------------------------------------------ phones: card spacing */

@media (max-width: 619px) {
  /* radius picks for phones: cards 5px, buttons 4px, chips 3px */
  :root { --radius: 5px; --r-btn: 4px; }

  /* every horizontal layer = 6px: page edge = card gap = card inset */
  .wrap { padding-left: 6px; padding-right: 6px; }
  .grid { gap: 10px 6px; }
  .grid-3, .grid-2.cards-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .loc-list li, .empty-state, .approach-list li {
    padding-left: 6px; padding-right: 6px;
  }
  .card { padding-top: 12px; padding-bottom: 12px; }

  /* photo cards: text keeps the same 6px inset as plain cards */
  .card-link:has(.media-slot) { padding-bottom: 10px; }
  .card-link:has(.media-slot) > :not(.media-slot) {
    margin-left: 6px; margin-right: 6px;
  }

  /* heroes breathe less on small screens */
  .page-hero { padding: 38px 0 32px; }
  .hero { padding: 34px 0 30px; }

  /* single-column card stacks: edge distance = 8px (6 container + 2 here) */
  .split, .hero-split, .loc-list, .approach-list, .step-list,
  .solo-cards, details.faq, .empty-state, .care-urgent, .flash {
    margin-left: 2px; margin-right: 2px;
  }
}

/* ------------------------------------------------ blog */

.fpill {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .86rem; color: var(--ink);
  text-decoration: none; background: #fff;
}
.fpill:hover { border-color: var(--blue); color: var(--blue); }
.fpill.on, .fpill[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* ---------------------------------------------------- contact action rows */

.contact-cards { display: grid; gap: 10px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none;
}
.contact-card svg { flex: none; color: var(--green-strong); }
.contact-card > span { display: flex; flex-direction: column; line-height: 1.35; }
.contact-card strong { color: var(--blue-deep); font-size: 1.02rem; }
.contact-card small { color: var(--muted); font-size: .85rem; }
.contact-card:hover { border-color: var(--blue); }
.contact-card.primary {
  background: var(--green-strong); border-color: var(--green-strong); color: #fff;
}
.contact-card.primary svg,
.contact-card.primary strong,
.contact-card.primary small { color: #fff; }
.contact-card.primary:hover { background: var(--green); border-color: var(--green); }

@media (min-width: 900px) {
  /* current page gets a quiet underline accent */
  .nav-list a[aria-current] { box-shadow: inset 0 -2px 0 var(--green); }
}

@media print {
  .site-head, .float-stack, .site-foot { display: none !important; }
  .page-hero { color: var(--ink); background: none; padding: 12px 0; }
  .page-hero h1, .page-hero .kicker { color: var(--ink); }
  .page-hero-img, .page-hero-overlay { display: none; }
}

.prose { color: var(--ink); line-height: 1.75; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 1.45rem; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.2rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose blockquote {
  margin: 1.2em 0; padding: 10px 16px;
  border-left: 3px solid var(--blue); background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose strong { color: var(--ink); }

/* ------------------------------------------------- product image gallery */
.prod-gallery { min-width: 0; }
.prod-main {
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.prod-main img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.prod-thumbs {
  display: flex; gap: 10px;
  margin-top: 12px;
}
.prod-thumb {
  width: 74px; height: 74px;
  padding: 4px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease;
}
.prod-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.prod-thumb:hover { border-color: var(--blue); }
.prod-thumb.is-active { border-color: var(--green); }
