/* ==========================================================================
   New Cumnock Outdoor Swimming Pool
   Palette sampled from the changing-room doors photo (changing-rooms-*.webp)
   ========================================================================== */

:root {
  /* Brand — roof trim, poolside stripe, red door */
  --teal: #1fa39b;
  --teal-deep: #0b6f72;       /* white text OK (6.0:1) */
  --teal-ink: #08494b;
  --pool: #2f7de1;
  --pool-deep: #1a5fc0;       /* white text OK */
  --red: #e23a40;
  --red-strong: #c41f2a;      /* white text OK (5.7:1) */

  /* Pastel doors */
  --mint: #c3dccb;
  --sky-door: #c9dbee;
  --periwinkle: #9fb3e0;
  --lilac: #d2bde2;
  --peach: #f4c9a6;
  --cream: #f7ecd6;

  /* Night */
  --night: #0d1b3a;
  --night-2: #16285a;

  /* Neutrals */
  --ink: #16303d;
  --ink-soft: #3f5966;        /* 4.5:1+ on every pastel surface */
  --bg: #fbfaf6;
  --surface: #ffffff;
  --line: rgba(22, 48, 61, .12);

  /* Type */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 var(--line), 0 14px 32px -18px rgba(22, 48, 61, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;

  --header-h: 68px;
  --wrap: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--teal-deep) var(--cream); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  caret-color: var(--teal-deep);
}
::selection { background: var(--peach); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal-ink); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 var(--s2); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s2); }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 768px) { .wrap { padding: 0 var(--s4); } }

.section { padding: var(--s6) 0; }
.section--tight { padding-top: var(--s4); }
@media (min-width: 1024px) { .section { padding: var(--s7) 0; } .section--tight { padding-top: var(--s5); } }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: var(--s4); }
.section-head .lead { margin: 0; }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: var(--s2); color: #fff; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur), color var(--dur);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-call { background: var(--red-strong); color: #fff; box-shadow: 0 10px 24px -12px rgba(196, 31, 42, .7); }
.btn-call:hover { background: #a91a24; color: #fff; }
.btn-fb { background: #fff; color: var(--ink); border-color: #fff; }
.btn-fb:hover { background: var(--cream); color: var(--ink); }
.btn-bordered { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 4px solid var(--teal);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s2); }
.brand {
  display: flex; align-items: center;
  text-decoration: none; color: var(--ink);
  font-weight: 600; line-height: 1.05;
}
.brand-text { display: flex; flex-direction: column; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  border: 0; background: var(--cream); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.site-nav {
  position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0;
  background: #fff; border-bottom: 4px solid var(--teal);
  padding: var(--s2);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur), visibility 0s linear var(--dur);
  box-shadow: var(--shadow);
}
.site-nav.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--s2);
  border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.1rem;
}
.site-nav a:not(.btn):hover { background: var(--sky-door); }
.site-nav a[aria-current="page"] { background: var(--mint); font-weight: 600; }
.site-nav .btn { width: 100%; margin-top: var(--s1); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; padding: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a:not(.btn) { font-size: 1rem; min-height: 44px; }
  .site-nav .btn { width: auto; margin: 0 0 0 var(--s1); min-height: 46px; padding: 10px 20px; font-size: .98rem; }
}

/* ---------- Home hero: photo collage ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; color: #fff;
  background: var(--teal-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 80% 30%, rgba(255, 255, 255, .14), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 86px, rgba(255, 255, 255, .07) 86px 90px);
}
.hero-grid { display: grid; gap: var(--s5); align-items: center; padding-top: var(--s5); padding-bottom: 130px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s6); padding-top: var(--s6); } }
.hero h1 { max-width: 13ch; margin-bottom: var(--s2); }
.hero .lead { color: rgba(255, 255, 255, .92); font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 44ch; margin-bottom: var(--s4); }

/* The page's one authored motion: the snapshots drop onto the table once */
.collage { position: relative; width: 100%; max-width: 660px; margin: 0 auto; aspect-ratio: 1 / .95; }
.snap {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  margin: 0; padding: 6px; background: #fff; border-radius: 6px;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .55);
  rotate: var(--r);
  animation: snap-in .7s cubic-bezier(.3, 1.3, .5, 1) var(--d) backwards;
  transition: rotate .3s var(--ease-out), scale .3s var(--ease-out);
}
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.snap.square img { aspect-ratio: 1; }
/* strip of pastel tape */
.snap::before {
  content: ""; position: absolute; left: 30%; top: -9px; width: 40%; height: 18px;
  background: var(--tape); opacity: .92; rotate: -4deg; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.snap:hover { z-index: 10 !important; rotate: 0deg; scale: 1.08; }
@keyframes snap-in { from { opacity: 0; scale: 1.4; translate: 0 -24px; } to { opacity: 1; scale: 1; translate: 0 0; } }

/* Wave edge at the bottom of heroes (static) */
.waves {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: 80px; pointer-events: none;
}
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { fill: var(--sky-door); opacity: .45; translate: -12% 0; }
.waves .w3 { fill: var(--bg); bottom: -12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  background: var(--teal-ink);
}
.page-hero > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 40, 60, .2) 0%, rgba(8, 36, 56, .8) 100%);
}
.page-hero .wrap { padding-top: var(--s6); padding-bottom: var(--s4); }
.page-hero h1 { margin-bottom: var(--s1); }
.page-hero .lead { color: rgba(255, 255, 255, .92); margin: 0; }
.page-hero .lead a { color: #fff; font-weight: 600; }
.page-hero--tall { min-height: min(62svh, 600px); }
.page-hero--tall .wrap { padding-top: var(--s7); padding-bottom: 120px; }

/* ---------- Sessions (door links) ---------- */
.sessions { background: var(--surface); }
.doors {
  display: grid; gap: var(--s2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .doors { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.door {
  position: relative;
  background-color: var(--door, var(--mint));
  background-image: repeating-linear-gradient(90deg, transparent 0 26px, rgba(0, 0, 0, .05) 26px 28px);
  border-radius: 14px 14px 6px 6px;
  padding: var(--s3) var(--s2) var(--s5);
  min-height: 190px;
  display: flex; flex-direction: column;
  border-top: 8px solid var(--teal);
  color: var(--ink); text-decoration: none;
  transition: transform var(--dur) var(--ease-out);
}
.door:hover { color: var(--ink); transform: translateY(-4px); }
/* door handle */
.door::after {
  content: ""; position: absolute; right: 18px; bottom: 22px;
  width: 22px; height: 6px; border-radius: 4px; background: #b9c3c8;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.door h3 { margin-bottom: var(--s1); font-size: clamp(1.1rem, 4vw, 1.3rem); }
.door p { margin: 0; max-width: 28ch; font-size: clamp(.95rem, 3.6vw, 1.0625rem); line-height: 1.45; }
/* Private hire spans the full row on phones so the grid stays even */
.door:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .door { padding: var(--s4) var(--s3) var(--s5); min-height: 220px; }
  .door:last-child { grid-column: auto; }
}
.door[data-door="mint"] { --door: var(--mint); }
.door[data-door="periwinkle"] { --door: var(--periwinkle); }
.door[data-door="lilac"] { --door: var(--lilac); }
.door[data-door="peach"] { --door: var(--peach); }
.door[data-door="red"] { --door: var(--red-strong); color: #fff; }
.door[data-door="red"]:hover { color: #fff; }

/* ---------- About split ---------- */
.split { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; gap: var(--s6); } }

.facts { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint); color: var(--teal-ink); display: grid; place-items: center; margin-top: 1px;
}
.facts .tick .icon { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- Video ---------- */
.video-frame {
  position: relative; background: #fff; padding: 10px; border-radius: var(--radius);
  box-shadow: var(--shadow); rotate: 1.5deg;
  width: 100%; max-width: 360px; justify-self: center; margin: 0 auto;
}
.video-frame::before {
  content: ""; position: absolute; left: 35%; top: -11px; width: 30%; height: 22px; z-index: 1;
  background: var(--peach); opacity: .92; rotate: -3deg; border-radius: 2px;
}
.video-frame iframe {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border: 0;
  border-radius: calc(var(--radius) - 8px); background: var(--night);
}

/* ---------- Night swimming ---------- */
.night {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, var(--night-2) 0%, var(--night) 60%);
  color: #fff;
}
.night .lead { color: rgba(255, 255, 255, .85); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars span {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
.moon {
  position: absolute; top: 48px; right: 8%; z-index: -1;
  width: 70px; height: 70px; border-radius: 50%;
  background: #fff6dc; box-shadow: 0 0 60px 12px rgba(255, 240, 200, .35);
}
.moon::after { content: ""; position: absolute; inset: -6px -18px 6px 18px; border-radius: 50%; background: var(--night-2); }

.night-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.night-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.night-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.night-grid figure:first-child { grid-column: span 3; }
.night-grid figure:first-child img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .night .split { grid-template-columns: 1fr 1.25fr; } }
.night-list { list-style: none; padding: 0; margin: var(--s3) 0 var(--s4); display: grid; gap: 10px; }
.night-list li { display: flex; gap: 12px; align-items: center; }
.night-list .icon { color: var(--peach); }
.btn-night { background: var(--peach); color: var(--night); }
.btn-night:hover { background: #fff; color: var(--night); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; } }
.gallery button {
  padding: 0; border: 0; background: var(--sky-door); cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; position: relative;
}
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--teal); transition: box-shadow var(--dur);
}
.gallery button:hover::after, .gallery button:focus-visible::after { box-shadow: inset 0 0 0 5px var(--teal); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 24, 36, .88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center;
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.review-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2) var(--s3); margin-bottom: var(--s4);
}
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.rating strong { font-size: 3rem; line-height: 1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stars-row { display: inline-flex; gap: 2px; color: #d99a00; }
.stars-row .icon { width: 22px; height: 22px; }
/* Review carousel: a scroll-snap track, so swiping works without JS; main.js adds auto-advance */
.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px var(--s2); margin: 0 -4px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.review-track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .review-track { grid-auto-columns: calc((100% - var(--s3)) / 2); gap: var(--s3); } }
@media (min-width: 1024px) { .review-track { grid-auto-columns: calc((100% - 2 * var(--s3)) / 3); } }
.review {
  scroll-snap-align: start;
  margin: 0; background: var(--surface); border-radius: var(--radius);
  padding: var(--s3); box-shadow: var(--shadow);
  border-top: 6px solid var(--door, var(--teal));
  display: flex; flex-direction: column;
}
.review .stars-row .icon { width: 18px; height: 18px; }
.review blockquote { margin: var(--s2) 0; font-size: 1.1rem; line-height: 1.5; flex: 1; }
.review figcaption { color: var(--ink-soft); font-weight: 600; }

.carousel-controls { display: flex; gap: 10px; margin-top: var(--s2); }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
  transition: background var(--dur), color var(--dur);
}
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-pause { margin-left: auto; }
.reviews-link { margin: var(--s2) 0 0; font-weight: 500; }
.reviews-link a { display: inline-block; padding: 12px 0; }

/* ---------- Timetable ---------- */
.tt-note, .tt-expired {
  border-radius: var(--radius); padding: var(--s3);
  display: flex; gap: 14px; align-items: flex-start;
}
.tt-note { background: var(--cream); margin-top: var(--s4); }
.tt-expired { background: var(--peach); margin-bottom: var(--s3); }
.tt-note .icon, .tt-expired .icon { color: var(--teal-ink); width: 26px; height: 26px; margin-top: 2px; }
.tt-note p, .tt-expired p { margin: 0; }
.tt-expired[hidden] { display: none; }
.week.is-expired .day { opacity: .6; }

.day-jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: var(--s2); scrollbar-width: thin; }
.day-jump a {
  flex: none; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px; background: var(--door); color: var(--ink);
  text-decoration: none; font-weight: 600;
}
.day-jump a.shut { color: #fff; }
.day-jump a:hover { filter: brightness(.95); }

.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s3); padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-soft); margin-right: 12px; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: 2px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; white-space: nowrap; vertical-align: 2px;
}
.tag.lanes { background: var(--pool-deep); }
.tag.shared { background: var(--teal-deep); }
.tag.price { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.week { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.day {
  background: var(--surface); border-radius: 16px 16px 10px 10px; overflow: hidden;
  box-shadow: var(--shadow); border-top: 7px solid var(--teal);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.day h2 {
  margin: 0; padding: 16px 18px; font-size: 1.45rem;
  background-color: var(--door);
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, .06) 22px 24px);
  display: flex; align-items: center; justify-content: space-between;
}
.day .today-pill { font-size: .72rem; font-weight: 600; background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; display: none; }
.day.is-today { outline: 3px solid var(--pool); outline-offset: 3px; }
.day.is-today .today-pill { display: inline-block; }
.day ol { list-style: none; margin: 0; padding: 4px 0; }
.day li { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.day li:last-child { border-bottom: 0; }
.day time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .95rem; }
.day .ev { font-weight: 500; }
.day .ev .tag { margin-left: 4px; }
.day li.closed {
  display: block; text-align: center; padding: 7px 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(22, 48, 61, .045) 8px 16px);
}
.day.shut h2 { color: #fff; }
.day.shut .shut-msg { padding: 40px 18px; text-align: center; font-size: 1.4rem; font-weight: 600; color: var(--red-strong); margin: 0; }
.day[data-door="mint"], .day-jump [data-door="mint"] { --door: var(--mint); }
.day[data-door="periwinkle"], .day-jump [data-door="periwinkle"] { --door: var(--periwinkle); }
.day[data-door="lilac"], .day-jump [data-door="lilac"] { --door: var(--lilac); }
.day[data-door="peach"], .day-jump [data-door="peach"] { --door: var(--peach); }
.day[data-door="red"], .day-jump [data-door="red"] { --door: var(--red-strong); }
.day[data-door="sky"], .day-jump [data-door="sky"] { --door: var(--sky-door); }
.day[data-door="cream"], .day-jump [data-door="cream"] { --door: var(--cream); }
@media (max-width: 400px) { .day li { grid-template-columns: 92px 1fr; } }

/* ---------- Find us ---------- */
.find-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .find-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

.find-hero { background: var(--teal-deep); align-items: stretch; }
.find-hero::before { background: radial-gradient(90% 70% at 85% 20%, rgba(255, 255, 255, .12), transparent 60%); }
.find-hero .wrap { padding-top: var(--s6); padding-bottom: 120px; align-items: center; }
.find-address {
  font-style: normal; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  padding: var(--s2); margin: var(--s3) 0; font-size: 1.1rem; line-height: 1.5;
}
.find-address .icon { color: var(--peach); width: 26px; height: 26px; margin-top: 2px; }
.find-hero .btn-fb { border-color: #fff; }

.aerial {
  position: relative; margin: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: var(--sky-door);
  max-width: 520px; width: 100%; justify-self: center; border: 6px solid #fff; rotate: 1.5deg;
}
.aerial > img { width: 100%; height: 100%; object-fit: cover; }
/* Pin drops onto the pool, then ripples spread */
.pin {
  position: absolute; left: 50%; top: 41%;
  width: 64px; margin-left: -32px; margin-top: -64px;
  animation: pin-drop 1s cubic-bezier(.3, 1.6, .5, 1) .4s both, pin-bob 3s ease-in-out 1.6s infinite;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35));
  z-index: 2;
}
@keyframes pin-drop { from { transform: translateY(-260px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pin-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ripple {
  position: absolute; left: 50%; top: 41%;
  width: 40px; height: 16px; margin: -8px 0 0 -20px;
  border: 3px solid #fff; border-radius: 50%;
  opacity: 0; animation: ripple 3s ease-out 1.2s infinite;
}
.ripple.r2 { animation-delay: 2.2s; }
.ripple.r3 { animation-delay: 3.2s; }
@keyframes ripple { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(5); opacity: 0; } }
.aerial figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 10px 14px;
  font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: .95rem;
  color: var(--ink);
}
.aerial figcaption .icon { color: var(--red-strong); }

.info-cards { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info-card {
  background: var(--surface); border-radius: var(--radius); padding: var(--s3);
  box-shadow: var(--shadow); display: grid; grid-template-columns: 52px 1fr; gap: var(--s2);
}
.info-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--ink-soft); }
.info-card .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--door, var(--mint));
  display: grid; place-items: center; color: var(--teal-ink);
}
.info-card .ic .icon { width: 26px; height: 26px; }
.info-card[data-door="mint"] { --door: var(--mint); }
.info-card[data-door="periwinkle"] { --door: var(--periwinkle); }
.info-card[data-door="lilac"] { --door: var(--lilac); }
.info-card[data-door="peach"] { --door: var(--peach); }

.map-embed {
  margin-top: var(--s5); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; background: var(--sky-door); position: relative;
}
@media (max-width: 599px) { .map-embed { aspect-ratio: 4 / 5; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 404 ---------- */
.not-found { text-align: left; }
.not-found .btn-row { margin-top: var(--s4); }
.not-found .btn-fb { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: rgba(255, 255, 255, .88); padding: var(--s6) 0 var(--s4); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, var(--red) 0 14.28%, var(--peach) 0 28.56%, var(--cream) 0 42.84%, var(--mint) 0 57.12%, var(--sky-door) 0 71.4%, var(--periwinkle) 0 85.68%, var(--lilac) 0); }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: var(--s2); }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-logo { width: 280px; max-width: 100%; margin-bottom: var(--s3); }
.socials { display: flex; gap: 12px; margin-top: var(--s2); }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); transition: background var(--dur);
}
.socials a:hover { background: var(--teal); }
.footer-bottom {
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; justify-content: space-between;
}
.credit {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: rgba(255, 255, 255, .6) !important; text-decoration: none; font-size: .82rem;
  opacity: .75; transition: opacity var(--dur);
}
.credit:hover { opacity: 1; }
.credit img { width: 84px; height: auto; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease-out);
}
.call-bar.show { transform: none; }
.call-bar .btn { min-height: 48px; padding: 10px 12px; font-size: .98rem; }
.call-bar .btn-fb { border-color: var(--ink); }
@media (min-width: 960px) { .call-bar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 76px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ripple { display: none; }
}
