/* ============================================================
   WaveRetreat — Surf Coaching & Retreats in Cornwall
   Fresh coastal / modern theme
   ============================================================ */

:root {
  --ocean-900: #0a2a3b;
  --ocean-800: #0e3a52;
  --ocean-700: #12506f;
  --ocean-500: #1b7ea3;
  --ocean-300: #5fb6cf;
  --foam: #e8f4f7;
  --sand: #f6efe4;
  --sand-deep: #ece0cb;
  --coral: #ff6b4a;
  --coral-dark: #e8543a;
  --ink: #16242c;
  --muted: #5a6b73;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 42, 59, 0.14);
  --shadow-sm: 0 6px 20px rgba(10, 42, 59, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ocean-900);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 92%; max-width: var(--max); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--sand { background: var(--sand); }
.section--ocean { background: var(--ocean-900); }
.section--ocean h2, .section--ocean h3 { color: var(--white); }
.section--ocean p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 1rem;
}
.section--ocean .eyebrow { color: var(--ocean-300); }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.accent { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 12px 28px rgba(255,107,74,0.36); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 18px 36px rgba(255,107,74,0.44); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: var(--white); color: var(--ocean-900); border-color: var(--white); }
.btn--dark { background: var(--ocean-900); color: var(--white); }
.btn--dark:hover { background: var(--ocean-700); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.1rem 0;
  isolation: isolate;
  transition: padding 0.35s var(--ease), box-shadow 0.35s;
}
/* Solid-ish bar behind the content (no backdrop-filter — blur rasterises and
   softens the logo/nav in some browsers). Keeps logo and text pixel-crisp. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.site-header.scrolled::before { opacity: 0.97; }
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(10, 42, 59, 0.08);
  padding: 0.6rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
/* PNG logo: white version on dark backgrounds (hero/footer), dark version on the white nav bar */
.brand-logo { display: block; width: 168px; }
.brand-logo img { display: block; width: 100%; height: auto; }
.brand-logo .logo-dark { display: none; }
.scrolled .brand-logo .logo-light { display: none; }
.scrolled .brand-logo .logo-dark { display: block; }
.nav .brand-logo { width: 150px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: 0.95rem;
  color: rgba(255,255,255,0.92); position: relative; padding: 0.3rem 0;
}
.scrolled .nav-links a { color: var(--ocean-800); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--coral); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--coral); }
.nav .btn { padding: 0.6rem 1.4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.scrolled .nav-toggle span { background: var(--ocean-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  animation: slowZoom 18s ease-out forwards;
}
@keyframes slowZoom { to { transform: scale(1); } }

/* Hero slideshow */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}
.hero__slide.active { opacity: 1; }
.hero__slide.active { animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255,255,255,0.14); border: 0; border-radius: 50%;
  color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero__arrow:hover { background: var(--coral); }
.hero__arrow--prev { left: 1.6rem; }
.hero__arrow--next { right: 1.6rem; }
.hero__dots {
  position: absolute; bottom: 2.2rem; right: 2.5rem; z-index: 3;
  display: flex; gap: 0.6rem;
}
.hero__dot {
  width: 11px; height: 11px; border-radius: 50%; padding: 0;
  border: 2px solid rgba(255,255,255,0.7); background: transparent;
  cursor: pointer; transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.hero__dot:hover { border-color: #fff; }
.hero__dot.active { background: var(--coral); border-color: var(--coral); transform: scale(1.15); }
@media (max-width: 540px) {
  .hero__dots { right: 50%; transform: translateX(50%); bottom: 1.4rem; }
  .hero__arrow { width: 42px; height: 42px; font-size: 1.5rem; }
  .hero__arrow--prev { left: 0.6rem; }
  .hero__arrow--next { right: 0.6rem; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,42,59,0.55) 0%, rgba(10,42,59,0.35) 40%, rgba(10,42,59,0.8) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.25rem; max-width: 52ch; margin: 1.5rem 0 2.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero__scroll span { width: 1px; height: 40px; background: rgba(255,255,255,0.5); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* page hero (smaller, for inner pages) */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding-bottom: 4rem;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,42,59,0.4), rgba(10,42,59,0.82)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.88); font-size: 1.2rem; max-width: 56ch; margin-top: 0.8rem; }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); margin-bottom: 1rem; text-transform: uppercase; }

/* ---------- Generic grid ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__img { height: 220px; background-size: cover; background-position: center; }
.card__body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--foam);
  display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--ocean-500);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.6rem; }
.card .card__link { margin-top: auto; padding-top: 1rem; color: var(--coral); font-weight: 600; font-family: "Poppins", sans-serif; font-size: 0.92rem; display: inline-flex; gap: 0.4rem; align-items: center; }
.card .card__link:hover { gap: 0.7rem; }

/* feature media block */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4/5; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat__num { font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--coral); line-height: 1; }
.stat__label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 0.6rem; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); position: relative; }
.quote__mark { font-family: "Poppins"; font-size: 4rem; color: var(--sand-deep); line-height: 0.6; position: absolute; top: 1.4rem; right: 1.6rem; }
.quote p { color: var(--ink); font-size: 1.04rem; position: relative; z-index: 1; }
.quote__author { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ocean-500); color: #fff; display: grid; place-items: center; font-family: "Poppins"; font-weight: 600; }
.quote__name { font-family: "Poppins"; font-weight: 600; color: var(--ocean-900); font-size: 0.96rem; }
.quote__role { font-size: 0.82rem; color: var(--muted); }

/* ---------- Mission band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 480px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.band__media { background-size: cover; background-position: center; min-height: 320px; }
.band__content { padding: clamp(2.2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.band--ocean .band__content { background: var(--ocean-900); color: #fff; }
.band--ocean h2 { color: #fff; }
.band--ocean p { color: rgba(255,255,255,0.8); }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center; color: #fff; overflow: hidden;
  border-radius: var(--radius); padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  background-size: cover; background-position: center;
}
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,42,59,0.85), rgba(27,126,163,0.7)); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.88); margin: 1rem auto 2rem; max-width: 50ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-family: "Poppins"; font-weight: 500; font-size: 0.86rem; margin-bottom: 0.4rem; color: var(--ocean-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1.1rem; border: 1.5px solid var(--sand-deep); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: var(--white); transition: border 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean-500); box-shadow: 0 0 0 4px rgba(27,126,163,0.12); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.84rem; color: var(--muted); }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #e7f7ee; color: #156c40; font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Info / contact list ---------- */
.info-list { list-style: none; display: grid; gap: 1.5rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--foam); color: var(--ocean-500); display: grid; place-items: center; flex-shrink: 0; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { font-family: "Poppins"; color: var(--ocean-900); display: block; font-size: 0.95rem; }
.info-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Checklist ---------- */
.checks { list-style: none; display: grid; gap: 0.9rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); }
.checks li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Pill / tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.tag { background: var(--foam); color: var(--ocean-700); padding: 0.4rem 0.95rem; border-radius: 100px; font-size: 0.82rem; font-family: "Poppins"; font-weight: 500; }

/* ---------- Retreat list ---------- */
.retreat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; transition: box-shadow 0.4s; }
.retreat:hover { box-shadow: var(--shadow); }
.retreat__img { min-height: 320px; background-size: cover; background-position: center; }
.retreat__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.retreat:nth-child(even) .retreat__img { order: 2; }
.retreat__loc { color: var(--coral); font-family: "Poppins"; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean-900); color: rgba(255,255,255,0.72); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--coral); }
.socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.socials a:hover { background: var(--coral); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--coral); }

/* ---------- Pricing / lesson cards ---------- */
.price { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--ocean-900); font-size: 1.4rem; margin: 0.2rem 0 0.4rem; }
.price small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }

/* ---------- Level rows ---------- */
.level { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--sand-deep); }
.level:last-child { border-bottom: 0; }
.level__badge { width: 54px; height: 54px; border-radius: 14px; background: var(--ocean-900); color: #fff; display: grid; place-items: center; font-family: "Poppins"; font-weight: 700; }
.level h3 { margin-bottom: 0.3rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; background: var(--sand-deep);
  aspect-ratio: 3 / 2;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,42,59,0) 55%, rgba(10,42,59,0.45));
  opacity: 0; transition: opacity 0.4s;
}
.gallery__item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(8, 24, 33, 0.92); align-items: center; justify-content: center;
  padding: 4vw; opacity: 0; transition: opacity 0.3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.8rem; width: 48px; height: 48px;
  background: rgba(255,255,255,0.12); border: 0; border-radius: 50%; color: #fff;
  font-size: 1.6rem; cursor: pointer; transition: background 0.25s; line-height: 1;
  z-index: 2;
}
.lightbox__close:hover { background: var(--coral); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; display: grid; place-items: center;
  background: rgba(255,255,255,0.12); border: 0; border-radius: 50%; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; transition: background 0.25s; z-index: 2;
}
.lightbox__nav:hover { background: var(--coral); }
.lightbox__nav--prev { left: 1.6rem; }
.lightbox__nav--next { right: 1.6rem; }
.lightbox__counter {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-family: "Poppins", sans-serif;
  font-size: 0.85rem; letter-spacing: 0.06em;
}
@media (max-width: 540px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

/* ---------- Legal / prose pages ---------- */
.legal-head { background: var(--ocean-900); color: #fff; padding: 8.5rem 0 3.2rem; }
.legal-head .breadcrumb { color: var(--ocean-300); }
.legal-head h1 { color: #fff; margin-bottom: 0.5rem; }
.legal-head .updated { color: rgba(255,255,255,0.7); font-family: "Poppins", sans-serif; font-size: 0.85rem; }
.legal-note {
  background: var(--sand); border-left: 4px solid var(--coral);
  padding: 1rem 1.4rem; border-radius: 8px; margin-bottom: 2.6rem;
  font-size: 0.92rem; color: var(--muted);
}
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 2.6rem 0 0.8rem; }
.prose h3 { font-size: 1.12rem; margin: 1.6rem 0 0.5rem; color: var(--ocean-800); }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0.4rem 0 1.2rem 1.3rem; display: grid; gap: 0.45rem; }
.prose li { color: var(--muted); padding-left: 0.2rem; }
.prose a { color: var(--ocean-500); text-decoration: underline; }
.prose strong { color: var(--ocean-900); }
.prose .ph { background: #fff2c2; color: #7a5b00; padding: 0.05rem 0.3rem; border-radius: 4px; font-weight: 500; }

/* ---------- Instagram strip ---------- */
.ig__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; margin-top: 2.4rem; }
.ig__tile {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 12px; background: var(--sand-deep);
}
.ig__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.ig__tile:hover img { transform: scale(1.09); }
.ig__tile::after { content: ""; position: absolute; inset: 0; background: rgba(10,42,59,0); transition: background 0.3s; }
.ig__tile:hover::after { background: rgba(10,42,59,0.4); }
.ig__tile .ig__icon { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s; }
.ig__tile:hover .ig__icon { opacity: 1; transform: scale(1); }
.ig__tile .ig__icon svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 900px) { .ig__strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .ig__strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: var(--ocean-900); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.6rem; transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff !important; font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 1100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background:#fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background:#fff; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .retreat { grid-template-columns: 1fr; }
  .retreat:nth-child(even) .retreat__img { order: 0; }
  .stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .level { grid-template-columns: 1fr; gap: 0.6rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero p { font-size: 1.1rem; }
  .gallery { grid-template-columns: 1fr; }
}
