/* ==========================================================================
   Jannalee Physiotherapy — site styles
   Plain CSS, no framework. Mobile-first.
   Palette: navy primary, warm cream neutral, teal accent.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours from jannaleephysio.com logo — navy + orange, with teal accent */
  --navy: #364368;          /* Logo navy — primary brand */
  --navy-deep: #252F4A;     /* Footer, dark sections */
  --navy-soft: #4A5A8A;     /* Hover states, secondary elements */
  --orange: #FF7D12;        /* Logo orange — CTA buttons ONLY (not wallpaper) */
  --orange-hover: #E06800;  /* Button hover */
  --orange-tint: #FFF3E8;   /* Light orange tint — accent backgrounds */
  --teal: #21759B;          /* Existing link colour — accent + kinesiology */
  --teal-dark: #1B6184;     /* Darker teal for link hover */
  --teal-tint: #E8F4FA;     /* Light teal tint — kinesiology sections */
  --cream: #F4F5F7;         /* Repurposed: light grey alternating sections */
  --cream-deep: #E9ECF1;
  --ink: #404040;           /* Body text — existing brand value */
  --muted: #6B7280;         /* Secondary text */
  --line: #E2E8F0;          /* Cards, dividers */
  --white: #ffffff;
  --warn-bg: #FFF3E8;
  --warn-line: #FF7D12;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 48, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 48, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 48, 74, 0.16);

  --maxw: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #dce6ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255,125,18,.32); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
/* btn-xl: hero "Book an Appointment" — bigger draw without being obnoxious */
.btn-xl { padding: 1.4rem 3.4rem; font-size: 1.45rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff; backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 600px) { .logo-img { height: 34px; } }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .5px;
}
.logo-text { font-size: 1.12rem; font-weight: 500; color: var(--navy); line-height: 1.1; }
.logo-text strong { display: block; font-weight: 700; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(.5rem, 2vw, 1.6rem); list-style: none; align-items: center; }
.primary-nav a { font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--navy); padding: .4rem 0; position: relative; }
.primary-nav a:hover { color: var(--teal-dark); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--teal-dark); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--teal); border-radius: 2px;
}
.header-cta { margin-left: .5rem; padding: .7rem 1.3rem; font-size: .95rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 11px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px auto; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta { order: 2; margin-left: auto; }
  .primary-nav {
    order: 4; flex-basis: 100%; margin-left: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.open { max-height: 520px; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: .5rem 1rem; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: .9rem .2rem; }
  .header-inner { flex-wrap: wrap; }
}

/* ---------- Announcement bar (scrolls away above sticky header) ---------- */
.announcement-bar { background: var(--teal-dark); color: #fff; font-size: .93rem; }
.announcement-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem 1rem; padding-block: .6rem; text-align: center; }
.announcement-bar p { margin: 0; font-family: var(--font-head); font-weight: 500; }
.announcement-bar a.ab-cta { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announcement-bar a.ab-cta:hover { color: var(--cream); }

/* ---------- Instagram strip ---------- */
.ig-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
.ph.ig-tile { min-height: 0; aspect-ratio: 1; border-radius: var(--radius); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--cream) 0%, #fbf8f2 60%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-copy h1 { color: var(--navy); }
.hero-copy .lead { font-size: 1.2rem; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.hero-note { font-size: .95rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.hero-note svg { color: var(--teal); flex: none; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* Full-bleed hero (homepage) — background photo + dark overlay + centered text */
.hero-full { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero-full__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); z-index: -1; }
.hero-full__inner { display: flex; flex-direction: column; align-items: center; max-width: 880px; padding-block: clamp(4rem, 10vh, 7rem); }
.hero-full__eyebrow { color: #fff; opacity: .9; }
.hero-full__title { font-family: Georgia, "Times New Roman", serif; color: #fff; font-weight: 600; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.12; letter-spacing: -0.4px; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); margin-bottom: 1rem; }
.hero-full__lead { color: #fff; font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.6; max-width: 660px; margin: 0 auto 2rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-full__ctas { justify-content: center; }
.hero-full__note { color: #fff; opacity: .95; }
.hero-full__note svg { color: #fff; }

/* ---------- Photo placeholders ---------- */
.ph {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, #e7eaf0, #e7eaf0 14px, #eff2f7 14px, #eff2f7 28px);
  color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .3px;
  border-radius: var(--radius-lg); border: 1px dashed #c2cad8; min-height: 240px; padding: 1.5rem;
}
.ph small { display: block; font-weight: 400; color: var(--muted); margin-top: .35rem; font-size: .8rem; letter-spacing: 0; }
.ph--tall { min-height: 420px; }
.ph--round { border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.ph--wide { min-height: 200px; }

/* Real content photo (service/condition page asides, etc.) — fills its column, rounded */
.media-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); object-fit: cover; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); color: #e7eef5; }
.trust-bar .container { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); padding-block: 1.8rem; }
.trust-item { display: flex; align-items: center; gap: .75rem; font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.trust-item svg { color: var(--teal); flex: none; }
.trust-item strong { display: block; font-weight: 600; color: #fff; }
.trust-item span { font-size: .82rem; color: #aebfce; font-family: var(--font-body); }
@media (min-width: 760px) { .trust-bar .container { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge { margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1.2rem; }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); display: inline-flex; align-items: center; gap: .4rem; }
.card .card-link:hover { gap: .7rem; text-decoration: none; }
.card.is-soon { background: var(--cream); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(33,117,155,.10); color: var(--teal-dark);
}
.icon-badge svg { width: 28px; height: 28px; }

.badge-soon {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .5px; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-tint);
  border: 1px solid rgba(33,117,155,.35); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem; align-self: flex-start;
}

/* ---------- Conditions grid ---------- */
.conditions-grid { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .conditions-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .conditions-grid { grid-template-columns: repeat(4, 1fr); } }
.condition-pill {
  display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem 1rem; font-weight: 500; font-size: .96rem; color: var(--navy);
  font-family: var(--font-head); transition: border-color .18s, transform .18s;
}
.condition-pill:hover { border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
.condition-pill svg { color: var(--teal); flex: none; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 1.8rem 1.8rem; box-shadow: var(--shadow-sm); }
.step .step-num {
  position: absolute; top: -22px; left: 1.8rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255,125,18,.38);
}
.step h3 { margin-top: .4rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.team-card .ph--round { margin: 0 auto 1.1rem; width: 150px; }
.team-card .team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: top center; margin: 0 auto 1.1rem; display: block; box-shadow: var(--shadow-sm); }
.team-card h3 { margin-bottom: .15rem; }
.team-card .role { font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); font-size: .95rem; }
.team-card .creds { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.team-card p { color: var(--muted); font-size: .95rem; margin-top: .8rem; margin-bottom: 0; }

/* ---------- Team member cards (Zone-style: text on top, photo filling the bottom) ---------- */
.member { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; text-align: left; }
.member-body { padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.member-name { font-size: 1.35rem; margin: 0; line-height: 1.15; }
.member-creds { font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: .4rem; }
/* margin-top:auto pushes the actions to the bottom of the (stretched) body so Read Bio + Book line up
   across every card regardless of how many lines the credentials take. Stacked, in requested order. */
.member-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: auto; padding-top: 1rem; }
.member-book { border-radius: 999px; padding: .55rem 1.25rem; font-size: .92rem; }
.member-readbio { background: none; border: 0; padding: .25rem 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.member-readbio:hover, .member-readbio:focus-visible { color: var(--navy, #364368); }
.member-readbio:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; border-radius: 4px; }
.member-bio-content { display: none; }
/* Reserves the space of a Book button (e.g. Karen, who has no booking) so the Read Bio link still lines up with the rest of the row. */
.book-placeholder { visibility: hidden; }
.member-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; display: block; margin-top: 1.4rem; }
/* Team page rows: compact, centered. Physios sit 4-across; kin & admin (2 each) center at the same card size.
   auto-fit caps each card at 240px and collapses empty tracks so 2-person rows center cleanly.
   margin-top:auto pushes every photo to the bottom edge so they line up even when bios differ in length. */
.team-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); gap: 1.5rem; justify-content: center; }
/* height:auto lets aspect-ratio force a square (the img's height="600" attribute otherwise wins inside a flex column);
   margin-top:auto pushes the photo to the card's bottom so all photos line up even when bios differ in length. */
.team-row .member-photo { height: auto; aspect-ratio: 1 / 1; }

/* Bio popup */
.bio-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.bio-modal[hidden] { display: none; }
.bio-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 48, .55); }
.bio-modal-panel { position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; padding: 2.2rem 2rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); animation: bioReveal .2s ease; }
.bio-modal-close { position: absolute; top: .5rem; right: .9rem; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.bio-modal-close:hover { color: var(--navy, #364368); }
.bio-modal-creds { font-size: .85rem; color: var(--muted); }
.bio-modal-name { font-size: 1.7rem; margin: .15rem 0 1.1rem; }
.bio-modal-bio p { color: var(--ink, #3a4656); font-size: .98rem; margin: 0 0 .9rem; }
.bio-modal .member-book { margin-top: .4rem; display: inline-block; }
#bookModalTitle { margin-bottom: .35rem; }
.book-intro { color: var(--muted); font-size: .95rem; margin: 0 0 1.3rem; }
body.modal-open { overflow: hidden; }
@keyframes bioReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Trust / reassurance strip (SCPT-safe, replaces testimonials) ---------- */
.assurance { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .assurance { grid-template-columns: 320px 1fr; } }
.rating-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); }
.rating-card .stars { color: #e8a93b; font-size: 1.6rem; letter-spacing: 3px; }
.rating-card .score { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--navy); line-height: 1; margin: .4rem 0 .2rem; }
.rating-card .src { color: var(--muted); font-size: .9rem; }
.assurance-points { list-style: none; display: grid; gap: 1rem; }
.assurance-points li { display: flex; gap: .8rem; align-items: flex-start; }
.assurance-points svg { color: var(--teal); flex: none; margin-top: 3px; }
.assurance-points strong { display: block; font-family: var(--font-head); color: var(--navy); }

/* ---------- Insurance ---------- */
.insurer-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.insurer-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
  min-width: 150px; text-align: center;
}
.insurer-chip span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .ph { border-radius: 0; min-height: 180px; border: none; }
.blog-card .blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { font-family: var(--font-head); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; color: var(--teal-dark); font-weight: 600; margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card .card-link { margin-top: auto; font-weight: 600; color: var(--teal-dark); font-family: var(--font-head); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd9e5; max-width: 600px; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy); color: #dce6ef; }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: #b9c9d8; max-width: 680px; }
.breadcrumb { font-size: .85rem; color: #91a6ba; margin-bottom: 1rem; font-family: var(--font-head); }
.breadcrumb a { color: #b9c9d8; }

/* ---------- Prose blocks ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose ul.checks { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 1.5rem; }
.prose ul.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.prose ul.checks svg { color: var(--teal); flex: none; margin-top: 4px; }

.split { display: grid; gap: clamp(2rem,5vw,3rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Scenario cards ---------- */
.scenarios { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .scenarios { grid-template-columns: 1fr 1fr; } }
.scenario { background: var(--cream); border-radius: var(--radius); padding: 1.4rem 1.6rem; border-left: 4px solid var(--teal); }
.scenario h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.scenario p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); font-weight: 400; flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(2rem,5vw,3rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; color: var(--navy); margin-bottom: .4rem; font-size: .95rem; }
.field label .req { color: var(--teal-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 11px; font: inherit;
  color: var(--ink); background: #FAFAFA; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(33,117,155,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-success { display: none; background: rgba(33,117,155,.1); border: 1px solid var(--teal); color: var(--teal-dark); padding: 1rem 1.2rem; border-radius: 11px; font-family: var(--font-head); font-weight: 500; margin-bottom: 1.2rem; }
.form-success.show { display: block; }

.contact-detail { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-detail svg { color: var(--teal); flex: none; margin-top: 3px; }
.contact-detail strong { display: block; font-family: var(--font-head); color: var(--navy); }
.contact-detail a { color: var(--ink); }
.map-ph { margin-top: 1.5rem; }

/* ---------- Notice / disclaimer ---------- */
.notice { background: var(--cream); border-left: 4px solid var(--teal); border-radius: 10px; padding: 1rem 1.3rem; font-size: .92rem; color: var(--muted); }
.notice strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebfce; padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #aebfce; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-mark { background: var(--teal); }
/* Footer brand icon: the full-colour J-swoop sits on a small white rounded chip so the navy J reads on the dark footer. */
.footer-logo-icon { height: 40px; width: auto; background: #fff; border-radius: 10px; padding: 4px 7px; box-sizing: border-box; display: block; }

/* Shop page: product cards stack content with the Buy button full-width at the bottom. */
.product { display: flex; flex-direction: column; }
.product-photo { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
.product-price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin: .5rem 0 1rem; }
.product .btn { width: 100%; justify-content: center; margin-top: auto; }
.product .tag { align-self: flex-start; }
.footer-brand p { margin-top: 1rem; max-width: 320px; color: #93a6b8; }
.footer-links ul { list-style: none; display: grid; gap: .6rem; }
.footer-contact p { margin: 0 0 .8rem; }
.footer-contact strong { color: #fff; font-family: var(--font-head); font-weight: 500; }
.social-row { display: flex; gap: .7rem; margin-top: 1rem; }
.social-row a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9e5; }
.social-row a:hover { background: var(--teal); color: #fff; }
.assoc-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.assoc-badge { border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: .5rem .7rem; font-size: .76rem; font-family: var(--font-head); color: #cdd9e5; line-height: 1.3; }
.assoc-badge strong { display: block; color: #fff; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #7c91a4; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.dev-note { /* build-time reminders, hidden from view */ display: none; }
