/* ============================================================
   Borman Village Kids — shared stylesheet
   Modern + minimal, warm + calm. Crisp geometry, no rounded
   shapes, no drop shadows. Warmth carried by palette + type.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --primary: #255B77;
  --primary-700: #1D485E;
  --primary-900: #143543;

  /* Accents — used sparingly. Blue-led per client preference (was sun-yellow). */
  --kowhai: #4F9FC9;   /* sky-blue accent */
  --coral:  #E4674C;   /* coral */
  --leaf:   #6F9A54;   /* leaf green */

  /* Warm neutrals — never cool grey */
  --sand-050: #FBF7EF;
  --surface: #FFFDFB; /* warm white for default sections */
  --sand-100: #F4EDDF;
  --sand-200: #EBE0CC;
  --sand-300: #DDCFB4;

  /* Ink */
  --ink:      #2C2A24;
  --ink-soft: #55514733;
  --body:     #4A4640;

  /* Type */
  --display: 'Baloo 2', system-ui, sans-serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--primary);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { max-width: 62ch; }
strong { color: var(--ink); font-weight: 700; }

.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
}

/* Section eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--kowhai);
}
.kicker.leaf::before { background: var(--leaf); }
.kicker.coral::before { background: var(--coral); }
.kicker.on-dark { color: #fff; }

/* te reo highlight */
.reo { color: var(--primary); font-weight: 700; font-style: normal; }
.on-dark .reo, .reo.on-dark { color: var(--kowhai); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; }
.section { padding-block: var(--section); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  line-height: 1;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); }

/* On dark navy surfaces the primary button inverts so it stays the clear action */
.band-primary .btn-primary,
.band-deep .btn-primary,
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.band-primary .btn-primary:hover,
.band-deep .btn-primary:hover,
.cta-band .btn-primary:hover { background: var(--sand-100); color: var(--primary-700); }

.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-700); transform: translateY(-2px); }

.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); border-color: #fff; }

.btn-lg { font-size: 1.1rem; padding: 1em 1.9em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--sand-200);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.transparent {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  border-color: transparent;
}
.site-header.transparent .nav-link { color: #fff; }
.site-header.transparent.scrolled {
  position: fixed;
  background: var(--surface);
  border-color: var(--sand-200);
}
.site-header.transparent.scrolled .nav-link { color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; }
/* Real logo, driven from the logo shape so it can be brand-blue on light
   headers and white over the hero, from a single asset. */
.brand-logo {
  display: block;
  height: 60px;
  width: 79px; /* 60 * 598/456 */
  background-color: var(--primary);
  -webkit-mask: url("images/logo-full.avif") center / contain no-repeat;
  mask: url("images/logo-full.avif") center / contain no-repeat;
  transition: background-color 0.3s var(--ease);
}
.site-header.transparent:not(.scrolled) .brand-logo { background-color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary);
  position: relative;
  padding-block: 0.3em;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--kowhai);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--primary); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.transparent .nav-toggle span { background: #fff; }
.transparent.scrolled .nav-toggle span { background: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,53,67,0.42) 0%, rgba(20,53,67,0.05) 32%, rgba(20,53,67,0.7) 100%);
}
.hero-inner { padding-block: clamp(72px, 11vw, 140px) clamp(72px, 11vw, 140px); max-width: 780px; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(20,53,67,0.35); }
.hero .kicker { color: #fff; }
.hero .kicker::before { background: var(--kowhai); }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: rgba(255,255,255,0.95); margin-top: 1.2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Floating info bar layered over hero bottom */
.hero-bar {
  position: relative;
  z-index: 5;
  margin-top: -66px;
}
.hero-bar-inner {
  background: var(--primary);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-bar-item {
  padding: 1.7rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.hero-bar-item:last-child { border-right: none; }
.hero-bar-item .hb-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kowhai); font-weight: 800; }
.hero-bar-item .hb-value { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: #fff; line-height: 1.1; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(150px, 20vw, 230px) clamp(56px, 8vw, 96px);
  color: #fff;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,53,67,0.55), rgba(20,53,67,0.78));
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .kicker { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.94); font-size: 1.15rem; margin-top: 1rem; max-width: 52ch; }
.crumb { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kowhai); font-weight: 800; margin-bottom: 1.4rem; }
.crumb a { opacity: 0.85; }
.crumb a:hover { opacity: 1; }

/* ---------- Split / layered feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: 1.2rem; }

/* Layered image frame — offset colour block behind, crisp edges */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto auto -22px -22px;
  width: 62%; height: 62%;
  background: var(--kowhai);
}
.framed.leaf::before { background: var(--leaf); }
.framed.coral::before { background: var(--coral); }
.framed.primary::before { background: var(--primary); }
.framed.tr::before { inset: -22px -22px auto auto; }
.framed img, .framed .framed-media { position: relative; z-index: 1; width: 100%; display: block; }
.framed .framed-media { aspect-ratio: 16 / 9; object-fit: cover; background: var(--sand-200); }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }

.card {
  background: #fff;
  border: 1px solid var(--sand-200);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--sand-300); }
.card h3 { color: var(--primary); }
.card p { font-size: 0.98rem; color: var(--body); }
/* Keep card text readable even when the card sits on a coloured band */
.band-primary .card h3, .band-deep .card h3, .cta-band .card h3 { color: var(--primary); }
.band-primary .card p, .band-deep .card p, .cta-band .card p { color: var(--body); }
.card-badge {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--sand-100);
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.card-badge svg { width: 26px; height: 26px; }
.card.accent-sun .card-badge { background: var(--kowhai); color: #fff; }
.card.accent-coral .card-badge { background: var(--coral); color: #fff; }
.card.accent-leaf .card-badge { background: var(--leaf); color: #fff; }
.card-top-rule { border-top: 3px solid var(--sand-200); }

/* Expandable card body: collapsed on mobile (tap to reveal), open on desktop */
.expander > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.expander > summary::-webkit-details-marker { display: none; }
.expander > summary h3 { margin: 0; }
.expander > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.expander[open] > summary::after { transform: rotate(180deg); }
.expander > p { margin-top: 0.8rem; }

/* Desktop: no toggle affordance (JS keeps them open) */
@media (min-width: 721px) {
  .expander > summary { pointer-events: none; cursor: default; }
  .expander > summary::after { display: none; }
}

/* Photo-topped card variant */
.card-photo { padding: 0; overflow: hidden; }
.card-photo-top { aspect-ratio: 4 / 3; overflow: hidden; }
.card-photo-top img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s var(--ease); }
.card-photo:hover .card-photo-top img { transform: scale(1.04); }
.card-photo-body { padding: 1.9rem 1.8rem 2.1rem; border-top: 4px solid var(--sand-200); }
.card-photo.accent-sun .card-photo-body { border-top-color: var(--kowhai); }
.card-photo.accent-leaf .card-photo-body { border-top-color: var(--leaf); }
.card-photo.accent-coral .card-photo-body { border-top-color: var(--coral); }
.card-photo .card-photo-body h3 { margin-bottom: 0.4rem; }
/* Placeholder tile until a licensed photo is supplied */
.card-photo-top.placeholder {
  display: grid; place-items: center;
  background: var(--sand-100);
  color: var(--primary);
}
.card-photo-top.placeholder svg { width: 46px; height: 46px; opacity: 0.5; }

/* ---------- Bands ---------- */
.band-primary { background: var(--primary); color: rgba(255,255,255,0.92); }
.band-primary h2, .band-primary h3 { color: #fff; }
.band-primary .lead { color: rgba(255,255,255,0.95); }
.band-sand { background: #FBF7EF; }
.band-deep { background: var(--primary-900); color: rgba(255,255,255,0.9); }
.band-deep h2 { color: #fff; }

/* ---------- Stat / number list ---------- */
/* Stats sit directly on the band with thin dividers (no boxed tiles) */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); }
.numbers > div { padding: 0.4rem 2.6rem; border-left: 1px solid rgba(255,255,255,0.2); }
.numbers > div:first-child { border-left: none; padding-left: 0; }
.numbers > div:last-child { padding-right: 0; }
.numbers .n { font-family: var(--display); font-weight: 800; font-size: 3rem; color: #fff; line-height: 1; }
.numbers .n .u { color: var(--kowhai); }
.numbers .l { margin-top: 0.7rem; font-size: 0.98rem; color: rgba(255,255,255,0.82); }
.numbers-mobile { display: none; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.8rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--sand-200);
  padding: 2.2rem;
}
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  background: var(--primary);
  width: 72px; height: 72px;
  display: grid; place-items: center;
  line-height: 1;
}
.step:nth-child(2) .step-num { background: var(--kowhai); }
.step:nth-child(3) .step-num { background: var(--coral); }
.step:nth-child(4) .step-num { background: var(--leaf); }
.step h3 { margin-bottom: 0.5rem; }
.step .step-cta { margin-top: 1rem; }

/* ---------- Mosaic gallery (layered offsets) ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(90px, 12vw, 150px);
  gap: 14px;
}
.mosaic figure { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.m-a { grid-column: span 5; grid-row: span 2; }
.m-b { grid-column: span 4; grid-row: span 2; }
.m-c { grid-column: span 3; grid-row: span 2; }
.m-d { grid-column: span 4; grid-row: span 2; }
.m-e { grid-column: span 5; grid-row: span 2; }
.m-f { grid-column: span 3; grid-row: span 2; }

/* ---------- Checklist ---------- */
.ticks { display: grid; gap: 0.9rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 0.9rem; align-items: start; }
.ticks li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 3px;
  background: var(--leaf);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks.on-dark li::before { background: var(--kowhai); }
.ticks li strong { display: block; color: var(--ink); }
.on-dark.ticks li strong, .band-primary .ticks li strong { color: #fff; }

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.22;
  color: var(--primary);
  max-width: 20ch;
}
.pull .hl { color: var(--coral); }
.band-primary .pull { color: #fff; }
.band-primary .pull .hl { color: var(--kowhai); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.cta-watermark {
  position: absolute;
  right: -40px; bottom: -60px;
  width: 340px; opacity: 0.06;
  z-index: 1;
}

/* ---------- Badge chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  font-family: var(--display); font-weight: 600; font-size: 0.9rem;
  padding: 0.5em 1em;
  background: var(--sand-100); color: var(--primary);
  border: 1px solid var(--sand-200);
}
.chip.sun { background: var(--kowhai); color: #fff; border-color: transparent; }
.chip.coral { background: var(--coral); color: #fff; border-color: transparent; }
.chip.leaf { background: var(--leaf); color: #fff; border-color: transparent; }

/* ---------- Kai section: full cards on desktop, compact row on mobile ---------- */
.kai-mobile { display: none; }
@media (max-width: 720px) {
  .kai-desktop { display: none; }
  .kai-mobile { display: block; }
}
.kai-row { display: grid; gap: 1.1rem; }
.kai-item { display: grid; grid-template-columns: 42px 1fr; gap: 0.9rem; align-items: start; }
.kai-ico { width: 42px; height: 42px; display: grid; place-items: center; }
.kai-ico svg { width: 22px; height: 22px; }
.kai-ico.sun { background: var(--kowhai); color: #fff; }
.kai-ico.leaf { background: var(--leaf); color: #fff; }
.kai-ico.coral { background: var(--coral); color: #fff; }
.kai-item p { margin: 0; font-size: 1rem; }
.kai-item strong { color: var(--primary); }
@media (min-width: 721px) {
  .kai-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- Contact details ---------- */
.contact-list { display: grid; gap: 1.4rem; }
.contact-row { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; }
.contact-row .c-ico {
  width: 44px; height: 44px;
  display: grid; place-items: center start;
  background: transparent;
  color: var(--primary);
}
.contact-row .c-ico svg { width: 24px; height: 24px; }
.contact-row .lbl { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); font-weight: 800; }
.contact-row .val { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--primary); }
a.val { transition: color 0.2s var(--ease); }
a.val:hover { color: var(--coral); }

/* ---------- Stages (informational, not interactive) ---------- */
.stages { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem 1.6rem; }
.stages-label {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--body);
}
.stages-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.stages-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--primary);
}
.stages-list .mk { width: 12px; height: 12px; background: var(--sand-300); }
.stages-list .mk.sun { background: var(--kowhai); }
.stages-list .mk.leaf { background: var(--leaf); }
.stages-list .mk.coral { background: var(--coral); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-900); color: rgba(255,255,255,0.72); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(56px, 7vw, 88px); }
.footer-brand .f-logo { width: 168px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: 0.98rem; max-width: 34ch; }
.footer-social { display: flex; gap: 0.9rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover { background: var(--kowhai); border-color: var(--kowhai); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--display); font-size: 1.05rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a, .footer-col span { font-size: 0.98rem; color: rgba(255,255,255,0.72); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--kowhai); }
.footer-col .lbl { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-hours span { color: #fff; font-weight: 700; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bar .chips-mini { display: flex; gap: 1.2rem; }
.footer-bar-right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.credit { color: #fff; opacity: 0.6; text-decoration: underline; text-underline-offset: 2px; transition: opacity 0.2s var(--ease); }
.credit:hover { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Small utilities ---------- */
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.maxw { max-width: 720px; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 1.8rem; } .mt-l { margin-top: 2.6rem; }
.text-block p + p { margin-top: 1.1rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    border-left: 1px solid var(--sand-200);
  }
  .site-header { z-index: 200; }
  .nav-menu.open { transform: none; }
  .nav-menu .nav-link,
  .site-header.transparent .nav-menu .nav-link,
  .site-header.transparent.scrolled .nav-menu .nav-link { color: var(--primary); font-size: 1.25rem; padding-block: 0.6rem; width: 100%; border-bottom: 1px solid var(--sand-100); }
  .nav-menu .nav-link::after { display: none; }
  .nav-cta { margin: 1rem 0 0; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .transparent .nav-toggle.open span { background: var(--primary); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20,53,67,0.4); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); z-index: 105; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .numbers-desktop { display: none; }
  .numbers-mobile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .numbers-mobile > div {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 0 0.4rem;
    border-left: 1px solid rgba(255,255,255,0.18); border-top: none;
  }
  .numbers-mobile > div:first-child { border-left: none; padding-left: 0.4rem; }
  .numbers-mobile .n { font-size: 1.6rem; }
  .numbers-mobile .l { margin-top: 0.45rem; font-size: 0.8rem; line-height: 1.35; }
  .hero-bar { margin-top: -30px; }
  .hero-bar-inner { grid-template-columns: 1fr; }
  .hero-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .hero-bar-item:last-child { border-bottom: none; }
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .m-a, .m-b, .m-c, .m-d, .m-e, .m-f { grid-column: span 1; grid-row: span 1; }
  .m-a { grid-column: span 2; }
  .framed::before { inset: auto auto -14px -14px; }

  /* Swipe carousel on mobile: one photo at a time with snap + dots */
  .mosaic.carousel {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 0;
    opacity: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .mosaic.carousel::-webkit-scrollbar { display: none; }
  .mosaic.carousel figure {
    flex: 0 0 100%;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    height: auto;
    scroll-snap-align: center;
  }
}

/* Gallery pagination dots (square, on-brand) */
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.gallery-dots button {
  width: 9px; height: 9px; padding: 0; border: none;
  background: var(--sand-300);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery-dots button.active { background: var(--primary); transform: scale(1.15); }

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
