/* ==========================================================================
   Dunes Beach Restaurant · Hout Bay
   Tokens come from Dunes' own brand: the steel blue of the script logo,
   the navy of their "Beach restaurant and bar" posters (with the pale
   palm-frond print), the blue shingled roof, and the white sand the
   building stands on. Sunset tones are for the "day" only.
   ========================================================================== */

:root {
  --navy: #084974;          /* posters, buttons, ink accents */
  --navy-deep: #06334F;
  --ink: #0D2638;
  --blue: #6A96B6;          /* the script logo */
  --blue-soft: #A9C3D8;
  --roof: #5D8FC2;          /* the shingled roof in the sun */
  --frond: #C9D8E6;         /* the palm print on their posters */
  --sand: #F4EFE6;
  --sand-2: #EAE0CF;
  --sand-3: #DCCDB4;
  --shell: #FBF8F2;
  --sun: #F4B860;
  --coral: #EE8A6B;
  --dusk: #2B3560;
  --night: #0A1A2C;
  --muted: #5A6B7A;
  --line: rgba(13, 38, 56, .14);
  --line-light: rgba(251, 248, 242, .18);

  --f-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-ui: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 12vw, 180px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 2px 6px rgba(8, 40, 64, .06), 0 10px 30px rgba(8, 40, 64, .08);
  --shadow-lg: 0 12px 34px rgba(8, 40, 64, .14), 0 40px 90px rgba(8, 40, 64, .18);
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-ui);
  font-weight: 350;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em { font-style: italic; }
::selection { background: var(--navy); color: var(--shell); }
:focus-visible { outline: 2px solid var(--roof); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--navy); color: var(--shell); border-radius: 999px; transform: translateY(-160%); transition: transform .3s var(--ease); text-decoration: none; }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font: 500 12.5px/1.2 var(--f-ui);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.eyebrow--light { color: var(--shell); }

h2 {
  font-family: var(--f-display);
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: .95;
  letter-spacing: -.012em;
  color: var(--navy);
}
h2 em, .hero__title em { font-style: italic; color: var(--blue); }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; font-weight: 350; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--navy); --fg: var(--shell);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 15.5px/1 var(--f-ui); letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--roof); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--sand { --bg: var(--sand); --fg: var(--navy); }
.btn--sand:hover { color: var(--shell); }
.btn--solid:hover { color: var(--shell); }
.btn--glass { --bg: rgba(251, 248, 242, .14); --fg: var(--shell); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(251, 248, 242, .35); }
.btn--glass::before { background: var(--shell); }
.btn--glass:hover { color: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: var(--shell); }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 120;
  background: var(--sand);
  color: var(--blue);
}
.intro__inner { display: grid; justify-items: center; gap: 22px; transform: translateY(-2vh); }
.intro__logo { width: min(64vw, 520px); fill: currentColor; overflow: visible; }
.intro__line { display: flex; gap: 14px; margin: 0; font: 500 12px/1 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--navy); opacity: 0; }
.intro__line span + span::before { content: "·"; margin-right: 14px; }
.intro__edge { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 60px; fill: var(--sand); }
.intro.is-done { display: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--shell);
  transition: transform .6s var(--ease), color .4s;
}
.header__bar {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-solid { color: var(--navy); }
.header.is-solid .header__bar { background: color-mix(in srgb, var(--sand) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); height: 68px; }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { display: block; width: 116px; color: inherit; flex: none; }
.header.is-solid .header__logo { color: var(--blue); }
.header__logo svg { width: 100%; fill: currentColor; }
.header__nav { display: flex; gap: 30px; margin-left: auto; }
.header__nav a { position: relative; font-size: 15px; font-weight: 450; letter-spacing: .02em; text-decoration: none; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__end { display: flex; align-items: center; gap: 16px; }
.header .btn--solid { --bg: var(--shell); --fg: var(--navy); }
.header.is-solid .btn--solid { --bg: var(--navy); --fg: var(--shell); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 450; letter-spacing: .02em; white-space: nowrap; opacity: .9; }
.status i, .visit__open i { width: 8px; height: 8px; border-radius: 50%; background: #9BB0BF; flex: none; }
.status.is-open i, .visit__open.is-open i { background: #4CC38A; box-shadow: 0 0 0 0 rgba(76, 195, 138, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 195, 138, .55); } 70% { box-shadow: 0 0 0 9px rgba(76, 195, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 195, 138, 0); } }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(251, 248, 242, .16); position: relative; }
.header.is-solid .burger { background: rgba(8, 73, 116, .08); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px) var(--gutter) 34px;
  background: var(--navy); color: var(--shell);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu { overflow: hidden; isolation: isolate; }
.mobile-menu__frond { position: absolute; z-index: -1; width: 120%; right: -46%; bottom: 4%; fill: #fff; opacity: .07; transform: rotate(-12deg); pointer-events: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font: 400 clamp(40px, 11vw, 64px)/1.1 var(--f-display); text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 10px; }
.mobile-menu .btn--solid { --bg: var(--sand); --fg: var(--navy); }
.mobile-menu .btn--ghost { --fg: var(--shell); box-shadow: inset 0 0 0 1.5px rgba(251, 248, 242, .5); }
.menu-open .header { color: var(--shell); }
.menu-open .header .header__bar { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .header__logo { color: var(--shell); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: var(--navy-deep); }
.hero__stage { position: relative; height: 100%; overflow: hidden; color: var(--shell); }
.film { position: absolute; inset: 0; overflow: hidden; background: var(--navy-deep); }
.film__shots, .film__shot { position: absolute; inset: 0; margin: 0; }
.film__shot { opacity: 0; transition: opacity 1.4s ease; }
.film__shot img, .film__shot video, .film__video { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); filter: saturate(1.08) contrast(1.04); }
.film__shot.is-on { opacity: 1; }
.film__shot.is-on img { animation: kenburns 9s linear both; }
.film__shot:nth-child(odd).is-on img { animation-name: kenburns-b; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(-1.2%, 0, 0); } to { transform: scale(1.02) translate3d(1%, -1%, 0); } }
@keyframes kenburns-b { from { transform: scale(1.02); } to { transform: scale(1.13) translate3d(-1%, 1%, 0); } }
.film__shot--video { display: none; }
.film__video { position: absolute; inset: 0; }
.film__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 30, 48, .38) 0%, rgba(6, 30, 48, 0) 24%),
    linear-gradient(0deg, rgba(6, 30, 48, .68) 0%, rgba(6, 30, 48, .2) 42%, rgba(6, 30, 48, 0) 68%),
    linear-gradient(90deg, rgba(6, 30, 48, .34) 0%, rgba(6, 30, 48, 0) 58%);
}
.grain { position: absolute; inset: -50%; background: url(../assets/img/grain.png); opacity: .07; mix-blend-mode: overlay; pointer-events: none; animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.hero__copy { position: absolute; left: 0; right: 0; bottom: clamp(120px, 17vh, 190px); z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(50px, min(9.6vw, 15.5vh), 164px);
  line-height: .9; letter-spacing: -.015em;
  margin: 0 0 28px; max-width: 12ch;
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--blue-soft); }
.hero__lede { max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(251, 248, 242, .9); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* set from js when the hero is short: the lede steps aside so the headline keeps its size */
.hero__copy.is-tight .hero__lede { display: none; }
.hero__copy.is-tight .eyebrow { margin-bottom: 16px; }
.hero__copy.is-tight .hero__title { margin-bottom: 22px; }

.hero__ui { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hero__shot { display: grid; gap: 10px; min-width: 0; }
.hero__caption { margin: 0; font: italic 400 19px/1.2 var(--f-display); color: rgba(251, 248, 242, .9); min-height: 1.2em; }
.ticks { display: flex; gap: 6px; }
.ticks i { position: relative; width: 38px; height: 2px; background: rgba(251, 248, 242, .25); overflow: hidden; border-radius: 2px; }
.ticks i::after { content: ""; position: absolute; inset: 0; background: var(--shell); transform: scaleX(0); transform-origin: left; }
.ticks i.is-done::after { transform: scaleX(1); }
.ticks i.is-on::after { animation: tick var(--dur, 6s) linear forwards; }
@keyframes tick { to { transform: scaleX(1); } }
.hero__meta { display: grid; justify-items: end; gap: 14px; text-align: right; }
.sunchip { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 15px; border-radius: 999px; background: rgba(251, 248, 242, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(251, 248, 242, .22); }
.sunchip svg { width: 18px; height: 18px; fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-linecap: round; }
.sunchip b { font-weight: 550; }
.scrollcue { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.scrollcue i { position: relative; width: 1.5px; height: 44px; background: rgba(251, 248, 242, .25); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--shell); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

.tide { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.tide__a { fill: url(#gTideA); opacity: .94; }
.tide__b { fill: url(#gTideB); opacity: .97; }
.tide__foam { fill: #fff; opacity: .92; }
.tide__foam--a { opacity: .38; }
.tide__lace { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0.1 13 0.1 27 0.1 8 0.1 35 0.1 17 0.1 44; opacity: .85; }
.tide__c { fill: var(--shell); }
.tide__d { fill: var(--sand); }
.is-static .tide, .no-tide .tide { display: none; }

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */
.story { position: relative; padding: clamp(80px, 10vw, 150px) 0 var(--section); background: var(--sand); }
/* With motion, the story slides up under the last of the tide (same sand colour), so the words rise straight out of it */
.js:not(.is-static) .story { margin-top: -50vh; margin-top: -50svh; padding-top: clamp(60px, 7vw, 100px); z-index: 2; }
.story__head { max-width: 1100px; }
.story__title { font-size: clamp(50px, 7.6vw, 124px); max-width: 13ch; }
.story__body { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 640px; margin: clamp(36px, 5vw, 64px) 0 0 auto; }
.story__body p:last-child { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; color: var(--navy); margin-top: 10px; }

.story__photo { position: relative; margin: clamp(60px, 8vw, 110px) auto 0; width: min(100% - var(--gutter) * 2, 1480px); }
.story__frame { position: relative; overflow: hidden; border-radius: clamp(18px, 2.4vw, 34px); aspect-ratio: 16 / 9; background: var(--sand-2); }
.story__frame img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 70%; will-change: transform; }
.story__photo figcaption { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.stamp { position: absolute; right: clamp(16px, 4vw, 54px); top: clamp(-50px, -4vw, -30px); width: clamp(96px, 10vw, 136px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--shell); box-shadow: var(--shadow-lg); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { font: 500 8.4px var(--f-ui); letter-spacing: .12em; fill: var(--shell); }
.stamp b { font: italic 400 clamp(24px, 2.4vw, 32px)/1 var(--f-display); }
@keyframes spin { to { transform: rotate(360deg); } }

.facts { list-style: none; margin: clamp(60px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 30px 26px 0 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--line); }
.fact b { font: 400 clamp(46px, 5vw, 74px)/1 var(--f-display); color: var(--navy); letter-spacing: -.01em; }
.fact b small { font-size: .45em; color: var(--blue); margin-left: 2px; }
.fact > span { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 24ch; }

/* --------------------------------------------------------------------------
   A day on the sand
   -------------------------------------------------------------------------- */
.day { position: relative; background: var(--sand); }
.day__intro { padding-bottom: clamp(50px, 6vw, 80px); }
.day__intro h2 { max-width: 14ch; }
.day__intro .lead { max-width: 52ch; margin-top: 26px; color: var(--muted); }

/* Desktop: a side panel (clock + chapter) and the scene framed like a big window.
   --panel and --panel-ink follow the light (set from js). */
.day__pin {
  --panel: var(--sand); --panel-ink: var(--navy);
  position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-columns: minmax(380px, 34%) 1fr; grid-template-rows: auto 1fr;
  background: var(--panel); color: var(--panel-ink);
}
.scene { position: relative; grid-column: 2; grid-row: 1 / 3; margin: calc(var(--header-h) + 4px) var(--gutter) 24px 0; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px rgba(8, 40, 64, .16); isolation: isolate; }
.scene__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .grain { opacity: .06; mix-blend-mode: soft-light; }

/* scene colours (set live from js) */
.scene__svg {
  --sky-top: #3F86C8; --sky-mid: #7FB4DE; --sky-hor: #D7EAF5;
  --sea-far: #2D74AA; --sea-near: #1D5E92;
  --sand-top: #F6EEDF; --sand-bot: #EBDDC4; --dune: #F1E6D2;
  --mtn-far: #8EA8BE; --mtn: #6E8AA3; --ridge-far: #A3B6C7; --ridge: #7E98AE;
  --sun: #FFFFFF; --glow: #FFF5D8; --cloud: #FFFFFF; --cloud-o: .9;
  --roof: #5D8FC2; --roof-shade: #4A79A8; --wall: #F1E9DA; --wall-shade: #E2D6C1; --wall-low: #F7F3EA; --trim: #FFFFFF;
  --glass: #A9C6DD; --navy: #084974; --umbrella: #FFFFFF; --wood: #A77E57; --wood-dark: #8A6545; --rope: #6B5A47;
  --trunk: #8A6B4E; --frond: #5F7F55; --frond-dark: #4C6A45; --agave: #6E8C6A; --hull: #FBF8F2; --hull-low: #B5523B; --cabin: #ECE3D2;
  --slide: #E8785A; --fence: #B8A48A; --night-o: 0; --dolphin-o: 1; --gull-o: 0; --town-o: 0; --glitter-o: .5;
}
.s-sky-top { stop-color: var(--sky-top); } .s-sky-mid { stop-color: var(--sky-mid); } .s-sky-hor { stop-color: var(--sky-hor); }
.s-sea-far { stop-color: var(--sea-far); } .s-sea-near { stop-color: var(--sea-near); }
.s-sand-top { stop-color: var(--sand-top); } .s-sand-bot { stop-color: var(--sand-bot); }
.s-glow { stop-color: var(--glow); }
.f-sun { fill: var(--sun); }
.f-ridge-far { fill: var(--ridge-far); } .f-ridge { fill: var(--ridge); }
.f-mtn-far { fill: var(--mtn-far); } .f-mtn { fill: var(--mtn); }
.f-horizon { fill: var(--sky-hor); opacity: .55; }
.f-dune { fill: var(--dune); }
.f-roof { fill: var(--roof); } .f-roof-shade { fill: var(--roof-shade); }
.shingles path { stroke: var(--roof-shade); stroke-width: 3; stroke-dasharray: 30 4; fill: none; }
.f-wall { fill: var(--wall); } .f-wall-shade { fill: var(--wall-shade); } .f-wall-low { fill: var(--wall-low); }
.f-trim, .rail { fill: var(--trim); }
.f-glass, .f-glass rect { fill: var(--glass); }
.f-navy { fill: var(--navy); }
.f-logo { fill: var(--trim); }
.f-umbrella { fill: var(--umbrella); }
.f-umbrella-band { fill: var(--navy); opacity: .9; }
.navy-umbrella .f-umbrella { fill: var(--navy); }
.navy-umbrella .f-umbrella-band { fill: var(--trim); opacity: .85; }
.f-wood { stroke: var(--wood); fill: none; stroke-linecap: round; }
.f-wood-dark { fill: var(--wood-dark); }
.f-rope { stroke: var(--rope); stroke-width: 2.5; fill: none; }
.f-slide { fill: var(--slide); }
.f-trunk { fill: var(--trunk); }
.f-trunk-ring { stroke: var(--wood-dark); stroke-width: 2; opacity: .5; fill: none; }
.f-frond { fill: var(--frond); } .f-frond-dark { fill: var(--frond-dark); }
.f-agave { fill: var(--agave); }
.f-hull { fill: var(--hull); } .f-hull-low { fill: var(--hull-low); } .f-cabin { fill: var(--cabin); }
.f-fence rect { fill: var(--fence); } .f-fence-line { stroke: var(--fence); stroke-width: 1.2; fill: none; opacity: .7; }
.f-cliff { fill: #0A1A2C; opacity: .13; }
.f-moon { fill: #F4EEDC; } .f-moon-cut { fill: var(--sky-top); }
.moon, .stars { opacity: var(--night-o); }
.stars circle { fill: #FFF8E7; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; } }
.town { opacity: var(--town-o); fill: #FFD58A; }
.windows { opacity: var(--night-o); }
.glitter { fill: var(--glow); opacity: var(--glitter-o); }
.clouds { fill: var(--cloud); opacity: var(--cloud-o); }
.cloud { animation: drift 80s linear infinite alternate; }
.cloud--2 { animation-duration: 110s; animation-direction: alternate-reverse; }
.cloud--3 { animation-duration: 70s; }
@keyframes drift { to { transform: translateX(120px); } }
.gulls { opacity: var(--gull-o); }
.gull { fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linecap: round; animation: glide 22s linear infinite; }
.gull--2 { animation-duration: 26s; animation-delay: -6s; }
@keyframes glide { 0% { transform: translate(-200px, 30px); } 50% { transform: translate(300px, -20px); } 100% { transform: translate(800px, 20px); } }
.dolphins { opacity: var(--dolphin-o); }
.dolphin { visibility: hidden; }
.dolphins__far { opacity: .78; }
.dolphins.is-swimming .dolphin { visibility: visible; }
.dol-body { fill: #36556F; }
.dol-fin { fill: #2D4A63; }
.dol-belly { fill: #C3D3DE; }
.dol-sheen { fill: none; stroke: #fff; stroke-opacity: .42; stroke-width: .9; stroke-linecap: round; }
.dol-mouth { fill: none; stroke: #1E354A; stroke-opacity: .55; stroke-width: .55; stroke-linecap: round; }
.dol-eye { fill: #0D2638; }
.splash ellipse { fill: none; stroke: #fff; stroke-width: 1.4; opacity: 0; }
.splash .foam { fill: #fff; stroke: none; }
.splash circle { fill: #fff; opacity: 0; }
.surf { fill: none; stroke: #FFFFFF; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 120 30 60 40; opacity: calc(.8 - var(--night-o) * .62); animation: surf 9s linear infinite; }
.surf--far { stroke-width: 1.6; opacity: calc(.4 - var(--night-o) * .3); animation-duration: 14s; }
@keyframes surf { to { stroke-dashoffset: -500; } }
.palm .fronds { animation: sway 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 50%; }
.palm--2 .fronds { animation-duration: 7s; }
@keyframes sway { from { rotate: -2deg; } to { rotate: 2deg; } }
.swing { animation: swing 3.2s ease-in-out infinite alternate; transform-origin: 980px 602px; }
@keyframes swing { from { rotate: -16deg; } to { rotate: 16deg; } }

.day__hud { grid-column: 1; grid-row: 1; padding: calc(var(--header-h) + 18px) clamp(24px, 3vw, 48px) 0 var(--gutter); pointer-events: none; display: grid; gap: 26px; align-content: start; }
.day__clock { margin: 0; display: grid; color: var(--panel-ink); }
.day__clock span { font: 400 clamp(76px, 8.4vw, 136px)/.86 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.day__clock small { font: 500 12.5px/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; margin-top: 14px; padding-left: 4px; opacity: .8; }
.day__rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--panel-ink); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.day__rail li { display: flex; align-items: center; gap: 14px; white-space: nowrap; opacity: .42; transition: opacity .5s; }
.day__rail li i { width: 22px; height: 1.5px; background: currentColor; transition: width .6s var(--ease); }
.day__rail li.is-on { opacity: 1; }
.day__rail li.is-on i { width: 46px; }

.day__cards { grid-column: 1; grid-row: 2; align-self: end; position: relative; z-index: 3; margin: 0 clamp(24px, 3vw, 48px) 24px var(--gutter); display: grid; }
.chapter {
  grid-area: 1 / 1;
  color: var(--ink);
  padding: 28px 30px 24px;
  border-radius: var(--radius);
  background: var(--shell);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s;
}
.chapter.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .1s, transform .9s var(--ease) .1s, visibility 0s; }
.chapter__time { margin: 0 0 12px; font: 500 12.5px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--roof); }
.chapter h3 { font: 400 clamp(32px, 3.2vw, 44px)/1 var(--f-display); color: var(--navy); margin-bottom: 14px; }
.chapter > p { font-size: 16.5px; line-height: 1.55; color: #33485A; margin-bottom: 18px; }
.chapter > p b { font-weight: 550; color: var(--navy); }
.picks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.picks li, .kidsmenu__list li { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; }
.picks i, .kidsmenu__list i { flex: 1; border-bottom: 1.5px dotted rgba(8, 73, 116, .3); transform: translateY(-4px); }
.picks b, .kidsmenu__list b { font-weight: 550; color: var(--navy); font-variant-numeric: tabular-nums; }

.day__media { position: absolute; right: calc(var(--gutter) + 26px); top: calc(var(--header-h) + 30px); z-index: 3; width: clamp(170px, 14vw, 220px); display: grid; }
.snap {
  grid-area: 1 / 1; margin: 0;
  padding: 10px 10px 14px; border-radius: 16px;
  background: var(--shell); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(30px) rotate(4deg);
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s .6s;
}
.snap.is-on { opacity: 1; visibility: visible; transform: rotate(2.5deg); transition: opacity .7s var(--ease) .15s, transform 1s var(--ease) .15s, visibility 0s; }
.snap:nth-child(even).is-on { transform: rotate(-2.5deg); }
.snap img, .snap video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 9px; background: var(--sand-2); }
.snap figcaption { display: grid; gap: 4px; margin-top: 10px; padding: 0 4px; font: italic 400 16px/1.2 var(--f-display); color: var(--navy); }
.snap figcaption span { font: 500 11px/1.6 var(--f-ui); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--navy); color: var(--shell); padding: 26px 0; border-block: 1px solid rgba(251, 248, 242, .08); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; font: italic 400 clamp(30px, 3.6vw, 52px)/1 var(--f-display); white-space: nowrap; will-change: transform; }
.marquee__track i { font-style: normal; font-size: .45em; color: var(--blue); }

/* --------------------------------------------------------------------------
   Kids
   -------------------------------------------------------------------------- */
.kids { padding: var(--section) 0; background: var(--shell); }
.kids__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.kids h2 { max-width: 12ch; margin-bottom: 30px; }
.kids .lead { max-width: 48ch; color: #33485A; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 34px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 450; color: var(--navy); }
.kids__quote { margin: 0; padding-left: 22px; border-left: 2px solid var(--blue); max-width: 46ch; }
.kids__quote p { font: italic 400 clamp(22px, 2vw, 28px)/1.25 var(--f-display); color: var(--navy); margin-bottom: 10px; }
.kids__quote cite { font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kids__art svg { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.kids__art-cap { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
.kids-swing { animation: swing 3s ease-in-out infinite alternate; transform-origin: 140px 304px; }
.kids-boat { transform-box: view-box; transform-origin: 437px 470px; }
.kids-surf { stroke-dasharray: 90 24 40 30; animation: surf 9s linear infinite; }

.kidsmenu { margin-top: clamp(60px, 7vw, 100px); display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.kidsmenu__head h3 { font: 400 clamp(36px, 3.4vw, 50px)/1 var(--f-display); color: var(--navy); }
.kidsmenu__head p { margin-top: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kidsmenu__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 44px; }

/* --------------------------------------------------------------------------
   Menu
   -------------------------------------------------------------------------- */
.menu { padding: var(--section) 0; background: var(--sand); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.menu__head h2 { max-width: 11ch; }
.menu__tools { display: grid; gap: 14px; justify-items: end; }
.search { position: relative; display: block; width: min(380px, 100%); }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; height: 54px; padding: 0 20px 0 50px; border: 0; border-radius: 999px; background: var(--shell); box-shadow: inset 0 0 0 1.5px var(--line); font: 400 16px var(--f-ui); color: var(--ink); transition: box-shadow .3s; }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--roof); }
.menu__legend { margin: 0; font-size: 13.5px; color: var(--muted); }
.tag { display: inline-grid; place-items: center; min-width: 22px; height: 19px; padding: 0 5px; margin-left: 8px; border-radius: 6px; background: #E3EDD9; color: #3F6A35; font: 600 10.5px/1 var(--f-ui); letter-spacing: .04em; vertical-align: 2px; }
.menu__legend .tag { margin: 0 4px 0 0; }
.tag--gf { background: #F4E4CF; color: #8A5A22; }

.menu__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 calc(var(--gutter) * -1) 40px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tab { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 450 15px var(--f-ui); color: var(--navy); transition: background .3s, color .3s, box-shadow .3s; }
.menu__tab:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.menu__tab[aria-selected="true"] { background: var(--navy); color: var(--shell); box-shadow: none; }
.menu__body { min-height: 420px; }
.menu__group + .menu__group { margin-top: 56px; }
.menu__group h3 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font: 400 clamp(34px, 3.2vw, 46px)/1 var(--f-display); color: var(--navy); margin-bottom: 8px; }
.menu__group h3 small { font: 500 12.5px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.menu__note { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 16px; }
.menu__item { padding: 16px 0 14px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.menu__row { display: flex; align-items: baseline; gap: 12px; }
.menu__name { font-size: 18px; font-weight: 450; color: var(--ink); }
.menu__row i { flex: 1; border-bottom: 1.5px dotted rgba(8, 73, 116, .25); transform: translateY(-5px); min-width: 20px; }
.menu__price { font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu__desc { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.menu mark { background: #FBE3B3; color: inherit; border-radius: 3px; padding: 0 2px; }
.menu__empty { padding: 60px 0; font: italic 400 28px/1.3 var(--f-display); color: var(--muted); }
.menu__foot { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Weeknights
   -------------------------------------------------------------------------- */
.nights { padding: var(--section) 0; background: var(--shell); }
.nights__head { display: grid; grid-template-columns: 1fr; max-width: 900px; margin-bottom: clamp(44px, 5vw, 70px); }
.nights__head h2 { max-width: 13ch; margin-bottom: 22px; }
.nights__head p:last-child { font-size: 19px; color: var(--muted); }
.nights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.night { position: relative; }
.night__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--sand-2); margin-bottom: 22px; }
.night__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.night:hover .night__img img { transform: scale(1.06); }
.night__day { margin: 0 0 6px; font: 500 12.5px/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--roof); }
.night h3 { font: 400 clamp(30px, 2.6vw, 38px)/1.05 var(--f-display); color: var(--navy); margin-bottom: 10px; }
.night p:last-child { font-size: 16px; color: var(--muted); max-width: 34ch; }
.nights__fine { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 80ch; }
.nights__fine a { color: var(--navy); }

/* --------------------------------------------------------------------------
   Functions
   -------------------------------------------------------------------------- */
.functions { position: relative; overflow: hidden; padding: var(--section) 0; background: var(--navy); color: var(--shell); isolation: isolate; }
.functions__frond { position: absolute; z-index: -1; fill: #fff; opacity: .07; pointer-events: none; }
.functions__frond--a { width: clamp(420px, 52vw, 820px); right: -12%; top: -14%; transform: rotate(24deg); }
.functions__frond--b { width: clamp(320px, 36vw, 560px); left: -10%; bottom: -16%; transform: rotate(200deg); }
.functions h2 { color: var(--shell); max-width: 11ch; margin-bottom: 30px; }
.functions h2 em { color: var(--blue-soft); }
.functions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.functions .lead { color: rgba(251, 248, 242, .86); max-width: 46ch; }
.functions__photo { margin: 40px 0 0; max-width: 360px; transform: rotate(-2deg); }
.functions__photo img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.functions__photo figcaption { margin-top: 12px; font: italic 400 20px/1.2 var(--f-display); color: var(--blue-soft); }
.spec { padding: clamp(28px, 3.4vw, 48px); border-radius: 28px; background: rgba(251, 248, 242, .06); box-shadow: inset 0 0 0 1px var(--line-light); backdrop-filter: blur(6px); }
.spec__big { font: 400 clamp(30px, 3vw, 42px)/1.1 var(--f-display); margin-bottom: 30px; color: rgba(251, 248, 242, .8); }
.spec__big span { display: block; color: var(--shell); font-style: italic; }
.spec__list { margin: 0 0 34px; display: grid; }
.spec__list div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.spec__list dt { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); padding-top: 4px; }
.spec__list dd { margin: 0; font-size: 17px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews { padding: var(--section) 0; background: var(--sand); overflow: hidden; }
.reviews__head { text-align: center; display: grid; justify-items: center; }
.reviews__hero { margin: 0 0 30px; max-width: 1100px; }
.reviews__hero p { font: 400 clamp(40px, 5.4vw, 86px)/1 var(--f-display); color: var(--navy); letter-spacing: -.01em; text-wrap: balance; }
.reviews__hero em { color: var(--blue); }
.reviews__hero cite { display: block; margin-top: 26px; font: 500 13px var(--f-ui); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 15px; color: var(--muted); }
.rating b { color: var(--navy); font-weight: 550; }
.rating__stars { display: inline-flex; gap: 3px; }
.rating__stars svg { width: 18px; height: 18px; fill: var(--sun); }
.rating__stars svg.half { -webkit-mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.25) 60%); mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.25) 60%); fill: var(--sun); }
.drift { margin-top: clamp(50px, 6vw, 80px); }
.drift__row { display: flex; gap: 20px; width: max-content; padding: 10px 0; will-change: transform; }
.review { flex: none; width: clamp(280px, 28vw, 380px); margin: 0; padding: 28px 28px 24px; border-radius: var(--radius); background: var(--shell); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.review blockquote { margin: 0; font: 400 22px/1.3 var(--f-display); color: var(--ink); }
.review figcaption { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.review figcaption::before { content: ""; display: inline-block; width: 18px; height: 1.5px; background: var(--blue); vertical-align: middle; margin-right: 10px; }

/* --------------------------------------------------------------------------
   Visit & book
   -------------------------------------------------------------------------- */
.visit { position: relative; padding: var(--section) 0; background: linear-gradient(180deg, var(--navy) 0%, #0B2F4E 55%, var(--dusk) 100%); color: var(--shell); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.visit h2 { color: var(--shell); margin-bottom: 26px; }
.visit h2 em { color: var(--blue-soft); }
.visit__open { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(251, 248, 242, .08); box-shadow: inset 0 0 0 1px var(--line-light); font-size: 15px; margin-bottom: 30px; }
.visit__list { margin: 0 0 34px; }
.visit__list div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-light); }
.visit__list dt { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); padding-top: 4px; }
.visit__list dd { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(251, 248, 242, .9); }
.visit__list a { color: var(--shell); text-decoration-color: rgba(251, 248, 242, .35); text-underline-offset: 4px; }
.visit__list a:hover { text-decoration-color: var(--shell); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.book { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; background: var(--shell); color: var(--ink); box-shadow: var(--shadow-lg); }
.book.is-flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 20% { box-shadow: 0 0 0 6px var(--sun), var(--shadow-lg); } }
.book__head { grid-column: 1 / -1; margin-bottom: 6px; }
.book__head h3 { font: 400 clamp(32px, 3vw, 42px)/1 var(--f-display); color: var(--navy); margin-bottom: 8px; }
.book__head p { font-size: 15.5px; color: var(--muted); margin: 0; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); font: 400 16px var(--f-ui); color: var(--ink); transition: box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--roof); }
.field.is-invalid input { box-shadow: inset 0 0 0 2px var(--coral); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.book__foot { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 6px; }
.book__foot .btn { justify-self: start; }
.book__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.book__note a { color: var(--navy); }
.book__status { margin: 0; font-size: 14.5px; color: var(--navy); min-height: 1.2em; }
.book__status.is-error { color: #B4472C; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0 34px; background: linear-gradient(180deg, var(--dusk) 0%, var(--night) 46%); color: rgba(251, 248, 242, .8); }
.footer__sky { position: absolute; inset: 0 0 40% 0; pointer-events: none; }
.footer__sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #FFF8E7; animation: twinkle 3s ease-in-out infinite; }
.footer .wrap { position: relative; }
.footer__logo { display: block; width: min(100%, 980px); margin: 0 auto; color: var(--blue); }
.footer__logo svg { width: 100%; fill: currentColor; }
.footer__tag { margin: 26px 0 70px; text-align: center; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-soft); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; border-top: 1px solid var(--line-light); }
.footer h4 { font: 500 12px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 12px; }
.footer__cols p { font-size: 16px; line-height: 1.6; margin: 0; }
.footer a { text-decoration-color: rgba(251, 248, 242, .3); text-underline-offset: 4px; }
.footer a:hover { color: var(--shell); text-decoration-color: currentColor; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: 14px; }
.footer__base p { margin: 0; }

/* --------------------------------------------------------------------------
   Film player
   -------------------------------------------------------------------------- */
.player { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 4vw; background: rgba(4, 18, 30, .94); }
.player[hidden] { display: none; }
.player video { width: min(100%, 1400px); max-height: 86vh; border-radius: 14px; background: #000; }
.player__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(251, 248, 242, .14); color: var(--shell); font-size: 28px; line-height: 1; }

/* --------------------------------------------------------------------------
   Reveal defaults (motion sets these up; static shows everything)
   -------------------------------------------------------------------------- */
.js:not(.is-static) .reveal { opacity: 0; transform: translateY(28px); }

/* --------------------------------------------------------------------------
   Static / reduced motion: no pin, no tide; the day becomes four stacked
   chapters, each over its own lit scene.
   -------------------------------------------------------------------------- */
.is-static .intro { display: none; }
.is-static .day__pin { display: block; height: auto; min-height: 0; overflow: visible; background: var(--sand); }
.is-static .scene { height: 70vh; min-height: 420px; margin: 0 var(--gutter); }
.is-static .day__hud { display: none; }
.is-static .day__cards, .is-static .day__media { position: static; width: auto; }
.is-static .day__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px var(--gutter) 0; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: -120px auto 0; position: relative; z-index: 2; }
.is-static .chapter { opacity: 1; visibility: visible; transform: none; grid-area: auto; }
.is-static .day__media { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px var(--gutter) 20px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; }
.is-static .snap { opacity: 1; visibility: visible; transform: none; grid-area: auto; }
.is-static .film__shot.is-on img { animation: none; }
.is-static .grain, .is-static .stamp svg { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header__nav { gap: 22px; }
  .status { display: none; }
  .day__media { width: 220px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__nav { display: none; }
  .header__end .btn { display: none; }
  .burger { display: block; }
  .header__end { margin-left: auto; }
  .header__logo { width: 100px; }

  .hero__ui { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__meta { justify-items: start; text-align: left; }
  .scrollcue { display: none; }
  .hero__copy { bottom: 150px; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }

  .kids__grid, .functions__grid, .visit__grid { grid-template-columns: 1fr; }
  .kidsmenu { grid-template-columns: 1fr; gap: 20px; }
  .nights__grid { grid-template-columns: 1fr 1fr; }
  .nights__grid .night:last-child { grid-column: 1 / -1; }
  .nights__grid .night:last-child .night__img { aspect-ratio: 16 / 9; }
  .menu__cols { grid-template-columns: 1fr; }
  .menu__tools { justify-items: start; width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  /* day: clock on top, the scene window, then the card */
  .day__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .day__hud { grid-column: 1; grid-row: 1; padding: calc(var(--header-h) + 6px) var(--gutter) 12px; }
  .day__clock span { font-size: clamp(52px, 14vw, 84px); }
  .day__clock small { margin-top: 8px; }
  .day__rail { display: none; }
  .scene { grid-column: 1; grid-row: 2; margin: 0 var(--gutter); border-radius: 22px; }
  .day__cards { grid-column: 1; grid-row: 3; margin: -46px calc(var(--gutter) + 8px) 14px; }
  .chapter { padding: 20px 20px 16px; }
  .chapter h3 { font-size: 30px; margin-bottom: 8px; }
  .chapter > p { font-size: 15px; margin-bottom: 12px; }
  .picks { gap: 5px; padding-top: 10px; }
  .picks li { font-size: 14.5px; }
  .day__media { right: calc(var(--gutter) + 4px); top: calc(var(--header-h) + 10px); width: 92px; }
  .snap { padding: 5px 5px 6px; border-radius: 10px; }
  .snap img, .snap video { border-radius: 6px; }
  .snap figcaption { display: none; }
  .is-static .day__cards, .is-static .day__media { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .is-static .scene { height: 56vh; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .film__shot--video { display: block; }
  .hero__title { font-size: clamp(52px, 15vw, 80px); }
  .hero__lede { font-size: 16.5px; margin-bottom: 24px; }
  .hero__copy { bottom: 128px; }
  .hero__actions .btn { min-height: 48px; padding: 0 20px; }
  .hero__ui { bottom: 22px; }
  .sunchip { font-size: 13px; padding: 7px 12px; }
  .ticks i { width: 26px; }
  .story__photo { width: 100%; }
  .story__frame { border-radius: 0; aspect-ratio: 4 / 3; }
  .story__photo figcaption { padding: 0 var(--gutter); padding-right: 130px; }
  .stamp { top: auto; bottom: 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .kidsmenu__list { grid-template-columns: 1fr; }
  .nights__grid { grid-template-columns: 1fr; }
  .nights__grid .night:last-child .night__img { aspect-ratio: 4 / 5; }
  .spec__list div, .visit__list div { grid-template-columns: 1fr; gap: 4px; }
  .book { grid-template-columns: 1fr; padding: 22px; border-radius: 22px; }
  .footer__cols { grid-template-columns: 1fr; }
  .is-static .day__cards, .is-static .day__media { grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .hero__copy { bottom: 96px; }
  .hero__copy .eyebrow { margin-bottom: 16px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lede { display: none; }
  .hero__ui { bottom: 22px; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .day__hud { padding-top: calc(var(--header-h) + 10px); gap: 16px; }
  .day__clock span { font-size: 84px; }
  .day__rail { display: none; }
  .chapter { padding: 20px 24px 16px; }
  .chapter h3 { font-size: 34px; margin-bottom: 10px; }
  .chapter > p { font-size: 15px; margin-bottom: 12px; }
  .picks { gap: 5px; padding-top: 10px; }
  .picks li { font-size: 14.5px; }
  .day__cards { margin-bottom: 18px; }
  .scene { margin-bottom: 18px; }
}
@media (max-height: 620px) and (min-width: 901px) {
  .day__clock span { font-size: 64px; }
  .day__clock small { margin-top: 6px; }
  .chapter > p { display: none; }
}
