/* =========================================================
   KIA MAIA CARE SUPPORTS — DESIGN SYSTEM
   ========================================================= */

:root {
  /* Brand palette */
  --teal-deepest: #07292a;
  --teal-deep: #0d3b3a;
  --teal: #1a5d5c;
  --teal-mid: #2a7d7a;
  --turquoise: #4a9b97;
  --turquoise-soft: #8fc4be;
  --white: #ffffff;
  --off-white: #fafbfb;
  --teal-tint: #f1f7f6;
  --teal-tint-2: #e6f0ee;
  --cream: #f5ecd9;
  --cream-light: #ffffff;
  --cream-warm: #f1f7f6;
  --gold: #8fc4be;
  --gold-soft: #b3d4cf;
  --green: #7ba167;
  --green-soft: #a3c290;
  --charcoal: #1a2624;
  --charcoal-soft: #3a4441;
  --slate: #5a6664;
  --line: rgba(13, 59, 58, 0.10);
  --line-strong: rgba(13, 59, 58, 0.18);

  /* Type */
  --serif: 'Inter', system-ui, -apple-system, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
  --dur-slow: 1.1s;

  /* Shadow */
  --shadow-sm: 0 4px 12px rgba(13, 59, 58, 0.06);
  --shadow: 0 10px 30px rgba(13, 59, 58, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 59, 58, 0.16);
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--teal); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--charcoal-soft); max-width: 60ch; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
}
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--cream { background: var(--teal-tint); }
.section--cream-light { background: var(--white); }
.section--teal {
  background: var(--teal-deep);
  color: var(--cream);
}
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--teal-deep);
  color: var(--cream-light);
}
.btn--primary:hover {
  background: var(--teal);
  color: var(--cream-light);
  box-shadow: var(--shadow);
}
.btn--secondary {
  background: var(--white);
  color: var(--teal-deep);
  border: 1px solid var(--line-strong);
}
.btn--secondary:hover {
  background: var(--teal-tint);
  color: var(--teal-deep);
  border-color: var(--turquoise);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn--gold {
  background: var(--gold);
  color: var(--teal-deepest);
}
.btn--gold:hover { background: var(--gold-soft); color: var(--teal-deepest); }
.btn--turquoise {
  background: linear-gradient(135deg, #4a9b97 0%, #2a7d7a 100%);
  color: var(--cream-light);
  box-shadow: 0 8px 24px rgba(74, 155, 151, 0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn--turquoise:hover {
  background: linear-gradient(135deg, #5fb1ac 0%, #338f8b 100%);
  color: var(--cream-light);
  box-shadow: 0 12px 32px rgba(74, 155, 151, 0.4), inset 0 1px 0 rgba(255,255,255,0.18);
  transform: translateY(-1px);
}
.btn--outline-light {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid rgba(13, 59, 58, 0.32);
}
.btn--outline-light:hover {
  background: rgba(13, 59, 58, 0.06);
  border-color: rgba(13, 59, 58, 0.5);
  color: var(--teal-deep);
}
.btn--text {
  padding: 0;
  background: 0;
  color: var(--teal-deep);
  font-weight: 500;
}
.btn--text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.45s var(--ease);
}
.btn--text:hover::after { transform-origin: left; }

.btn-group { display: inline-flex; gap: 0.85rem; flex-wrap: wrap; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 1.1rem 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(13, 59, 58, 0.08);
  transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(13, 59, 58, 0.08);
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.logo svg { flex: 0 0 auto; }
.logo-mark {
  line-height: 1;
}
.logo-mark span {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: background 0.25s var(--ease);
}
.nav a:hover { background: rgba(13, 59, 58, 0.06); color: var(--teal-deep); }
.site-header.is-light:not(.is-scrolled) .nav a:hover { background: rgba(245, 236, 217, 0.12); }
.nav a.is-active { color: var(--teal); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }

/* Click-to-call link in the header (visible on all devices, key on mobile) */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-deep);
  border-radius: 999px;
  transition: background 0.25s var(--ease);
}
.header-phone:hover { background: var(--teal-tint); color: var(--teal-deep); }
.header-phone svg { flex-shrink: 0; color: var(--turquoise); }
.site-header.is-light:not(.is-scrolled) .header-phone { color: var(--cream); }
.site-header.is-light:not(.is-scrolled) .header-phone:hover { background: rgba(245,236,217,0.1); }
@media (max-width: 1180px) {
  .header-phone-label { display: none; }
  .header-phone { padding: 0.55rem; }
}
@media (max-width: 1024px) {
  /* On tablets/phones, keep just the phone icon visible (always tap-to-call) */
  .header-phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    background: var(--teal-tint);
  }
  .header-phone svg { width: 18px; height: 18px; }
}

.ndis-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 50px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  flex: 0 0 auto;
}
.ndis-badge svg { width: 100%; height: 100%; display: block; }
.ndis-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(90, 42, 133, 0.35);
}
.site-header.is-light:not(.is-scrolled) .ndis-badge {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 1180px) {
  .ndis-badge { width: 138px; height: 46px; }
}
@media (max-width: 1024px) {
  .header-cta .ndis-badge { display: none; }
}
.mobile-drawer-badge {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.mobile-drawer-badge .ndis-badge { width: 180px; height: 56px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 59, 58, 0.08);
  position: relative;
}
.menu-toggle::before, .menu-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu-toggle::before { transform: translateY(-4px); }
.menu-toggle::after { transform: translateY(4px); }
.menu-toggle.is-open::before { transform: rotate(45deg); }
.menu-toggle.is-open::after { transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav, .header-cta .btn--secondary { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  padding: 6rem var(--gutter) 2rem;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.mobile-drawer li { border-bottom: 1px solid var(--line); }
.mobile-drawer a {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  padding: 1rem 0;
  color: var(--teal-deep);
}
.mobile-drawer .btn { width: 100%; justify-content: center; margin-bottom: 0.6rem; }

/* =========================================================
   HERO ROTATOR — full-bleed photo slideshow + 4 quick-link cards
   ========================================================= */
.hero-rotator {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 0 6rem;
  color: var(--cream-light);
}

/* Background image slider — stacked slides, JS toggles .is-active to crossfade */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.04);
  animation: heroSlideZoom 9s ease-in-out infinite alternate;
}
.hero-slide.is-active { opacity: 1; }
@keyframes heroSlideZoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.10); }
}

/* Hover slide sits ABOVE the rotating slides — appears when a quick-link card is hovered */
.hero-slide--hover {
  z-index: 1;
  animation: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease-in-out;
}

/* Dark overlay so text reads cleanly on any photo — tinted per hovered card's tone */
.hero-rotator-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 41, 42, 0.55) 0%, rgba(7, 41, 42, 0.40) 40%, rgba(7, 41, 42, 0.55) 100%),
    linear-gradient(135deg, rgba(13, 59, 58, 0.20), rgba(74, 155, 151, 0.10));
  pointer-events: none;
  transition: background 0.6s ease;
}

/* When a card is being hovered, the rotator section gets data-hover-tone="..."
   We use that to swap a subtle colour wash into the overlay matching the card's theme */
.hero-rotator[data-hover-tone="teal"] .hero-rotator-overlay {
  background:
    linear-gradient(180deg, rgba(7, 41, 42, 0.55) 0%, rgba(7, 41, 42, 0.40) 40%, rgba(7, 41, 42, 0.55) 100%),
    linear-gradient(135deg, rgba(13, 59, 58, 0.45), rgba(74, 155, 151, 0.20));
}
.hero-rotator[data-hover-tone="turquoise"] .hero-rotator-overlay {
  background:
    linear-gradient(180deg, rgba(7, 41, 42, 0.50) 0%, rgba(7, 41, 42, 0.35) 40%, rgba(7, 41, 42, 0.55) 100%),
    linear-gradient(135deg, rgba(74, 155, 151, 0.42), rgba(143, 196, 190, 0.18));
}
.hero-rotator[data-hover-tone="sage"] .hero-rotator-overlay {
  background:
    linear-gradient(180deg, rgba(7, 41, 42, 0.50) 0%, rgba(7, 41, 42, 0.35) 40%, rgba(7, 41, 42, 0.55) 100%),
    linear-gradient(135deg, rgba(45, 80, 50, 0.40), rgba(123, 161, 103, 0.18));
}
.hero-rotator[data-hover-tone="warm"] .hero-rotator-overlay {
  background:
    linear-gradient(180deg, rgba(7, 41, 42, 0.50) 0%, rgba(7, 41, 42, 0.35) 40%, rgba(7, 41, 42, 0.55) 100%),
    linear-gradient(135deg, rgba(176, 105, 71, 0.32), rgba(245, 236, 217, 0.20));
}

/* Centered content stack */
.hero-rotator-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Light pill variant for use on dark photo backgrounds */
.hero-pill--light {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Big bold hero title — white, centered, professional */
.hero-rotator-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream-light);
  max-width: 18ch;
  margin: 0.75rem auto 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-rotator-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
  margin: 0.5rem auto 1rem;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

/* The 4 quick-link cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 760px;
  margin-top: 2.5rem;
}
.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  box-shadow: 0 12px 32px rgba(7, 41, 42, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-card:hover,
.hero-card:focus-visible {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 50px rgba(7, 41, 42, 0.32);
  color: var(--teal-deep);
}
.hero-card-icon {
  --ring-color: #1e7470;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  /* Ring around the photo using box-shadow (doesn't affect layout) */
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px var(--ring-color),
    0 6px 16px rgba(7, 41, 42, 0.18);
  transition: box-shadow 0.45s var(--ease), transform 0.5s var(--ease);
}
.hero-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.45s var(--ease);
}
.hero-card:hover .hero-card-icon,
.hero-card:focus-visible .hero-card-icon {
  transform: scale(1.08);
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 7px var(--ring-color),
    0 12px 28px rgba(7, 41, 42, 0.30);
}
.hero-card:hover .hero-card-icon img,
.hero-card:focus-visible .hero-card-icon img {
  transform: scale(1.12);
  filter: saturate(1.15);
}

/* Ring colour per variant — warm Australian NDIS tones */
.hero-card-icon--teal      { --ring-color: #1e7470; }  /* deep teal */
.hero-card-icon--turquoise { --ring-color: #4a7f5e; }  /* eucalyptus green */
.hero-card-icon--sage      { --ring-color: #9c6e2e; }  /* soft ochre / wattle */
.hero-card-icon--cream     { --ring-color: #4d7591; }  /* muted blue */
.hero-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: -0.005em;
}

@media (max-width: 720px) {
  .hero-cards { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .hero-rotator-title { font-size: clamp(1.9rem, 8vw, 3rem); }
  .hero-rotator { padding: 6rem 0 4rem; min-height: 90vh; }
}

/* Reduced motion: kill the slide zoom and slow the crossfade */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transform: none !important; transition: opacity 0.6s ease; }
}

/* =========================================================
   HERO (legacy — kept for fallback / unused after rotator rebuild)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #f4faf9 55%, #e6f0ee 100%);
  color: var(--charcoal);
  overflow: hidden;
  padding: 8rem 0 7rem;
}
.hero--short { min-height: 70vh; padding: 9rem 0 4rem; }
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 88% 85% at 50% 48%, #000 60%, transparent 95%);
          mask-image: radial-gradient(ellipse 88% 85% at 50% 48%, #000 60%, transparent 95%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.85) brightness(1.02) contrast(1.02);
  opacity: 0.85;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Brand-matched teal tint, light at top + bottom, transparent through middle so person stays clear */
  background:
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(241, 247, 246, 0) 0%, rgba(241, 247, 246, 0.18) 70%, rgba(230, 240, 238, 0.45) 100%),
    linear-gradient(180deg, rgba(244, 250, 249, 0.45) 0%, rgba(244, 250, 249, 0) 30%, rgba(230, 240, 238, 0) 65%, rgba(230, 240, 238, 0.5) 100%);
  pointer-events: none;
}
.hero-photo::before {
  /* Subtle teal grade — ties the photo into the brand palette without overpowering */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(143, 196, 190, 0.10), rgba(74, 155, 151, 0.08));
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 93, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 93, 92, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(230, 240, 238, 0.7) 100%);
  pointer-events: none;
}
.hero-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.6;
  pointer-events: none;
}
.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 155, 151, 0.30) 0%, transparent 70%);
  top: -15%; right: -10%;
  animation: orbFloat 24s ease-in-out infinite;
}
.hero-orb--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(143, 196, 190, 0.25) 0%, transparent 70%);
  bottom: -20%; left: -10%;
  animation: orbFloat 30s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.hero-inner.hero-inner--center {
  text-align: center;
  align-items: center;
  justify-items: center;
  position: relative;
}
.hero-inner.hero-inner--center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.4) 35%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(6px);
}

/* Two-column hero with image on the left, content on the right */
.hero-inner.hero-inner--split {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-image-side {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(13, 59, 58, 0.18);
  z-index: 2;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-image-side:hover .hero-image { transform: scale(1.04); }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 59, 58, 0) 55%, rgba(13, 59, 58, 0.35) 100%);
  pointer-events: none;
}
.hero-image-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  box-shadow: 0 6px 18px rgba(13, 59, 58, 0.12);
  z-index: 2;
}
.hero-image-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 10px rgba(74, 155, 151, 0.6);
  animation: pillPulse 2.4s var(--ease) infinite;
}

.hero-content-side {
  text-align: left;
  position: relative;
  z-index: 1;
}
.hero-content-side .hero-logo {
  margin: 0 0 1.4rem;
  align-self: flex-start;
}
.hero-content-side .hero-pill { margin-left: 0; }
.hero-content-side .hero-sub { margin-left: 0; max-width: 50ch; }
.hero-content-side .hero-tagline { margin: 1.2rem 0 0; }
.hero-content-side .hero-actions { justify-content: flex-start; }
.hero-content-side .hero-stats {
  text-align: left;
  margin: 3rem 0 0;
  max-width: 100%;
  padding-top: 2rem;
}
.hero-content-side .hero-stat { text-align: left; }

@media (max-width: 1024px) {
  .hero-inner.hero-inner--split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }
  .hero-image-side {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-content-side { text-align: center; }
  .hero-content-side .hero-logo { margin: 0 auto 1.4rem; align-self: center; }
  .hero-content-side .hero-sub { margin: 1.8rem auto 1rem; }
  .hero-content-side .hero-actions { justify-content: center; }
  .hero-content-side .hero-stats { text-align: center; margin-inline: auto; }
  .hero-content-side .hero-stat { text-align: center; }
}

/* Centered hero logo — actual brand image, no plate, soft luminous backdrop */
.hero-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}
.hero-logo-svg {
  width: clamp(260px, 28vw, 360px);
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .hero-logo { margin-bottom: 1.2rem; }
  .hero-logo-svg { width: 240px; }
}

/* Hero tagline (between H1 and sub) */
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--teal);
  margin: 1.5rem auto 0;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* Māori watermark pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

/* Floating 3D care-moment photo on hero (right side) */
.hero-float-3d {
  position: absolute;
  top: 50%;
  right: 4%;
  width: clamp(200px, 18vw, 260px);
  aspect-ratio: 4 / 5;
  z-index: 2;
  transform: translateY(-50%);
  perspective: 1300px;
  pointer-events: auto;
}
.hero-float-3d-bob {
  width: 100%;
  height: 100%;
  animation: heroFloat3D 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes heroFloat3D {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-float-3d-card {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #ffffff;
  background: var(--teal-tint);
  transform: rotateY(-14deg) rotateX(6deg);
  box-shadow:
    -10px 24px 28px rgba(13, 59, 58, 0.18),
    -22px 50px 80px rgba(13, 59, 58, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  cursor: pointer;
}
.hero-float-3d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-float-3d-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 35%);
  pointer-events: none;
}
@media (max-width: 1240px) {
  .hero-float-3d { display: none; }
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.2rem;
  background: rgba(26, 93, 92, 0.05);
  border: 1px solid rgba(26, 93, 92, 0.18);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 2.2rem;
  backdrop-filter: blur(8px);
}
.hero-pill .pill-dot-tick {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 10px rgba(74, 155, 151, 0.5);
  animation: pillPulse 2.4s var(--ease) infinite;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-pill .pill-tick {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 0 6px rgba(132, 196, 65, 0.5));
}
.hero-pill .pill-tick path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}
.hero-pill:hover .dot {
  opacity: 0;
  transform: scale(0);
  animation: none;
}
.hero-pill:hover .pill-tick {
  opacity: 1;
}
.hero-pill:hover .pill-tick path {
  stroke-dashoffset: 0;
}
@keyframes pillPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.85); }
}
.hero h1 {
  color: var(--teal-deep);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 22ch;
  margin-inline: auto;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.55);
}
.hero-sub {
  font-size: clamp(1.1rem, 1.45vw, 1.22rem);
  color: var(--charcoal);
  max-width: 60ch;
  margin: 1.8rem auto 1rem;
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.65);
}
.hero-inner.hero-inner--center .hero-sub { margin-inline: auto; }
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-inner.hero-inner--center .hero-actions { justify-content: center; }

/* Concrete trust hook under hero CTAs */
.hero-trust-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.9rem;
  margin: 1.4rem auto 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
}
.hero-trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust-line svg { color: var(--turquoise); flex-shrink: 0; }

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 880px;
  margin: 5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(13, 59, 58, 0.12);
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-deep);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.hero-stat .num em {
  font-style: italic;
  color: var(--turquoise);
}
.hero-stat .label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
@media (max-width: 700px) {
  .hero-stats {
    /* Hide stats on mobile to keep the hero focused on action */
    display: none;
  }
  .hero { padding-bottom: 5rem; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(13, 59, 58, 0.35);
  border-radius: 14px;
  position: relative;
}
.scroll-mouse::after {
  content: "";
  width: 3px;
  height: 7px;
  background: var(--teal-deep);
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* Hero stats / trust strip overlay */
.hero-meta {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.5);
  text-align: right;
}
@media (max-width: 768px) {
  .hero-meta, .hero-scroll { display: none; }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.trust-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, rgba(143,196,190, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.12);
  border-color: var(--turquoise-soft);
}
.trust-card:hover::after { opacity: 1; }

/* 3D hover image area — Cursor-tracked tilt + sheen */
.trust-image-wrap {
  position: relative;
  width: 100%;
  margin: -0.4rem 0 1.4rem;
  perspective: 900px;
  /* Reserve some space for the lift so siblings don't shift */
  padding-bottom: 4px;
}
.trust-image-tilt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%);
  box-shadow: 0 4px 14px rgba(13, 59, 58, 0.08);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 700px) {
  /* Cinematic widescreen on mobile so cards aren't tall to scroll past */
  .trust-image-tilt { aspect-ratio: 21 / 9; }
}
.trust-image-tilt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight inner parallax: image sits on its own Z plane */
  transform: translateZ(20px) scale(1.04);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
}
.trust-card:hover .trust-image-tilt,
.showcase-tile:hover .trust-image-tilt {
  box-shadow:
    0 24px 50px rgba(13, 59, 58, 0.18),
    0 10px 18px rgba(13, 59, 58, 0.10);
}
.trust-card:hover .trust-image-tilt img,
.showcase-tile:hover .trust-image-tilt img {
  transform: translateZ(28px) scale(1.06);
}
/* Animated sheen — diagonal light pass on hover */
.trust-image-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.20) 48%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.20) 52%,
    transparent 75%);
  background-size: 220% 100%;
  background-position: 130% 0;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    background-position 1s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(40px);
  mix-blend-mode: overlay;
}
.trust-card:hover .trust-image-sheen,
.showcase-tile:hover .trust-image-sheen {
  opacity: 1;
  background-position: -30% 0;
}
/* Soft rim glow inside the image edge for depth */
.trust-image-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:hover .trust-image-tilt::after,
.showcase-tile:hover .trust-image-tilt::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
/* Below-image icon circle — small lift on card hover */
.trust-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--cream-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}
.trust-card:hover .trust-icon-circle {
  transform: translateY(-3px);
}

/* Reduced motion + touch fallback */
@media (prefers-reduced-motion: reduce) {
  .trust-image-tilt,
  .trust-image-tilt img,
  .trust-image-sheen { transition: none !important; transform: none !important; }
  .trust-image-sheen { display: none; }
}
@media (hover: none) {
  .trust-image-tilt img { transform: translateZ(0) scale(1); }
  .trust-image-sheen { display: none; }
}

/* Legacy illustration kept as fallback if no .trust-image-wrap is present */
.trust-illustration {
  width: 100%;
  height: 110px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: trustFloat 5s ease-in-out infinite;
}
.trust-illustration svg {
  width: 100%;
  max-width: 150px;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:hover .trust-illustration svg {
  transform: scale(1.07);
}
.trust-illustration .accent-fill {
  transition: opacity 0.6s var(--ease);
}
.trust-card:hover .trust-illustration .accent-fill {
  opacity: 0.36 !important;
}
.trust-illustration .anim-stroke {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:hover .trust-illustration .anim-stroke {
  stroke-dashoffset: 0;
}
.trust-illustration .anim-rotate {
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:hover .trust-illustration .anim-rotate {
  transform: rotate(72deg);
}
@keyframes trustFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.trust-strip > .trust-card:nth-child(2) .trust-illustration { animation-delay: 0.6s; }
.trust-strip > .trust-card:nth-child(3) .trust-illustration { animation-delay: 1.2s; }
.trust-strip > .trust-card:nth-child(4) .trust-illustration { animation-delay: 1.8s; }

/* NDIS official badge popup — emoji-style entrance on hover */
.ndis-popup {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 4;
  transform: translateY(18px) scale(0) rotate(-25deg);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.34, 1.7, 0.5, 1),
    opacity 0.35s ease;
  filter: drop-shadow(0 6px 16px rgba(90, 42, 133, 0.35));
}
.trust-card:hover .ndis-popup,
.showcase-tile:hover .ndis-popup {
  transform: translateY(0) scale(1) rotate(0);
  opacity: 1;
}
.ndis-popup-inner {
  width: 100%;
  height: 100%;
  transform-origin: center;
}
.trust-card:hover .ndis-popup-inner,
.showcase-tile:hover .ndis-popup-inner {
  animation: ndisBob 2.4s ease-in-out 0.55s infinite;
}
@keyframes ndisBob {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(8deg) scale(1.04); }
  50% { transform: rotate(0) scale(1); }
  75% { transform: rotate(-8deg) scale(1.04); }
}
/* Heartbeat pulse — for Personalised Support Plans */
@keyframes badgeHeartbeat {
  0%, 30%, 100% { transform: scale(1); }
  10% { transform: scale(1.18); }
  20% { transform: scale(1); }
  25% { transform: scale(1.12); }
}
/* Swing wobble — for Clear Communication */
@keyframes badgeSwing {
  0%, 100% { transform: rotate(0) translateY(0); }
  20% { transform: rotate(-13deg) translateY(-1px); }
  50% { transform: rotate(0) translateY(0); }
  80% { transform: rotate(13deg) translateY(-1px); }
}
/* Slow spin + sparkle pulse — for Quality-Focused Delivery */
@keyframes badgeSpin {
  0% { transform: rotate(0) scale(1); }
  50% { transform: rotate(180deg) scale(1.07); }
  100% { transform: rotate(360deg) scale(1); }
}
/* Koru spiral gentle pulse — for Cultural Grounding */
@keyframes badgeKoru {
  0%, 100% { transform: scale(1) rotate(0); }
  35% { transform: scale(1.08) rotate(-6deg); }
  65% { transform: scale(1.05) rotate(6deg); }
}
/* Variant overrides */
.trust-card:hover .ndis-popup--heart .ndis-popup-inner,
.showcase-tile:hover .ndis-popup--heart .ndis-popup-inner {
  animation: badgeHeartbeat 2.4s ease-in-out 0.55s infinite;
}
.trust-card:hover .ndis-popup--talk .ndis-popup-inner,
.showcase-tile:hover .ndis-popup--talk .ndis-popup-inner {
  animation: badgeSwing 2.4s ease-in-out 0.55s infinite;
}
.trust-card:hover .ndis-popup--star .ndis-popup-inner,
.showcase-tile:hover .ndis-popup--star .ndis-popup-inner {
  animation: badgeSpin 4s linear 0.55s infinite;
}
.trust-card:hover .ndis-popup--cultural .ndis-popup-inner,
.showcase-tile:hover .ndis-popup--cultural .ndis-popup-inner {
  animation: badgeKoru 3s ease-in-out 0.55s infinite;
}
/* Sparkle burst colors per variant */
.ndis-popup--heart { filter: drop-shadow(0 6px 16px rgba(123, 161, 103, 0.35)); }
.ndis-popup--heart .ndis-popup-burst::before { background: #a3c290; }
.ndis-popup--heart .ndis-popup-burst::after { background: #7ba167; }
.ndis-popup--talk { filter: drop-shadow(0 6px 16px rgba(106, 143, 168, 0.35)); }
.ndis-popup--talk .ndis-popup-burst::before { background: #a8c2d4; }
.ndis-popup--talk .ndis-popup-burst::after { background: #6a8fa8; }
.ndis-popup--star { filter: drop-shadow(0 6px 16px rgba(168, 153, 194, 0.40)); }
.ndis-popup--star .ndis-popup-burst::before { background: #c4b8d8; }
.ndis-popup--star .ndis-popup-burst::after { background: #a899c2; }
.ndis-popup--cultural { filter: drop-shadow(0 6px 16px rgba(176, 105, 71, 0.35)); }
.ndis-popup--cultural .ndis-popup-burst::before { background: #d4a591; }
.ndis-popup--cultural .ndis-popup-burst::after { background: #b06947; }
.ndis-popup svg { width: 100%; height: 100%; display: block; }
/* Tiny burst sparkles around the badge when it pops in */
.ndis-popup-burst {
  position: absolute;
  inset: -8px;
  pointer-events: none;
}
.ndis-popup-burst::before,
.ndis-popup-burst::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #84c441;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ndis-popup-burst::before { width: 6px; height: 6px; top: 6px; left: -2px; }
.ndis-popup-burst::after { width: 4px; height: 4px; bottom: 14px; right: -2px; background: #5a2a85; }
.trust-card:hover .ndis-popup-burst::before,
.showcase-tile:hover .ndis-popup-burst::before {
  opacity: 1;
  transform: translate(-8px, -10px);
  transition-delay: 0.5s;
}
.trust-card:hover .ndis-popup-burst::after,
.showcase-tile:hover .ndis-popup-burst::after {
  opacity: 1;
  transform: translate(8px, 8px);
  transition-delay: 0.6s;
}

/* Legacy small icon (kept for fallback) */
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(74, 155, 151, 0.12);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.trust-card h4 { color: var(--teal-deep); margin-bottom: 0.4rem; font-family: var(--serif); }
.trust-card p { font-size: 0.92rem; color: var(--charcoal-soft); margin: 0; }

@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .trust-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   PATHWAY CARDS
   ========================================================= */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2.5rem;
}
.pathway-card {
  --card-pad: clamp(1.75rem, 2.8vw, 2.4rem);
  /* Per-variant tints (overridden by .pathway-card--*) */
  --tint-1: 7, 41, 42;   /* deep base color */
  --tint-2: 13, 59, 58;  /* lighter wash */
  position: relative;
  padding: var(--card-pad);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 32px rgba(13, 59, 58, 0.10);
  background: rgb(var(--tint-1));
}

/* Full-bleed background photo */
.pathway-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(var(--tint-1)), rgb(var(--tint-2)));
  border-radius: inherit;
  z-index: 0;
}
.pathway-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.pathway-card:hover .pathway-photo img { transform: scale(1.06); }
.pathway-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--tint-1), 0.22) 0%,
    rgba(var(--tint-2), 0.05) 28%,
    rgba(var(--tint-1), 0.42) 58%,
    rgba(var(--tint-1), 0.78) 82%,
    rgba(var(--tint-1), 0.88) 100%);
  pointer-events: none;
}
.pathway-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(13, 59, 58, 0.18);
}

/* Number badge top-right */
.pathway-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cream-light);
  background: rgba(7, 41, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}

/* Icon medallion floats top-left over the photo */
.pathway-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin: 0 0 1rem;
  transition: transform 0.5s var(--ease);
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cream-light);
  box-shadow: 0 6px 16px rgba(13, 59, 58, 0.25);
}
.pathway-icon svg { width: 26px; height: 26px; stroke-width: 1.6; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.pathway-card:hover .pathway-icon { transform: scale(1.08) rotate(-3deg); }

.pathway-body {
  position: relative;
  z-index: 2;
  color: var(--cream-light);
}
.pathway-card .label {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  background: var(--turquoise);
  color: var(--cream-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow:
    0 4px 14px rgba(74, 155, 151, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 1px rgba(7, 41, 42, 0.25);
}
.pathway-card h3 {
  font-size: clamp(1.5rem, 2.1vw, 1.85rem);
  margin: 0 0 0.85rem;
  max-width: 22ch;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--cream-light);
  text-shadow:
    0 1px 0 rgba(7, 41, 42, 0.4),
    0 2px 18px rgba(7, 41, 42, 0.85),
    0 4px 32px rgba(7, 41, 42, 0.5);
}
.pathway-card p {
  max-width: 40ch;
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-shadow:
    0 1px 10px rgba(7, 41, 42, 0.9),
    0 2px 20px rgba(7, 41, 42, 0.5);
}
.pathway-card .btn-group {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
}
.pathway-card .pathway-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.6s var(--ease);
}
.pathway-card:hover .pathway-art { opacity: 1; }

/* Accent line that animates in from the bottom on hover */
.pathway-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--turquoise), var(--turquoise-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 2;
}
.pathway-card:hover::after { transform: scaleX(1); }

/* Per-variant color tints — three distinctly different hues */
.pathway-card--coordinator {
  --tint-1: 14, 56, 66;    /* cool ocean teal */
  --tint-2: 30, 95, 105;   /* lighter teal wash */
}
.pathway-card--family {
  --tint-1: 115, 65, 35;   /* warm caramel/amber */
  --tint-2: 165, 100, 60;  /* lighter terracotta */
}
.pathway-card--explore {
  --tint-1: 45, 80, 50;    /* fresh sage/forest */
  --tint-2: 78, 125, 85;   /* lighter moss wash */
}
.pathway-card--family::before {
  content: "Most chosen";
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  background: var(--turquoise);
  color: var(--cream-light);
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(74, 155, 151, 0.4);
}

/* Ghost button on light card (fixes invisible "Ask Kia Bird") */
.btn--ghost-dark {
  background: transparent;
  color: var(--teal-deep);
  border: 1px solid rgba(13, 59, 58, 0.25);
}
.btn--ghost-dark:hover {
  background: var(--teal-deep);
  color: var(--cream-light);
  border-color: var(--teal-deep);
}

@media (max-width: 1100px) {
  .pathways { grid-template-columns: 1fr; gap: 1.25rem; }
  .pathway-card { min-height: auto; }
}
@media (max-width: 540px) {
  .pathway-num { top: 1.2rem; right: 1.4rem; font-size: 0.95rem; }
  .pathway-card--family::before { top: 1rem; left: 1.2rem; }
  .pathway-card--family .pathway-icon { margin-top: 2rem; }
}

/* =========================================================
   SERVICE SELECTOR (Section 4)
   ========================================================= */
.selector {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.selector-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr;
  gap: 2rem;
  position: relative;
}
.selector-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.selector-q {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--teal-deep);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  max-width: 26ch;
}
.selector-option {
  text-align: left;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s var(--ease);
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}
.selector-option .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.9rem;
  width: 22px;
}
.selector-option .arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.35s var(--ease);
  color: var(--teal);
}
.selector-option:hover {
  border-color: var(--turquoise);
  background: #fff;
}
.selector-option.is-active {
  background: var(--teal-deep);
  color: var(--cream-light);
  border-color: var(--teal-deep);
  box-shadow: var(--shadow);
}
.selector-option.is-active .num { color: var(--gold-soft); }
.selector-option.is-active .arrow { opacity: 1; transform: translateX(0); color: var(--gold-soft); }

.selector-result {
  background: var(--teal-tint);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.selector-result::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  opacity: 0.7;
}
.selector-panel {
  display: none;
  animation: fadeUp 0.6s var(--ease) both;
}
.selector-panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.selector-panel h4 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--teal-deep);
  margin-bottom: 0.8rem;
}
.selector-panel .reassure {
  font-style: italic;
  color: var(--teal);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin: 1.2rem 0;
}
.selector-panel ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.selector-panel ul li {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  padding-left: 1.1rem;
  position: relative;
}
.selector-panel ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--turquoise);
}
.selector-panel .panel-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .selector-grid { grid-template-columns: 1fr; }
  .selector-panel ul { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
/* When .section--quiet wraps the services grid, render as a quieter "browse all" reference */
.section--quiet .section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.section--quiet .services-grid { gap: 1rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.service-card {
  grid-column: span 2;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 540px;
}
.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%);
  flex-shrink: 0;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 59, 58, 0.18) 100%);
  pointer-events: none;
}
.service-image-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.service-card-body {
  padding: 1.8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card:nth-child(4) { grid-column: span 3; }
.service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--turquoise-soft);
}
.service-card .service-pattern {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 200px;
  height: 200px;
  opacity: 0.08;
  color: var(--teal);
  transition: transform 0.8s var(--ease), opacity 0.6s var(--ease);
}
.service-card:hover .service-pattern { transform: rotate(20deg) scale(1.15); opacity: 0.14; }
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--teal-deep);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card h3 { margin-bottom: 0.6rem; max-width: 22ch; }
.service-headline {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
.service-card p { color: var(--charcoal-soft); font-size: 0.95rem; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}
.service-list li { padding-left: 1rem; position: relative; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.service-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.service-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* "Not sure which fits?" CTA strip beneath the services grid */
.services-unsure {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--teal-tint) 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 8px 24px rgba(13, 59, 58, 0.06);
}
.services-unsure p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--teal-deep);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.services-unsure .btn-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .services-unsure { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* =========================================================
   PHILOSOPHY / CULTURE
   ========================================================= */
.philosophy {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.philosophy-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--teal-deep), var(--teal-mid));
  box-shadow: 0 30px 60px rgba(13, 59, 58, 0.18);
}
.philosophy-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.philosophy-art:hover .philosophy-img {
  transform: scale(1.05);
}
.philosophy-art-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 2.2rem;
  background: linear-gradient(to top,
    rgba(13, 59, 58, 0.85) 0%,
    rgba(13, 59, 58, 0.45) 35%,
    rgba(13, 59, 58, 0) 70%);
  pointer-events: none;
}
.philosophy-art .quote {
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  border-left: 2px solid var(--turquoise-soft);
  padding-left: 1rem;
  margin: 0;
}
/* Legacy SVG art fallback (still supports svg if image is missing) */
.philosophy-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.philosophy-text { padding: 1rem 0; }
.philosophy-text h2 { margin-bottom: 1.6rem; }
.philosophy-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.philosophy-values div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--teal-deep);
}
.philosophy-values div::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .philosophy { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-art { aspect-ratio: 4 / 3; }
}

/* =========================================================
   PILLARS (Why Choose)
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.pillar:hover {
  background: var(--teal-deep);
  color: var(--cream-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pillar:hover h4 { color: var(--cream-light); }
.pillar:hover p { color: rgba(245, 236, 217, 0.78); }
.pillar:hover .pillar-num { color: var(--gold-soft); }
.pillar-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
  transition: color 0.5s var(--ease);
}
.pillar h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
  transition: color 0.5s var(--ease);
}
.pillar p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin: 0;
  transition: color 0.5s var(--ease);
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
}

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.process-steps {
  position: relative;
  padding-left: 2.4rem;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--turquoise) 50%, transparent 100%);
}
.process-step {
  position: relative;
  padding-bottom: 2rem;
}
.process-step::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  z-index: 1;
  transition: all 0.5s var(--ease);
}
.process-step::after {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 9px);
  top: calc(0.4rem + 9px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transition: all 0.5s var(--ease);
}
.process-step.is-visible::before { transform: scale(1.15); border-color: var(--teal); }
.process-step.is-visible::after { background: var(--teal); }
.process-step h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--teal-deep);
  margin-bottom: 0.4rem;
}
.process-step p { font-size: 0.93rem; color: var(--charcoal-soft); margin: 0; }

.process-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.process-detail h4 { font-family: var(--serif); margin-bottom: 1rem; color: var(--teal-deep); }
.process-detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
}
.process-detail ul li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding-left: 1rem;
  position: relative;
}
.process-detail ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--turquoise);
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 2rem; }
  .process-detail ul { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA BLOCK / FINAL CTA
   ========================================================= */
.cta-block {
  position: relative;
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 196, 190, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 196, 190, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}
.cta-block .koru-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}
.cta-block h2 {
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}
.cta-block .lede {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.cta-block .btn-group { justify-content: center; position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--teal-deepest);
  color: rgba(245, 236, 217, 0.7);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--cream); }
.footer-brand .logo-mark span { color: rgba(245, 236, 217, 0.6); }
.footer-statement {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245, 236, 217, 0.85);
  margin-top: 1.4rem;
  max-width: 36ch;
  line-height: 1.5;
}
.footer-meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: rgba(245, 236, 217, 0.55);
}
.footer-meta strong {
  color: rgba(245, 236, 217, 0.78);
  font-weight: 500;
  margin-right: 0.4rem;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.2rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(245, 236, 217, 0.7);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 236, 217, 0.08);
  font-size: 0.8rem;
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: rgba(245, 236, 217, 0.5); }
.footer-bottom .legal-links a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FLOATING CTA
   ========================================================= */
.floating-cta {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translate(-50%, 120%);
  z-index: 70;
  display: flex;
  gap: 0.5rem;
  background: rgba(13, 59, 58, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.45rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 236, 217, 0.12);
  transition: transform 0.5s var(--ease);
}
.floating-cta.is-visible { transform: translate(-50%, 0); }
.floating-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
.floating-cta .btn--primary {
  background: var(--gold);
  color: var(--teal-deepest);
}
.floating-cta .btn--primary:hover { background: var(--gold-soft); }
.floating-cta .btn--secondary {
  background: transparent;
  color: var(--cream-light);
  border: 1px solid rgba(245, 236, 217, 0.2);
}
.floating-cta .btn--secondary:hover {
  background: rgba(245, 236, 217, 0.08);
  color: var(--cream-light);
}
@media (max-width: 540px) {
  .floating-cta { bottom: 0.7rem; padding: 0.35rem; }
  .floating-cta .btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
}

/* =========================================================
   KIA BIRD ASSISTANT
   ========================================================= */
.kia-bird-toggle {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 75;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(13, 59, 58, 0.32);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(245, 236, 217, 0.12);
}
.kia-bird-toggle:hover { transform: translateY(-3px) scale(1.04); }
.kia-bird-toggle::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.5;
  animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}
.kia-bird-toggle .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--teal-deep);
}

.kia-bird {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 76;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(620px, calc(100vh - 8rem));
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(13, 59, 58, 0.32);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.45s var(--ease);
  overflow: hidden;
}
.kia-bird.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.kia-bird-header {
  background: var(--teal-deep);
  color: var(--cream-light);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
}
.kia-bird-header .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deepest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kia-bird-header h4 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1;
}
.kia-bird-header p {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 0;
  color: rgba(245, 236, 217, 0.55);
}
.kia-bird-close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(245, 236, 217, 0.08);
}
.kia-bird-close:hover { background: rgba(245, 236, 217, 0.18); }

.kia-bird-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.kia-msg {
  max-width: 85%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msgIn 0.4s var(--ease) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.kia-msg--bot {
  background: #fff;
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.kia-msg--user {
  background: var(--teal-deep);
  color: var(--cream-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.kia-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem 0;
}
.kia-quick button {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  transition: all 0.3s var(--ease);
}
.kia-quick button:hover {
  background: var(--teal-deep);
  color: var(--cream-light);
  border-color: var(--teal-deep);
}

.kia-bird-footer {
  padding: 0.9rem 1.2rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--slate);
  text-align: center;
}
.kia-bird-footer strong { color: var(--teal-deep); font-weight: 600; }

@media (max-width: 540px) {
  .kia-bird-toggle { right: 1rem; bottom: 5rem; width: 56px; height: 56px; }
  .kia-bird { right: 0.8rem; bottom: 5rem; }
}

/* =========================================================
   QUICK CONTACT STRIP (Referral page)
   ========================================================= */
.quick-contact-strip {
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.quick-contact-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin-bottom: 0.3rem;
}
.quick-contact-strip p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin: 0;
  max-width: 50ch;
}
.quick-contact-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.quick-contact-actions .btn { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
@media (max-width: 800px) {
  .quick-contact-strip { grid-template-columns: 1fr; }
  .quick-contact-actions { justify-content: stretch; }
  .quick-contact-actions .btn { flex: 1 1 calc(50% - 0.5rem); justify-content: center; }
}

/* =========================================================
   FORMS
   ========================================================= */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--charcoal);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(74, 155, 151, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
}
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.form-success {
  display: none;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  color: var(--cream-light);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.form-success.is-shown { display: block; }
.form-success h3 { color: var(--cream-light); margin-bottom: 0.6rem; }
.form-success p { color: rgba(245, 236, 217, 0.85); margin: 0; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE HEADERS
   ========================================================= */
.page-hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #f4faf9 55%, #e6f0ee 100%);
  color: var(--charcoal);
  padding: 11rem 0 6rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 93, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 93, 92, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.5;
}
.page-hero h1 { color: var(--teal-deep); max-width: 22ch; }
.page-hero .lede { color: var(--charcoal-soft); margin-top: 1.2rem; }
.page-hero .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.4rem;
}
.page-hero .breadcrumb a:hover { color: var(--turquoise); }
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* =========================================================
   SERVICE PAGE LAYOUT
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-detail h2 { margin-bottom: 1.2rem; }
.service-detail .feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.8rem;
}
.service-detail .feature-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-detail .feature-list li:hover {
  transform: translateX(4px);
  border-color: var(--turquoise);
}
.service-detail .feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 1.5px;
  background: var(--gold);
  margin-top: 11px;
}
.assurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.assurance {
  background: var(--teal-tint);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--line);
}
.assurance h4 { font-family: var(--serif); color: var(--teal-deep); margin-bottom: 0.5rem; font-size: 1.1rem; }
.assurance p { font-size: 0.9rem; color: var(--charcoal-soft); margin: 0; }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .assurance-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT GRID
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.contact-info {
  background: var(--teal-deep);
  color: var(--cream-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-info h3 { color: var(--cream-light); margin-bottom: 1rem; }
.contact-info p { color: rgba(245, 236, 217, 0.8); }
.contact-info dl { margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}
.contact-info dd { margin: 0; font-size: 1rem; color: var(--cream); }
.quick-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 236, 217, 0.12);
  display: grid;
  gap: 0.6rem;
}
.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(245, 236, 217, 0.06);
  font-size: 0.92rem;
  color: var(--cream-light);
  transition: background 0.3s var(--ease);
}
.quick-links a:hover { background: rgba(245, 236, 217, 0.12); color: var(--cream); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   INTERACTIVE CULTURAL PATTERN — parallax layered SVG
   ========================================================= */
.cultural-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.6) 60%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0.6) 60%, transparent 90%);
}
.cultural-pattern__layer {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
/* Inner drifter — gets the continuous CSS animation, leaves outer layer free for JS parallax */
.cultural-pattern__drift {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.cultural-pattern__layer svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Continuous gentle drift — three different rhythms for cognitive depth */
@keyframes culturalDriftBack {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(22px, -12px, 0); }
  50%      { transform: translate3d(8px, 18px, 0); }
  75%      { transform: translate3d(-18px, 6px, 0); }
}
@keyframes culturalDriftMid {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33%      { transform: translate3d(-14px, 14px, 0); }
  66%      { transform: translate3d(16px, -10px, 0); }
}
@keyframes culturalDriftFront {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20%      { transform: translate3d(10px, 8px, 0); }
  55%      { transform: translate3d(-12px, -6px, 0); }
  80%      { transform: translate3d(6px, -12px, 0); }
}
.cultural-pattern__layer--back  .cultural-pattern__drift { animation: culturalDriftBack 42s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.cultural-pattern__layer--mid   .cultural-pattern__drift { animation: culturalDriftMid 32s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.cultural-pattern__layer--front .cultural-pattern__drift { animation: culturalDriftFront 26s cubic-bezier(0.4, 0, 0.2, 1) infinite; }

/* Dark variant — for hero, dark sections */
.cultural-pattern--dark { color: var(--turquoise-soft); }
.cultural-pattern--dark .cultural-pattern__layer--back  { opacity: 0.10; }
.cultural-pattern--dark .cultural-pattern__layer--mid   { opacity: 0.14; }
.cultural-pattern--dark .cultural-pattern__layer--front { opacity: 0.17; }

/* Light variant — for philosophy / cream sections */
.cultural-pattern--light { color: var(--teal); }
.cultural-pattern--light .cultural-pattern__layer--back  { opacity: 0.06; }
.cultural-pattern--light .cultural-pattern__layer--mid   { opacity: 0.09; }
.cultural-pattern--light .cultural-pattern__layer--front { opacity: 0.12; }

/* CTA variant — slightly stronger on the final CTA block */
.cultural-pattern--cta { color: var(--turquoise-soft); }
.cultural-pattern--cta .cultural-pattern__layer--back  { opacity: 0.10; }
.cultural-pattern--cta .cultural-pattern__layer--mid   { opacity: 0.14; }
.cultural-pattern--cta .cultural-pattern__layer--front { opacity: 0.18; }

/* Reduced motion: static (no drift, no parallax) */
.reduced-motion .cultural-pattern__layer,
.reduced-motion .cultural-pattern__drift {
  transform: none !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .cultural-pattern__layer,
  .cultural-pattern__drift {
    transform: none !important;
    animation: none !important;
  }
}

/* Ensure section content sits above pattern */
[data-cultural-pattern] > .container,
[data-cultural-pattern] > *:not(.cultural-pattern):not(.hero-bg):not(.hero-scroll) {
  position: relative;
  z-index: 1;
}

/* =========================================================
   CINEMATIC SHOWCASE
   ========================================================= */
.showcase {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-tint) 100%);
  color: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 93, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 93, 92, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
  opacity: 0.6;
  z-index: -2;
}
.showcase .container { position: relative; z-index: 1; }
.showcase-head { max-width: 760px; margin: 0 auto 5rem; text-align: center; }
.showcase-head .eyebrow { color: var(--teal); justify-content: center; }
.showcase-head .eyebrow::before { background: var(--teal); }
.showcase-head h2 {
  color: var(--teal-deep);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.showcase-head h2 .line { display: block; }
.showcase-head h2 .line--italic {
  font-style: italic;
  color: var(--turquoise);
  font-weight: 300;
}
.showcase-head .lede { color: var(--charcoal-soft); margin: 1.5rem auto 0; max-width: 56ch; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.showcase-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.showcase-tile-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%);
  flex-shrink: 0;
}
.showcase-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-tile:hover .showcase-tile-img img { transform: scale(1.05); }
.showcase-tile-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 59, 58, 0.10) 100%);
  pointer-events: none;
}
.showcase-tile-body {
  padding: 1.8rem 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.showcase-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(74, 155, 151, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.showcase-tile:hover {
  transform: translateY(-6px);
  border-color: var(--turquoise-soft);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}
.showcase-tile:hover::before { opacity: 1; }
.tile-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}
.showcase-tile h3 {
  color: var(--teal-deep);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
/* When tilt + sheen layer is nested inside a showcase tile, conform to the tile's image box */
.showcase-tile .trust-image-tilt {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.showcase-tile .trust-image-tilt img {
  transform: translateZ(20px) scale(1.04);
}
.showcase-tile p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1024px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .showcase-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SHOWCASE — relational warmth additions
   ========================================================= */
/* "Our commitment" eyebrow gets soft ornament dots either side */
.eyebrow--ornament {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow--ornament::before,
.eyebrow--ornament::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise) 60%, transparent);
}

/* Soft horizontal connection thread weaving through the four cards */
.showcase-thread {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 56%;
  width: 92%;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  animation: threadBreathe 7s ease-in-out infinite;
}
@keyframes threadBreathe {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 0.85; transform: translateY(-4px); }
}

/* Trust markers row — values chips beneath the cards */
.showcase-markers {
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  max-width: 1000px;
}
.showcase-markers li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(143, 196, 190, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-deep);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.showcase-markers li:hover {
  background: var(--white);
  border-color: var(--turquoise);
  transform: translateY(-2px);
}
.showcase-markers svg {
  width: 16px;
  height: 16px;
  color: var(--turquoise);
  flex-shrink: 0;
}

/* CTA strip below */
.showcase-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.showcase-cta .btn--secondary {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 59, 58, 0.18);
}

@media (max-width: 640px) {
  .showcase-thread { display: none; }
  .showcase-tile::before { font-size: 0.66rem; padding: 0.4rem 0.75rem 0.4rem 1.6rem; }
  .showcase-markers li { font-size: 0.76rem; padding: 0.45rem 0.8rem; }
}

/* =========================================================
   CURSOR SPOTLIGHT
   ========================================================= */
.cursor-glow {
  position: relative;
}
.cursor-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 520px at var(--cx, 50%) var(--cy, 50%),
    rgba(74, 155, 151, 0.18) 0%,
    rgba(74, 155, 151, 0.05) 30%,
    transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
  mix-blend-mode: multiply;
}
.cursor-glow.is-glowing::after { opacity: 1; }

/* =========================================================
   CULTURAL MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  background: var(--teal-tint);
  color: var(--teal-deep);
  padding: 2.4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeRun 38s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track .word { letter-spacing: 0.01em; }
.marquee-track .dot {
  color: var(--turquoise);
  font-size: 1.5rem;
  font-style: normal;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   3D TILT CARD HELPER
   ========================================================= */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.tilt-content {
  transform: translateZ(20px);
  transition: transform 0.5s var(--ease);
}

/* =========================================================
   ANIMATION HELPERS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Cinematic stagger for the main hero */
.hero .reveal-stagger > * {
  transform: translateY(36px);
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease);
}
.hero .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.15s; }
.hero .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.32s; }
.hero .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.48s; }
.hero .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.62s; }
.hero .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.78s; }
.hero .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.92s; }

/* Section divider */
.divider-koru {
  display: block;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  color: var(--gold);
  opacity: 0.6;
}

/* Reduced motion */
.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  animation-duration: 0.001s !important;
  transition-duration: 0.2s !important;
  transition-delay: 0s !important;
}
.reduced-motion .reveal,
.reduced-motion .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
.reduced-motion .hero-orb,
.reduced-motion .hero-scroll-line::before,
.reduced-motion .kia-bird-toggle::before {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.2s !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Reduced motion toggle button */
.motion-toggle {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 70;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 59, 58, 0.85);
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 236, 217, 0.12);
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.motion-toggle:hover { background: var(--teal-deep); }
.motion-toggle.is-active { background: var(--gold); color: var(--teal-deepest); }
@media (max-width: 540px) {
  .motion-toggle { bottom: 4.8rem; left: 0.8rem; width: 38px; height: 38px; }
}

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--teal-deep);
  color: var(--cream-light);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 1rem; }

/* =========================================================
   UTILITIES
   ========================================================= */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }

/* Coordinator-specific list styles */
.coord-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.coord-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.coord-item h5 { font-family: var(--serif); font-size: 1.05rem; color: var(--teal-deep); margin: 0 0 0.4rem; }
.coord-item p { font-size: 0.88rem; color: var(--charcoal-soft); margin: 0; }
@media (max-width: 800px) { .coord-grid { grid-template-columns: 1fr; } }

/* About section narrative */
.narrative {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  color: var(--teal-deep);
  text-align: center;
  font-style: italic;
}
.narrative .accent { color: var(--gold); font-style: normal; }

/* =========================================================
   PROSE / LEGAL PAGES
   ========================================================= */
.prose { color: var(--charcoal); line-height: 1.75; font-size: 1.02rem; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--teal-deep);
  margin: 2.4rem 0 1rem;
}
.prose h3 {
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin: 1.6rem 0 0.6rem;
}
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal-deep); }
.prose strong { color: var(--teal-deep); }

/* Participant rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.6rem 0 2.4rem;
}
.right-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.right-item:hover {
  transform: translateY(-3px);
  border-color: var(--turquoise-soft);
  box-shadow: var(--shadow-sm);
}
.right-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--teal-deep);
  margin: 0 0 0.4rem;
}
.right-item p { font-size: 0.92rem; color: var(--charcoal-soft); margin: 0; }
@media (max-width: 640px) { .rights-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--turquoise-soft); }
.faq-item[open] {
  border-color: var(--turquoise);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.4s var(--ease);
  color: var(--teal);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--teal-tint); }
.faq-body {
  padding: 0 1.4rem 1.4rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
}
.faq-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.faq-body p, .faq-body ol, .faq-body ul { margin: 0 0 0.8rem; }
.faq-body ol, .faq-body ul { padding-left: 1.4rem; }

/* =========================================================
   IMAGE FALLBACK (when src missing/broken)
   ========================================================= */
.service-image, .hero-float-3d-card {
  background:
    linear-gradient(135deg, rgba(74, 155, 151, 0.08) 0%, rgba(143, 196, 190, 0.18) 100%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(26, 93, 92, 0.04) 14px 28px);
}
.service-image img, .hero-float-3d-card img {
  background-color: transparent;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 80;
  width: min(560px, calc(100vw - 2rem));
  background: var(--teal-deep);
  color: var(--cream-light);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.25);
  border: 1px solid rgba(143, 196, 190, 0.18);
  transition: transform 0.55s var(--ease);
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.88rem; flex: 1; line-height: 1.5; }
.cookie-banner p a { color: var(--turquoise-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner button {
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.cookie-banner .cookie-accept {
  background: var(--turquoise);
  color: var(--cream-light);
  border: 0;
}
.cookie-banner .cookie-accept:hover { background: var(--turquoise-soft); color: var(--teal-deepest); }
.cookie-banner .cookie-dismiss {
  background: transparent;
  color: rgba(245, 236, 217, 0.7);
  border: 1px solid rgba(245, 236, 217, 0.25);
}
.cookie-banner .cookie-dismiss:hover { background: rgba(245, 236, 217, 0.08); color: var(--cream-light); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 0.7rem; }
  .cookie-banner-actions { justify-content: center; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--turquoise-soft);
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.10);
}
.testimonial-quote {
  position: absolute;
  top: -10px;
  left: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--cream-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1;
  padding-top: 4px;
}
.testimonial-body {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--teal-deep);
  margin: 1rem 0 1.4rem;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-meta { font-size: 0.85rem; }
.testimonial-meta strong {
  display: block;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.92rem;
}
.testimonial-meta span { color: var(--slate); font-size: 0.8rem; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* =========================================================
   HOW IT WORKS — pendulum process pathway
   ========================================================= */
.pendulum-section {
  --pendulum-deep: #0f3f3c;
  --pendulum-teal: #1e7470;
  --pendulum-soft: #5fb7af;
  --pendulum-glow: #c7f7f2;
  --pendulum-warm: #f8fbfa;
  --pendulum-border: rgba(30, 116, 112, 0.18);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(199, 247, 242, 0.45) 0%, transparent 65%),
    linear-gradient(180deg, var(--pendulum-warm) 0%, #e9f4f3 100%);
}

/* Soft ambient layer: dot-grid + 2 orbs */
.pendulum-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.pendulum-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.pendulum-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
}
.pendulum-orb--a {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(95, 183, 175, 0.28), transparent 70%);
  top: 5%;
  left: -8%;
  animation: pendOrbFloat 24s ease-in-out infinite;
}
.pendulum-orb--b {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(199, 247, 242, 0.45), transparent 70%);
  bottom: -10%;
  right: -5%;
  animation: pendOrbFloat 32s ease-in-out infinite reverse;
}
@keyframes pendOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}

/* The stage holds the rail + all 5 pendulums */
.pendulum-stage {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 110px;        /* room for the suspension strings above the medallions */
  min-height: auto;
}

/* A clean horizontal rail that the pendulums hang from */
.pendulum-rail {
  position: absolute;
  top: 20px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(95, 183, 175, 0.45) 12%, rgba(95, 183, 175, 0.55) 50%, rgba(95, 183, 175, 0.45) 88%, transparent 100%);
  z-index: 1;
}
.pendulum-rail-anchor {
  position: absolute;
  top: 50%;
  left: var(--x);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pendulum-warm);
  border: 1.5px solid var(--pendulum-soft);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(95, 183, 175, 0.6);
}

/* The 5 pendulums row */
.pendulum-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.4rem);
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.pendulum-item {
  position: relative;
  display: flex;
  justify-content: center;
  /* The whole pendulum swings around its anchor point at top center */
  transform-origin: 50% calc(-1 * var(--string));
  /* Initial enter state: invisible + scaled down */
  opacity: 0;
  transform: rotate(var(--angle)) translateY(-12px) scale(0.95);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.pendulum-section.is-visible .pendulum-item {
  opacity: 1;
  transform: rotate(var(--angle)) translateY(0) scale(1);
  transition-delay: var(--delay);
}
/* Idle gentle sway — very subtle so the pendulums feel alive but never distracting */
.pendulum-section.is-settled .pendulum-item {
  animation: pendSway 6.5s ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes pendSway {
  0%, 100% { transform: rotate(-0.5deg); }
  50%      { transform: rotate(0.5deg); }
}

/* SWING ON CLICK — a realistic damped pendulum motion that overshoots and settles */
.pendulum-item.is-swinging {
  animation: pendSwing 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  animation-delay: 0s !important;
}
@keyframes pendSwing {
  0%   { transform: rotate(0deg); }
  18%  { transform: rotate(12deg); }
  36%  { transform: rotate(-8deg); }
  54%  { transform: rotate(5deg); }
  72%  { transform: rotate(-3deg); }
  86%  { transform: rotate(1.5deg); }
  100% { transform: rotate(0deg); }
}

/* The clickable / focusable shell that contains string + medallion + card */
.pendulum-button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font: inherit;
  color: inherit;
  position: relative;
}
.pendulum-button:focus-visible {
  outline: none;
}
.pendulum-button:focus-visible .pendulum-card {
  outline: 2px solid var(--pendulum-soft);
  outline-offset: 4px;
}

/* The thin suspension string */
.pendulum-string {
  position: absolute;
  top: calc(-1 * var(--string));
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: var(--string);
  background: linear-gradient(to bottom, rgba(95, 183, 175, 0.5) 0%, rgba(95, 183, 175, 0.7) 60%, rgba(95, 183, 175, 0.9) 100%);
  pointer-events: none;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pendulum-item.is-active .pendulum-string {
  background: linear-gradient(to bottom, rgba(95, 183, 175, 0.7), rgba(199, 247, 242, 1));
  box-shadow: 0 0 8px rgba(199, 247, 242, 0.9);
}

/* The numbered medallion */
.pendulum-medallion {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(160deg, var(--pendulum-deep) 0%, var(--pendulum-teal) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow:
    0 6px 16px rgba(15, 63, 60, 0.35),
    inset 0 0 0 1.5px rgba(199, 247, 242, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.25);
  margin-bottom: 1.1rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  z-index: 2;
}
.pendulum-num {
  position: relative;
  z-index: 2;
}
.pendulum-medallion-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 247, 242, 0.65) 0%, transparent 65%);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}

/* The glass card */
.pendulum-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid var(--pendulum-border);
  border-radius: 20px;
  padding: 1.3rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  box-shadow:
    0 8px 24px rgba(15, 63, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.pendulum-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(199, 247, 242, 0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
  filter: blur(10px);
}
.pendulum-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff, #e9f4f3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pendulum-teal);
  border: 1px solid var(--pendulum-border);
  box-shadow: 0 4px 10px rgba(15, 63, 60, 0.08);
  margin-bottom: 0.45rem;
}
.pendulum-icon svg { width: 18px; height: 18px; }
.pendulum-micro {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pendulum-teal);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--pendulum-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.35s var(--ease), max-height 0.35s var(--ease), margin 0.35s var(--ease);
}
.pendulum-item.is-active .pendulum-micro {
  opacity: 1;
  max-height: 30px;
  margin-bottom: 0.45rem;
}
.pendulum-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pendulum-deep);
  line-height: 1.25;
}
.pendulum-center .pendulum-title,
.pendulum-item--center .pendulum-title { font-size: 1.05rem; }
.pendulum-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--charcoal-soft);
  margin-top: 0.1rem;
}

/* Active / hover / focus state */
.pendulum-item.is-active .pendulum-card,
.pendulum-button:hover .pendulum-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--pendulum-soft);
  transform: translateY(-8px) scale(1.025);
  box-shadow:
    0 22px 50px rgba(15, 63, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.pendulum-item.is-active .pendulum-card-glow,
.pendulum-button:hover .pendulum-card-glow { opacity: 1; }
.pendulum-item.is-active .pendulum-medallion,
.pendulum-button:hover .pendulum-medallion {
  transform: scale(1.08);
  box-shadow:
    0 10px 24px rgba(15, 63, 60, 0.45),
    inset 0 0 0 1.5px rgba(199, 247, 242, 0.7),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 0 22px rgba(199, 247, 242, 0.65);
}
.pendulum-item.is-active .pendulum-medallion-glow,
.pendulum-button:hover .pendulum-medallion-glow { opacity: 1; }

/* Pause idle swing while hovered / active for steadier reading */
.pendulum-section.is-settled .pendulum-item.is-active,
.pendulum-section.is-settled .pendulum-item:hover,
.pendulum-section.is-settled .pendulum-item:focus-within {
  animation-play-state: paused;
}

/* Progress dim — steps the scroll progress hasn't reached fade slightly */
.pendulum-section.is-visible .pendulum-item:not(.is-progress) .pendulum-card { opacity: 0.92; }
.pendulum-section.is-visible .pendulum-item.is-progress .pendulum-card { opacity: 1; }

/* Tablet — 2 rows of small cards, hide the arc */
@media (max-width: 1024px) {
  .pendulum-stage { padding-top: 60px; min-height: auto; }
  .pendulum-arc { display: none; }
  .pendulum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .pendulum-item {
    transform: none !important;
    animation: none !important;
    opacity: 1;
  }
  .pendulum-string { display: none; }
  .pendulum-medallion { margin-bottom: 0.8rem; }
}

/* Mobile — vertical pathway with short strings connecting each card */
@media (max-width: 640px) {
  .pendulum-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    position: relative;
  }
  .pendulum-grid::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 32px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(95, 183, 175, 0.5) 8%, rgba(95, 183, 175, 0.5) 92%, transparent);
  }
  .pendulum-item { justify-content: flex-start; }
  .pendulum-button { flex-direction: row; align-items: flex-start; gap: 1rem; text-align: left; }
  .pendulum-medallion { margin-bottom: 0; flex-shrink: 0; width: 64px; height: 64px; }
  .pendulum-card { align-items: flex-start; text-align: left; padding: 1rem 1.1rem 1.2rem; }
  .pendulum-icon { width: 32px; height: 32px; }
  .pendulum-icon svg { width: 16px; height: 16px; }
}

/* Reduced-motion: kill swings, kill orb float, kill arc draw, keep static layout */
@media (prefers-reduced-motion: reduce) {
  .pendulum-orb,
  .pendulum-item,
  .pendulum-arc-active {
    animation: none !important;
    transition: none !important;
  }
  .pendulum-arc-active { stroke-dashoffset: 0; }
  .pendulum-item { opacity: 1; transform: rotate(var(--angle)); }
}

/* =========================================================
   IMPACT STATS BAND — solid teal contrast
   ========================================================= */
.impact-band {
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.impact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 196, 190, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 196, 190, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.impact-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  position: relative;
}
.impact-head .eyebrow { color: var(--turquoise-soft); justify-content: center; }
.impact-head .eyebrow::before { background: var(--turquoise-soft); }
.impact-head h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  text-align: center;
}
.impact-stat {
  border-left: 1px solid rgba(143, 196, 190, 0.20);
  padding: 0.5rem 1rem;
}
.impact-stat:first-child { border-left: 0; }
.impact-stat .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.impact-stat .num em {
  font-style: italic;
  color: var(--turquoise-soft);
}
.impact-stat .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
@media (max-width: 900px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
  .impact-stat:nth-child(odd) { border-left: 0; }
}

/* =========================================================
   RESOURCES TEASER — articles preview
   ========================================================= */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.10);
  border-color: var(--turquoise-soft);
}
.resource-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(74, 155, 151, 0.15) 0%, rgba(143, 196, 190, 0.25) 100%),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(26, 93, 92, 0.06) 16px 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-card-img svg {
  width: 60%;
  height: 60%;
  color: var(--turquoise);
  opacity: 0.5;
}
.resource-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.resource-card-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.resource-card-meta {
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.resource-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}
.resource-card p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin: 0 0 1.2rem;
  flex: 1;
}
.resource-card .read-more {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.resource-card .read-more--soon {
  color: var(--slate);
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  pointer-events: none;
}
.resource-card:hover .read-more:not(.read-more--soon) { gap: 0.7rem; color: var(--teal-deep); }
@media (max-width: 900px) { .resources-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SIDE STICKY ENQUIRE TAB
   ========================================================= */
.side-enquire {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(0, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 65;
  background: var(--teal-deep);
  color: var(--white);
  padding: 1rem 0.7rem;
  border-radius: 12px 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: -4px 0 18px rgba(13, 59, 58, 0.18);
  transition: background 0.3s var(--ease), transform 0.45s var(--ease);
  cursor: pointer;
}
.side-enquire:hover {
  background: var(--teal);
  color: var(--white);
  transform: translate(-3px, -50%) rotate(180deg);
}
.side-enquire .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise-soft);
  box-shadow: 0 0 8px rgba(143, 196, 190, 0.7);
  animation: pillPulse 2.4s var(--ease) infinite;
}
@media (max-width: 900px) { .side-enquire { display: none; } }

/* =========================================================
   SERVICE AREA / LOCATIONS
   ========================================================= */
.section--landscape {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.landscape-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.landscape-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  filter: saturate(0.92);
}
.landscape-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0.35) 50%, rgba(241, 247, 246, 0.7) 82%, rgba(241, 247, 246, 0.98) 100%),
    linear-gradient(135deg, rgba(13, 59, 58, 0.06), rgba(74, 155, 151, 0.06));
}

.service-area {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.service-area-map {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 20px 50px rgba(13, 59, 58, 0.12);
}
.service-area-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.service-area-text {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(13, 59, 58, 0.10);
}
.service-area-text h2 { margin-bottom: 1.4rem; }
.service-area-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.service-area-list li {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s var(--ease);
}
.service-area-list li:hover {
  background: var(--turquoise);
  color: var(--white);
  transform: translateY(-2px);
}
.service-area-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  flex-shrink: 0;
  transition: background 0.3s var(--ease);
}
.service-area-list li:hover::before { background: var(--white); }
.service-area-note {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  margin: 0;
  font-style: italic;
}
@media (max-width: 900px) {
  .service-area { grid-template-columns: 1fr; gap: 2rem; }
  .service-area-list { grid-template-columns: 1fr; }
  .landscape-bg img { object-position: center; }
}

/* About values cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.value-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.value-card h5 { font-family: var(--serif); color: var(--teal-deep); font-size: 1.15rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.88rem; color: var(--charcoal-soft); margin: 0; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
