﻿/* =========================================================
   Odyssey Montessori — styles.css
   Premium, warm, trust-building Montessori school theme.
   ========================================================= */

:root{
  /* Palette — Odyssey Montessori brand colors */
  --teal:        #0a7daf;   /* bright brand teal */
  --teal-deep:   #076a95;   /* hover/darker teal */
  --teal-soft:   #3b6f89;   /* muted teal */
  --navy:        #1d4354;   /* deep brand navy (primary ink) */
  --navy-deep:   #143241;
  --cream:       #F7F3ED;
  --cream-2:     #EFE7D8;
  --ink:         #1d4354;
  --ink-soft:    #3f3f3f;
  --accent:      #d9a441;   /* warm highlight retained sparingly for CTA emphasis */
  --wood:        #D9C3A1;
  --wood-soft:   #EADFC7;
  --white:       #FFFFFF;
  --muted:       #7A7A73;
  --line:        #E4DCCB;

  /* Back-compat aliases so existing rules work unchanged */
  --gold:        var(--teal);
  --gold-deep:   var(--teal-deep);
  --sage:        var(--navy);
  --sage-deep:   var(--navy-deep);
  --terracotta:  var(--accent);

  /* Type */
  --serif: "Cormorant Garamond", "Lora", "Playfair Display", Georgia, serif;
  --sans:  "Inter", "Open Sans", "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius:    18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(47,58,47,.06);
  --shadow:    0 18px 50px -18px rgba(47,58,47,.22);
  --shadow-lg: 0 30px 80px -30px rgba(47,58,47,.35);

  /* Transitions */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   Base
   ========================================================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-entry animation — fires on every navigation */
@keyframes page-fade{
  from{ opacity:0; }
  to  { opacity:1; }
}
@keyframes page-rise{
  from{ opacity:0; transform:translateY(26px); }
  to  { opacity:1; transform:translateY(0);    }
}
/* Background fades in, content rises up */
main{
  animation: page-fade .5s cubic-bezier(.25,.8,.25,1) both;
}
.page-hero__content,
.hero__content,
.hero__metrics{
  animation: page-rise .65s cubic-bezier(.25,.8,.25,1) both;
  animation-delay: .08s;
}

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration:none; transition: color .25s var(--ease); }
a:hover{ color: var(--gold-deep); }

h1,h2,h3,h4,h5{
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0 0 .4em;
}

h1{ font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2{ font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight:500; }
h3{ font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4{ font-size: 1.4rem; }
h5{ font-size: 1rem; font-family: var(--sans); font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); }

p{ margin: 0 0 1em; color: var(--ink-soft); }

em{ font-style: italic; color: var(--gold-deep); }

.container{
  width: min(92%, var(--container));
  margin: 0 auto;
}

.eyebrow{
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow--light{ color: var(--wood); }
.eyebrow--dark { color: var(--ink); }

.section-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.section-head p{ color: var(--ink-soft); }
.section-head--light h2, .section-head--light p{ color: var(--cream); }
.section-head--light p{ color: rgba(247,243,237,.82); }

.link-arrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-weight: 600; color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.link-arrow:hover{ border-color: var(--gold); transform: translateX(4px); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn--primary{
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{
  background: var(--teal);
  color: #fff;                 /* white on teal — was navy on teal (~2:1 contrast) */
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost{
  background: transparent;
  color: var(--ink);
  border-color: rgba(47,58,47,.35);
}
.btn--ghost:hover{
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--lg{ padding: 1.05rem 2rem; font-size: 1rem; }
.btn--wide{ width: 100%; }

/* =========================================================
   Announcement bar
   ========================================================= */
.announcement{
  background: var(--ink);
  color: var(--cream);
  font-size: .85rem;
  letter-spacing: .03em;
}
.announcement__inner{
  width: min(92%, var(--container));
  margin: 0 auto;
  padding: .65rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.announcement__link{
  color: var(--gold);
  font-weight: 600;
}
.announcement__link:hover{ color: var(--wood); }

/* =========================================================
   Nav
   ========================================================= */
.nav{
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247,243,237,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled{
  background: rgba(247,243,237,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(47,58,47,.03);
}
.nav__inner{
  width: min(92%, var(--container));
  margin: 0 auto;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand{
  display:flex; align-items:center; gap:.75rem;
  color: var(--ink);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .25s var(--ease);
}
.nav__brand:hover{
  transform: translateY(-2px);
  color: var(--ink);
}
.nav__brand .nav__logo{
  transform: scale(1.28);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), filter .3s var(--ease);
}
.nav__brand:hover .nav__logo{
  transform: scale(1.36) rotate(-1.5deg);
}
.nav__brand--dark{ color: var(--cream); }
.nav__brand--dark:hover{ color: var(--cream); }
.nav__mark{
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep);
  background: var(--cream-2);
}
.nav__brand--dark .nav__mark{
  background: rgba(247,243,237,.1);
  color: var(--gold);
}

/* Actual logo PNG */
.nav__logo{
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__logo--footer{
  height: 38px;
  opacity: .95;
}
.nav__wordmark{
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav__wordmark-top{
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .01em;
}
.nav__wordmark-bot{
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}
.nav__brand--dark .nav__wordmark-bot{ color: rgba(247,243,237,.7); }

.nav__links{
  display: flex;
  gap: 2rem;
  font-size: .95rem;
  font-weight: 500;
}
.nav__links a{
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
}
.nav__links a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover{ color: var(--ink); }
.nav__links a:hover::after{ width: 100%; }

.nav__cta{ display:flex; align-items:center; gap: 1rem; }
.nav__phone{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__phone svg{ color: var(--gold-deep); }

.nav__burger{
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__burger span{
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1){ top: 15px; }
.nav__burger span:nth-child(2){ top: 21px; }
.nav__burger span:nth-child(3){ top: 27px; }
.nav__burger.is-open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

.mobile-menu{
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 5% 2rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 12px 32px -8px rgba(29,67,84,.15);
  z-index: 79;
  /* closed state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .28s cubic-bezier(.2,.8,.2,1),
              transform .28s cubic-bezier(.2,.8,.2,1),
              visibility 0s .28s;
}
.mobile-menu.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .28s cubic-bezier(.2,.8,.2,1),
              transform .28s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu a{
  font-size: 1.15rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}
.mobile-menu a:hover{ color: var(--teal); padding-left: 4px; }

/* Button inside mobile menu — restore full padding, own transition, own hover colours */
.mobile-menu a.btn{
  border: 0;
  margin-top: .75rem;
  padding: .85rem 1.6rem;
  background: var(--accent);        /* gold — pops against cream menu bg */
  color: var(--navy-deep);          /* dark text on gold = readable */
  transition: background .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mobile-menu a.btn:hover{
  padding-left: 1.6rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero__media{
  position: absolute; inset: 0;
  z-index: -1;
}

/* Slideshow crossfade */
.hero__slide{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.hero__slide.is-active{ opacity: 1; }
.hero__slide img{
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero__slide.is-active img{ transform: scale(1); }

/* Slide dots — live inside .hero__content so they never overlap text */
.hero__dots{
  display: flex; gap: .55rem; align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.hero__dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(247,243,237,.4);
  border: 0; padding: 0; cursor: pointer;
  transition: background .4s ease, width .4s cubic-bezier(.34,1.56,.64,1);
}
.hero__dot.is-active{
  background: var(--accent);
  width: 28px;
}
.hero__scrim{
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 100% at 15% 50%, rgba(47,58,47,.85) 0%, rgba(47,58,47,.5) 55%, rgba(47,58,47,.2) 100%),
    linear-gradient(180deg, rgba(47,58,47,.45) 0%, rgba(47,58,47,.15) 40%, rgba(47,58,47,.6) 100%);
}
.hero__content{
  width: min(92%, var(--container));
  margin: 0 auto;
  padding: 6.5rem 0 4.5rem;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 4rem;
  align-items: center;
}
.hero__copy{
  /* left column */
}

/* ---- right-side floating card ---- */
.hero__card{
  background: rgba(18,28,24,.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(247,243,237,.22);
  border-radius: 22px;
  padding: 2.6rem 2.6rem 2.2rem;
  color: var(--cream);
  align-self: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(247,243,237,.1);
}
.hero__card-icon{
  width: 38px; height: auto;
  color: var(--accent);
  opacity: .9;
  margin-bottom: 1.3rem;
  display: block;
}
.hero__card-quote{
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.68;
  font-style: italic;
  color: rgba(247,243,237,.96);
  margin: 0 0 1.8rem;
  padding: 0;
  border: none;
}
.hero__card-author{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.hero__card-avatar{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.hero__card-author strong{
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .15rem;
}
.hero__card-author span{
  font-size: .82rem;
  color: rgba(247,243,237,.62);
}
.hero__card-badges{
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid rgba(247,243,237,.18);
  padding-top: 1.4rem;
}
.hero__card-badges span{
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(247,243,237,.7);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero__card-badges span::before{
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
  font-size: .85rem;
}

.hero__title{
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 1.2rem;
}
.hero__title em{
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero__sub{
  color: rgba(247,243,237,.88);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 640px;
  margin-bottom: 2.4rem;
}
.hero__ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero__ctas .btn--primary{
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 4px 28px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.2);
}
.hero__ctas .btn--primary:hover{
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 6px 32px rgba(0,0,0,.3);
}
.hero__ctas .btn--ghost{
  border-color: rgba(247,243,237,.8);
  color: var(--cream);
  background: rgba(247,243,237,.08);
}
.hero__ctas .btn--ghost:hover{
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.hero__meta{
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247,243,237,.2);
  max-width: 560px;
}
.hero__meta div{ display: flex; flex-direction: column; gap: .1rem; }
.hero__meta strong{
  font-family: 'Playfair Display', var(--serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.02em;
}
.hero__meta span{
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,243,237,.7);
}


/* =========================================================
   Trust bar
   ========================================================= */
.trust{
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust__grid{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust__grid li{
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: .01em;
}
.trust__grid svg{
  width: 26px; height: 26px;
  color: var(--gold-deep);
  flex-shrink: 0;
}

/* =========================================================
   Approach
   ========================================================= */
.approach{ padding: 5rem 0; }
.approach__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.approach__copy h2{ margin-bottom: 1.5rem; }
.approach__copy p{ font-size: 1.08rem; }

.approach__media{
  position: relative;
  aspect-ratio: 5/6;
}
.approach__imgA,
.approach__imgB{
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.approach__imgA{
  top: 0; left: 0;
  width: 72%;
  aspect-ratio: 4/5;
}
.approach__imgB{
  bottom: 0; right: 0;
  width: 58%;
  aspect-ratio: 1/1;
  border: 8px solid var(--cream);
}
.approach__imgA img, .approach__imgB img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.approach__imgA:hover img, .approach__imgB:hover img{ transform: scale(1.06); }

.approach__badge{
  position: absolute;
  bottom: -10px; left: -20px;
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  font-size: .85rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  display: flex; flex-direction: column; gap: 2px;
}
.approach__badge span{
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.approach__badge strong{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}

/* =========================================================
   Why parents choose us
   ========================================================= */
.why{
  padding: 5rem 0;
  background: var(--cream-2);
  position: relative;
}
.why__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why__card{
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why__card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--wood);
}
.why__icon{
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--wood-soft);
  color: var(--gold-deep);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.why__icon svg{ width: 28px; height: 28px; }
.why__card:hover .why__icon{ background: var(--gold); color: var(--ink); }
.why__card h3{ margin-bottom: .6rem; }
.why__card p{ margin: 0; font-size: .98rem; }

/* =========================================================
   Campuses
   ========================================================= */
.campuses{ padding: 5rem 0; }
.campus__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.campus{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.campus:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.campus__image{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.campus__image img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.campus:hover .campus__image img{ transform: scale(1.05); }
.campus__tag{
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  background: rgba(247,243,237,.92);
  color: var(--ink);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.campus__body{ padding: 2.2rem; }
.campus__body h3{ margin-bottom: .3rem; }
.campus__addr{
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.campus__pin{
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: -1px;
}
.campus__meta{
  list-style: none;
  padding: 0; margin: 1.5rem 0;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.campus__meta li{ font-size: .85rem; color: var(--ink-soft); }
.campus__meta strong{ color: var(--ink); font-weight: 600; }
.campus__ctas{ display: flex; gap: .75rem; flex-wrap: wrap; }

/* =========================================================
   Classroom experience
   ========================================================= */
.classroom{
  padding: 5rem 0;
  background: var(--ink);
  color: var(--cream);
}
.classroom .section-head h2{ color: var(--cream); }
.classroom .section-head p{ color: rgba(247,243,237,.75); }
.classroom__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.area{
  background: #244f63;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.area:hover{ transform: translateY(-5px); }
.area__img{ aspect-ratio: 4/3; overflow: hidden; }
.area__img img{
  width:100%; height:100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.area:hover .area__img img{ transform: scale(1.08); }
.area__body{ padding: 1.5rem 1.6rem 1.8rem; }
.area__body h4{
  color: var(--cream);
  font-size: 1.35rem;
  margin-bottom: .4rem;
}
.area__body p{
  color: rgba(247,243,237,.72);
  margin: 0;
  font-size: .95rem;
}
.area--feature{
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
}
.area--feature .area__body{ padding: 2.2rem; }
.area--feature h4{ color: var(--ink); font-size: 1.7rem; }
.area--feature p{ color: var(--ink-soft); }
.area--feature .link-arrow{ color: var(--ink); }
.area--feature .link-arrow:hover{ border-color: var(--ink); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials{
  padding: 5rem 0;
  background: var(--sage);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.testimonials::before{
  content:"";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(217,164,65,.12);
}
.slider{
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.slider__track{
  position: relative;
  min-height: 340px;
}
.slide{
  position: absolute; inset: 0;
  margin: 0;
  padding: 0 2rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-48px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), visibility 0s .65s;
}
.slide.is-active{
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.slide__quote{
  width: 44px; height: 44px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  opacity: .85;
}
.slide p{
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  color: var(--cream);
  font-weight: 400;
  margin: 0 0 2rem;
  font-style: italic;
}
.slide footer{ display: flex; flex-direction: column; gap: 2px; }
.slide strong{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}
.slide span{
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247,243,237,.75);
}

.slider__controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.slider__btn{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(247,243,237,.4);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.slider__btn:hover{
  background: var(--cream);
  color: var(--sage-deep);
  border-color: var(--cream);
}
.slider__btn svg{ width: 18px; height: 18px; }
.slider__dots{
  display: flex;
  gap: .55rem;
  align-items: center;
}
.slider__dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247,243,237,.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.slider__dot.is-active{
  background: var(--gold);
  width: 26px;
  border-radius: 999px;
}

/* =========================================================
   Enrollment steps
   ========================================================= */
.enroll{ padding: 5rem 0; background: var(--cream); }
.steps{
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num{
  font-family: var(--sans);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.step h3{ margin-bottom: .5rem; }
.step p{ margin-bottom: 1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ padding: 5rem 0; background: var(--white); }
.faq__grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.faq__head{ position: sticky; top: 110px; }
.faq__head h2{ margin-bottom: 1.2rem; }
.faq__head .btn{ margin-top: 1rem; }

.faq__item{
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq__item summary{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__item summary:hover{ color: var(--gold-deep); }

.faq__icon{
  position: relative;
  width: 24px; height: 24px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after{
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__icon::before{
  top: 11px; left: 0;
  width: 24px; height: 2px;
}
.faq__icon::after{
  top: 0; left: 11px;
  width: 2px; height: 24px;
}
.faq__item[open] .faq__icon::after{ transform: rotate(90deg); opacity: 0; }
.faq__item[open] summary{ color: var(--gold-deep); }
.faq__item[open] .faq__icon::before{ background: var(--gold-deep); }

.faq__body{
  overflow: hidden;
}
.faq__body p{
  padding-top: 1rem;
  margin: 0;
  font-size: 1rem;
  max-width: 560px;
}

/* =========================================================
   Final CTA / Contact
   ========================================================= */
.cta{
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(29,67,84,.94) 0%, rgba(20,50,65,.96) 100%),
    url("assets/cta-03.jpg") center/cover no-repeat;
  color: var(--cream);
  position: relative;
}
.cta__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.cta__copy h2{
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.cta__copy p{
  color: rgba(247,243,237,.8);
  font-size: 1.1rem;
  max-width: 440px;
}
.cta__list{
  list-style: none;
  padding: 0; margin: 2.5rem 0 0;
  display: flex; flex-direction: column;
  gap: 1.2rem;
}
.cta__list li{
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.05rem;
  color: var(--cream);
}
.cta__list svg{
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.cta__list a{ color: var(--cream); border-bottom: 1px solid transparent; }
.cta__list a:hover{ color: var(--gold); border-bottom-color: var(--gold); }

/* All buttons inside the dark .cta section — must be light/accent to read against dark bg */
.cta .btn--primary{
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cta .btn--primary:hover{
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 6px 28px rgba(0,0,0,.25);
}
.cta .btn--ghost{
  border-color: rgba(247,243,237,.75);
  color: var(--cream);
  background: rgba(247,243,237,.1);
}
.cta .btn--ghost:hover{
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* More-specific overrides for the copy column (same intent, kept for explicitness) */
.cta__copy .btn--primary{
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cta__copy .btn--primary:hover{
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 6px 28px rgba(0,0,0,.25);
}

.cta__form{
  background: var(--cream);
  color: var(--ink);
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cta__form h3{
  font-size: 1.65rem;
  margin-bottom: 1.6rem;
  color: var(--ink);
}
.field{ margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label{
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.field__opt{
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea{
  font-family: var(--sans);
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,.18);
}
.field textarea{ resize: vertical; min-height: 100px; }
.field input.is-invalid,
.field select.is-invalid{
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192,106,77,.12);
}

/* ---- Custom select component ---- */
.csel{ position: relative; }
.csel__btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.csel__btn--placeholder{ color: var(--muted); }
.csel.is-open .csel__btn{
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,125,175,.12);
}
.csel__chevron{
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.csel.is-open .csel__chevron{ transform: rotate(180deg); }
.csel__dropdown{
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px -15px rgba(29,67,84,.2);
  padding: .4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transform-origin: top center;
  transition: opacity .25s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s .25s;
  z-index: 200;
}
.csel.is-open .csel__dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity .25s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1);
}
.csel__option{
  display: block;
  width: 100%;
  padding: .65rem 1rem;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s, color .15s, transform .15s;
}
.csel__option:hover{ background: var(--cream-2); color: var(--teal); transform: translateX(3px); }
.csel__option.is-selected{ color: var(--teal); font-weight: 500; }
.csel__option--placeholder{ color: var(--muted); }
.csel.is-invalid .csel__btn{
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192,106,77,.12);
}

/* ---- Custom date picker ---- */
.cdp{ position: relative; }
.cdp__btn{
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cdp__btn svg{ color: var(--teal); flex-shrink: 0; }
.cdp__val--placeholder{ color: var(--muted); }
.cdp.is-open .cdp__btn{
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,125,175,.12);
}
.cdp__popup{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 296px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px -15px rgba(29,67,84,.22);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transform-origin: top left;
  transition: opacity .25s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s .25s;
  z-index: 200;
}
.cdp__popup.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity .25s cubic-bezier(.2,.8,.2,1), transform .25s cubic-bezier(.2,.8,.2,1);
}
.cdp__nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.cdp__label{
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.cdp__arrow{
  width: 30px; height: 30px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.cdp__arrow:hover{ background: var(--cream-2); color: var(--teal); }
.cdp__weekdays{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: .25rem;
}
.cdp__weekdays span{
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .35rem 0;
}
.cdp__days{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cdp__day{
  border: 0;
  background: transparent;
  border-radius: 7px;
  width: 100%;
  aspect-ratio: 1;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s, transform .15s;
}
.cdp__day:hover{ background: var(--cream-2); color: var(--teal); transform: scale(1.1); }
.cdp__day--today{ color: var(--teal); font-weight: 700; }
.cdp__day--selected{
  background: var(--teal);
  color: var(--white) !important;
  font-weight: 600;
  transform: none !important;
}
.cdp__day--selected:hover{ background: var(--teal-deep); }

.cta__form .btn{
  margin-top: .5rem;
  background: var(--ink);
  color: var(--cream);
}
.cta__form .btn:hover{
  background: var(--teal);
  color: #fff;
}
.form__note{
  margin-top: .9rem;
  font-size: .8rem;
  text-align: center;
  color: var(--muted);
}
.form__success{
  background: var(--wood-soft);
  color: var(--ink);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-top: 1rem;
  font-size: .95rem;
  text-align: center;
  border: 1px solid var(--wood);
}

/* =========================================================
   Footer
   ========================================================= */
.footer{
  background: #143241;
  color: rgba(247,243,237,.75);
  padding: 5rem 0 2rem;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,243,237,.1);
}
.footer__brand p{
  max-width: 320px;
  margin-top: 1.2rem;
  color: rgba(247,243,237,.7);
  font-size: .95rem;
}
.footer h5{
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .22em;
  margin-bottom: 1.2rem;
}
.footer ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer ul a{ color: rgba(247,243,237,.8); font-size: .95rem; }
.footer ul a:hover{ color: var(--gold); }
.footer__bottom{
  padding-top: 1.8rem;
  display: flex; justify-content: space-between;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid rgba(247,243,237,.15);
}
.footer__bottom p, .footer__bottom .footer__tag{
  color: rgba(247,243,237,.92);
  margin: 0;
}

/* =========================================================
   Floating CTA (mobile)
   ========================================================= */
.float-cta{
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 70;
  background: var(--navy);
  color: #fff;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(29,67,84,.5);
  transition: transform .3s var(--ease), background .2s;
}
.float-cta:hover{ transform: translateY(-3px); background: var(--teal); color: #fff; }
.float-cta svg{ width: 18px; height: 18px; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
/* Buttons with .reveal: restore snappy hover transitions.
   Specificity (0,1,0,1) beats .reveal (0,1,0,0) so this always wins. */
a.btn, button.btn{
  transition:
    background .3s var(--ease),
    color       .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow  .3s var(--ease),
    transform   .3s var(--ease),
    opacity     .7s var(--ease);   /* still fades in on reveal */
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation: none !important;
    transition: none !important;
  }
  .reveal{ opacity: 1; transform: none; }
}

/* =========================================================
   Dropdown nav
   ========================================================= */
.nav__link{
  color: var(--ink); font-size:.95rem; font-weight:500; padding:.25rem 0;
  display:inline-flex; align-items:center; gap:.35rem;
}
.nav__link.is-active{ color: var(--teal); }
.nav__link[aria-current="page"]{ color: var(--teal); }

.nav__dropdown{ position:relative; }

/* Transparent bridge fills the gap between the trigger and the dropdown
   so the mouse doesn't exit .nav__dropdown while crossing it */
.nav__dropdown::after{
  content: '';
  position: absolute;
  top: 100%;
  left: -12px; right: -12px;
  height: 20px; /* covers the 14px gap + buffer */
}

.nav__chevron{
  flex-shrink:0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.nav__dropdown.is-open .nav__chevron{ transform:rotate(180deg); }

/* arrow tip pointing up */
.nav__sub::before{
  content:"";
  position:absolute; top:-7px; left:50%; transform:translateX(-50%);
  border:7px solid transparent;
  border-bottom-color: var(--line);
  border-top:0;
}
.nav__sub::after{
  content:"";
  position:absolute; top:-5px; left:50%; transform:translateX(-50%);
  border:6px solid transparent;
  border-bottom-color: var(--white);
  border-top:0;
}

.nav__sub{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  /* single clean starting transform — no duplicate */
  transform: translateX(-50%) translateY(-10px) scale(.97);
  transform-origin: top center;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: 0 20px 60px -20px rgba(29,67,84,.22), 0 4px 20px -4px rgba(29,67,84,.10);
  padding:.55rem;
  min-width:220px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:
    opacity .28s cubic-bezier(.2,.8,.2,1),
    transform .28s cubic-bezier(.2,.8,.2,1),
    visibility 0s .28s;
  z-index:200;
}
.nav__dropdown.is-open .nav__sub{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity .28s cubic-bezier(.2,.8,.2,1),
    transform .28s cubic-bezier(.2,.8,.2,1);
}
.nav__sub a{
  display:flex; flex-direction:column; gap:2px;
  padding:.7rem 1rem; border-radius:10px; color:var(--ink);
  font-size:.9rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav__sub a:hover{
  background:var(--cream-2); color:var(--teal);
  transform: translateX(3px);
}
.nav__sub a strong{ font-weight:600; font-size:.92rem; line-height:1.2; }
.nav__sub a span{ font-size:.76rem; color:var(--muted); margin-top:1px; }

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero{
  position:relative; min-height:52vh; display:flex; align-items:flex-end;
  isolation:isolate; overflow:hidden; color:var(--cream);
}
.page-hero__media{ position:absolute; inset:0; z-index:-1; }
.page-hero__media img{ width:100%; height:100%; object-fit:cover; }
.page-hero__scrim{
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(29,67,84,.88) 0%, rgba(29,67,84,.65) 55%, rgba(10,60,80,.7) 100%);
}
.page-hero__content{
  width:min(92%, var(--container)); margin:0 auto;
  padding:4rem 0 2.5rem;
}
.page-hero .eyebrow{ color:var(--wood); margin-bottom:.75rem; }
.page-hero h1{ color:var(--cream); font-size:clamp(2rem,5vw,3.6rem); margin:0; }
.page-hero p{ color:rgba(247,243,237,.85); max-width:580px; font-size:1.1rem; margin-top:.8rem; }
.breadcrumb{
  display:flex; gap:.4rem; align-items:center;
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(247,243,237,.6); margin-bottom:1.2rem;
}
.breadcrumb a{ color:rgba(247,243,237,.7); }
.breadcrumb a:hover{ color:var(--cream); }
.breadcrumb span{ color:rgba(247,243,237,.4); }

/* =========================================================
   Two-col content layout (inner pages)
   ========================================================= */
.content-section{ padding:4rem 0; }
.content-section--alt{ background:var(--cream-2); }
.content-section--dark{ background:var(--navy); color:var(--cream); }
.content-section--dark h2,.content-section--dark h3{ color:var(--cream); }
.content-section--dark p{ color:rgba(247,243,237,.82); }

.content-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
}
.content-grid--reverse .content-grid__media{ order:-1; }
.content-grid__copy h2{ margin-bottom:1.2rem; }
.content-grid__copy p{ font-size:1.05rem; }

.content-grid__media{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.content-grid__media img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:4/3; }

/* =========================================================
   Program highlights cards
   ========================================================= */
.highlights{ padding:4rem 0; background:var(--cream); }
.highlights__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.highlight{
  padding:2rem 1.8rem; border-radius:var(--radius); border:1px solid var(--line);
  background:var(--white); transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.highlight:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.highlight__icon{
  width:52px; height:52px; border-radius:14px;
  background:rgba(10,125,175,.1); color:var(--teal);
  display:grid; place-items:center; margin-bottom:1.2rem;
}
.highlight__icon svg{ width:26px; height:26px; }
.highlight h4{ margin-bottom:.4rem; font-size:1.2rem; }
.highlight p{ font-size:.95rem; margin:0; }

/* =========================================================
   Schedule / info table
   ========================================================= */
.schedule-table{ width:100%; min-width:560px; border-collapse:collapse; font-size:.95rem; }
.schedule-table th{
  background:var(--navy); color:var(--cream); padding:1rem 1.4rem;
  text-align:left; font-family:var(--sans); font-size:.8rem;
  letter-spacing:.14em; text-transform:uppercase;
}
.schedule-table th:first-child{ border-radius:var(--radius-sm) 0 0 0; }
.schedule-table th:last-child{ border-radius:0 var(--radius-sm) 0 0; }
.schedule-table td{ padding:.9rem 1.4rem; border-bottom:1px solid var(--line); color:var(--ink-soft); }
.schedule-table tr:last-child td{ border-bottom:0; }
.schedule-table tr:hover td{ background:var(--cream-2); }
.schedule-table strong{ color:var(--ink); }

/* =========================================================
   Stat row
   ========================================================= */
.stats{ display:flex; gap:3rem; flex-wrap:wrap; margin:2.5rem 0; }
.stat strong{ font-family:'Playfair Display', var(--serif); font-size:2.6rem; color:var(--teal); font-weight:900; letter-spacing:-.01em; display:block; }
.stat span{ font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }

/* =========================================================
   Checklist
   ========================================================= */
.checklist{ list-style:none; padding:0; margin:1.5rem 0; display:flex; flex-direction:column; gap:.8rem; }
.checklist li{
  display:flex; gap:1rem; align-items:flex-start;
  font-size:1rem; color:var(--ink-soft);
}
.checklist li::before{
  content:""; display:block; width:22px; height:22px; flex-shrink:0; margin-top:1px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l4 4 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius:50%;
}

/* =========================================================
   Steps (admissions)
   ========================================================= */
.adm-steps{ display:flex; flex-direction:column; gap:0; counter-reset:step; }
.adm-step{
  display:grid; grid-template-columns:72px 1fr; gap:1.5rem;
  padding:2rem 0; border-bottom:1px solid var(--line); align-items:start;
}
.adm-step:last-child{ border-bottom:0; }
.adm-step__num{
  width:60px; height:60px; border-radius:50%;
  background:var(--accent); color:var(--navy-deep);
  display:grid; place-items:center;
  font-family:var(--sans); font-size:1.35rem; font-weight:700;
  flex-shrink:0; letter-spacing:-.01em;
  box-shadow: 0 4px 14px rgba(217,164,65,.35);
}
.adm-step__body h3{ margin-bottom:.4rem; }
.adm-step__body p{ margin:0; font-size:.98rem; }
.adm-step__body a{ color:var(--teal); font-weight:600; }
.adm-step__body a:hover{ color:var(--teal-deep); }

/* =========================================================
   Campus detail card
   ========================================================= */
.campus-detail{ padding:5rem 0; }
.campus-detail__hero{
  border-radius:var(--radius-lg); overflow:hidden; margin-bottom:3rem;
  aspect-ratio:21/8; box-shadow:var(--shadow-lg);
}
.campus-detail__hero img{ width:100%; height:100%; object-fit:cover; }
.campus-info-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:1.5rem; margin:2rem 0; }
.campus-info-card{
  background:var(--cream-2); border-radius:var(--radius); padding:1.8rem;
  border:1px solid var(--line);
}
.campus-info-card h4{ font-size:1.3rem; font-weight:600; margin-bottom:.75rem; color:var(--ink); }
.campus-info-card p,.campus-info-card li{ font-size:.95rem; color:var(--ink-soft); }
.campus-info-card ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.4rem; }

/* =========================================================
   Find Us cards (contact page)
   ========================================================= */
.find-us-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.find-us-card__header{
  background: var(--navy);
  padding: 2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.find-us-card__pin{
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: .25rem;
}
.find-us-card__header h3{
  font-size: 1.55rem;
  color: var(--cream);
  margin: 0;
  font-weight: 500;
}
.find-us-card__neighbourhood{
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(247,243,237,.72);
  margin: 0;
}
.find-us-card__body{
  padding: 1.8rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.find-us-card__list{
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
}
.find-us-card__list li{
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.find-us-card__list svg{
  width: 16px; height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}
.find-us-card__list a{
  color: var(--ink-soft);
  transition: color .2s;
}
.find-us-card__list a:hover{ color: var(--teal); }

/* =========================================================
   Contact page
   ========================================================= */
.contact-split{ display:grid; grid-template-columns:1fr 1fr; gap:5rem; padding:4rem 0; }
.contact-campus{
  background:var(--cream-2); border-radius:var(--radius-lg);
  padding:2.5rem; border:1px solid var(--line); margin-bottom:1.5rem;
}
.contact-campus h3{ margin-bottom:1rem; }
.contact-campus__meta{ display:flex; flex-direction:column; gap:.7rem; }
.contact-campus__meta li{
  display:flex; align-items:flex-start; gap:.85rem;
  font-size:.97rem; color:var(--ink-soft);
}
.contact-campus__meta svg{ width:18px; height:18px; color:var(--teal); flex-shrink:0; margin-top:2px; }
.contact-campus__meta a{ color:var(--ink); font-weight:500; }
.contact-campus__meta a:hover{ color:var(--teal); }

/* =========================================================
   Footer logos
   ========================================================= */
.footer__logos{ display:flex; gap:1.8rem; align-items:center; margin-top:1.5rem; flex-wrap:wrap; }
.footer__logos img{ height:52px; width:auto; opacity:.9; }
.footer__logos a{ display:inline-flex; align-items:center; transition:opacity .2s; }
.footer__logos a:hover{ opacity:.7; }

/* =========================================================
   Gallery grid (campus pages)
   ========================================================= */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1rem;
}
.gallery-grid img{
  width:100%; aspect-ratio:1; object-fit:cover;
  border-radius:var(--radius); transition:transform .5s var(--ease);
}
.gallery-grid img:hover{ transform:scale(1.04); }

/* =========================================================
   Team grid (about page)
   ========================================================= */
.team-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-bottom:2.5rem;
}
.team-card{
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:2rem 1.5rem; text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.team-card__avatar{
  width:72px; height:72px; border-radius:50%; margin:0 auto 1rem;
  background:var(--navy); color:var(--cream);
  display:grid; place-items:center;
  font-family:var(--serif); font-size:2rem; font-weight:500;
}
.team-card h4{ margin-bottom:.2rem; }
.team-card__role{
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal); font-weight:600; margin-bottom:.6rem;
}
.team-card p{ font-size:.92rem; color:var(--ink-soft); margin:0; }
.team-note{ text-align:center; color:var(--muted); font-size:.95rem; max-width:640px; margin:0 auto; }

/* Photo avatar (replaces letter avatar) */
.team-card__photo{
  width:96px; height:96px; border-radius:50%;
  object-fit:cover; object-position:top center;
  margin:0 auto 1rem; display:block;
  border:3px solid var(--line);
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

/* Team group (admin / sorauren / christie) */
.team-group{ margin-bottom:3.5rem; }
.team-group:last-child{ margin-bottom:0; }
.team-group__label{
  font-family:var(--sans); font-size:.72rem; letter-spacing:.18em;
  text-transform:uppercase; font-weight:700; color:var(--teal);
  border-bottom:2px solid var(--line);
  padding-bottom:.75rem; margin-bottom:1.75rem;
}

/* Story photo triptych */
.story-triptych{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:.75rem; margin-top:2.5rem;
  border-radius:var(--radius-lg); overflow:hidden;
}
.story-triptych img{
  width:100%; aspect-ratio:4/3;
  object-fit:cover; display:block;
}

/* =========================================================
   Timeline (about page)
   ========================================================= */
.timeline{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}

/* Gradient line through all dot centres */
.timeline::before{
  content: "";
  position: absolute;
  /* year (1.8rem) + margin-bottom (1.1rem) + half-dot (8px with border-box) */
  top: calc(2.9rem + 8px);
  left: 12.5%;    /* mid-point of col 1 */
  right: 12.5%;   /* mid-point of col 4 */
  height: 1px;
  background: linear-gradient(90deg,
    rgba(217,164,65,.85) 0%,
    rgba(247,243,237,.18) 28%,
    rgba(247,243,237,.18) 72%,
    rgba(217,164,65,.85) 100%
  );
  z-index: 0;
}

.timeline__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.1rem;
  position: relative;
}

/* Glowing dot — sits on the connecting line */
.timeline__item::before{
  content: "";
  order: 2;
  box-sizing: border-box;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #183040;
  box-shadow: 0 0 0 2px rgba(217,164,65,.55), 0 0 18px rgba(217,164,65,.4);
  flex-shrink: 0;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.timeline__year{
  order: 1;
  /* strip old pill */
  position: static;
  background: none;
  padding: 0;
  border-radius: 0;
  /* new style */
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .02em;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.timeline__body{
  order: 3;
  width: 100%;
  background: rgba(247,243,237,.07);
  border: 1px solid rgba(247,243,237,.1);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  position: relative;
}

/* Thin vertical connector: dot → card */
.timeline__body::before{
  content: "";
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1.4rem;
  background: rgba(217,164,65,.25);
}

.timeline__body h4{
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: .5rem;
}

.timeline__body p{
  color: rgba(247,243,237,.62);
  font-size: .88rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   Accreditation logos (about page)
   ========================================================= */
.accred-logos{
  display:grid; grid-template-columns:1fr 1fr; gap:2rem; max-width:700px; margin:0 auto;
}
.accred-logo{
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:2rem; text-align:center;
}
.accred-logo img{
  max-height:60px; width:auto; max-width:200px; margin:0 auto 1rem; display:block;
}
.accred-logo p{ font-size:.9rem; color:var(--ink-soft); margin:0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .trust__grid{ grid-template-columns: repeat(3, 1fr); }
  .nav__links{ display: none; }
  .nav__phone{ display: none; }
  .nav__book{ display: none; }
  .nav__burger{ display: block; }
  .why__grid, .classroom__grid{ grid-template-columns: repeat(2, 1fr); }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .faq__grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__head{ position: static; }
  .approach__grid{ gap: 3rem; }
  /* inner pages */
  .content-grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .content-grid--reverse .content-grid__media{ order: 0; }
  .highlights__grid{ grid-template-columns: repeat(2,1fr); }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
  .timeline{ grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .timeline::before{ display: none; }
  .campus-info-grid{ grid-template-columns: 1fr; }
  .contact-split{ grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .accred-logos{ grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 780px){
  section{ padding-left: 0; padding-right: 0; }
  .approach, .why, .campuses, .classroom, .testimonials, .enroll, .faq, .cta{
    padding: 3.5rem 0;
  }
  .content-section{ padding: 3rem 0; }
  .highlights{ padding: 3rem 0; }
  .hero{ min-height: 86vh; }
  .hero__content{
    padding: 5rem 0 3.5rem;
    grid-template-columns: 1fr;
  }
  .hero__card{ display: none; }
  .hero__meta{ gap: 1.5rem; flex-wrap: wrap; }
  .hero__meta strong{ font-size: 1.6rem; }

  .section-head{ margin-bottom: 1.75rem; }
  .trust__grid{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .trust__grid li{ font-size: .8rem; }

  .approach__grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .approach__media{ aspect-ratio: 4/5; max-width: 440px; margin: 0 auto; width: 100%; }
  .approach__badge{ left: 0; bottom: -20px; }

  .why__grid{ grid-template-columns: 1fr; }
  .why__card{ padding: 2rem 1.5rem; text-align: center; }
  .why__icon{ margin-left: auto; margin-right: auto; }

  .campus__grid{ grid-template-columns: 1fr; }
  .campus__body{ padding: 1.8rem; }

  .classroom__grid{ grid-template-columns: 1fr; }

  .steps{ grid-template-columns: 1fr; }

  .cta__grid{ grid-template-columns: 1fr; gap: 2.5rem; }
  .cta__form{ padding: 2rem 1.6rem; }
  .field-row{ grid-template-columns: 1fr; gap: 0; }

  .footer__grid{ grid-template-columns: 1fr; gap: 2rem; }
  .footer{ padding: 3.5rem 0 1.5rem; }
  .footer__bottom{ justify-content: center; text-align: center; }

  .float-cta{ display: inline-flex; }
}

@media (max-width: 480px){
  .hero__ctas{ flex-direction: column; align-items: stretch; }
  .hero__ctas .btn{ width: 100%; }
  .announcement__inner{ font-size: .78rem; padding: .5rem 0; }
  .highlights__grid{ grid-template-columns: 1fr; }
  .highlight{ text-align: center; }
  .highlight__icon{ margin-left: auto; margin-right: auto; }
  .team-grid{ grid-template-columns: 1fr; }
  .story-triptych{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline::before{ display: none; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .campus-info-grid{ grid-template-columns: 1fr; }
  .adm-step{ grid-template-columns: 56px 1fr; gap: 1rem; }
}
