/* =========================================================
   Areia Surf Co. (demo) — "Salt & Sun"
   Minimal beach vibe: warm sand, deep sea-teal text, one
   sunset-orange accent. Lowercase-led headlines.
   Headlines: Bricolage Grotesque. Text: DM Sans.
   ========================================================= */

:root {
  --sand: #f6f0e4;
  --sand-2: #ece2cf;
  --tide: #123b3a;        /* deep sea-teal: text and dark surfaces */
  --tide-soft: #4d6664;
  --sun: #e8894d;         /* sunset orange: buttons and small accents only */
  --sun-deep: #d9763a;
  --foam: #fffaf1;        /* warm white for text on photos */

  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;

  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--tide);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.is-loading, body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font: 500 0.95rem/1 var(--body);
  transition: background 0.3s ease, transform 0.4s var(--ease);
}
.btn--sun { background: var(--sun); color: var(--tide); }
.btn--sun:hover { background: var(--sun-deep); transform: translateY(-1px); }

/* ---------- Loading screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--sand);
  animation: sunset 1.5s ease-in-out 0.3s forwards;
  transition: transform 0.95s var(--ease);
}
/* sand warms into a soft sunset while the wave draws */
@keyframes sunset { to { background: #f3d9bf; } }
.loader__inner { display: grid; justify-items: center; gap: 14px; }
.loader__wave path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: draw 1.3s var(--ease) 0.15s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fade 0.8s ease 0.5s forwards;
}
@keyframes fade { to { opacity: 1; } }
.loader__bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(18, 59, 58, 0.12); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--sun); transition: width 0.4s ease; }
.loader.is-done { transform: translateY(-100%); }

/* ---------- Menu ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--gutter);
  color: var(--foam);
  transition: background 0.5s ease, color 0.5s ease, padding 0.5s var(--ease), box-shadow 0.5s ease;
}
/* once you scroll off the photo, the menu settles onto sand */
.nav.is-solid {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(246, 240, 228, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--tide);
  box-shadow: 0 1px 0 rgba(18, 59, 58, 0.08);
}
.nav__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav__mark path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 40px); font-size: 0.98rem; }
.nav__links a { position: relative; padding: 4px 0; }
/* small wave-coloured underline that slides in on hover */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }

/* language globe + small dropdown (never a pop-up) */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: 0.85rem; letter-spacing: 0.04em; }
.lang__btn svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  border-radius: 14px;
  background: var(--foam);
  color: var(--tide);
  box-shadow: 0 18px 40px -16px rgba(18, 59, 58, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list button { width: 100%; padding: 9px 12px; border-radius: 9px; text-align: left; font-size: 0.92rem; }
.lang__list button:hover { background: var(--sand); }
.lang__list button[aria-current="true"] { color: var(--sun-deep); font-weight: 500; }

.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.menu-open .nav__burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* phone menu: a sand sheet that slides down */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 64px;
  background: var(--sand);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu-open .sheet { clip-path: inset(0 0 0 0); }
.sheet__links { display: grid; gap: 6px; }
.sheet__links a {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.sheet__links a:last-child { color: var(--sun-deep); }
.menu-open .nav { color: var(--tide); }

@media (max-width: 860px) {
  .nav__links, .nav__book { display: none; }
  .nav__burger { display: block; }
}

/* ---------- First screen ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--foam);
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.08);
  transition: transform 2.4s var(--ease);
}
.is-ready .hero__photo img { transform: scale(1); }
/* soft shade: a little at the top for the menu, a gentle wash in the middle for the headline */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(246, 240, 228, 0.55) 88%, var(--sand) 100%),
    linear-gradient(180deg, rgba(18, 30, 30, 0.34) 0%, transparent 20%),
    radial-gradient(60% 45% at 50% 52%, rgba(18, 30, 30, 0.34), transparent 75%);
  pointer-events: none;
}
/* very fine film grain: makes the photo feel like film and hides its softness */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* text sits in the middle of the screen, place name underneath */
.hero__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(18, 30, 30, 0.3);
}
.hero__place {
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.12em;
  opacity: 0.92;
}

@media (max-width: 699px) {
  .hero__photo img { object-position: 9% 50%; }
  .hero__title { font-size: 3.5rem; }
}

/* ---------- Inner-page headers: shorter, same centred text ---------- */
.hero--page { height: 72svh; min-height: 460px; }
.hero--page .hero__title { font-size: clamp(3rem, 8vw, 6.6rem); }
/* light photo (crew): dark text, no shade */
.hero--light { color: var(--tide); }
.hero--to-book::after {
  background:
    linear-gradient(180deg, transparent 70%, rgba(236, 226, 207, 0.55) 88%, var(--sand-2) 100%),
    linear-gradient(180deg, rgba(18, 30, 30, 0.34) 0%, transparent 20%),
    radial-gradient(60% 45% at 50% 52%, rgba(18, 30, 30, 0.34), transparent 75%);
}
.hero--light::after { background: linear-gradient(180deg, transparent 70%, var(--sand) 100%); }
.nav.on-light:not(.is-solid) { color: var(--tide); }
.hero--light .hero__title { text-shadow: none; }

/* ---------- Page-change wipe ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--sand);
  transform: translateY(0);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.is-ready .curtain { transform: translateY(-100%); }
.is-leaving .curtain { transform: translateY(0); transition-duration: 0.55s; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
/* hovering another link: the current page's line slides away, so only one line shows */
.nav__links:hover a[aria-current="page"]:not(:hover)::after { transform: scaleX(0); transform-origin: right; }

/* ---------- Shared type and layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
h3 { margin: 0; }
.kicker { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--sun-deep); margin-bottom: 12px; }
.link {
  position: relative;
  font-weight: 500;
  padding-bottom: 3px;
  background: linear-gradient(var(--sun), var(--sun)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.link:hover { background-size: 0% 2px; background-position: right bottom; }
.btn--line { border: 1.5px solid currentColor; color: inherit; background: transparent; }
.btn--light { background: var(--foam); color: var(--tide); }
.btn--light:hover { transform: translateY(-1px); }
.btn--tide { background: var(--tide); color: var(--foam); }
.btn--tide:hover { transform: translateY(-1px); }

/* ---------- Short facts ---------- */
.facts { padding: clamp(80px, 11vw, 140px) 0 0; }
.facts .facts__sub { margin-bottom: 0; }
.facts__lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
/* home intro: centred, like the first screen */
.facts .wrap { text-align: center; }
.facts .facts__lead { margin: 0 auto; font-weight: 500; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
.facts__sub { margin: 18px auto 0; max-width: 40ch; color: var(--tide-soft); font-size: 1.1rem; }
.facts .facts__row li { justify-items: center; padding-left: 12px; padding-right: 12px; }
.facts__row {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(18, 59, 58, 0.15);
}
.facts__row li { padding: 24px 24px 0 0; display: grid; gap: 4px; }
.facts__row li + li { padding-left: 24px; border-left: 1px solid rgba(18, 59, 58, 0.1); }
.facts__row b { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; color: var(--sun-deep); }
.facts__row span { color: var(--tide-soft); }
@media (max-width: 700px) {
  .facts__row { grid-template-columns: 1fr; }
  .facts__row li, .facts__row li + li, .facts .facts__row li { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(18, 59, 58, 0.1); }
}

/* ---------- Lessons: expanding hover panels ----------
   Hover one: it widens into full colour, the others narrow and fade. */
.panels {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 12px;
  height: clamp(460px, 70vh, 660px);
}
.panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  color: var(--foam);
  transition: flex 0.7s var(--ease);
}
.panel.is-active { flex: 2.4; }
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), object-position 0.7s var(--ease);
  transform: scale(1.04);
  will-change: transform;
}
.panel.is-active img { transform: scale(1); }
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(236, 226, 207, 0.55);
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.panel.is-active::before { opacity: 0; }
.panel__body { z-index: 2 !important; }
/* improver: pan right so the narrow panel shows the green wave, not the same pose as beginner */
.panel--improver img { object-position: 78% 50%; }
.panel--improver.is-active img { object-position: 60% 50%; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 30, 30, 0.6));
}
.panel__body { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.panel h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.panel p, .panel .btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.panel p { margin: 10px 0 18px; max-width: 30ch; }
.panel.is-active p, .panel.is-active .btn { opacity: 1; transform: none; transition-delay: 0.2s; }
@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 380px; }
  .panel img { transform: none; }
  .panel::before { opacity: 0; }
  .panel p, .panel .btn { opacity: 1; transform: none; }
}

/* ---------- Image + text split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 11vw, 140px);
}
.split--reverse .split__img { order: 2; }
.split__img { border-radius: 20px; overflow: hidden; }
.split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__img img { transform: scale(1.03); }
.split__text p { margin: 18px 0 28px; color: var(--tide-soft); max-width: 36ch; font-size: 1.05rem; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
}

/* ---------- Full-width photo with text ---------- */
.wide { position: relative; height: clamp(520px, 86vh, 820px); overflow: hidden; color: var(--foam); }
.wide--short { height: clamp(420px, 64vh, 600px); }
.wide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide { --blend-top: var(--sand); --blend-bottom: var(--sand); }
.wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--blend-top) 0%, transparent 16%, transparent 84%, var(--blend-bottom) 100%),
    radial-gradient(60% 55% at 50% 55%, rgba(18, 30, 30, 0.42), transparent 80%);
}
/* home: the coast photo leads into the (darker sand) booking section */
.wide--to-book { --blend-bottom: var(--sand-2); }
/* photo right above the footer: fade into the footer's sea-teal */
.wide--to-foot { --blend-bottom: var(--tide); }
.wide__text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
}
.wide__text .h2 { text-shadow: 0 2px 30px rgba(18, 30, 30, 0.3); }
.wide__text p { margin: 16px 0 28px; max-width: 38ch; font-size: 1.05rem; }
.wide__text .h2 + .btn { margin-top: 28px; }

/* ---------- Booking ---------- */
.section--book { background: var(--sand-2); }
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.book__text > p { margin: 18px 0 24px; color: var(--tide-soft); max-width: 34ch; font-size: 1.05rem; }
.book__card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background: var(--foam);
  box-shadow: 0 30px 60px -36px rgba(18, 59, 58, 0.35);
}
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking__field { display: grid; gap: 6px; font-size: 0.85rem; color: var(--tide-soft); }
.booking__field:first-child { grid-column: 1 / -1; }
.booking select, .booking input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(18, 59, 58, 0.18);
  border-radius: 12px;
  background: var(--sand);
  color: var(--tide);
  font: 400 1rem var(--body);
  appearance: none;
  -webkit-appearance: none;
}
.booking select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23123b3a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.booking select:focus, .booking input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(232, 137, 77, 0.18); }
.booking__go { grid-column: 1 / -1; padding: 15px 22px; font-size: 1rem; }
.booking-preview { display: grid; gap: 14px; justify-items: start; }
.booking-preview[hidden], .booking[hidden] { display: none; }
.booking-preview__title { font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.booking-preview__text { color: var(--tide-soft); max-width: 40ch; }
.booking-preview__back { font-size: 0.9rem; color: var(--tide-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .book { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .booking { grid-template-columns: 1fr; }
}

/* ---------- "See more" details ---------- */
.more { margin-top: 18px; border-top: 1px solid rgba(18, 59, 58, 0.14); padding-top: 14px; max-width: 42ch; }
.more summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--sun-deep); font-size: 1.2rem; line-height: 1; transition: transform 0.4s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more p { margin-top: 10px; color: var(--tide-soft); }

/* ---------- Lesson / spot rows ---------- */
.lesson {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.lesson + .lesson { margin-top: clamp(72px, 10vw, 130px); }
.lesson--reverse .lesson__img { order: 2; }
.lesson__img { border-radius: 20px; overflow: hidden; }
.lesson__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1.2s var(--ease); }
.lesson:hover .lesson__img img { transform: scale(1.03); }
.lesson__text > p:not(.kicker) { margin-top: 16px; color: var(--tide-soft); font-size: 1.05rem; max-width: 36ch; }
.ticks { margin-top: 22px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 2px; border-radius: 2px; background: var(--sun); transform: translateY(-4px); }
.facts__lead + .lesson, .section > .wrap:first-child + .lesson { margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 800px) {
  .lesson { grid-template-columns: 1fr; }
  .lesson--reverse .lesson__img { order: 0; }
}

/* ---------- Coaches ---------- */
.coaches {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.coach__img { border-radius: 20px; overflow: hidden; margin-bottom: 18px; }
.coach__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s var(--ease); }
.coach { transition: transform 0.5s var(--ease); }
.coach:hover { transform: translateY(-4px); }
.coach:hover .coach__img img { transform: scale(1.03); }
.coach h3 { font-family: var(--display); font-weight: 500; font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1; }
.coach__role { margin: 6px 0 10px; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--sun-deep); }
.coach p:last-child { color: var(--tide-soft); }
@media (max-width: 820px) {
  .coaches { grid-template-columns: 1fr; max-width: 440px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--tide); color: rgba(255, 250, 241, 0.75); padding: clamp(56px, 8vw, 88px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__mark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--foam); }
.footer__mark path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; }
.footer__place { margin-top: 8px; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a:hover, .footer__contact a:hover { color: var(--foam); }
.footer__contact { display: grid; gap: 8px; align-content: start; }
.footer__base {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255, 250, 241, 0.5);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

/* ---------- Map ---------- */
.section__note { color: var(--tide-soft); max-width: 36ch; text-align: right; }
.mapbox { margin-top: clamp(40px, 6vw, 64px); }
.map {
  height: clamp(380px, 60vh, 560px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand-2);
  z-index: 0;
}
.map--short { height: clamp(320px, 46vh, 440px); }
/* soften the map tiles towards the site's warm sand palette */
.map .leaflet-tile-pane { filter: saturate(1.05) brightness(1.04); }
.map .leaflet-control-attribution { background: rgba(246, 240, 228, 0.85); font-size: 10px; }
.map .leaflet-control-zoom a { color: var(--tide); }
.pin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tide);
  border: 3px solid var(--foam);
  box-shadow: 0 4px 10px rgba(18, 59, 58, 0.35);
}
.pin--school { background: var(--sun); width: 20px; height: 20px; }
.map-label {
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--foam);
  color: var(--tide);
  font: 500 0.82rem var(--body);
  box-shadow: 0 6px 16px -6px rgba(18, 59, 58, 0.35);
}
.map-label::before { display: none; }
.map-label--school { background: var(--sun); }
.mapbox + .lesson { margin-top: clamp(72px, 10vw, 130px); }
.map-key { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; color: var(--tide-soft); font-size: 0.9rem; }
.map-key li { display: flex; align-items: center; gap: 8px; }
.map-key .pin { width: 12px; height: 12px; border-width: 2px; box-shadow: none; }
@media (max-width: 700px) {
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__note { text-align: left; }
}

/* map backup: saved picture, zooms gently on hover, opens Google Maps */
.map-static { position: relative; display: block; }
.map-static img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.map-static:hover img { transform: scale(1.04); }
.map-static__cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--foam);
  color: var(--tide);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -10px rgba(18, 59, 58, 0.4);
  transition: transform 0.5s var(--ease);
}
.map-static:hover .map-static__cta { transform: translateY(-3px); }

/* ---------- Stats: warm sand band, big sea-teal numbers, an orange wave draws under each ---------- */
.stats { padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(72px, 10vw, 120px); }
.stats__band {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(255, 250, 241, 0.7), transparent 60%),
    radial-gradient(60% 120% at 90% 100%, rgba(232, 137, 77, 0.16), transparent 60%),
    var(--sand-2);
  text-align: center;
}
.stats__band li { display: grid; gap: 10px; justify-items: center; }
.stats__band b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--tide);
  font-variant-numeric: tabular-nums;
}
.stats__band b small { font-size: 0.45em; letter-spacing: 0; margin-left: 4px; color: var(--sun-deep); }
.stats__wave path { fill: none; stroke: var(--sun); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 0; }
.stats__band li > span { color: var(--tide-soft); max-width: 22ch; }
@media (max-width: 700px) {
  .stats__band { grid-template-columns: 1fr; gap: 40px; }
}

/* animation: band rises in, numbers count up (script.js), waves draw, labels fade in */
.stats__band { transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.stats__band.will-animate { opacity: 0; transform: translateY(24px); }
.stats__band.will-animate .stats__wave path { stroke-dashoffset: 140; }
.stats__band.will-animate li > span { opacity: 0; transform: translateY(8px); }
.stats__wave path { transition: stroke-dashoffset 1.4s var(--ease) 0.5s; }
.stats__band li > span { transition: opacity 0.7s ease, transform 0.8s var(--ease); }
.stats__band.is-in { opacity: 1; transform: none; }
.stats__band.is-in .stats__wave path { stroke-dashoffset: 0; }
.stats__band.is-in li > span { opacity: 1; transform: none; }
.stats__band.is-in li:nth-child(1) > span { transition-delay: 0.9s; }
.stats__band.is-in li:nth-child(2) > span, .stats__band.is-in li:nth-child(2) .stats__wave path { transition-delay: 1.05s; }
.stats__band.is-in li:nth-child(3) > span, .stats__band.is-in li:nth-child(3) .stats__wave path { transition-delay: 1.2s; }

/* ---------- Our story ----------
   Text and map side by side, then four short points in one row.
   No divider lines: each point starts with the small orange wave from the logo. */
.story { padding-top: clamp(110px, 13vw, 180px); padding-bottom: clamp(56px, 7vw, 96px); }
.story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__lead {
  margin: 22px 0 30px;
  color: var(--tide);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  max-width: 30ch;
}
.story__more { color: var(--tide); opacity: 0.78; font-size: 1.05rem; line-height: 1.6; max-width: 44ch; }
.story__photo { margin: 0; justify-self: end; width: min(100%, 580px); }
.story__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; transition: transform 1.2s var(--ease); }
.story__photo:hover img { transform: scale(1.02); }
.story__photo figcaption { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; color: var(--tide-soft); font-size: 0.92rem; }
@media (max-width: 860px) { .story__photo { justify-self: start; } }
.story__addr { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--tide-soft); font-size: 0.92rem; }
.story__addr .pin { flex: none; width: 12px; height: 12px; border-width: 2px; box-shadow: none; }
.points {
  margin-top: clamp(88px, 11vw, 140px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
.points__wave { display: block; margin-bottom: 14px; }
.points__wave path { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; }
.points h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; color: var(--tide); }
.points p { margin-top: 8px; color: var(--tide); opacity: 0.78; font-size: 1rem; line-height: 1.5; }
@media (max-width: 860px) {
  .points { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .points { grid-template-columns: 1fr; }
}

/* ---------- Prices ---------- */
.section--prices { background: var(--sand-2); }
.prices__head { text-align: center; }
.prices__head p { margin-top: 14px; color: var(--tide-soft); font-size: 1.1rem; }
.prices { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price {
  position: relative;
  display: grid;
  gap: 4px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  background: var(--foam);
  border: 1.5px solid transparent;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(18, 59, 58, 0.35); }
.price--pop { border-color: var(--sun); }
.price__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(232, 137, 77, 0.14);
  color: var(--sun-deep);
  font-size: 0.78rem;
  font-weight: 500;
}
.price h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.05; }
.price__line { color: var(--tide-soft); }
.price__amount {
  margin: 18px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.price__amount span { font-size: 0.45em; letter-spacing: 0; align-self: flex-start; margin-top: 0.3em; }
.price__amount small { font-family: var(--body); font-size: 0.9rem; font-weight: 400; letter-spacing: 0; color: var(--tide-soft); margin-left: 6px; }
.btn--quiet { background: var(--sand); color: var(--tide); }
.btn--quiet:hover { background: #ebe1cd; }
.more--card { margin-top: 18px; max-width: none; }
.more--card .ticks { margin-top: 14px; }
.prices__note { margin-top: 22px; text-align: center; color: var(--tide-soft); font-size: 0.92rem; }
@media (max-width: 900px) {
  .prices { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ---------- Soft shadow behind photos (just a little depth) ---------- */
.panel, .split__img, .lesson__img, .coach__img, .story__photo img, .map, .book__card {
  box-shadow: 0 22px 44px -26px rgba(18, 59, 58, 0.38), 0 4px 10px -6px rgba(18, 59, 58, 0.12);
}

/* ---------- Intro headline: words rise in one by one (script.js) ---------- */
[data-words] .w { display: inline-block; opacity: 0; transform: translateY(0.35em); transition: opacity 0.7s ease, transform 0.9s var(--ease); }
[data-words].is-in .w { opacity: 1; transform: none; }
.facts__sub.will-fade { opacity: 0; transform: translateY(10px); transition: opacity 0.8s ease 0.6s, transform 0.9s var(--ease) 0.6s; }
.facts__sub.will-fade.is-in { opacity: 1; transform: none; }

/* ---------- Story: signature + collage ---------- */
.sign { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; }
.sign__faces { display: flex; }
.sign__faces img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--sand); box-shadow: 0 6px 14px -8px rgba(18, 59, 58, 0.5);
  transition: transform 0.45s var(--ease);
}
.sign__faces img + img { margin-left: -12px; }
.sign:hover .sign__faces img:nth-child(1) { transform: translateX(-4px); }
.sign:hover .sign__faces img:nth-child(3) { transform: translateX(4px); }
.sign__text { display: grid; line-height: 1.3; }
.sign__text b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; }
.sign__text span {
  justify-self: start; margin-top: 2px; font-size: 0.92rem; color: var(--tide-soft);
  background: linear-gradient(var(--sun), var(--sun)) left bottom / 0% 1.5px no-repeat;
}
.sign:hover .sign__text span { color: var(--tide); }
/* the underline draws itself once when the section scrolls into view, then stays */
.sign__text span { transition: background-size 1s var(--ease) 0.4s, color 0.3s ease; }
.sign.is-in .sign__text span, .sign.no-anim .sign__text span { background-size: 100% 1.5px; }

.collage { position: relative; padding: 0 0 12% 10%; }
.collage__main {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px;
  box-shadow: 0 22px 44px -26px rgba(18, 59, 58, 0.38), 0 4px 10px -6px rgba(18, 59, 58, 0.12);
}
.collage__small {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover;
  border-radius: 18px; border: 6px solid var(--sand);
  box-shadow: 0 24px 40px -20px rgba(18, 59, 58, 0.45);
  transition: transform 0.8s var(--ease);
}
.collage:hover .collage__small { transform: translate(-6px, 6px) rotate(-2deg); }
.tag {
  position: absolute; bottom: calc(12% + 22px); right: -18px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 16px; border-radius: 14px;
  background: var(--foam); color: var(--tide);
  box-shadow: 0 16px 32px -16px rgba(18, 59, 58, 0.45);
}
.tag path { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; }
.tag span { display: grid; line-height: 1.25; font-size: 0.82rem; color: var(--tide-soft); }
.tag b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--tide); }
@media (max-width: 860px) {
  .collage { margin-top: 24px; }
  .tag { right: 8px; }
}

/* ---------- Story points: wave draws, then text rises in, one after another ---------- */
.points__wave path { stroke-dasharray: 140; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
.points h3, .points p { transition: opacity 0.7s ease, transform 0.8s var(--ease); }
.points.will-animate .points__wave path { stroke-dashoffset: 140; }
.points.will-animate h3, .points.will-animate p { opacity: 0; transform: translateY(12px); }
.points.is-in .points__wave path { stroke-dashoffset: 0; }
.points.is-in h3, .points.is-in p { opacity: 1; transform: none; }
.points.is-in li:nth-child(1) h3 { transition-delay: 0.35s; } .points.is-in li:nth-child(1) p { transition-delay: 0.45s; }
.points.is-in li:nth-child(2) .points__wave path { transition-delay: 0.2s; }
.points.is-in li:nth-child(2) h3 { transition-delay: 0.55s; } .points.is-in li:nth-child(2) p { transition-delay: 0.65s; }
.points.is-in li:nth-child(3) .points__wave path { transition-delay: 0.4s; }
.points.is-in li:nth-child(3) h3 { transition-delay: 0.75s; } .points.is-in li:nth-child(3) p { transition-delay: 0.85s; }

/* ---------- Scroll cue: thin line with a dot gliding down, and a small arrow. No text. ---------- */
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: clamp(16px, 3vh, 30px);
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 4px; padding: 6px 12px;
  color: var(--tide);
  opacity: 0; transition: opacity 0.6s ease;
}
.is-ready .scroll-cue { opacity: 0.9; transition-delay: 0.5s; }
.scroll-cue:hover { opacity: 1; }
.scroll-cue.is-gone { opacity: 0 !important; pointer-events: none; transition-delay: 0s; }
.scroll-cue__line {
  position: relative; width: 1.5px; height: 44px; border-radius: 2px; overflow: hidden;
  background: rgba(18, 59, 58, 0.22);
}
.scroll-cue__line i {
  position: absolute; left: 0; top: -12px; width: 100%; height: 12px; border-radius: 2px;
  background: var(--sun-deep);
  animation: drip 1.8s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes drip { 0% { top: -12px; } 70%, 100% { top: 100%; } }
.scroll-cue svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .hero__photo img { transform: none; }
}
