@import url("fonts.css");

:root {
  --cream: #f8f6f0;
  --paper: #ffffff;
  --sand: #f1ebe1;
  --sage: #e7efe8;
  --ink: #2c2a28;
  --mist: #5f5c57;
  --forest: #1e4a3c;
  --forest-deep: #16382e;
  --line: #e4dfd6;
  --band: var(--sage);
  --radius: 1.25rem;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --measure: 40rem;
  --site: 74rem;
  --pad: 1.25rem;
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 5rem;
  --s7: 7rem;
  --header: 4.25rem;
  --photo: 4 / 3;
}

@media (min-width: 48rem) {
  :root { --pad: 2rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p, h1, h2, h3, h4, blockquote, figure, dl, ul, ol { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  text-align: left;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 1rem;
  border-radius: 999px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--site), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.reading { max-width: var(--measure); }

/* Type */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  line-height: 1.4;
}
.display {
  font-size: clamp(2.5rem, 7vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
}
.lede, .prose p, .blurb, .stat dd, figcaption, .muted, .faq-a, .footer-copy {
  color: var(--mist);
}
.lede { font-size: 1.125rem; line-height: 1.65; }
.hero-copy .lede { font-size: 1.2rem; margin-top: var(--s3); max-width: 34rem; }
.prose { display: flex; flex-direction: column; gap: var(--s2); }
.stack { display: flex; flex-direction: column; gap: var(--s2); }

/* Photos: one ratio, one radius, a light warm treatment (brighter than v3) */
.photo {
  position: relative;
  aspect-ratio: var(--photo);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(0.99) brightness(1.04);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #c4a882;
  mix-blend-mode: multiply;
  opacity: 0.06;
  pointer-events: none;
}
.photo-view img { object-position: 78% 28%; }
.photo-face img { object-position: 50% 18%; }
.photo-kahlia img { object-position: 50% 12%; }
figcaption {
  margin-top: var(--s1);
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream) 96%, transparent);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: var(--s2);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.wordmark span {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.logo-mark { width: 1.55rem; height: 1.55rem; display: block; }

.nav-desktop { display: none; align-items: center; gap: 1.15rem; }
.nav-desktop a:not(.btn) {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mist);
  white-space: nowrap;
}
.nav-desktop a:not(.btn):hover,
.nav-desktop a.is-active { color: var(--ink); }
.nav-desktop .btn {
  margin-left: 0.35rem;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 2.5rem;
  padding: 0.4rem 1.15rem;
  font-size: 0.8125rem;
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
}
.menu-toggle svg { width: 1.2rem; height: 1.2rem; }

.nav-mobile[hidden] { display: none !important; }
.nav-mobile {
  display: block;
  border-top: 1px solid var(--line);
  padding: var(--s2) 0 var(--s3);
  background: var(--cream);
}
.nav-mobile ul { list-style: none; padding: 0; margin: 0; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn { width: 100%; margin-top: var(--s3); justify-content: center; }

@media (min-width: 68rem) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons — fully pill, like the reference */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.btn svg { width: 1rem; height: 1rem; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--cream); }
.btn-paper { background: var(--paper); color: var(--forest); }
.btn-paper:hover { background: var(--cream); }
.btn[disabled] { opacity: 0.65; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header / section block */
.block-head { max-width: 36rem; }
.block-head .display,
.block-head .title { margin-top: var(--s2); }
.block-head .lede { margin-top: var(--s3); }

/* Hero */
.hero { padding: var(--s5) 0 var(--s6); }
.hero-grid { display: grid; gap: var(--s4); }
.hero-copy .actions { margin-top: var(--s4); }
.hero-copy .display { margin-top: var(--s2); }

@media (min-width: 56rem) {
  .hero { padding: var(--s6) 0 var(--s7); }
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--s6);
    align-items: center;
  }
}

/* Soft colour bands */
.band {
  background: var(--band);
  padding: var(--s6) 0;
}
.band-sage { background: var(--sage); }
.band-sand { background: var(--sand); }
.band-cream { background: var(--cream); }
.band-paper { background: var(--paper); }

@media (min-width: 56rem) {
  .band { padding: var(--s7) 0; }
}

/* Stats — large typographic numbers on a soft band */
.stats {
  display: grid;
  gap: var(--s4);
}
.stat dt {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
}
.stat dd { margin-top: var(--s2); font-size: 1rem; line-height: 1.5; max-width: 18rem; }

@media (min-width: 48rem) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s5);
  }
  .stat dd { max-width: none; }
}

/* Featured rows */
.features { padding: var(--s6) 0 var(--s5); }
.features .block-head { margin-bottom: var(--s5); }
.feature {
  display: grid;
  gap: var(--s3);
  padding: var(--s5) 0 0;
}
.feature + .feature { margin-top: var(--s4); }
.feature .title { margin-top: var(--s1); }
.feature .blurb { margin-top: var(--s2); font-size: 1.0625rem; }
.feature .more { margin-top: var(--s3); }
@media (min-width: 56rem) {
  .features { padding: var(--s7) 0 var(--s6); }
  .feature-copy { padding-top: 0.4rem; }
  .feature {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 0;
  }
  .feature + .feature { margin-top: var(--s7); }
  .feature.is-flip .feature-copy { order: -1; }
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.more svg { width: 1rem; height: 1rem; }
.more:hover { gap: 0.6rem; }

/* Explore cards — equal photo tiles, balanced grid */
.page-list { padding: var(--s6) 0; }
.page-list .block-head { margin-bottom: var(--s5); }
.links {
  display: grid;
  gap: var(--s4);
}
.explore-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.explore-card .photo { width: 100%; }
.explore-copy { padding-top: var(--s3); display: flex; flex-direction: column; flex: 1; }
.explore-card .title { font-size: 1.45rem; margin-top: 0.35rem; letter-spacing: -0.03em; }
.explore-card .blurb { margin-top: 0.5rem; }
.explore-card .more { margin-top: var(--s2); }
.explore-card:hover .title { color: var(--forest); }

@media (min-width: 48rem) {
  .page-list { padding: var(--s7) 0; }
  .links {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s5) var(--s4);
  }
  .explore-card { grid-column: span 2; }
  /* 5 items: last two share a full row so nothing sits alone */
  .explore-card:nth-child(3n+1):nth-last-child(2),
  .explore-card:nth-child(3n+2):last-child {
    grid-column: span 3;
  }
}

/* Enquire band */
.enquire-grid { display: grid; gap: var(--s4); align-items: center; }
.enquire-copy .actions { margin-top: var(--s4); }
.enquire-copy .title { margin-top: var(--s1); }
.enquire-copy .lede { margin-top: var(--s2); }

@media (min-width: 56rem) {
  .enquire-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: var(--s3);
}
.contact-stack a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  width: fit-content;
}
.contact-stack a:hover { color: var(--forest); }
.contact-stack svg { width: 1.1rem; height: 1.1rem; color: var(--forest); flex-shrink: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s5) 0;
  background: var(--cream);
}
.footer-grid { display: flex; flex-direction: column; gap: var(--s3); }
.footer-copy { margin-top: var(--s1); font-size: 0.9rem; }
.footer-contact { font-size: 0.9rem; color: var(--mist); }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--ink); }
.dot { margin: 0 0.5rem; }

@media (min-width: 48rem) {
  .site-footer { padding: var(--s6) 0; }
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }
}

/* Inner pages */
.page-head { padding: var(--s5) 0 var(--s4); }
@media (min-width: 48rem) {
  .page-head { padding: var(--s6) 0 var(--s5); }
}

.page-split {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s4);
  align-items: start;
}
.page-intro .lede { margin: 0; }
.page-intro .prose { margin: 0; }
.page-intro .actions { margin-top: var(--s4); }

.content-grid { display: grid; gap: var(--s4); }
.prices { display: grid; gap: 0; }

@media (min-width: 48rem) {
  .page-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    margin-top: var(--s5);
    align-items: center;
  }
  .content-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s6); }
  .content-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: var(--s4) var(--s5); }
  .prices { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .prices .price { padding-right: 0; }
  .points { grid-template-columns: 1fr 1fr 1fr; gap: var(--s4) var(--s5); }
}

.page-head .page-split { margin-top: var(--s4); }
.page-intro .prices { grid-template-columns: 1fr; }
.page-intro .price { padding: var(--s3) 0; }
.page-body { padding: 0 0 var(--s7); }
.page-body .content-grid,
.page-body .points,
.page-body .quote,
.page-body .day-list,
.page-body .actions {
  margin-top: var(--s5);
}

/* Lists and points */
.soft-list { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.soft-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--mist); }
.soft-list svg { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex-shrink: 0; color: var(--forest); }

.points { list-style: none; padding: 0; margin-top: var(--s5); display: grid; gap: var(--s4); }
.point .num {
  font-family: var(--font-sans);
  color: var(--forest);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.point h2 { margin-top: 0.2rem; font-size: 1.45rem; }
.point p { margin-top: 0.45rem; color: var(--mist); }

.quote { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote footer { margin-top: var(--s2); font-size: 0.9rem; color: var(--mist); font-style: normal; font-family: var(--font-sans); }

/* Day list */
.day-list { list-style: none; padding: 0; margin-top: var(--s4); }
.day-item { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.day-item:first-child { border-top: 1px solid var(--line); }
.day-item .when {
  font-family: var(--font-sans);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.day-item h2 { font-size: 1.35rem; margin-top: 0.2rem; }
.day-item p { margin-top: 0.4rem; color: var(--mist); }

/* The one card style */
.card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  padding: var(--s4);
}
.card + .card { margin-top: var(--s2); }
.card h2, .card h3 { font-size: 1.35rem; }
.card .stack { margin-top: var(--s2); }

.price { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.price:first-child { border-top: 1px solid var(--line); }
.price .label { font-size: 0.9375rem; font-weight: 600; color: var(--mist); }
.price .amt {
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 0.4rem;
}
.price .when { margin-top: 0.45rem; color: var(--mist); }

.menu-list { list-style: none; padding: 0; margin-top: var(--s2); display: grid; gap: 0.35rem; color: var(--mist); }

/* Educators */
.person { margin-top: var(--s5); }
.person h2 { font-size: 1.85rem; margin-top: var(--s3); }
.person .pull {
  margin-top: var(--s2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.person .card { margin-top: var(--s2); }
.origin {
  margin-top: var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.origin h3 { font-size: 1.25rem; }
.origin p { margin-top: 0.45rem; color: var(--mist); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 3.4rem;
  padding: 0.95rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-mark { color: var(--mist); font-family: var(--font-sans); font-size: 1.35rem; font-weight: 500; line-height: 1; }
.faq details[open] .faq-mark { color: var(--ink); }
.faq-a { padding: 0 0 var(--s3); }

/* Form */
.field-block { display: flex; flex-direction: column; margin-top: var(--s3); }
.field-block:first-child { margin-top: 0; }
.field-label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.hint { font-size: 0.75rem; font-weight: 400; color: var(--mist); }
.field, select.field, textarea.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.85rem;
  min-height: 3rem;
  padding: 0.65rem 0.95rem;
}
textarea.field { min-height: 7rem; resize: vertical; }
.field:focus, select.field:focus, textarea.field:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 80%, var(--forest));
}
.field[aria-invalid="true"] { border-color: #8f3d28; }
.err { margin-top: 0.35rem; font-size: 0.85rem; color: #8f3d28; }
.err[hidden] { display: none; }
.pair { display: grid; gap: var(--s2); }
.days { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.45rem; }
.chip {
  min-width: 3.3rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 0.9rem; font-weight: 600; }

@media (min-width: 40rem) {
  .pair { grid-template-columns: 1fr 1fr; }
}

.success {
  background: var(--sage);
  color: var(--ink);
  padding: var(--s7) 0;
}
.success .eyebrow { color: var(--forest); }
.success h2 { color: var(--ink); }
.success p { margin-top: var(--s2); font-size: 1.125rem; color: var(--mist); }
.success[hidden] { display: none !important; }

.mt-4 { margin-top: var(--s2); }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: var(--s4); }
.mt-10 { margin-top: var(--s5); }

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

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

@media (min-width: 48rem) {
  .day-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s6);
  }
  .day-item:first-child { border-top: 0; }
  .day-list .day-item:nth-child(1),
  .day-list .day-item:nth-child(2) { border-top: 1px solid var(--line); }
}

/* Icon sizing leftovers from Lucide markup */
.h-5, .w-5 { width: 1.25rem; height: 1.25rem; }
