/* Just Living — site styles
   Brand: navy #2c335b, pink #f7cbf3, soft blue #e1eefe, Cabin.
   Warm cream backgrounds, rounded shapes and a handwritten accent font
   (Patrick Hand SC) used only for short accent lines and numbers. */

@font-face {
  font-family: "Cabin";
  src: url("/assets/fonts/cabin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand SC";
  src: url("/assets/fonts/patrick-hand-sc.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2c335b;
  --navy-600: #404971;
  --navy-900: #1f2443;
  --rose: #a23b72;          /* deep pink for accent text: 5.8:1 on cream */
  --pink: #f7cbf3;          /* brand pink: highlights, shapes, buttons */
  --pink-50: #fbeef8;
  --blue: #e1eefe;          /* brand soft blue */
  --blue-25: #f2f7ff;
  --cream: #fbf7f2;
  --cream-deep: #f5ede4;
  --blush: #f8eef1;
  --line: #e4dcd3;
  --line-strong: #7d84a6;
  --white: #fff;
  --error: #a4262c;
  --success: #1d6b4f;

  --font: "Cabin", Arial, Helvetica, sans-serif;
  --accent-font: "Patrick Hand SC", "Comic Sans MS", "Segoe Print", cursive;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.25rem, 7vw, 6rem);
  --shadow: 0 12px 34px rgba(44, 51, 91, 0.1);
  --shadow-sm: 0 4px 14px rgba(44, 51, 91, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--navy); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
figure { margin: 0; }
figcaption { margin-top: 0.7rem; font-size: 0.9375rem; text-align: center; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.bg-navy :focus-visible, .topbar :focus-visible, .community-band :focus-visible { outline-color: var(--pink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--navy);
  padding: 0.8rem 1.1rem; border: 2px solid var(--navy); border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Accent type ---------- */
.eyebrow, .accent {
  display: block; margin: 0 0 0.5rem; font-family: var(--accent-font); font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: 0.01em; color: var(--rose);
}
.bg-navy .eyebrow, .bg-navy .accent, .community-band .eyebrow { color: var(--pink); }
.hl {
  background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-style: normal;
}
.bg-pink .hl, .tint-pink .hl { background: linear-gradient(transparent 58%, var(--white) 58%, var(--white) 92%, transparent 92%); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 40rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: 0.875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.5rem; }
.topbar p { margin: 0; }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar-hours { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; opacity: 0.95; }
.topbar .social-mini { display: flex; gap: 0.25rem; }
.topbar .social-mini a { width: 2.25rem; justify-content: center; border-radius: 50%; }
.topbar .social-mini a:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }

/* ---------- Header with floating pill menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, 0.94); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.5rem; }
.brand { display: inline-flex; align-items: center; padding-block: 0.4rem; }
.brand img { width: auto; height: 3.7rem; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 1rem; font: inherit; font-weight: 600;
  color: var(--navy); background: var(--white); border: 1.5px solid var(--navy); border-radius: 999px; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 0.75rem; flex: 1; justify-content: flex-end; }
.nav-list {
  display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0 auto; padding: 0.3rem 0.5rem;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8rem; text-decoration: none; font-weight: 600; border-radius: 999px; }
.nav-list > li > a:hover { background: var(--blue-25); }
.nav-list > li > a[aria-current="page"], .nav-list > li.is-section > a { color: var(--rose); }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 2.75rem; margin-left: -0.6rem;
  background: none; border: 0; color: var(--navy); cursor: pointer; border-radius: 999px;
}
.sub-toggle .icon { transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-list {
  display: none; position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 19rem; margin: 0; padding: 0.5rem; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.sub-list a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0.85rem; text-decoration: none; border-radius: 12px; }
.sub-list a:hover, .sub-list a[aria-current="page"] { background: var(--blue); }
.sub-list a[aria-current="page"] { font-weight: 700; }
.has-sub.is-open > .sub-list { display: block; }
@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover > .sub-list { display: block; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.5rem; }
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.7rem 1.45rem;
  border-radius: 999px; border: 1.5px solid var(--navy); font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); border-color: var(--navy-900); }
.btn-pink { background: var(--pink); color: var(--navy); border-color: var(--pink); }
.btn-pink:hover { background: #f2b6ec; border-color: #f2b6ec; }
.btn-secondary { background: var(--white); color: var(--navy); }
.btn-secondary:hover { background: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--pink); border-color: var(--pink); }
.btn-small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn:active { transform: translateY(0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Sections and backgrounds ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.bg-white { background: var(--white); }
.bg-blue { background: var(--blue); }
.bg-blue-soft { background: var(--blue-25); }
.bg-pink { background: var(--pink-50); }
.bg-surface { background: var(--cream-deep); }
.bg-navy { background: var(--navy); color: var(--white); }
.curved { border-radius: 50% / clamp(1.5rem, 4vw, 3.5rem); }
.curved-top { border-top-left-radius: 50% clamp(1.5rem, 4vw, 3.5rem); border-top-right-radius: 50% clamp(1.5rem, 4vw, 3.5rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; max-width: 30rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split.top { align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.stack > * + * { margin-top: 1rem; }
.photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 3 / 2; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-natural { aspect-ratio: auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 1.25rem; font-size: 0.9375rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { display: inline-block; padding-block: 0.35rem; }

/* ---------- Community bar (home page) ---------- */
.community-bar { font-size: 0.9375rem; }
.community-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 1.5rem; }
.community-bar p { margin: 0; font-family: var(--accent-font); font-size: 1.15rem; color: var(--rose); }
.community-bar ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; list-style: none; margin: 0; padding: 0; }
.community-bar a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0 0.9rem; font-weight: 600; text-decoration: none; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-block: 0.25rem; }
.community-bar a:hover { background: var(--blue); }

/* ---------- Home hero with collage ---------- */
.home-hero { position: relative; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); overflow: hidden; }
.home-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 0.35em; }
.home-hero h1 .hl { white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.9375rem; }
.chips .icon { color: var(--rose); }
.hero-rainbow { position: absolute; left: -3rem; bottom: -4.5rem; width: clamp(9rem, 18vw, 15rem); z-index: 0; pointer-events: none; }

.collage { position: relative; aspect-ratio: 1 / 0.92; }
.collage-main {
  position: absolute; left: 6%; right: 2%; top: 16%; bottom: 0; overflow: hidden;
  border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; border: 10px solid var(--white); box-shadow: var(--shadow); background: var(--blue);
}
.collage-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.polaroid { position: absolute; margin: 0; background: var(--white); padding: 0.45rem 0.45rem 0.6rem; border-radius: 8px; box-shadow: var(--shadow); }
.polaroid img { width: 100%; aspect-ratio: 1 / 0.86; object-fit: cover; border-radius: 4px; }
.polaroid-1 { width: 31%; left: 0; top: 4%; transform: rotate(-7deg); }
.polaroid-2 { width: 26%; left: 37%; top: -2%; transform: rotate(3deg); }
.polaroid-3 { width: 30%; right: -1%; top: 6%; transform: rotate(7deg); }
.polaroid-2 img { object-position: center 25%; }
.collage-badge { position: absolute; right: 4%; bottom: 10%; width: 6.5rem; height: 6.5rem; display: grid; place-items: center; background: var(--white); border-radius: 50%; box-shadow: var(--shadow); padding: 0.8rem; }
.collage-badge img { width: 100%; height: auto; }
.doodle { position: absolute; color: var(--rose); pointer-events: none; }
.doodle-heart { width: 3rem; left: -3%; bottom: 18%; transform: rotate(-12deg); }
.doodle-swirl { width: 4.5rem; right: 30%; top: 12%; color: var(--navy-600); opacity: 0.6; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--blue); padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); border-bottom-left-radius: 50% clamp(1.5rem, 4vw, 3.5rem); border-bottom-right-radius: 50% clamp(1.5rem, 4vw, 3.5rem); }
.page-hero.pink { background: var(--pink-50); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; border: 8px solid var(--white); box-shadow: var(--shadow); }

/* ---------- Rainbow arcs (from the home hero), repeated lightly ----------
   Inner page heroes: bottom-right, mirrored. Footer: rising from behind its curved top.
   The third arc is white on the blue hero so all three stay visible. */
.page-hero { position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero::after, .site-footer::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(8rem, 15vw, 13rem); aspect-ratio: 320 / 220;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke-width='26' stroke-linecap='round'%3E%3Cpath d='M-20 220C40 120 140 60 300 40' stroke='%232c335b'/%3E%3Cpath d='M-20 250C50 160 150 100 310 82' stroke='%23f7cbf3'/%3E%3Cpath d='M-20 280C60 200 160 140 320 124' stroke='%23e1eefe'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.page-hero::after {
  right: -3rem; bottom: clamp(1.75rem, 4vw, 3.5rem); width: clamp(10rem, 19vw, 16rem); transform: scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke-width='26' stroke-linecap='round'%3E%3Cpath d='M-20 220C40 120 140 60 300 40' stroke='%232c335b'/%3E%3Cpath d='M-20 250C50 160 150 100 310 82' stroke='%23f7cbf3'/%3E%3Cpath d='M-20 280C60 200 160 140 320 124' stroke='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero.pink::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke-width='26' stroke-linecap='round'%3E%3Cpath d='M-20 220C40 120 140 60 300 40' stroke='%232c335b'/%3E%3Cpath d='M-20 250C50 160 150 100 310 82' stroke='%23f7cbf3'/%3E%3Cpath d='M-20 280C60 200 160 140 320 124' stroke='%23e1eefe'/%3E%3C/g%3E%3C/svg%3E"); }
.site-footer { position: relative; }
.site-footer::before { z-index: -1; left: -2.5rem; bottom: calc(100% - 3rem); }

/* ---------- "At a glance" card in service page headers ---------- */
.glance { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 2.75rem clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); margin-top: 2rem; }
.glance-icon { position: absolute; top: -2rem; left: clamp(1.4rem, 3vw, 2rem); display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--pink); color: var(--navy); box-shadow: var(--shadow-sm); border: 4px solid var(--white); }
.glance-icon .icon { width: 1.75rem; height: 1.75rem; }
.glance-title { font-family: var(--accent-font); font-weight: 400; font-size: 1.6rem; color: var(--rose); letter-spacing: 0.01em; margin-bottom: 0.5rem; }
.glance .checklist { margin-bottom: 0.25rem; }
.glance .btn-row { margin-top: 1rem; }

/* ---------- Icon art in place of service photos ---------- */
.card-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; border-radius: 50%; background: var(--pink); color: var(--navy); }
.card-icon .icon { width: 1.6rem; height: 1.6rem; }
.grid > .card:nth-child(even) .card-icon { background: var(--blue); }
.panel-art {
  position: relative; display: grid; place-items: center; min-height: 16rem; overflow: hidden; color: var(--navy);
  background: radial-gradient(circle at 28% 30%, var(--pink) 0 22%, transparent 23%), radial-gradient(circle at 76% 72%, var(--white) 0 18%, transparent 19%), var(--pink-50);
}
.explorer-panel:nth-child(even) .panel-art { background: radial-gradient(circle at 70% 28%, var(--white) 0 20%, transparent 21%), radial-gradient(circle at 26% 74%, var(--pink) 0 16%, transparent 17%), var(--blue); }
.panel-art .icon { position: relative; width: clamp(6.5rem, 11vw, 9.5rem); height: clamp(6.5rem, 11vw, 9.5rem); stroke-width: 1.2; padding: 1.75rem; background: var(--white); border-radius: 50%; box-shadow: var(--shadow); }

/* ---------- Podcast cover art shown whole (no cropping) ---------- */
.card-art { position: relative; aspect-ratio: 3 / 2; background: var(--blue); overflow: hidden; }
.card-art img {
  position: absolute; top: 1rem; bottom: 1rem; left: 50%; height: calc(100% - 2rem); width: auto; max-width: none;
  aspect-ratio: 526 / 789; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow); transform: translateX(-50%) rotate(-2deg);
}

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); border: 8px solid var(--white); box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 0.85rem; font-size: 0.9375rem; text-align: center; }

/* ---------- Stats band ---------- */
.stats { position: relative; background: var(--white); padding-block: clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.stats-title { margin: 0 0 1.75rem; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.stats-title .accent { display: inline; font-size: 1.15em; }
.stats-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0 auto; padding: 0; max-width: 40rem; }
.stats-list li { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.stat-num { font-family: var(--accent-font); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; }
.stats-list li:nth-child(1) .stat-num { color: var(--rose); }
.stats-list li:nth-child(2) .stat-num { color: var(--navy); }
.stat-label { font-weight: 600; }
.stats-note { margin: 1.5rem 0 0; font-size: 0.875rem; }

/* ---------- Award (best practice at NDIS audit) ---------- */
.award { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.award-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.25rem, 4vw, 3rem); align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-sm);
  border: 2px solid var(--pink);
}
.award-box h2 { margin-bottom: 1.1rem; }
.award-list { display: grid; gap: 0.75rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.award-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 1.1rem 0.6rem 0.6rem; border-radius: 999px; background: var(--pink-50); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.award-list li:nth-child(2) { background: var(--blue); }
.award-note { margin: 0; font-size: 0.9375rem; max-width: 36rem; }
.award-poster { display: block; width: clamp(9rem, 18vw, 13rem); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(3deg); transition: transform 0.15s ease; }
.award-poster:hover { transform: rotate(0deg) scale(1.02); }
.award-poster img { width: 100%; height: auto; }

/* ---------- Basketball term dates ---------- */
.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.dates li { background: var(--white); border-radius: 14px; padding: 0.6rem 0.75rem; text-align: center; box-shadow: var(--shadow-sm); line-height: 1.25; }
.dates strong { display: block; font-family: var(--accent-font); font-weight: 400; font-size: 1.5rem; color: var(--rose); }
.facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Services explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.explorer-tabs { display: flex; flex-direction: column; gap: 0.35rem; list-style: none; margin: 0; padding: 0; position: sticky; top: 7rem; }
.explorer-tabs[hidden] { display: none; }
.explorer-tabs button {
  display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 3rem; padding: 0.55rem 1rem; text-align: left;
  font: inherit; font-weight: 600; color: var(--navy); background: transparent; border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
}
.explorer-tabs button::before { content: ""; flex: none; width: 0.65rem; height: 0.65rem; border-radius: 50%; border: 2px solid var(--rose); }
.explorer-tabs button:hover { background: var(--white); }
.explorer-tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.explorer-tabs button[aria-selected="true"]::before { background: var(--pink); border-color: var(--pink); }
.explorer-panels { display: grid; gap: 1.25rem; }
.explorer-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.explorer-panel[hidden] { display: none; }
.explorer-panel .panel-body { padding: clamp(1.4rem, 3vw, 2.25rem); }
.explorer-panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.explorer-panel img { width: 100%; height: 100%; min-height: 16rem; object-fit: cover; }
.explorer-panel .btn-row { margin-top: 1rem; }
.explorer-panel:focus-visible { outline-offset: 4px; }

/* ---------- "Right fit" call to action ---------- */
.fit { padding-block: clamp(2.5rem, 6vw, 4rem); }
.fit-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 2rem; align-items: center;
  background: var(--pink-50); border: 2px dashed #e7a9df; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem);
}
.fit-box h2 { margin-bottom: 0.35rem; }
.fit-box p { margin: 0; max-width: 38rem; }
.fit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

/* ---------- Approach, values, why-choose ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3, .feature h4 { margin-bottom: 0.3rem; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 1rem; }
.badge-icon { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--pink); color: var(--navy); }
.badge-icon .icon { width: 1.5rem; height: 1.5rem; }
.badge-icon.blue { background: var(--blue); }
.badge-icon.navy { background: var(--navy); color: var(--pink); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.values li { text-align: center; padding: 1.75rem 1.25rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); }
.values .badge-icon { margin: 0 auto 0.9rem; width: 3.75rem; height: 3.75rem; }
.values h3 { font-family: var(--accent-font); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.01em; margin-bottom: 0.3rem; }
.values p { margin: 0; font-size: 1rem; }

/* ---------- Team arches ---------- */
.arches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.25rem); list-style: none; margin: 0; padding: 0; align-items: end; }
.arch { text-align: center; }
.arch-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--blue); border: 6px solid var(--white); box-shadow: var(--shadow-sm); }
.arch:nth-child(2n) .arch-frame { background: var(--pink); }
.arch:nth-child(3n) .arch-frame { background: var(--navy); }
.arch-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch:nth-child(odd) .arch-frame { transform: translateY(-0.75rem); }
.arch h3 { margin: 0.8rem 0 0.1rem; font-size: 1.05rem; }
.arch p { margin: 0; font-size: 0.9rem; }

/* About page team (full bios) */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.team li { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.team .portrait { padding: 1.5rem 1.5rem 0; background: var(--blush); }
.team li:nth-child(2n) .portrait { background: var(--blue); }
.team img { width: 11rem; height: 13rem; margin-inline: auto; border-radius: 999px 999px 14px 14px; object-fit: cover; border: 5px solid var(--white); border-bottom: 0; }
.team .card-body { padding-top: 1.15rem; }
.team h3 { margin-bottom: 0.15em; }
.team .role { font-family: var(--accent-font); color: var(--rose); font-size: 1.2rem; margin-bottom: 0.5rem; }
.avatar-round { width: min(100%, 22rem); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-inline: auto; border: 8px solid var(--white); box-shadow: var(--shadow); }

/* ---------- Community band ---------- */
.community-band { background: var(--navy); color: var(--white); padding-block: var(--section); position: relative; }
.community-band h2 { color: var(--white); }
.community-band .lead { color: #e6e9f6; }
.community-band .card { background: var(--white); color: var(--navy); }
.community-band .card .eyebrow { color: var(--rose); }
.polaroid-row { max-width: 54rem; margin-inline: auto; }
.community-band .polaroid { position: static; transform: rotate(-3deg); }
.community-band .polaroid:nth-child(2) { transform: rotate(2deg); }
.community-band .polaroid:nth-child(3) { transform: rotate(-1deg); }
.community-band .polaroid figcaption { color: var(--navy); font-family: var(--accent-font); font-size: 1.2rem; margin-top: 0.4rem; }
.polaroid-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 2.5rem; }
.card.media-card { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust strip and pathways (inner pages) ---------- */
.trust { background: var(--white); }
.trust ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem 1.5rem; list-style: none; margin: 0; padding: 1.1rem 0; }
.trust li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.trust .icon { color: var(--rose); }
.pathways { display: grid; grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; border-bottom: 1px solid var(--line); }
.pathways p { margin: 0; align-self: center; font-size: 1.125rem; line-height: 1.3; padding: 1.25rem 0; }
.pathways a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1.25rem 1rem; border-left: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pathways a:hover { background: var(--white); }

/* ---------- Cards and panels ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.card-body > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.45em; }
.card p { font-size: 1rem; }
.card .eyebrow, .panel .eyebrow { font-size: 1.3rem; }
.card-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .link-arrow { margin-top: auto; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card:has(.card-link):hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
.card.tint-blue { background: var(--blue); box-shadow: none; }
.card.tint-pink { background: var(--pink-50); box-shadow: none; }
.card.plain { background: var(--white); }
.panel { background: var(--blue); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.25rem); }
.panel.pink { background: var(--pink-50); }
.panel.white { background: var(--white); box-shadow: var(--shadow-sm); }
.panel > :last-child { margin-bottom: 0; }
.panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

/* First point of contact */
.contact-person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem 1.75rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.contact-person img { width: 8.5rem; height: 10rem; object-fit: cover; border-radius: 999px 999px 14px 14px; border: 5px solid var(--pink); }
.contact-person h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.25rem; }
.contact-person .role { font-family: var(--accent-font); color: var(--rose); font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-person p { margin-bottom: 0.75rem; }

/* Vacancy teaser */
.vacancy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.vacancy img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.vacancy .panel-body { padding: clamp(1.4rem, 3vw, 2.5rem); }
.vacancy .teaser-note { margin: 1rem 0 0; font-size: 1rem; }
.page-hero .jump-links { margin: 1.25rem 0 0; }

/* Homes for rent */
.rentals { list-style: none; margin: 0; padding: 0; }
.rentals .card-body { padding: 1.15rem 1.3rem 1.25rem; }
.rentals h3 { font-size: 1.3rem; margin-bottom: 0.15em; }
.card .rental-type { margin-bottom: 0.65rem; font-size: 0.9375rem; font-weight: 600; color: var(--rose); }
.specs { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 0.75rem; padding: 0; }
.specs li { background: var(--blue); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.875rem; font-weight: 600; }
.rentals-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.5rem, 3vw, 2rem); background: var(--pink-50); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.75rem); }
.rentals-foot p { margin: 0; max-width: 42rem; font-size: 1rem; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li { position: relative; padding: 0.3rem 0 0.3rem 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.bg-navy .checklist li::before, .community-band .checklist li::before { background-color: var(--pink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c335b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.checklist.cols-2 { columns: 2; column-gap: 2rem; }
.checklist.cols-2 li { break-inside: avoid; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.9rem;
  background: var(--pink); border-radius: 50%; font-family: var(--accent-font); font-size: 1.6rem; line-height: 1;
}
.steps h3 { margin-bottom: 0.4em; }
.steps p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.facts div { background: var(--blue); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.facts dt { font-family: var(--accent-font); font-size: 1.25rem; color: var(--rose); margin-bottom: 0.2rem; }
.facts dd { margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.facts dd small { display: block; font-size: 0.9375rem; font-weight: 400; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.tags li { display: inline-flex; align-items: center; min-height: 2.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 0.9rem; font-size: 0.9375rem; font-weight: 600; }
.tags li:has(a) { padding: 0; }
.tags li a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; text-decoration: none; }
.tags li a:hover { text-decoration: underline; }

/* ---------- Questions and answers ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.9rem 1.25rem;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; list-style: none; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c335b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c335b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.faq .answer { padding: 0 1.25rem 1.25rem; max-width: 50rem; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

/* ---------- Gallery ---------- */
.gallery-main { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--blue); }
.gallery-main.contain { object-fit: contain; background: var(--white); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0.5rem; list-style: none; margin: 0.75rem 0 0; padding: 0; }
.gallery-thumbs a { display: block; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.photo-strip figure { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-strip img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.photo-strip figcaption { margin: 0; padding: 0.8rem 1rem; text-align: left; font-family: var(--accent-font); font-size: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.5rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section { background: var(--white); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); }
.form-section > legend, .form-section > h2 { float: left; width: 100%; padding: 0; margin: 0 0 1rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.form-section > legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; clear: both; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .group-label { font-weight: 600; line-height: 1.35; }
.hint { font-size: 0.9375rem; margin: 0; }
.optional { font-weight: 400; font-size: 0.9375rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; font: inherit; color: var(--navy);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 12px;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c335b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { margin: 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.choices { display: grid; gap: 0.25rem; }
.choices.inline { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.choices.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.25rem; }
.choice { display: flex; align-items: flex-start; gap: 0.65rem; min-height: 2.75rem; padding: 0.45rem 0; font-weight: 400; cursor: pointer; }
.choice input { flex: none; width: 1.4rem; height: 1.4rem; margin: 0.12rem 0 0; accent-color: var(--navy); cursor: pointer; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 2px solid var(--error); border-radius: var(--radius); padding: 1rem 1.25rem; background: #fdf3f3; }
.form-status h2 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--error); }
.form-status ul { margin: 0; }
.form-status > :last-child { margin-bottom: 0; }
.form-success { border: 2px solid var(--success); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); background: #f1f9f5; }
.form-success h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.form-success > :last-child { margin-bottom: 0; }
.form-note { font-size: 0.9375rem; margin: 0; }
.form [hidden] { display: none !important; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Contact blocks ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.contact-list a, .contact-list .item { display: flex; gap: 0.9rem; align-items: center; padding: 1rem 1.15rem; background: var(--white); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow-sm); }
.contact-list a:hover { box-shadow: var(--shadow); }
.contact-list .icon { width: 1.5rem; height: 1.5rem; color: var(--rose); }
.contact-list small { display: block; font-family: var(--accent-font); font-size: 1.1rem; color: var(--rose); }
.contact-list span span { font-size: 1.125rem; font-weight: 600; }

/* ---------- Social icons ---------- */
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--navy); color: var(--white); text-decoration: none; transition: transform 0.15s ease, background-color 0.15s ease; }
.social a:hover { background: var(--rose); transform: translateY(-2px); }
.social .icon { width: 1.25rem; height: 1.25rem; }
.social-labelled { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.social-labelled a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
.social-labelled a:hover { text-decoration: underline; }
.social-labelled .icon { width: 1.4rem; height: 1.4rem; color: var(--rose); }

/* ---------- Legacy CTA band (kept for any page still using it) ---------- */
.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 1rem; border-top-left-radius: 50% clamp(1.5rem, 4vw, 3.5rem); border-top-right-radius: 50% clamp(1.5rem, 4vw, 3.5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.footer-brand img.logo { height: 4.75rem; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { font-family: var(--accent-font); font-size: 1.6rem; line-height: 1.15; color: var(--rose); margin-bottom: 1rem; }
.footer-brand img.badge { height: 3rem; width: auto; margin-top: 1rem; }
.site-footer h2 { font-size: 1.0625rem; letter-spacing: 0; margin-bottom: 0.6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-hours { margin: 0.75rem 0 0; }
.footer-social { margin-top: 1.25rem; }
.footer-ack { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-ack p { margin: 0; max-width: 52rem; }
.flags { display: flex; gap: 0.5rem; flex: none; }
.flags img { width: 3rem; height: auto; border-radius: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1.75rem; padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 2.5rem; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-top: 2rem; }
.prose li { margin-bottom: 0.4rem; }
.notice { border-left: 4px solid var(--rose); background: var(--white); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
.notice > :last-child { margin-bottom: 0; }

/* Header call-to-action shown inside the mobile menu only */
.nav-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .js .nav-toggle { display: inline-flex; }
  .header-actions .btn-phone { display: none; }
  .site-nav { display: block; width: 100%; padding-bottom: 1rem; flex: none; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 5rem); overflow-y: auto;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem var(--gutter) 1.5rem; }
  .js .site-nav.is-open { display: block; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; min-height: 3.25rem; padding-inline: 0.25rem; font-size: 1.125rem; border-radius: 0; }
  .sub-toggle { width: 3.25rem; height: 3.25rem; margin: 0; }
  .sub-list { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0.75rem 0.5rem; }
  html:not(.js) .sub-list { display: block; }
  html:not(.js) .sub-toggle { display: none; }
  .nav-cta { display: flex; margin-top: 1.25rem; width: 100%; }
  .grid-4, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arches { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-hours { display: none; }
}

@media (max-width: 860px) {
  .home-hero .container, .page-hero-grid, .split, .split-wide, .explorer, .fit-box, .vacancy, .card.media-card { grid-template-columns: minmax(0, 1fr); }
  .card.media-card img { aspect-ratio: 4 / 3; height: auto; object-position: center 20%; }
  .collage { max-width: 32rem; margin-inline: auto; width: 100%; }
  .explorer-tabs { position: static; flex-direction: row; flex-wrap: nowrap; gap: 0.4rem; overflow-x: auto; padding: 0.25rem 0.1rem 0.6rem; scrollbar-width: thin; }
  .explorer-tabs li { flex: none; }
  .explorer-tabs button { width: auto; white-space: nowrap; border-radius: 999px; background: var(--white); min-height: 2.75rem; font-size: 0.9375rem; }
  .hero-rainbow, .page-hero::after, .site-footer::before { display: none; }
  .explorer-panel { grid-template-columns: minmax(0, 1fr); }
  .explorer-panel img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .fit-actions { justify-content: flex-start; }
  .award-box { grid-template-columns: minmax(0, 1fr); }
  .award-poster { margin-inline: auto; width: 11rem; }
  .facts.four, .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .team, .steps, .feature-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathways { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .pathways p { padding-bottom: 0.75rem; }
  .pathways a { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; min-height: 3.5rem; }
  .pathways a:last-child { border-bottom: 1px solid var(--line); }
  .gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vacancy img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .split .order-first-mobile { order: -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topbar .topbar-email, .topbar .social-mini, .topbar-tagline span { display: none; }
  .brand img { height: 3rem; }
  .header-inner { min-height: 4.5rem; }
  .header-actions { display: none; }
  .grid-2, .grid-3, .grid-4, .team, .steps, .photo-strip, .facts, .form-grid, .choices.cols, .feature-grid, .feature-grid.three, .values, .stats-list, .polaroid-row { grid-template-columns: minmax(0, 1fr); }
  .stats-list { gap: 1.25rem; }
  .community-bar p { width: 100%; text-align: center; margin-top: 0.4rem; }
  .community-bar ul { justify-content: center; flex-wrap: nowrap; gap: 0.4rem; }
  .community-bar a { font-size: 0.8125rem; padding: 0 0.7rem; margin-block: 0.15rem 0.4rem; }
  .community-bar .icon { display: none; }
  .arches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch:nth-child(odd) .arch-frame { transform: none; }
  .checklist.cols-2 { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-ack { flex-direction: column; }
  .btn-row .btn, .fit-actions .btn { width: 100%; }
  .polaroid-row { max-width: 20rem; margin-inline: auto; }
  .collage-badge { width: 4.75rem; height: 4.75rem; padding: 0.55rem; }
  .doodle-swirl { display: none; }
  .contact-person { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .contact-person img { margin-inline: auto; }
  .contact-person .btn-row { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header, .fit, .cta-band, .site-footer, .skip-link, .btn, .community-bar { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .section, .page-hero { padding-block: 1rem; background: none !important; }
  .faq summary::after { display: none; }
  .explorer-panel[hidden] { display: grid !important; }
}
