/* Monty's Dog Beach & Bar: "Monty's Coastal Living"
   Brand colours are Monty's Blue (#00AEEF) and white. Everything else is a neutral.
   Monty's Blue measures 2.5:1 against white, so it never carries text: it is used for
   surfaces, buttons (with ink labels), the tide-line curve and small graphic accents.
   Type: Fraunces (soft display serif) for headlines, Figtree for everything else. */

:root {
  --blue: #00AEEF;
  --white: #FFFFFF;
  --ink: #142630;       /* text, 15.6:1 on white, 6.7:1 on Monty's Blue */
  --ink-2: #2A3D47;     /* ink hover */
  --ink-soft: #4E616B;  /* secondary text, 6.4:1 on white */
  --mist: #F2F6F7;      /* quiet panel */
  --line: #DCE4E7;
  --blue-wash: color-mix(in srgb, var(--blue) 14%, var(--white));

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(18px, 5vw, 72px);
  --max: 1440px;
  --section: clamp(88px, 11vw, 168px);
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.6rem, 6.2vw, 5.75rem);
  line-height: .98;
  letter-spacing: -0.028em;
  font-variation-settings: "SOFT" 70;
  text-wrap: balance;
}
.display--md { font-size: clamp(2.3rem, 4.2vw, 3.75rem); }
.sub-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 70;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 650; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }
.btn--blue { background: var(--blue); color: var(--ink); }
.btn--blue:hover { background: var(--ink); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: 0; padding: 0;
  font-weight: 650; font-size: .9375rem; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--blue);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--ink); }
.link--ink { text-decoration-color: var(--ink); }
.link--ink:hover { text-decoration-color: var(--white); }
.link--inline { display: inline; min-height: 0; font-size: inherit; text-underline-offset: 4px; }

.icon-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); transition: background-color .2s; }
.icon-link:hover { background: var(--mist); }
.icon-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-link svg .fill { fill: currentColor; stroke: none; }

.arrows { display: flex; gap: 10px; }
.arrow {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background-color .2s, color .2s, opacity .2s;
}
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow--light { width: 44px; height: 44px; border-color: var(--line); }
.arrow--light:hover:not(:disabled) { border-color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .875rem; font-weight: 600; color: var(--ink);
  transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header);
  display: flex; align-items: center; gap: 24px;
}
.header__logo { display: block; flex-shrink: 0; }
.header__logo img { height: 42px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-inline: auto; }
.nav a {
  font-size: .9375rem; font-weight: 550; text-decoration: none;
  padding: 10px 0; background: linear-gradient(var(--blue), var(--blue)) left 100% / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.nav a:hover { background-size: 100% 2px; }
.header__end { display: flex; align-items: center; gap: 4px; }
.header__cta { margin-left: 12px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; border-radius: 50%; place-items: center; margin-right: -8px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49;
  background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--serif); font-weight: 340; font-size: clamp(2.1rem, 9vw, 2.8rem); line-height: 1.2;
  letter-spacing: -0.02em; text-decoration: none; padding: 6px 0;
  font-variation-settings: "SOFT" 70;
}
.menu__foot { display: grid; gap: 22px; padding-top: 32px; }
.menu__foot .btn { width: 100%; }
.menu__meta { color: var(--ink-soft); font-size: .9375rem; }
.menu__social { display: flex; gap: 22px; font-weight: 600; font-size: .9375rem; }
.menu__social a { text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52vw;
  min-height: min(calc(100svh - var(--header)), 960px);
  max-width: 1920px; margin: 0 auto;
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 10.2vw, 11rem);
  line-height: .88;
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 100;
  margin-left: -0.04em;
}
.hero__title .line { display: block; }
.hero__lede { max-width: 30ch; margin-top: clamp(28px, 3vw, 44px); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--ink-soft); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

.hero__media { position: relative; margin: 0; min-height: 100%; overflow: hidden; background: var(--mist); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__tide { position: absolute; top: 0; left: -1px; width: clamp(40px, 5vw, 84px); height: 100%; fill: var(--white); }
.hero__tide--bottom { display: none; }

.next-card {
  position: absolute; left: clamp(64px, 7vw, 120px); bottom: clamp(28px, 4vw, 56px);
  width: min(300px, calc(100% - 96px));
  background: var(--white); border-radius: 22px; padding: 20px 22px 22px;
  box-shadow: 0 24px 48px -28px rgba(20, 38, 48, .45);
}
.next-card__label { font-size: .8125rem; font-weight: 650; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.next-card__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.next-card__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; margin-top: 8px; letter-spacing: -0.015em; font-variation-settings: "SOFT" 70; }
.next-card__when { font-size: .9375rem; color: var(--ink-soft); margin: 4px 0 14px; }

/* One orchestrated entrance, on load only */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line { animation: rise 1s var(--ease) both; }
  .hero__title .line:nth-child(2) { animation-delay: .08s; }
  .hero__title .line:nth-child(3) { animation-delay: .16s; }
  .hero__lede, .hero__actions { animation: rise 1s var(--ease) .3s both; }
  .hero__media img { animation: settle 1.8s var(--ease) both; }
  .next-card { animation: rise .9s var(--ease) .6s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Today strip ---------- */
.today { border-bottom: 1px solid var(--line); }
.today__list {
  max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px;
}
.today__list li { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; line-height: 1.4; }
.today__list svg { width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.today__list strong { display: block; font-weight: 650; }
.today__list span span { color: var(--ink-soft); }

/* ---------- Tide edge (curved transition into blue bands) ---------- */
.tide-edge { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(28px, 4.5vw, 70px); fill: var(--blue); }

/* ---------- Upcoming ---------- */
.upcoming {
  position: relative; background: var(--blue); color: var(--ink);
  margin-top: clamp(56px, 6vw, 96px);
  padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px);
}
.upcoming__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.upcoming__intro { max-width: 46ch; margin-top: 20px; font-size: 1.0625rem; }
.upcoming__controls { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }

.event-track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 8px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.event-track::-webkit-scrollbar { display: none; }
.event-track:focus-visible { outline-offset: -3px; }

.event-card {
  position: relative;
  flex: 0 0 clamp(276px, 23.5vw, 336px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 26px; overflow: hidden;
}
.event-card--note { padding: 28px; font-weight: 600; }
.event-card__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--mist); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.date-badge {
  position: absolute; top: 14px; left: 14px;
  display: grid; justify-items: center; min-width: 62px; padding: 8px 10px 9px;
  background: var(--white); border-radius: 16px; line-height: 1.05;
  font-size: .75rem; font-weight: 650;
}
.date-badge strong { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; line-height: 1; margin: 2px 0 1px; font-variation-settings: "SOFT" 70; }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.event-card__meta { font-size: .8125rem; font-weight: 650; color: var(--ink-soft); }
.event-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.05; letter-spacing: -0.02em; margin-top: 6px; font-variation-settings: "SOFT" 70; }
.event-card__time { margin-top: 8px; font-size: .9375rem; font-weight: 600; }
.event-card__blurb { margin-top: 8px; font-size: .9375rem; color: var(--ink-soft); line-height: 1.5; }
.event-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 18px; }

/* ---------- Calendar ---------- */
.calendar { padding: var(--section) 0 calc(var(--section) * .8); }
.calendar__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.calendar__intro p { margin-top: 18px; color: var(--ink-soft); max-width: 34ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.month { border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 2vw, 28px); }
.month__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.month__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.015em; font-variation-settings: "SOFT" 70; }
.month__weekdays, .month__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month__weekdays span { text-align: center; font-size: .75rem; font-weight: 650; color: var(--ink-soft); padding: 6px 0; }
.day-cell {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color .15s;
}
.day-cell:hover { background: var(--mist); }
.day-cell.has-events { font-weight: 700; }
.day-cell.has-events::after { content: ""; position: absolute; bottom: 16%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); }
.day-cell.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.day-cell.is-past { color: var(--ink-soft); opacity: .45; }
.day-cell[aria-pressed="true"] { background: var(--blue); }
.day-cell[aria-pressed="true"]::after { background: var(--ink); }
.month__legend { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--ink-soft); }
.month__legend .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.agenda__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agenda__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.015em; font-variation-settings: "SOFT" 70; }
.agenda__reset { min-height: 32px; font-size: .875rem; }
.agenda__tz { font-size: .8125rem; color: var(--ink-soft); }
.agenda-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.agenda-item__date { display: grid; justify-items: center; line-height: 1; font-size: .75rem; font-weight: 650; color: var(--ink-soft); }
.agenda-item__date strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; color: var(--ink); margin-top: 4px; font-variation-settings: "SOFT" 70; }
.agenda-item__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 420; line-height: 1.2; font-variation-settings: "SOFT" 70; }
.agenda-item__meta { font-size: .875rem; color: var(--ink-soft); margin-top: 2px; }
.agenda-item .btn { min-height: 38px; padding: 0 16px; font-size: .8125rem; }
.agenda__empty { padding: 24px 0; color: var(--ink-soft); max-width: 40ch; }
.agenda__empty strong { color: var(--ink); }
.agenda__more { margin-top: 12px; }

/* ---------- A day at Monty's ---------- */
.day { padding-bottom: var(--section); }
.day__head { margin-bottom: clamp(56px, 7vw, 110px); }
.day__head p { max-width: 44ch; margin-top: 22px; color: var(--ink-soft); font-size: 1.125rem; }

.chapter {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
}
.chapter + .chapter { margin-top: clamp(88px, 11vw, 176px); }
.chapter__media { overflow: hidden; background: var(--mist); }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; }
.chapter__text { align-self: center; }
.chapter__text p:not(.chapter__time) { margin-top: 16px; max-width: 40ch; color: var(--ink-soft); }
.chapter__text .link, .chapter__text .btn { margin-top: 24px; }
.chapter__time {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 380; font-size: 1.25rem; color: var(--ink-soft);
}
.chapter__time::before { content: ""; width: 32px; height: 2px; background: var(--blue); }
.chapter__title {
  font-family: var(--serif); font-weight: 330; font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  line-height: 1; letter-spacing: -0.03em; margin-top: 14px; font-variation-settings: "SOFT" 80;
}

.chapter--beach .chapter__media { grid-column: 1 / 7; aspect-ratio: 4 / 5; max-height: 880px; }
.chapter--beach .chapter__text { grid-column: 8 / 12; align-self: end; padding-bottom: 6%; }

.chapter--bar .chapter__text { grid-column: 2 / 6; }
.chapter--bar .chapter__media--arch { grid-column: 7 / 12; aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }

.chapter--events { padding-inline: 0; max-width: none; }
.chapter--events .chapter__media--wide { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 21 / 9; max-height: 760px; width: 100%; }
.chapter--events .chapter__text--card {
  grid-column: 8 / 12; grid-row: 1; align-self: end;
  background: var(--white); border-radius: 30px 30px 0 0;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(16px, 1.6vw, 24px);
  margin-bottom: -1px;
}

.chapter--community .chapter__text { grid-column: 1 / 5; }
.chapter--community .chapter__media { grid-column: 6 / 13; aspect-ratio: 16 / 10; }

/* ---------- Moments ---------- */
.moments { padding: var(--section) 0; background: var(--mist); }
.moments__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.moments__head p { color: var(--ink-soft); max-width: 42ch; justify-self: end; }

.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(32px, 4vw, 64px); align-items: start; }
.tile img { width: 100%; height: 100%; object-fit: cover; background: var(--line); }
.tile figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-soft); }
.tile--a { grid-column: 1 / 8; } .tile--a img { aspect-ratio: 3 / 2; }
.tile--b { grid-column: 9 / 13; margin-top: 18%; } .tile--b img { aspect-ratio: 3 / 4; }
.tile--c { grid-column: 2 / 5; } .tile--c img { aspect-ratio: 4 / 5; }
.tile--d { grid-column: 6 / 11; margin-top: 14%; } .tile--d img { aspect-ratio: 4 / 3; }
.tile--e { grid-column: 11 / 13; align-self: end; } .tile--e img { aspect-ratio: 1; }
.tile--f { grid-column: 1 / 9; } .tile--f img { aspect-ratio: 16 / 8; }
.tile--quote { grid-column: 9 / 13; align-self: center; padding-left: clamp(0px, 2vw, 32px); }
.tile--quote p {
  font-family: var(--serif); font-weight: 330; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.02;
  letter-spacing: -0.025em; font-variation-settings: "SOFT" 100; text-wrap: balance;
}
.tile--quote p::before { content: ""; display: block; width: 56px; height: 3px; background: var(--blue); margin-bottom: 24px; border-radius: 3px; }
.tile--g { grid-column: 1 / 5; } .tile--g img { aspect-ratio: 4 / 5; }
.tile--h { grid-column: 6 / 11; margin-top: 10%; } .tile--h img { aspect-ratio: 3 / 2; }
.tile--i { grid-column: 11 / 13; align-self: end; } .tile--i img { aspect-ratio: 3 / 4; }

/* ---------- Social ---------- */
.social { padding: var(--section) 0; }
.social__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.social__intro p { color: var(--ink-soft); max-width: 40ch; }
.social__intro strong { color: var(--ink); }
.social__follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.stories { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 28px 24px; }
.story--feature { grid-row: 1 / 3; }
.story__link { display: block; text-decoration: none; height: 100%; }
.story__media { position: relative; display: block; border-radius: 26px; overflow: hidden; background: var(--mist); }
.story__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.story--feature .story__media img { aspect-ratio: 16 / 11; }
.story__link:hover .story__media img { transform: scale(1.03); }
.play {
  position: absolute; left: 20px; bottom: 20px; width: 76px; height: 76px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue);
  transition: transform .3s var(--ease);
}
.story__link:hover .play { transform: scale(1.06); }
.play svg { width: 28px; height: 28px; fill: var(--ink); margin-left: 4px; }
.play--sm { left: 14px; bottom: 14px; width: 50px; height: 50px; }
.play--sm svg { width: 18px; height: 18px; margin-left: 3px; }
.story__duration {
  position: absolute; left: 106px; bottom: 43px; padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 38, 48, .78); color: var(--white); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums;
}
.story__body { display: block; padding-top: 16px; }
.story__kind { display: block; font-size: .8125rem; font-weight: 650; color: var(--ink-soft); }
.story__title { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.012em; font-variation-settings: "SOFT" 70; text-wrap: balance; }
.story--feature .story__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); max-width: 26ch; }

.reels { margin-top: clamp(80px, 9vw, 136px); }
.reels__head, .posts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.reel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 6px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 clamp(190px, 17vw, 238px); scroll-snap-align: start; }
.reel a { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 24, 30, .82) 0%, rgba(12, 24, 30, 0) 52%); }
.reel__platform { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(20, 38, 48, .6); font-size: .75rem; font-weight: 650; }
.reel__caption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; font-size: .9375rem; font-weight: 650; line-height: 1.3; }

.posts { margin-top: clamp(80px, 9vw, 136px); }
.posts__head p { color: var(--ink-soft); max-width: 44ch; }
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.post-grid a { display: block; overflow: hidden; border-radius: 10px; }
.post-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.post-grid a:hover img { transform: scale(1.04); }

/* ---------- Visit ---------- */
.visit { padding: calc(var(--section) * .6) 0 clamp(40px, 5vw, 80px); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px) clamp(32px, 5vw, 88px); align-items: center; }
.visit__head p { margin: 22px 0 30px; color: var(--ink-soft); max-width: 38ch; font-size: 1.125rem; }

.map { border-radius: 30px; overflow: hidden; background: var(--mist); }
.map svg { display: block; width: 100%; height: auto; }
.map__land { fill: var(--mist); }
.map__sand { fill: #ECE6DC; } /* warm sand neutral, used only on the map */
.map__sea, .map__bay { fill: var(--blue); }
.map__road { fill: none; stroke: var(--white); stroke-width: 9; stroke-linecap: round; }
.map__road--minor { stroke-width: 4; }
.map__pier { stroke: var(--white); stroke-width: 6; stroke-linecap: round; }
.map__pin { fill: var(--ink); stroke: var(--white); stroke-width: 4; }
.map__pin-halo { fill: var(--blue); opacity: .28; }
.map__label { font-family: var(--sans); font-size: 15px; font-weight: 650; fill: var(--ink); }
.map__label--strong { font-family: var(--serif); font-size: 26px; font-weight: 450; }
.map__label--italic { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; fill: var(--ink-soft); }
.map__label--small { font-size: 12px; fill: var(--ink-soft); }
.map__label--sea { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; }
.map__label--bay { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }

.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.fact { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.fact dt { font-family: var(--serif); font-weight: 420; font-size: 1.3rem; letter-spacing: -0.01em; font-variation-settings: "SOFT" 70; }
.fact dd { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; max-width: 36ch; }
.hours { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.hours span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--blue-wash); color: var(--ink); font-size: .875rem; font-weight: 650; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- Newsletter ---------- */
.signup { position: relative; background: var(--blue); margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 7vw, 104px); }
.signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 112px); align-items: start; }
.signup__intro { margin-top: 22px; max-width: 38ch; font-size: 1.125rem; }
.signup__form { padding-top: 10px; }
.field__label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: 10px; }
.field__row { display: flex; gap: 10px; }
.field__row input {
  flex: 1; min-width: 0; height: 58px; padding: 0 24px;
  border: 2px solid var(--white); border-radius: 999px; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.field__row input::placeholder { color: #6A7C85; }
.field__row input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field__row input[aria-invalid="true"] { border-color: var(--ink); }
.field__row .btn { min-height: 58px; }
.interests { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interests legend { font-size: .875rem; font-weight: 650; margin-bottom: 10px; padding: 0; }
.chip--check { position: relative; border-color: var(--ink); background: transparent; cursor: pointer; user-select: none; }
.chip--check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip--check:has(input:checked) { background: var(--ink); color: var(--white); }
.chip--check:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.signup__msg { min-height: 1.6em; margin-top: 16px; font-weight: 650; }
.signup__fine { font-size: .875rem; }
.signup__social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; border-top: 1.5px solid rgba(20, 38, 48, .25); font-weight: 650; }
.signup__social p { font-weight: 500; }
.signup__social a { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.signup__social a:hover { text-decoration-color: var(--white); }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 7vw, 104px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.footer__logo img { width: min(300px, 100%); }
.footer__title { font-family: var(--serif); font-weight: 420; font-size: 1.25rem; margin-bottom: 14px; font-variation-settings: "SOFT" 70; }
.footer__col p, .footer__col li { color: var(--ink-soft); font-size: .9375rem; }
.footer__col p + p { margin-top: 12px; }
.footer__col li + li { margin-top: 6px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-soft); }

/* ---------- Mobile "next up" bar ---------- */
.next-bar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--white);
  box-shadow: 0 18px 40px -16px rgba(20, 38, 48, .45), 0 0 0 1px var(--line);
  font-size: .875rem; line-height: 1.25;
  transform: translateY(0); transition: transform .35s var(--ease), opacity .35s;
}
.next-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.next-bar__label { font-weight: 650; color: var(--ink-soft); margin-right: 4px; }

/* ---------- Event dialog ---------- */
.event-dialog {
  width: min(940px, calc(100vw - 32px)); max-height: min(90vh, 760px);
  padding: 0; border: 0; border-radius: 30px; color: var(--ink); background: var(--white);
  overflow: hidden;
}
.event-dialog::backdrop { background: rgba(20, 38, 48, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.event-dialog__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-height: inherit; }
.event-dialog__img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; background: var(--mist); }
.event-dialog__body { padding: clamp(28px, 4vw, 52px); overflow-y: auto; max-height: min(90vh, 760px); }
.event-dialog__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.event-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.event-dialog__type { font-size: .875rem; font-weight: 650; color: var(--ink-soft); padding-right: 48px; }
.event-dialog__title { font-family: var(--serif); font-weight: 340; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; margin-top: 10px; font-variation-settings: "SOFT" 80; }
.event-dialog__when { margin-top: 16px; font-weight: 650; font-size: 1.0625rem; }
.event-dialog__desc { margin-top: 16px; color: var(--ink-soft); }
.event-dialog__entry { margin-top: 16px; display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--blue-wash); font-size: .875rem; font-weight: 650; }
.event-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.event-dialog__note { min-height: 1.4em; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.recap { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.recap[hidden] { display: none; }
.recap img { width: 52px; height: 72px; object-fit: cover; border-radius: 10px; }
.recap__label { display: block; font-size: .8125rem; font-weight: 650; color: var(--ink-soft); }
.recap span span:last-child { font-weight: 650; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .event-dialog[open] { animation: dialog-in .4s var(--ease); }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header__end .icon-link { display: none; }
  .menu-toggle { display: grid; }
  .header__end { margin-left: auto; }

  .calendar__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calendar__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: end; }
  .calendar__intro .filters { grid-column: 2; grid-row: 1 / 3; align-self: end; }
}

@media (max-width: 1023px) {
  .today__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter--beach .chapter__media { grid-column: 1 / 8; }
  .chapter--beach .chapter__text { grid-column: 8 / 13; padding-left: 8px; }
  .chapter--bar .chapter__text { grid-column: 1 / 6; }
  .chapter--bar .chapter__media--arch { grid-column: 7 / 13; }
  .chapter--events .chapter__text--card { grid-column: 6 / 12; }
  .chapter--community .chapter__text { grid-column: 1 / 6; }
  .chapter--community .chapter__media { grid-column: 7 / 13; aspect-ratio: 4 / 5; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__logo { grid-column: 1 / -1; }
}

/* Phones and small tablets: vertical storytelling */
@media (max-width: 899px) {
  :root { --header: 64px; }
  .header__logo img { height: 34px; }
  .header__cta { margin-left: 0; margin-right: 6px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 36px var(--gutter) 36px; }
  .hero__title { font-size: clamp(3.5rem, 17.5vw, 6.5rem); line-height: .88; }
  .hero__lede { margin-top: 22px; }
  .hero__actions { margin-top: 26px; }
  .hero__media { aspect-ratio: 4 / 5; max-height: 88svh; width: 100%; }
  .hero__tide { display: none; }
  .hero__tide--bottom { display: block; top: auto; bottom: -1px; left: 0; width: 100%; height: 34px; }
  .hero__media img { object-position: 50% 64%; scale: 1.18; transform-origin: 56% 60%; }
  .next-card { left: var(--gutter); right: var(--gutter); bottom: 44px; width: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 14px 14px 18px; border-radius: 20px; }
  .next-card__label, .next-card__title, .next-card__when { grid-column: 1; }
  .next-card__title { font-size: 1.3rem; margin-top: 2px; }
  .next-card__when { margin: 0; font-size: .8125rem; }
  .next-card .btn { grid-column: 2; grid-row: 1 / 4; }

  .today__list { padding-block: 22px; gap: 18px 16px; }
  .today__list li { gap: 10px; font-size: .875rem; }
  .today__list svg { width: 20px; height: 20px; }

  .upcoming { margin-top: 64px; }
  .upcoming__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .upcoming__controls { width: 100%; justify-content: space-between; }
  .upcoming__controls .arrows { display: none; }
  .event-track { gap: 14px; }
  .event-card { flex-basis: min(84vw, 360px); border-radius: 24px; }
  .event-card__media { aspect-ratio: 4 / 3.6; }

  .calendar__grid, .calendar__intro { grid-template-columns: 1fr; }
  .calendar__intro .filters { grid-column: auto; grid-row: auto; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .month { padding: 16px 12px; border-radius: 24px; }
  .month__bar { padding-inline: 6px; }
  .day-cell { font-size: .875rem; }

  .chapter { row-gap: 28px; }
  .chapter + .chapter { margin-top: 88px; }
  .chapter .chapter__media, .chapter .chapter__text { grid-column: 1 / -1 !important; }
  .chapter--beach .chapter__media { aspect-ratio: 4 / 5; margin-inline: calc(var(--gutter) * -1); }
  .chapter--beach .chapter__text { padding: 0; }
  .chapter--bar .chapter__media--arch { grid-row: 1; width: 86%; justify-self: center; }
  .chapter--events .chapter__media--wide { aspect-ratio: 4 / 5; grid-row: 1; }
  .chapter--events .chapter__media--wide { aspect-ratio: 3 / 4; }
  .chapter--events .chapter__text--card { grid-row: 1; align-self: end; margin: 0 12px -1px; padding: 28px 24px 8px; border-radius: 26px 26px 0 0; }
  .chapter--community .chapter__media { grid-row: 1; aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }

  .moments__head, .social__head { grid-template-columns: 1fr; }
  .moments__head p { justify-self: start; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; grid-auto-flow: dense; }
  .mosaic .tile { grid-column: auto; margin-top: 0; align-self: start; }
  .tile--a, .tile--d, .tile--f, .tile--i { grid-column: 1 / -1 !important; }
  .tile--i img { aspect-ratio: 16 / 10 !important; }
  .tile--a { margin-inline: calc(var(--gutter) * -1); }
  .tile--a figcaption { padding-inline: var(--gutter); }
  .tile--b img, .tile--c img { aspect-ratio: 3 / 4; }
  .tile--e img, .tile--g img, .tile--h img, .tile--i img { aspect-ratio: 4 / 5; }
  .tile--f img { aspect-ratio: 4 / 3; }
  .tile--quote { align-self: center; padding: 0; }
  .tile--quote p { font-size: 1.75rem; }
  .tile--quote p::before { margin-bottom: 16px; width: 40px; }
  .tile figcaption { font-size: .875rem; margin-top: 8px; }

  .stories { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .story--feature { grid-column: 1 / -1; grid-row: auto; }
  .story--feature .story__media img { aspect-ratio: 4 / 3; }
  .story__title { font-size: 1.125rem; }
  .play { left: 14px; bottom: 14px; width: 60px; height: 60px; }
  .play svg { width: 22px; height: 22px; }
  .story__duration { left: 84px; bottom: 29px; }
  .play--sm { left: 10px; bottom: 10px; width: 42px; height: 42px; }
  .play--sm svg { width: 16px; height: 16px; }
  .reel { flex-basis: 44vw; }
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .post-grid li:nth-child(n + 7) { display: none; }

  .visit__grid { grid-template-columns: 1fr; }
  .map { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .facts { grid-template-columns: 1fr; }

  .signup__grid { grid-template-columns: 1fr; }
  .field__row { flex-direction: column; }
  .field__row input { flex: none; width: 100%; }
  .field__row .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid .footer__col:first-of-type { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .next-bar { display: flex; }

  .event-dialog { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .event-dialog__inner { display: block; max-height: 92svh; overflow-y: auto; }
  .event-dialog__img { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .event-dialog__body { max-height: none; overflow: visible; padding: 26px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
  .event-dialog__actions .btn { flex: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .event-dialog[open] { animation: sheet-in .45s var(--ease); }
  }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }

/* =========================================================
   Rentals: book a sunbed, chair, cabana or table
   ========================================================= */
.menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.rentals { padding: 0 0 var(--section); }
.rentals__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.rentals__head p { justify-self: end; max-width: 42ch; color: var(--ink-soft); font-size: 1.125rem; }
.rentals__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: start; }

.rental-options { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rental {
  position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  background: var(--white); border: 2px solid var(--line); border-radius: 26px;
  transition: border-color .2s;
}
.rental:hover { border-color: var(--ink-soft); }
.rental:has(input:checked) { border-color: var(--blue); }
.rental:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.rental input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rental__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.rental__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rental:hover .rental__media img { transform: scale(1.03); }
.rental__check {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white);
}
.rental__check svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.rental:has(input:checked) .rental__check { background: var(--blue); }
.rental:has(input:checked) .rental__check svg { opacity: 1; }
.rental__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px; }
.rental__name { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.015em; font-variation-settings: "SOFT" 70; }
.rental__fit { margin-top: 4px; font-size: .8125rem; font-weight: 650; color: var(--ink-soft); }
.rental__desc { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); }
.rental__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 16px; }
.rental__prices > span { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.rental__prices strong { font-size: 1rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.booking {
  --bp: clamp(22px, 2.6vw, 36px);
  position: sticky; top: calc(var(--header) + 20px);
  background: var(--mist); border-radius: 30px; padding: var(--bp);
}
.booking__title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "SOFT" 70; }
.booking__group { display: grid; gap: 10px; min-width: 0; margin-top: 22px; }
.booking__label { font-size: .875rem; font-weight: 650; }

.date-strip {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin-inline: calc(var(--bp) * -1); padding: 2px var(--bp) 4px; scroll-padding-inline: var(--bp);
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  position: relative; flex: 0 0 62px; display: grid; justify-items: center; gap: 1px; padding: 10px 0 11px;
  border-radius: 18px; background: var(--white); cursor: pointer; scroll-snap-align: start; line-height: 1.1;
  transition: background-color .15s;
}
.date-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.date-chip__dow { font-size: .75rem; font-weight: 650; color: var(--ink-soft); }
.date-chip__day { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; font-variation-settings: "SOFT" 70; }
.date-chip__mon { font-size: .6875rem; font-weight: 600; color: var(--ink-soft); }
.date-chip:hover { background: var(--blue-wash); }
.date-chip:has(input:checked) { background: var(--blue); }
.date-chip:has(input:checked) span { color: var(--ink); }
.date-chip:has(input:disabled) { opacity: .4; cursor: not-allowed; background: var(--white); }
.date-chip:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-size: .9375rem; font-weight: 650; transition: background-color .15s, color .15s; }
.segmented label:hover span { background: var(--mist); }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.booking__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
.select { position: relative; display: block; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.select select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 52px; padding: 0 46px 0 20px;
  border: 0; border-radius: 999px; background: var(--white); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.select select:disabled { color: var(--ink-soft); cursor: not-allowed; }
.stepper { display: flex; align-items: center; height: 52px; padding: 4px; border-radius: 999px; background: var(--white); }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); transition: background-color .15s; }
.stepper button:hover:not(:disabled) { background: var(--blue); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.stepper output { min-width: 40px; text-align: center; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.booking__hint { margin-top: 12px; font-size: .875rem; font-weight: 600; }

.booking__summary { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.booking__what { font-family: var(--serif); font-size: 1.3rem; font-weight: 420; line-height: 1.2; font-variation-settings: "SOFT" 70; }
.booking__when { margin-top: 4px; font-size: .9375rem; color: var(--ink-soft); }
.booking__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; font-weight: 650; }
.booking__total strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 70; }
.booking__cta { width: 100%; min-height: 56px; margin-top: 18px; }
.booking__cta:disabled { opacity: .45; cursor: not-allowed; }
.booking__note { margin-top: 12px; font-size: .8125rem; color: var(--ink-soft); }
.booking__status { min-height: 1.4em; margin-top: 8px; font-size: .875rem; font-weight: 650; }

/* =========================================================
   Private events
   ========================================================= */
.parties { padding: 0 0 var(--section); }
.parties__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; margin-bottom: clamp(72px, 9vw, 136px); }
.parties__copy { grid-column: 1 / 6; }
.parties__copy p { max-width: 40ch; margin: 22px 0 30px; color: var(--ink-soft); font-size: 1.125rem; }
.parties__media { grid-column: 7 / 13; position: relative; padding-bottom: 14%; }
.parties__main { overflow: hidden; border-top-left-radius: clamp(80px, 12vw, 180px); background: var(--mist); }
.parties__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.parties__inset { position: absolute; left: -16%; bottom: 0; width: 38%; border: 10px solid var(--white); background: var(--white); }
.parties__inset img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.parties__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.pawty { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; border-radius: 30px; background: var(--blue); }
.pawty__img { width: 100%; height: 100%; object-fit: cover; }
.pawty__body { padding: clamp(24px, 2.6vw, 36px); }
.pawty__title { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.025em; font-variation-settings: "SOFT" 100; }
.pawty__body > p { margin-top: 10px; font-size: .9375rem; }
.pawty__list { margin: 16px 0 22px; display: grid; gap: 8px; font-size: .9375rem; font-weight: 550; }
.pawty__list li { display: flex; gap: 10px; align-items: baseline; }
.pawty__list li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }

.spaces { margin-top: clamp(40px, 5vw, 64px); }
.space-list { margin-top: 18px; }
.space { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.space:last-child { border-bottom: 1px solid var(--line); }
.space__name { font-family: var(--serif); font-weight: 420; font-size: 1.4rem; line-height: 1.15; font-variation-settings: "SOFT" 70; }
.space__fit { align-self: center; padding: 5px 12px; border-radius: 999px; background: var(--blue-wash); font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.space__desc { grid-column: 1 / -1; max-width: 48ch; color: var(--ink-soft); font-size: .9375rem; }

.enquiry { position: sticky; top: calc(var(--header) + 20px); padding: clamp(24px, 3vw, 44px); border-radius: 30px; background: var(--mist); }
.enquiry__title { font-family: var(--serif); font-weight: 360; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.025em; font-variation-settings: "SOFT" 80; }
.enquiry__lede { margin-top: 12px; max-width: 46ch; color: var(--ink-soft); font-size: .9375rem; }
.enquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.f { display: grid; gap: 8px; align-content: start; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.f__label { font-size: .875rem; font-weight: 650; }
.f__opt { font-weight: 500; color: var(--ink-soft); }
.f input, .f textarea {
  width: 100%; min-height: 52px; padding: 12px 18px; border: 1.5px solid transparent; border-radius: 16px;
  background: var(--white); font: inherit; font-size: 1rem; color: var(--ink);
}
/* Date input. iOS Safari draws it natively and ignores the width and height we set,
   which pushed it off screen, so its native look is switched off. */
.f input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%; line-height: 1.5;
}
.f input[type="date"]::-webkit-datetime-edit { padding: 0; }
/* iPhone and iPad only: keep Safari's own centred date, inside our field size. */
@supports (-webkit-touch-callout: none) {
  .f input[type="date"] { display: flex; align-items: center; padding-block: 0; }
  .f input[type="date"]::-webkit-date-and-time-value { flex: 1; min-width: 0; margin: 0; min-height: 1.5em; text-align: center; }
}
.f textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: #6A7C85; }
.f input:focus-visible, .f textarea:focus-visible, .select select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.f [aria-invalid="true"] { border-color: var(--ink); }
.select--field select { border-radius: 16px; font-size: 1rem; font-weight: inherit; }
.enquiry__cta { width: 100%; min-height: 56px; margin-top: 22px; }
.enquiry__fine { margin-top: 12px; font-size: .8125rem; color: var(--ink-soft); }
.enquiry__status { min-height: 1.4em; margin-top: 10px; font-size: .9375rem; font-weight: 650; }

@media (max-width: 1180px) {
  .rentals__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rental-options { gap: 14px; }
  .rental__desc { display: none; }
}

@media (max-width: 899px) {
  .rentals__head { grid-template-columns: 1fr; }
  .rentals__head p { justify-self: start; }
  .rentals__grid { grid-template-columns: 1fr; }
  .rental-options { gap: 12px; }
  .rental { border-radius: 20px; }
  .rental__media { aspect-ratio: 1; }
  .rental__check { top: 10px; right: 10px; width: 30px; height: 30px; }
  .rental__body { padding: 12px 14px 14px; }
  .rental__name { font-size: 1.3rem; }
  .rental__fit { font-size: .75rem; }
  .rental__prices { gap: 4px; padding-top: 10px; }
  .rental__prices > span { padding-top: 8px; font-size: .6875rem; }
  .rental__prices strong { font-size: .9375rem; }
  .booking { position: static; margin-inline: calc(var(--gutter) * -1); border-radius: 26px; }

  .parties__intro { grid-template-columns: 1fr; }
  .parties__copy, .parties__media { grid-column: 1 / -1; }
  .parties__media { margin-left: 12%; padding-bottom: 22%; }
  .parties__inset { left: -14%; width: 44%; border-width: 8px; }
  .parties__body { grid-template-columns: 1fr; }
  .pawty { grid-template-columns: 1fr; }
  .pawty__img { aspect-ratio: 16 / 10; height: auto; }
  .enquiry { position: static; margin-inline: calc(var(--gutter) * -1); border-radius: 26px; }
  .enquiry__grid { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .header__cta { display: none; }
  .today__list { grid-template-columns: 1fr 1fr; }
}

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