/* =====================================================================
   Learner's Loft Academy — styles.css
   A faithful clone of the reference layout, rebuilt with a LIGHTER palette.
   Humanist sans-serif typography, plum brand, rounded organic image masks,
   carousel hero with caption panels, floating decorations, circle blobs.
   --------------------------------------------------------------------
   Palette (lightened):
     Plum brand       #5B3A66   (softer than the reference near-black plum)
     Plum deep        #4A2E54
     Blush            #ECB7C5
     Sage             #BCC79E
     Gold             #E0BE7E
     Ink              #3F3744
     Cloud bg         #FBFAF8
     Mist soft        #F4F1EC
   ===================================================================== */
:root {
  --plum: #5b3a66;
  --plum-deep: #4a2e54;
  --plum-soft: #7a5a85;
  --blush: #ecb7c5;
  --blush-soft: #f6dce3;
  --sage: #bcc79e;
  --sage-soft: #d9e0c6;
  --gold: #e0be7e;
  --ink: #3f3744;
  --muted: #6e6473;
  --cloud: #fbfaf8;
  --mist: #f4f1ec;
  --white: #fff;
  --line: #ece6ec;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 44px);
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(91, 58, 102, 0.08);
  --shadow: 0 20px 55px rgba(91, 58, 102, 0.14);
  --font: "Mukta", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --section-y: clamp(56px, 8vw, 108px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 400;
  color: var(--plum);
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0.2px;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
p {
  margin: 0 0 1rem;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plum);
  color: #fff;
  padding: 10px 16px;
  z-index: 300;
}
.skip-link:focus {
  left: 0;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--sage);
  margin: 0 0 0.6rem;
}
.chip {
  display: inline-block;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--sage-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin: 0.2rem 0 0.55rem;
}
.tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-soft);
  background: var(--blush-soft);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* image placeholders */
[role="img"] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(91, 58, 102, 0.04) 0 14px,
      rgba(91, 58, 102, 0.07) 14px 28px
    ),
    linear-gradient(135deg, var(--sage-soft), var(--blush-soft));
  color: var(--plum);
  min-height: 220px;
  overflow: hidden;
}
.img-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-align: center;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    color 0.25s;
}
.btn-primary {
  background: var(--plum);
  color: #fff;
}
.btn-primary:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-light {
  background: #f3ece6;
  color: var(--plum);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-pill {
  background: var(--blush-soft);
  color: var(--plum);
}
.btn-pill:hover {
  background: var(--blush);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}
.btn-row.center {
  justify-content: center;
}

.section {
  padding-block: var(--section-y);
}
.section-soft {
  background: var(--mist);
}
.section-head {
  max-width: 760px;
  margin: 0 0 2.6rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 0.6rem;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(74, 46, 84, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
}
.brand-name {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
}
.brand-mark {
  font-size: 1.15rem;
  color: var(--blush);
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
}
.primary-nav a {
  color: #efe7f1;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.primary-nav a:hover {
  color: #fff;
}
.caret {
  font-style: normal;
  font-size: 0.7em;
  color: var(--blush);
}
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  font-weight: 500;
}
.dropdown a:hover {
  background: var(--mist);
  color: var(--plum);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* ============ HERO CAROUSEL ============ */
.hero {
  background: var(--cloud);
}
.hero-carousel {
  position: relative;
  overflow: hidden;
}
.hero-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.6, 0.05, 0.2, 0.95);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(420px, 56vw, 620px);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.hero-photo.light {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(91, 58, 102, 0.03) 0 16px,
      rgba(91, 58, 102, 0.05) 16px 32px
    ),
    linear-gradient(120deg, #fff 0%, #fff 48%, var(--sage-soft) 100%);
}
/* caption panels */
.hero-cap {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  max-width: 560px;
}
.cap-right {
  right: 0;
  background: linear-gradient(
    100deg,
    rgba(74, 46, 84, 0) 0%,
    rgba(91, 58, 102, 0.55) 18%,
    rgba(74, 46, 84, 0.92) 46%
  );
  color: #fff;
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(60px, 9vw, 140px);
}
.cap-left {
  left: 0;
  color: var(--plum);
}
.hero-watermark {
  position: absolute;
  top: 24px;
  right: 34px;
  font-weight: 300;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.28);
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blush);
  margin: 0 0 0.8rem;
}
.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.12;
}
.hero-title.plum {
  color: var(--plum);
}
.hero-tag {
  font-size: 1.12rem;
  color: #f4ecf6;
  font-weight: 400;
  margin: 0 0 0.5rem;
  max-width: 34ch;
}
.hero-tag.plum {
  color: var(--plum-soft);
}
.hero-mini {
  font-size: 0.92rem;
  color: #e6d8ea;
  margin: 0 0 1.5rem;
}
/* deco triangles (slide 2) */
.deco {
  position: absolute;
  width: 0;
  height: 0;
}
.deco-tri-blush {
  top: 6%;
  left: 2%;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-top: 50px solid var(--blush);
  transform: rotate(14deg);
}
.deco-tri-plum {
  top: 2%;
  left: 13%;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 30px solid var(--plum);
}
.deco-tri-sage {
  top: 20%;
  left: 1%;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 46px solid var(--sage);
}
/* arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--plum);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow.prev {
  left: 16px;
}
.hero-arrow.next {
  right: 16px;
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  gap: 9px;
  justify-content: center;
  z-index: 6;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}
.hero-dots button.active {
  background: #fff;
  transform: scale(1.2);
}
/* ticks strip */
.hero-ticks-strip {
  background: var(--plum);
  color: #fff;
  padding-block: 1.6rem;
}
.hero-ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem 1.6rem;
}
.hero-ticks li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: #f4ecf6;
}
.hero-ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* ============ FLOW ============ */
.flow-hero-media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 0 auto 3rem;
  max-width: 880px;
  min-height: 300px;
}
.flow-track {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-card {
  flex: 1 1 150px;
  max-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.flow-card:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sage);
  font-size: 1.4rem;
  font-weight: 700;
}
.flow-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.flow-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.flow-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ============ IMAGE + TEXT ROWS (organic blob masks) ============ */
.imgrow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 3.4rem;
}
.imgrow-grid.reverse .imgrow-media {
  order: 2;
}
.imgrow-body h2 {
  margin-bottom: 1.1rem;
}
.imgrow-body p {
  color: #544a59;
  font-size: 1.02rem;
}
.imgrow-body .eyebrow {
  margin-top: 0;
}
.blob-media {
  min-height: 430px;
  border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%;
  box-shadow: var(--shadow);
  position: relative;
}
.blob-media::before,
.blob-media::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  z-index: -1;
  border-radius: 6px;
}
.blob-media::before {
  left: -24px;
  top: -22px;
  background: var(--sage-soft);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.blob-media::after {
  right: -20px;
  bottom: -20px;
  background: var(--blush-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.blob-circle {
  border-radius: 50%;
  max-width: 430px;
  margin-inline: auto;
}

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-soft);
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}
.feature-card:nth-child(2) .feature-icon {
  background: var(--blush-soft);
}
.feature-card:nth-child(3) .feature-icon {
  background: #f6e6c7;
}
.feature-card:nth-child(4) .feature-icon {
  background: var(--mist);
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ============ STRIKING A BALANCE (plum card + image) ============ */
.balance-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.balance-card {
  background: var(--plum);
  color: #fff;
  padding: clamp(2.2rem, 4vw, 3.6rem);
}
.balance-card h2 {
  color: #fff;
  margin-bottom: 1.2rem;
}
.balance-card p {
  color: #eaddee;
  font-size: 1rem;
}
.balance-card .btn {
  margin-top: 0.8rem;
}
.balance-media {
  min-height: 420px;
}

/* ============ PHILOSOPHY CARDS ============ */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.phil-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.phil-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.phil-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--plum);
  color: #fff !important;
  min-height: auto;
}
.phil-circle .img-label {
  font-size: 0.72rem;
}
.phil-circle.alt {
  background: var(--sage);
}
.phil-circle.alt2 {
  background: var(--blush);
}
.phil-card h3 {
  font-size: 1.6rem;
  margin: 0.1rem 0 0.6rem;
  font-weight: 300;
}
.phil-card p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* ============ TIMELINE ============ */
.timeline {
  max-width: 840px;
  margin-inline: auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--sage-soft);
}
.timeline-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 2rem;
  margin-bottom: 1.3rem;
  position: relative;
}
.timeline-time {
  font-size: 1.05rem;
  color: var(--plum);
  text-align: right;
  padding-top: 1rem;
  font-weight: 600;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ============ PROGRAMME CIRCLE BLOBS ============ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.6rem;
  justify-items: center;
}
.prog-blob {
  width: clamp(150px, 15vw, 190px);
  aspect-ratio: 1;
  border-radius: 48% 52% 55% 45% / 52% 47% 53% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s;
}
.prog-blob:hover {
  transform: translateY(-6px) rotate(-2deg);
}
.prog-blob:nth-child(even) {
  border-radius: 54% 46% 47% 53% / 46% 55% 45% 54%;
}
.blob-plum {
  background: var(--plum);
}
.blob-sage {
  background: var(--sage);
  color: var(--plum);
}
.blob-blush {
  background: var(--blush);
  color: var(--plum);
}
.blob-gold {
  background: var(--gold);
  color: var(--plum);
}

/* ============ CHECK LIST ============ */
.check-list {
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* ============ LOCATION CARDS ============ */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.loc-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.loc-photo {
  min-height: 150px;
}
.loc-label {
  background: var(--plum);
  color: #fff;
  padding: 1.1rem 1.2rem;
}
.loc-label span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blush);
}
.loc-label strong {
  font-weight: 600;
  font-size: 1.06rem;
}
.loc-extra {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
}
.loc-extra strong {
  color: var(--plum);
}

/* ============ CTA ============ */
.cta {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff;
  text-align: center;
}
.cta-inner {
  max-width: 740px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta p {
  color: #ede2f0;
  font-size: 1.06rem;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--plum);
  color: #eaddee;
}
.footer-top {
  padding-block: clamp(48px, 7vw, 78px);
}
.footer-intro {
  max-width: 640px;
  color: #d9cadf;
  margin-bottom: 2.6rem;
  font-size: 0.98rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.8rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: grid;
  gap: 0.55rem;
}
.footer-col a {
  color: #d9cadf;
  font-size: 0.96rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-contact li {
  color: #d9cadf;
  font-size: 0.96rem;
  line-height: 1.5;
}
.social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}
.footer-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.brand-footer .brand-name {
  font-size: 2rem;
}
.footer-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom {
  background: var(--sage-soft);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.3rem;
}
.footer-bottom span {
  color: var(--plum-deep);
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-tag {
  font-style: italic;
  font-size: 1.12rem !important;
  font-weight: 600 !important;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-ticks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .primary-nav {
    position: fixed;
    inset: 86px 0 auto 0;
    background: var(--plum-deep);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  .primary-nav.open {
    max-height: 84vh;
    overflow: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
  }
  .primary-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .primary-nav a {
    display: flex;
    padding: 1rem 0;
    font-size: 1.02rem;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.6rem 1rem;
  }
  .dropdown a {
    color: #cbb9d2;
    padding: 0.5rem 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .imgrow-grid,
  .imgrow-grid.reverse {
    grid-template-columns: 1fr;
  }
  .imgrow-grid.reverse .imgrow-media {
    order: 0;
  }
  .blob-media {
    min-height: 340px;
    max-width: 500px;
    margin-inline: auto;
  }
  .balance-grid {
    grid-template-columns: 1fr;
  }
  .phil-grid {
    grid-template-columns: 1fr;
  }
  .cap-right {
    background: linear-gradient(
      180deg,
      rgba(74, 46, 84, 0.35),
      rgba(74, 46, 84, 0.92)
    );
    padding-left: clamp(28px, 5vw, 64px);
  }
  .hero-cap {
    max-width: none;
    right: 0;
    left: 0;
  }
  .flow-card:not(:last-child)::after {
    content: "\2193";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.3rem;
    transform: translateX(-50%);
  }
  .flow-card {
    flex-basis: 46%;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 17px;
  }
  .feature-grid,
  .prog-grid,
  .loc-grid,
  .hero-ticks {
    grid-template-columns: 1fr;
  }
  .prog-grid {
    justify-items: center;
  }
  .flow-card {
    flex-basis: 100%;
    max-width: 320px;
  }
  .timeline::before {
    left: 8px;
  }
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding-left: 2rem;
  }
  .timeline-time {
    text-align: left;
    padding-top: 0;
  }
  .timeline-card::before {
    left: -1.65rem;
    top: 0.4rem;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-brandrow {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .btn-row {
    flex-direction: column;
  }
  .balance-media {
    min-height: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-track {
    transition: none !important;
  }
}

/* =====================================================================
   MULTI-PAGE ADDITIONS — Home / About / Premium Student Care / Contact
   ===================================================================== */

/* Active nav link (current page) */
.primary-nav a.is-active {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--blush);
}

/* Page hero (compact hero for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff;
  padding-block: clamp(54px, 8vw, 96px);
  text-align: center;
}
.page-hero .container {
  max-width: 820px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.4vw, 3.3rem);
  font-weight: 300;
  margin: 0 0 0.8rem;
  line-height: 1.12;
}
.page-hero p {
  color: #eaddee;
  font-size: 1.12rem;
  margin: 0 auto;
  max-width: 60ch;
}
.page-hero .eyebrow {
  color: var(--blush);
  margin-bottom: 0.7rem;
}

/* Narrow text intro */
.section-narrow {
  max-width: 760px;
}

/* Programme detail cards (Premium Student Care) */
.prog-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.prog-detail {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.prog-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.pd-circle {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--plum);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  padding: 0.5rem;
  background: linear-gradient(135deg, var(--sage-soft), var(--blush-soft));
}
.prog-detail:nth-child(3n) .pd-circle {
  background: linear-gradient(135deg, var(--blush-soft), #f6e6c7);
}
.prog-detail:nth-child(4n) .pd-circle {
  background: linear-gradient(135deg, #f6e6c7, var(--sage-soft));
}
.pd-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.pd-body p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Split: large image + text row (reusable deep-dive) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  min-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split-body h2 {
  margin-bottom: 1rem;
}
.split-body p {
  color: #544a59;
}
.split-body .eyebrow {
  margin-bottom: 0.6rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 1.4rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.contact-card a:hover {
  color: var(--plum);
}
.contact-card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--plum);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--plum);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(188, 199, 158, 0.35);
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Map placeholder */
.map-frame {
  min-height: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Responsive — new blocks */
@media (max-width: 860px) {
  .prog-detail-grid {
    grid-template-columns: 1fr;
  }
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .split-media {
    min-height: 280px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .prog-detail {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================================
   HOME PAGE — single hero, intro band, philosophy image cards,
   differentiators grid, programme splits (real content + images)
   ===================================================================== */

/* Single full-bleed hero */
.hero-single {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 84vh, 760px);
  background: var(--plum);
  overflow: hidden;
}
.hero-single .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-single .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(74, 46, 84, 0.94) 0%,
    rgba(74, 46, 84, 0.82) 34%,
    rgba(91, 58, 102, 0.5) 64%,
    rgba(91, 58, 102, 0) 100%
  );
}
.hero-single .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
}
.hero-single .hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
.hero-single .hero-tag {
  color: #f4ecf6;
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
.hero-single .btn-row {
  margin-top: 0;
}
@media (max-width: 860px) {
  .hero-single .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(74, 46, 84, 0.5) 0%,
      rgba(74, 46, 84, 0.9) 68%
    );
  }
}

/* Hero intro band */
.intro {
  background: var(--cloud);
  padding-block: clamp(40px, 6vw, 72px);
}
.intro .container {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.intro p {
  color: #544a59;
  font-size: 1.08rem;
}
.intro p + p {
  margin-top: 1rem;
}

/* Flow hero image */
.flow-hero-media {
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 260px;
}
.flow-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Philosophy card — large image */
.phil-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1.1rem;
  background: var(--mist);
}
.phil-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.phil-card:hover .phil-img img {
  transform: scale(1.05);
}

/* What Makes Us Different — sticky image + content blocks */
.different-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.different-media {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  max-height: 78vh;
}
.different-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diff-blocks > * + * {
  margin-top: 1.9rem;
}
.diff-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.diff-block p {
  color: #544a59;
}

/* Split media image fill (programmes / location / parents) */
.split-media {
  overflow: hidden;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

/* Activity chip row */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Two-column feature grid (for longer card copy) */
.feature-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
@media (max-width: 560px) {
  .feature-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .different-grid {
    grid-template-columns: 1fr;
  }
  .different-media {
    position: static;
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

/* Small layout utilities (home page) */
.mx-auto {
  margin-inline: auto;
}
.section-tail {
  text-align: center;
  margin-top: 2.4rem;
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
}
#programmes .split + .split {
  margin-top: 3.5rem;
}

/* ============ HERO TICKS — tidy 4×2 feature grid (redesign) ============ */
.hero-ticks-strip {
  background: linear-gradient(180deg, var(--plum-deep), var(--plum));
  padding-block: clamp(1.7rem, 3.4vw, 2.7rem);
}
.hero-ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}
.hero-ticks li {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #f4ecf6;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.hero-ticks li::before {
  content: none;
}
.hero-ticks li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}
.hero-ticks .tick-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--blush);
  font-size: 1.05rem;
}
.hero-ticks li:nth-child(2n) .tick-ic {
  background: var(--sage);
}
.hero-ticks li:nth-child(3n) .tick-ic {
  background: var(--gold);
}
.hero-ticks li > span:last-child {
  flex: 1 1 auto;
}
@media (max-width: 900px) {
  .hero-ticks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hero-ticks {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ticks li {
    transition: none;
  }
}

/* ============ WELCOME / INTRO — image + text split (redesign) ============ */
.intro {
  background: var(--cloud);
  padding-block: clamp(48px, 7vw, 88px);
}
.intro .container {
  max-width: var(--container);
  text-align: left;
}
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.intro-media {
  position: relative;
}
.intro-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -18px;
  bottom: -18px;
  width: 110px;
  height: 110px;
  border-radius: 22px;
  background: var(--blush-soft);
}
.intro-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14px;
  top: -14px;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--sage-soft);
}
.intro-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.6s ease;
}
.intro-media:hover img {
  transform: scale(1.03);
}
.intro-body {
  color: #544a59;
}
.intro-body p {
  color: #544a59;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.intro-body p + p {
  margin-top: 0;
}
.intro-body .eyebrow {
  color: var(--sage);
  font-size: 0.8rem;
  margin: 0 0 0.7rem;
}
.intro-body .intro-lead {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  color: var(--plum);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.intro-body .btn {
  margin-top: 1.3rem;
}
@media (max-width: 860px) {
  .intro-split {
    grid-template-columns: 1fr;
  }
  .intro-media {
    max-width: 560px;
    margin-inline: auto;
  }
  .intro-media img {
    aspect-ratio: 4 / 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-media img {
    transition: none;
  }
}

/* ============ FLOW CARDS — numbered step cards + stagger (redesign) ============ */
.flow-track {
  gap: 1.4rem;
  align-items: stretch;
}
.flow-card {
  position: relative;
  flex: 1 1 160px;
  max-width: 210px;
  border-radius: 18px;
  padding: 2.3rem 1.2rem 1.6rem;
  border: 1px solid var(--line);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  opacity: 0;
  transform: translateY(28px);
}
.flow-card:nth-child(4n + 1) {
  --accent: var(--plum);
  --ic: var(--sage-soft);
}
.flow-card:nth-child(4n + 2) {
  --accent: var(--blush);
  --ic: var(--blush-soft);
}
.flow-card:nth-child(4n + 3) {
  --accent: var(--sage);
  --ic: #f6e6c7;
}
.flow-card:nth-child(4n + 4) {
  --accent: var(--gold);
  --ic: var(--mist);
}
.flow-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--accent, var(--plum));
}
.flow-step {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(91, 58, 102, 0.1);
  transition: color 0.35s ease;
}
.flow-card:hover .flow-step {
  color: rgba(91, 58, 102, 0.2);
}
.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--ic, var(--sage-soft));
  font-size: 1.8rem;
  transition: transform 0.35s ease;
}
.flow-card:hover .flow-icon {
  transform: scale(1.08) rotate(-4deg);
}
.flow-card:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: var(--sage);
  font-size: 1.3rem;
  font-weight: 700;
}
.flow-track.is-visible .flow-card {
  animation: flowUp 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.flow-track.is-visible .flow-card:nth-child(1) {
  animation-delay: 0.05s;
}
.flow-track.is-visible .flow-card:nth-child(2) {
  animation-delay: 0.13s;
}
.flow-track.is-visible .flow-card:nth-child(3) {
  animation-delay: 0.21s;
}
.flow-track.is-visible .flow-card:nth-child(4) {
  animation-delay: 0.29s;
}
.flow-track.is-visible .flow-card:nth-child(5) {
  animation-delay: 0.37s;
}
.flow-track.is-visible .flow-card:nth-child(6) {
  animation-delay: 0.45s;
}
@keyframes flowUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 860px) {
  .flow-card {
    flex: 1 1 46%;
    max-width: 330px;
  }
  .flow-card:not(:last-child)::after {
    content: "\2193";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.3rem;
    transform: translateX(-50%);
  }
}
@media (max-width: 560px) {
  .flow-card {
    flex-basis: 100%;
    max-width: 340px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-card {
    opacity: 1;
    transform: none;
  }
  .flow-track.is-visible .flow-card {
    animation: none;
  }
}

/* ============ FLOW — real SVG icons + strict one-row grid (6 across) ============ */
.flow-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.flow-card {
  max-width: none;
}
.flow-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  color: var(--accent, var(--plum));
}
@media (max-width: 980px) {
  .flow-track {
    grid-template-columns: repeat(3, 1fr);
  }
  .flow-card:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 600px) {
  .flow-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .flow-track {
    grid-template-columns: 1fr;
  }
}

/* flow section: remove top & bottom padding so it sits flush between neighbours */
#flow {
  padding-top: 0;
  padding-bottom: 0;
}

/* ============ WHY US — real blob image + SVG feature icons ============ */
.blob-media {
  min-height: auto;
  isolation: isolate;
}
.blob-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--plum);
}
@media (max-width: 860px) {
  .blob-media img {
    min-height: 340px;
  }
}

/* ============ DAILY TIMELINE — icon nodes + animated line (redesign) ============ */
.timeline {
  max-width: 920px;
}
.timeline::before {
  left: 127px;
  width: 2px;
  background: linear-gradient(var(--sage-soft), var(--blush-soft));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s ease;
}
.timeline.is-visible::before {
  transform: scaleY(1);
}
.timeline-row {
  grid-template-columns: 100px 56px 1fr;
  gap: 0;
  margin-bottom: 1.2rem;
}
.timeline-time {
  grid-column: 1;
  text-align: right;
  padding: 1.05rem 1.25rem 0 0;
}
.tl-node {
  grid-column: 2;
  justify-self: center;
  align-self: start;
  margin-top: 0.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--node-bg, var(--sage-soft));
  color: var(--plum);
  box-shadow:
    0 0 0 6px var(--cloud),
    var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.tl-node svg {
  width: 22px;
  height: 22px;
}
.timeline-row:nth-child(1) {
  --accent: var(--plum);
  --node-bg: var(--sage-soft);
}
.timeline-row:nth-child(2) {
  --accent: var(--blush);
  --node-bg: var(--blush-soft);
}
.timeline-row:nth-child(3) {
  --accent: var(--sage);
  --node-bg: #f6e6c7;
}
.timeline-row:nth-child(4) {
  --accent: var(--gold);
  --node-bg: var(--mist);
}
.timeline-row:nth-child(5) {
  --accent: var(--plum);
  --node-bg: var(--sage-soft);
}
.timeline-row:nth-child(6) {
  --accent: var(--blush);
  --node-bg: var(--blush-soft);
}
.timeline-card {
  grid-column: 3;
  margin-left: 1.25rem;
  border-left: 4px solid var(--accent, var(--plum));
  opacity: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.timeline-card::before {
  display: none;
}
.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.timeline.is-visible .timeline-card {
  animation: tlIn 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.timeline.is-visible .timeline-row:nth-child(1) .timeline-card {
  animation-delay: 0.05s;
}
.timeline.is-visible .timeline-row:nth-child(2) .timeline-card {
  animation-delay: 0.15s;
}
.timeline.is-visible .timeline-row:nth-child(3) .timeline-card {
  animation-delay: 0.25s;
}
.timeline.is-visible .timeline-row:nth-child(4) .timeline-card {
  animation-delay: 0.35s;
}
.timeline.is-visible .timeline-row:nth-child(5) .timeline-card {
  animation-delay: 0.45s;
}
.timeline.is-visible .timeline-row:nth-child(6) .timeline-card {
  animation-delay: 0.55s;
}
@keyframes tlIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .timeline::before {
    left: 21px;
  }
  .timeline-row {
    grid-template-columns: 44px 1fr;
    gap: 0.6rem;
  }
  .timeline-time {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 0.1rem;
  }
  .tl-node {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-top: 0.3rem;
  }
  .timeline-card {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline::before {
    transform: none;
    transition: none;
  }
  .timeline-card {
    opacity: 1;
  }
  .timeline.is-visible .timeline-card {
    animation: none;
  }
}

/* ============ HERO CAROUSEL — real photos in slides ============ */
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* slide-2 caption: solid white panel so the plum text is fully readable */
.hero-cap.cap-left {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.94) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}
.hero-tag.plum {
  color: var(--plum);
}

/* ============ PREMIUM PAGE — hero bg, twin lists, gallery, stage cards ============ */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero .ph-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(74, 46, 84, 0.9) 0%,
    rgba(91, 58, 102, 0.78) 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

.mt {
  margin-top: 2.2rem;
}

/* Two-column checklists (programme features) */
.twin-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.5rem;
  margin-top: 1.8rem;
}
.twin-lists h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--plum-soft);
  margin: 0 0 0.7rem;
}

/* Outcomes / benefits as a 2-col check-list */
.outcomes {
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2.5rem;
}

/* Photo gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-item .g-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  background: linear-gradient(
    0deg,
    rgba(74, 46, 84, 0.85),
    rgba(74, 46, 84, 0)
  );
}

/* Age-group stage cards */
.stage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--plum);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.stage-card:nth-child(2) .stage-badge {
  background: var(--blush);
  color: var(--plum-deep);
}
.stage-card:nth-child(3) .stage-badge {
  background: var(--sage);
  color: var(--plum-deep);
}
.stage-card h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0.1rem 0 0.5rem;
}
.stage-card .stage-focus {
  font-weight: 600;
  color: var(--plum);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.stage-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .twin-lists,
  .outcomes {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
}
@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ CONTACT PAGE — map, form alerts, info pills ============ */
.map-frame {
  aspect-ratio: 16 / 9;
  min-height: 300px;
  padding: 0;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-card .ic svg {
  width: 22px;
  height: 22px;
  color: var(--plum);
}
.form-success,
.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-success.show,
.form-error.show {
  display: block;
}
.form-success {
  background: var(--sage-soft);
  color: var(--plum-deep);
  border: 1px solid var(--sage);
}
.form-error {
  background: #f8d7da;
  color: #7a2e3a;
  border: 1px solid #e6a5a5;
}
.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease;
}
.info-pill:hover {
  background: rgba(255, 255, 255, 0.22);
}
.info-pill svg {
  width: 18px;
  height: 18px;
  color: var(--blush);
}

/* ============ CONTACT — split hero (redesign) ============ */
.contact-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(56px, 9vw, 108px);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(236, 183, 197, 0.2),
      transparent 42%
    ),
    linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.contact-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(236, 183, 197, 0.12);
  z-index: 0;
}
.contact-hero .container {
  position: relative;
  z-index: 1;
}
.contact-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contact-hero-content .eyebrow {
  color: var(--blush);
}
.contact-hero-content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.contact-hero-content p {
  color: #f4ecf6;
  font-size: 1.1rem;
  max-width: 50ch;
}
.contact-hero-content .btn-row {
  margin-top: 1.6rem;
}
.contact-hero-content .info-pills {
  justify-content: flex-start;
  margin-top: 1.5rem;
}
.contact-hero-media {
  position: relative;
}
.contact-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}
.contact-hero-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -16px;
  top: -16px;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background: var(--sage-soft);
}
.contact-hero-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -14px;
  bottom: -14px;
  width: 116px;
  height: 116px;
  border-radius: 20px;
  background: var(--blush-soft);
}
.float-badge {
  position: absolute;
  z-index: 2;
  left: -20px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--plum);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.92rem;
}
.float-badge .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--plum);
  flex: none;
}
.float-badge .dot svg {
  width: 20px;
  height: 20px;
}
.float-badge small {
  display: block;
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
  }
  .contact-hero-content {
    text-align: center;
  }
  .contact-hero-content p {
    margin-inline: auto;
  }
  .contact-hero-content .btn-row,
  .contact-hero-content .info-pills {
    justify-content: center;
  }
  .contact-hero-media {
    max-width: 460px;
    margin-inline: auto;
  }
}

/* =====================================================================
   MOBILE / APP-LIKE LAYER — safe-area, bottom CTA bar, touch targets,
   tap feedback, nav backdrop. Desktop-safe: mobile UI is media-scoped;
   env(safe-area-inset-*) is 0 on devices without a notch.
   ===================================================================== */

/* Backstop: never allow sub-pixel horizontal scroll from decorative offsets */
body {
  overflow-x: hidden;
}

/* Sticky header clears the notch on notched devices (0 on desktop) */
.site-header {
  padding-top: env(safe-area-inset-top);
}

/* Bottom action bar — hidden by default, shown on mobile (JS-injected) */
.mobile-cta {
  display: none;
}
.mobile-cta__inner {
  display: flex;
  gap: 0.5rem;
}
.mobile-cta a {
  flex: 1 1 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 0 1rem;
  cursor: pointer;
}
.mobile-cta .mc-primary {
  background: #fff;
  color: var(--plum);
}
.mobile-cta .mc-primary:active {
  transform: scale(0.97);
}
.mobile-cta .mc-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.mobile-cta .mc-secondary:active {
  transform: scale(0.97);
}

/* Nav backdrop scrim — hidden on desktop */
.nav-backdrop {
  display: none;
}

/* Tap feedback (touch); harmless on desktop */
.btn:active {
  transform: scale(0.97);
}
.flow-card:active,
.feature-card:active,
.loc-card:active,
.stage-card:active,
.phil-card:active,
.gallery-item:active,
.contact-card:active,
.prog-detail:active,
.info-pill:active {
  transform: scale(0.98);
}

@media (max-width: 860px) {
  /* leave room for the fixed bottom CTA bar (+ home indicator) */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  /* fixed bottom CTA bar in the thumb zone */
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: block;
    background: var(--plum);
    box-shadow: 0 -8px 24px rgba(74, 46, 84, 0.22);
    padding: 0.6rem calc(0.75rem + env(safe-area-inset-right))
      calc(0.6rem + env(safe-area-inset-bottom))
      calc(0.75rem + env(safe-area-inset-left));
  }

  /* nav backdrop scrim */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(31, 18, 36, 0.5);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* slide-in drawer from the right (replaces the top dropdown) */
  .primary-nav {
    top: calc(86px + env(safe-area-inset-top));
    bottom: 0;
    left: auto;
    right: 0;
    width: min(82vw, 340px);
    max-height: none;
    background: var(--plum-deep);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
    padding-bottom: calc(env(safe-area-inset-bottom) + 76px);
  }
  .primary-nav.open {
    transform: translateX(0);
    max-height: none;
    overflow: auto;
  }

  /* touch target bumps */
  .btn {
    min-height: 48px;
  }
  .info-pill {
    min-height: 44px;
    padding: 0.55rem 1rem;
  }
  .hero-dots button {
    width: 14px;
    height: 14px;
  }
  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  /* keep decorative accents inside the viewport on very narrow screens */
  .blob-media::before,
  .blob-media::after,
  .intro-media::before,
  .intro-media::after,
  .contact-hero-media::before,
  .contact-hero-media::after {
    display: none;
  }
  .contact-hero .float-badge {
    left: 10px;
    bottom: 10px;
    right: 10px;
  }
}

/* Flow section banner — tidy proportions on mobile only (desktop 21:9 kept) */
@media (max-width: 860px) {
  .flow-hero-media {
    aspect-ratio: 3 / 2;
    min-height: 0;
    max-width: 100%;
  }
}

/* =====================================================================
   WHATSAPP FLOATING BUTTON (.fab-wa) — fixed bottom-right on all pages
   (injected via script.js). z-index 90 → above content, BELOW the mobile
   menu/backdrop (95), header (100) and bottom CTA bar (120); raised above
   the bottom bar on mobile; hides when the mobile menu opens (.is-hidden).
   ===================================================================== */
.fab-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow:
    0 6px 16px rgba(37, 211, 102, 0.4),
    0 10px 26px rgba(31, 18, 36, 0.22);
  isolation: isolate;
  opacity: 1;
  transform: none;
  animation: fabIn 0.5s ease 0.35s backwards;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}
.fab-wa__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
}
.fab-wa__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
/* tooltip label (desktop hover only; hidden on mobile) */
.fab-wa__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--plum);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.fab-wa:active {
  transform: scale(0.94);
}
.fab-wa:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px rgba(37, 211, 102, 0.35),
    0 6px 16px rgba(37, 211, 102, 0.4);
}
/* subtle one-time pulse ring */
.fab-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: 1;
  animation: fabPulse 2.6s ease-out 1.1s 2;
}
.fab-wa.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.6);
}
@keyframes fabIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.7);
    opacity: 0;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Desktop: lift + tooltip on hover (hover-capable pointers only) */
@media (hover: hover) and (min-width: 861px) {
  .fab-wa:hover {
    transform: translateY(-3px);
    box-shadow:
      0 10px 22px rgba(37, 211, 102, 0.45),
      0 14px 32px rgba(31, 18, 36, 0.26);
  }
  .fab-wa:hover .fab-wa__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Mobile: smaller, safe-area aware, raised above the bottom CTA bar */
@media (max-width: 860px) {
  .fab-wa {
    width: 54px;
    height: 54px;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .fab-wa__icon svg {
    width: 29px;
    height: 29px;
  }
  .fab-wa__label {
    display: none;
  }
}

/* Reduced motion: appear instantly, no pulse */
@media (prefers-reduced-motion: reduce) {
  .fab-wa {
    animation: none;
  }
  .fab-wa::after {
    display: none;
  }
}
