/* Seawren — built from the stylebook's Headland style (library/styles/headland).
   Values below are copied from DESIGN.md unchanged. Do not add loose numbers below this block. */
:root {
  /* Colour: surfaces. Warm sand ground, a pale sky tint, and deep ocean blue for the bands */
  --hl-sand: #f3e7d3;
  --hl-sand-deep: #e7d4b4;
  --hl-paper: #faf4e9;
  --hl-sky: #d2e8f2;
  --hl-ocean: #0c3d5e;
  --hl-ocean-soft: #1a5780;
  --hl-ocean-deep: #082c45;

  /* Colour: ink */
  --hl-ink: #0c3d5e;
  --hl-body: #20435b;
  --hl-muted: #43586a;
  --hl-on-ocean: #f3e7d3;
  --hl-on-ocean-muted: #b7cbd8;

  /* Colour: accent. One bright sun yellow, used as a fill on light and as text only on ocean */
  --hl-sun: #ffc62e;
  --hl-sun-soft: #ffd65e;

  /* Colour: lines and the scrim over the video */
  --hl-line: rgba(12, 61, 94, 0.2);
  --hl-line-on-ocean: rgba(243, 231, 211, 0.22);
  --hl-scrim: rgba(12, 61, 94, 0.84);

  /* Fonts */
  --hl-font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --hl-font-body: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --hl-tracking: 0;
  --hl-tracking-display: 0.005em;
  --hl-tracking-h3: 0.02em;
  --hl-tracking-wordmark: 0.06em;
  --hl-tracking-button: 0.08em;
  --hl-tracking-label: 0.14em;

  /* Type scale: size / line height / weight. Display type is uppercase and very tall */
  --hl-text-hero: clamp(54px, 9.2vw, 132px);      /* 0.86 / 900 display, uppercase */
  --hl-text-numeral: clamp(128px, 19vw, 280px);   /* 0.86 / 900 display */
  --hl-text-display: clamp(48px, 7.2vw, 104px);   /* 0.9  / 900 display, uppercase */
  --hl-text-h2: clamp(40px, 4.9vw, 70px);         /* 0.94 / 800 display, uppercase */
  --hl-text-h3: clamp(26px, 2.5vw, 36px);         /* 1    / 800 display, uppercase */
  --hl-text-stat: clamp(72px, 7.6vw, 110px);      /* 0.86 / 900 display */
  --hl-text-price: clamp(44px, 3.9vw, 56px);      /* 0.9  / 900 display */
  --hl-text-quote: clamp(22px, 2.3vw, 33px);      /* 1.32 / 500 body */
  --hl-text-lede: clamp(20px, 1.8vw, 26px);       /* 1.4  / 500 body */
  --hl-text-wordmark: 30px;                       /* 1    / 900 display, uppercase */
  --hl-text-menu: clamp(44px, 6vw, 84px);         /* 0.95 / 900 display, uppercase */
  --hl-text-lead: clamp(18px, 1.39vw, 20px);      /* 1.55 / 400 body */
  --hl-text-body: 17px;                           /* 1.6  / 400 body */
  --hl-text-small: 15px;                          /* 1.5  / 400 body */
  --hl-text-button: 14px;                         /* 1    / 700 body, uppercase */
  --hl-text-label: 12px;                          /* 1.3  / 700 body, uppercase */

  --hl-leading-numeral: 0.86;
  --hl-leading-hero: 0.86;
  --hl-leading-stat: 0.86;
  --hl-leading-display: 0.9;
  --hl-leading-price: 0.9;
  --hl-leading-h2: 0.94;
  --hl-leading-menu: 0.95;
  --hl-leading-h3: 1;
  --hl-leading-label: 1.3;
  --hl-leading-quote: 1.32;
  --hl-leading-lede: 1.4;
  --hl-leading-small: 1.5;
  --hl-leading-lead: 1.55;
  --hl-leading-body: 1.6;

  /* Spacing */
  --hl-container: 1360px;
  --hl-page-margin: clamp(20px, 4.4vw, 64px);
  --hl-nav-height: 64px;
  --hl-section-space: clamp(80px, 9vw, 132px);
  --hl-header-gap: clamp(28px, 3vw, 44px);
  --hl-panel-pad: clamp(24px, 3.6vw, 52px);
  --hl-tile-pad: clamp(22px, 2.2vw, 32px);
  --hl-text-max: 580px;
  --hl-gap-2xs: 4px;
  --hl-gap-xs: 8px;
  --hl-gap-s: 14px;
  --hl-gap-m: 22px;
  --hl-gap-l: 36px;
  --hl-gap-xl: 56px;
  --hl-gap-2xl: 88px;
  --hl-grid-gap: clamp(16px, 2.2vw, 32px);

  /* Radius. Hard edges everywhere. The only shape that is not a rectangle is the flag notch */
  --hl-radius: 0;

  /* Shapes */
  --hl-hairline: 1px;
  --hl-rule: 3px;
  --hl-rule-thick: 8px;
  --hl-notch: 14px;
  --hl-notch-hover: 22px;
  --hl-button-height: 54px;
  --hl-button-height-s: 44px;
  --hl-button-pad: 24px;
  --hl-chip-height: 30px;
  --hl-chip-pad: 10px;
  --hl-bullet: 7px;
  --hl-mark-w: 22px;
  --hl-mark-h: 11px;
  --hl-quote-tab: 44px;
  --hl-icon: 24px;
  --hl-icon-s: 18px;
  --hl-icon-stroke: 2;
  --hl-avatar: 64px;
  --hl-swatch: 64px;
  --hl-scale-label: 96px;
  --hl-focus-width: 3px;
  --hl-focus-offset: 3px;
  --hl-touch: 44px;
  --hl-numeral-show: 0.56;
  --hl-band: clamp(220px, 36vw, 520px);
  --hl-photo-tall: clamp(300px, 36vw, 540px);
  --hl-photo-mid: clamp(260px, 27vw, 410px);
  --hl-photo-short: clamp(240px, 20vw, 300px);
  --hl-photo-row: clamp(220px, 22vw, 320px);
  --hl-photo-journal: clamp(220px, 26vw, 380px);

  /* Hero: the scroll video and the timing of everything over it, as progress from 0 to 1 */
  --sv-length: 4.5;
  --hl-push-end: 0.4;
  --hl-push-fade: 0.34;
  --hl-push-margin: 1.3;
  --hl-tide-start: 0.4;
  --hl-tide-end: 0.52;
  --hl-head-start: 0.48;
  --hl-head-end: 0.62;
  --hl-head-stagger: 0.04;
  --hl-sub-start: 0.7;
  --hl-sub-end: 0.8;
  --hl-cta-start: 0.76;
  --hl-cta-end: 0.86;
  --hl-hero-rise: 48px;

  /* Motion: easing */
  --hl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hl-ease-wipe: cubic-bezier(0.7, 0, 0.2, 1);

  /* Motion: durations */
  --hl-dur-press: 0.12s;
  --hl-dur-hover: 0.18s;
  --hl-dur-panel: 0.3s;
  --hl-dur-reveal: 0.75s;
  --hl-dur-sun: 0.85s;
  --hl-dur-band: 0.9s;
  --hl-stagger: 0.08s;

  /* Motion: distances */
  --hl-reveal-rise: 20px;
  --hl-nudge: 4px;
  --hl-press: 2px;
  --hl-band-inset: 38%;
  --hl-sun-sink: 45%;
}

/* ===== Page ===== */
*, *::before, *::after { box-sizing: border-box; letter-spacing: var(--hl-tracking); border-radius: var(--hl-radius); }

html { scroll-behavior: smooth; scroll-padding-top: var(--hl-nav-height); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--hl-sand);
  color: var(--hl-body);
  font-family: var(--hl-font-body);
  font-size: var(--hl-text-body);
  line-height: var(--hl-leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: var(--hl-icon-stroke); stroke-linecap: square; stroke-linejoin: miter; }
.ico--fill { fill: currentColor; stroke: none; }

:focus-visible { outline: var(--hl-focus-width) solid var(--hl-ink); outline-offset: var(--hl-focus-offset); }
.on-ocean :focus-visible { outline-color: var(--hl-sun); }

.skip {
  position: absolute; left: var(--hl-page-margin); top: calc(var(--hl-touch) * -3); z-index: 200;
  display: inline-flex; align-items: center; min-height: var(--hl-button-height); padding: 0 var(--hl-button-pad);
  background: var(--hl-sun); color: var(--hl-ink); text-decoration: none;
  font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
}
.skip:focus { top: var(--hl-gap-xs); }

.wrap { width: 100%; max-width: var(--hl-container); margin: 0 auto; padding: 0 var(--hl-page-margin); }
.on-ocean { background: var(--hl-ocean); color: var(--hl-on-ocean-muted); }

/* ===== Type ===== */
.hero__title, .display, .h2, .h3, .stat, .numeral, .price { margin: 0; font-family: var(--hl-font-display); color: var(--hl-ink); }
.hero__title, .display, .h2, .h3 { text-transform: uppercase; text-wrap: balance; }
.hero__title { font-weight: 900; font-size: var(--hl-text-hero); line-height: var(--hl-leading-hero); letter-spacing: var(--hl-tracking-display); }
.display { font-weight: 900; font-size: var(--hl-text-display); line-height: var(--hl-leading-display); letter-spacing: var(--hl-tracking-display); }
.h2 { font-weight: 800; font-size: var(--hl-text-h2); line-height: var(--hl-leading-h2); letter-spacing: var(--hl-tracking-display); }
.h3 { font-weight: 800; font-size: var(--hl-text-h3); line-height: var(--hl-leading-h3); letter-spacing: var(--hl-tracking-h3); }
.stat { font-weight: 900; font-size: var(--hl-text-stat); line-height: var(--hl-leading-stat); letter-spacing: var(--hl-tracking-display); white-space: nowrap; }
.price { font-weight: 900; font-size: var(--hl-text-price); line-height: var(--hl-leading-price); white-space: nowrap; }
.lede { margin: 0; font-weight: 500; font-size: var(--hl-text-lede); line-height: var(--hl-leading-lede); color: var(--hl-ink); text-wrap: pretty; }
.lead { margin: 0; max-width: var(--hl-text-max); font-size: var(--hl-text-lead); line-height: var(--hl-leading-lead); color: var(--hl-body); text-wrap: pretty; }
.body { margin: 0; }
.small { margin: 0; font-size: var(--hl-text-small); line-height: var(--hl-leading-small); }
.label { margin: 0; font-size: var(--hl-text-label); line-height: var(--hl-leading-label); font-weight: 700; letter-spacing: var(--hl-tracking-label); text-transform: uppercase; color: var(--hl-muted); }
.muted { color: var(--hl-muted); }
.hl { background: linear-gradient(transparent 56%, var(--hl-sun) 56%, var(--hl-sun) 92%, transparent 92%); color: inherit; }

.on-ocean .hero__title, .on-ocean .display, .on-ocean .h2, .on-ocean .h3, .on-ocean .lede, .on-ocean .lead, .on-ocean .body, .on-ocean .small { color: var(--hl-on-ocean); }
.on-ocean .stat, .on-ocean .numeral, .on-ocean .sunword { color: var(--hl-sun); }
.on-ocean .label, .on-ocean .muted { color: var(--hl-on-ocean-muted); }

/* ===== Chips ===== */
.chip {
  display: inline-flex; align-items: center; min-height: var(--hl-chip-height); padding: 0 var(--hl-chip-pad);
  background: var(--hl-sand-deep); color: var(--hl-ink);
  font-size: var(--hl-text-label); line-height: 1; font-weight: 700; letter-spacing: var(--hl-tracking-label); text-transform: uppercase;
}
.chip--sun { background: var(--hl-sun); color: var(--hl-ink); }
.chip--sky { background: var(--hl-sky); }
.chips { display: flex; flex-wrap: wrap; gap: var(--hl-gap-xs); }

/* ===== Grid ===== */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--hl-grid-gap); }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; }
.c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
.stack { display: flex; flex-direction: column; gap: var(--hl-gap-s); }
.stack--m { gap: var(--hl-gap-m); }
.stack--l { gap: var(--hl-gap-l); }
.push { margin-top: auto; }

/* ===== Buttons: a flag with a swallowtail notch cut into its trailing end ===== */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--hl-gap-xs);
  min-height: var(--hl-button-height); padding: 0 calc(var(--hl-button-pad) + var(--hl-notch)) 0 var(--hl-button-pad);
  border: 0; background: none; color: var(--hl-ink); cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--hl-font-body); font-weight: 700; font-size: var(--hl-text-button); line-height: 1;
  letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
  transition: transform var(--hl-dur-press) var(--hl-ease);
}
/* The fill lives on a layer behind the label, so the notch never clips the focus ring */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hl-ocean);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--hl-notch)) 50%, 100% 100%, 0 100%);
  transition: clip-path var(--hl-dur-hover) var(--hl-ease), background-color var(--hl-dur-hover) var(--hl-ease);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, calc(100% - var(--hl-notch-hover)) 50%, 100% 100%, 0 100%); }
.btn .ico { width: var(--hl-icon-s); height: var(--hl-icon-s); transition: transform var(--hl-dur-hover) var(--hl-ease); }
.btn:hover .ico--arrow, .btn:focus-visible .ico--arrow { transform: translateX(var(--hl-nudge)); }
.btn:active { transform: translateY(var(--hl-press)); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--ocean { color: var(--hl-on-ocean); }
.btn--ocean:hover::before { background: var(--hl-ocean-soft); }
.btn--sun { color: var(--hl-ink); }
.btn--sun::before { background: var(--hl-sun); }
.btn--sun:hover::before { background: var(--hl-sun-soft); }
.btn--sky::before { background: var(--hl-sky); }
.btn--sky:hover::before { background: var(--hl-paper); }
.btn--sand::before { background: var(--hl-sand); }
.btn--sand:hover::before { background: var(--hl-paper); }
.btn--small { min-height: var(--hl-button-height-s); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--hl-gap-s); }

/* A text action: an uppercase label on a rule that thickens into a sun bar */
.go {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: var(--hl-gap-xs); align-self: flex-start;
  min-height: var(--hl-touch); color: var(--hl-ink); text-decoration: none;
  font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
}
.go::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: var(--hl-gap-xs); z-index: -1; height: var(--hl-rule-thick);
  background: var(--hl-sun); transform: scaleY(0.375); transform-origin: 50% 100%;
  transition: transform var(--hl-dur-hover) var(--hl-ease);
}
.go:hover::after, .go:focus-visible::after { transform: none; }
.go .ico { width: var(--hl-icon-s); height: var(--hl-icon-s); transition: transform var(--hl-dur-hover) var(--hl-ease); }
.go:hover .ico, .go:focus-visible .ico { transform: translateX(var(--hl-nudge)); }

/* ===== Nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hl-nav-height); background: var(--hl-ocean); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--hl-gap-m); }
.mark {
  display: inline-flex; align-items: center; gap: var(--hl-gap-s); min-height: var(--hl-touch);
  font-family: var(--hl-font-display); font-weight: 900; font-size: var(--hl-text-wordmark); line-height: 1;
  letter-spacing: var(--hl-tracking-wordmark); text-transform: uppercase; color: var(--hl-on-ocean); text-decoration: none;
}
.mark__sun { width: var(--hl-mark-w); height: var(--hl-mark-h); background: var(--hl-sun); box-shadow: 0 var(--hl-rule) 0 var(--hl-on-ocean); }
.nav__links { display: flex; align-items: center; gap: var(--hl-gap-xs); margin-right: auto; margin-left: var(--hl-gap-l); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: var(--hl-touch); padding: 0 var(--hl-gap-s);
  color: var(--hl-on-ocean); text-decoration: none;
  font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--hl-gap-s); right: var(--hl-gap-s); bottom: var(--hl-gap-2xs); height: var(--hl-rule);
  background: var(--hl-sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--hl-dur-hover) var(--hl-ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: none; }
.nav__actions { display: flex; align-items: center; gap: var(--hl-gap-s); }
.menu-btn {
  display: inline-flex; align-items: center; gap: var(--hl-gap-xs); min-height: var(--hl-touch); min-width: var(--hl-touch); padding: 0 var(--hl-gap-xs);
  border: 0; background: none; color: var(--hl-on-ocean); cursor: pointer;
  font-family: var(--hl-font-body); font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
}
.menu-btn .ico { width: var(--hl-icon); height: var(--hl-icon); }

.menu {
  position: fixed; z-index: 59; top: var(--hl-nav-height); left: 0; right: 0;
  max-height: calc(100vh - var(--hl-nav-height)); overflow-y: auto;
  padding-block: var(--hl-gap-l) var(--hl-gap-xl); background: var(--hl-ocean-deep);
  border-top: var(--hl-rule) solid var(--hl-sun);
}
.motion .menu { clip-path: inset(0 0 100% 0); transition: clip-path var(--hl-dur-panel) var(--hl-ease-wipe); }
.motion .menu.is-open { clip-path: inset(0 0 0 0); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--hl-gap-l); align-items: end; }
.menu__link {
  display: grid; grid-template-columns: var(--hl-gap-2xl) minmax(0, 1fr) auto; align-items: center; gap: var(--hl-gap-s);
  min-height: var(--hl-touch); padding: var(--hl-gap-xs) 0; border-bottom: var(--hl-hairline) solid var(--hl-line-on-ocean); text-decoration: none;
}
.menu__word { font-family: var(--hl-font-display); font-weight: 900; font-size: var(--hl-text-menu); line-height: var(--hl-leading-menu); text-transform: uppercase; color: var(--hl-on-ocean); }
.menu__link .label { color: var(--hl-sun); }
.menu__link .ico { width: var(--hl-icon); height: var(--hl-icon); color: var(--hl-sun); transition: transform var(--hl-dur-hover) var(--hl-ease); }
.menu__link:hover .ico, .menu__link:focus-visible .ico { transform: translateX(var(--hl-nudge)); }

/* ===== Hero: scroll video markup and CSS from effects/scroll-video ===== */
.sv { position: relative; }
.sv__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--hl-ocean); }
.sv__poster, .sv__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv__poster { object-fit: cover; }

/* Only once the script is running does the section grow tall and the stage pin. */
.js-scroll-video .sv { height: calc(var(--sv-length) * 100vh); }
.js-scroll-video .sv__stage { position: sticky; top: 0; height: 100vh; }

/* The tide: a hard edged ocean scrim holding the copy. Visible by default, lowered only by the script */
.hero__tide {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-block: var(--hl-gap-l) var(--hl-gap-xl); background: var(--hl-scrim); border-top: var(--hl-rule) solid var(--hl-sun);
}
.hero__title { margin: var(--hl-gap-m) 0 var(--hl-gap-l); }
.hero__line { display: block; }
.hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hl-gap-m) var(--hl-grid-gap); align-items: end; }
.hero__row .btn-row { justify-content: flex-end; }

/* The knockout panel: sand with the name cut out of it. Shown only when the scroll video is running */
.knock {
  display: none; position: absolute; left: 0; top: var(--hl-nav-height); z-index: 3;
  width: 100%; height: calc(100% - var(--hl-nav-height)); overflow: visible;
}
.knock__sand { fill: var(--hl-sand); }
.knock__word { font-family: var(--hl-font-display); font-weight: 900; fill: #000; }
.knock__tag { font-family: var(--hl-font-body); font-weight: 700; fill: var(--hl-ink); text-transform: uppercase; }
.knock__cue { fill: none; stroke: var(--hl-ink); stroke-width: var(--hl-icon-stroke); stroke-linecap: square; }
.js-scroll-video .knock--wide { display: block; }
@media (orientation: portrait) {
  .js-scroll-video .knock--wide { display: none; }
  .js-scroll-video .knock--tall { display: block; }
}

/* ===== Section heads: a big numeral sinking behind the horizon of a photo band ===== */
.section { padding-bottom: var(--hl-section-space); }
.head { padding-top: var(--hl-section-space); }
.head__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--hl-gap-l); align-items: end; }
.head__text { display: flex; flex-direction: column; gap: var(--hl-gap-m); padding-bottom: var(--hl-gap-l); }
.head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--hl-gap-m) var(--hl-gap-l); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hl-gap-s); margin: 0; }
.numeral {
  height: calc(var(--hl-text-numeral) * var(--hl-numeral-show)); overflow: hidden;
  font-weight: 900; font-size: var(--hl-text-numeral); line-height: var(--hl-leading-numeral); letter-spacing: var(--hl-tracking-display);
}
.numeral > span { display: block; }
.band { overflow: hidden; background: var(--hl-sand-deep); }
.band img { width: 100%; height: var(--hl-band); object-fit: cover; }
.on-ocean .band { background: var(--hl-ocean-deep); }
.horizon { height: var(--hl-rule-thick); background: var(--hl-ink); }
.body-space { padding-top: var(--hl-header-gap); }

/* ===== A page header for a page with no numbered section head (Rooms, Eat and drink, Book a stay) ===== */
.page-head { padding-block: calc(var(--hl-nav-height) + var(--hl-gap-2xl)) 0; }
.page-head__text { max-width: 46em; display: flex; flex-direction: column; gap: var(--hl-gap-m); padding-bottom: var(--hl-gap-l); }

/* ===== Intro line ===== */
.intro { padding-block: var(--hl-section-space) 0; }
.intro .display { max-width: 12em; padding-bottom: var(--hl-gap-l); }

/* ===== Rooms: photos of different heights standing on one shared horizon ===== */
.rooms { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 0 var(--hl-grid-gap); }
.room { grid-row: span 4; display: grid; grid-template-rows: subgrid; gap: 0; }
.room__photo { align-self: end; overflow: hidden; background: var(--hl-sand-deep); }
.room__photo img { width: 100%; object-fit: cover; }
.room--tall .room__photo img { height: var(--hl-photo-tall); }
.room--short .room__photo img { height: var(--hl-photo-short); }
.room--mid .room__photo img { height: var(--hl-photo-mid); }
.room__bar { display: flex; flex-direction: column; gap: var(--hl-gap-2xs); padding: var(--hl-gap-s) var(--hl-gap-m) var(--hl-gap-m); background: var(--hl-ocean); }
.room__bar .h3 { color: var(--hl-on-ocean); }
.room__price { margin: 0; color: var(--hl-sun); font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase; }
.room .body { padding-top: var(--hl-gap-m); }
.room .go { margin-top: var(--hl-gap-xs); }

/* ===== Room detail (Rooms page): one full room per ruled row, like a feature but larger ===== */
.room-detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--hl-grid-gap) var(--hl-gap-2xl); padding-block: var(--hl-gap-2xl); border-top: var(--hl-rule) solid var(--hl-ink); }
.room-detail:first-child { border-top: 0; padding-top: 0; }
.room-detail__photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hl-gap-s); align-items: end; }
.room-detail__photos img { width: 100%; object-fit: cover; background: var(--hl-sand-deep); }
.room-detail__photos :first-child img { height: var(--hl-photo-tall); }
.room-detail__photos :last-child img { height: var(--hl-photo-mid); }
.room-detail__text { display: flex; flex-direction: column; gap: var(--hl-gap-s); }
.room-detail__no { margin: 0; font-family: var(--hl-font-display); font-weight: 900; font-size: var(--hl-text-h2); line-height: var(--hl-leading-h2); color: var(--hl-ink); }
.room-detail__price { display: flex; align-items: baseline; gap: var(--hl-gap-s); padding-block: var(--hl-gap-xs); }
.room-detail .items { padding-block: var(--hl-gap-xs) var(--hl-gap-s); }
.room-detail .btn-row { margin-top: var(--hl-gap-xs); }

/* ===== Features: ruled rows ===== */
.statement { max-width: 34em; padding-bottom: var(--hl-gap-xl); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hl-grid-gap); padding-block: var(--hl-gap-m) var(--hl-gap-xl); border-top: var(--hl-rule) solid var(--hl-ink); }
.feature:last-child { padding-bottom: 0; }
.feature__text { display: flex; flex-direction: column; gap: var(--hl-gap-s); }
.feature__no { margin: 0; font-family: var(--hl-font-display); font-weight: 900; font-size: var(--hl-text-h2); line-height: var(--hl-leading-h2); color: var(--hl-ink); }
.feature__photo { overflow: hidden; background: var(--hl-sand-deep); }
.feature__photo img { width: 100%; height: var(--hl-photo-row); object-fit: cover; }
.items { display: flex; flex-wrap: wrap; gap: var(--hl-gap-xs) var(--hl-gap-m); padding-top: var(--hl-gap-xs); }
.items li { display: inline-flex; align-items: center; gap: var(--hl-gap-xs); font-size: var(--hl-text-small); line-height: var(--hl-leading-small); color: var(--hl-body); }
.items li::before { content: ""; width: var(--hl-bullet); height: var(--hl-bullet); background: var(--hl-sun); box-shadow: 0 0 0 var(--hl-hairline) var(--hl-ink); flex: none; }

/* A gallery of extra photos under a feature or a room, hard edged like every other photo */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hl-grid-gap); margin-top: var(--hl-gap-m); }
.gallery figure { overflow: hidden; background: var(--hl-sand-deep); }
.gallery img { width: 100%; height: var(--hl-photo-short); object-fit: cover; }

/* ===== Results: the ocean band ===== */
.results__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fig { display: flex; flex-direction: column; gap: var(--hl-gap-s); padding: var(--hl-gap-m) var(--hl-grid-gap) 0; border-left: var(--hl-hairline) solid var(--hl-line-on-ocean); }
.fig:first-child { border-left: 0; padding-left: 0; }
.highlights { display: flex; flex-wrap: wrap; gap: var(--hl-gap-xs) var(--hl-gap-l); margin-top: var(--hl-gap-xl); padding-top: var(--hl-gap-m); border-top: var(--hl-rule) solid var(--hl-sun); }
.highlights li { display: inline-flex; align-items: center; gap: var(--hl-gap-xs); color: var(--hl-on-ocean); font-size: var(--hl-text-small); }
.highlights li::before { content: ""; width: var(--hl-bullet); height: var(--hl-bullet); background: var(--hl-sun); flex: none; }

/* ===== Benefits: sky tiles hung from a thick ocean edge ===== */
.tile { display: flex; flex-direction: column; gap: var(--hl-gap-s); padding: var(--hl-tile-pad); background: var(--hl-sky); border-top: var(--hl-rule-thick) solid var(--hl-ink); }
.tile .ico { width: var(--hl-icon); height: var(--hl-icon); color: var(--hl-ink); }
.tile--sun { background: var(--hl-sun); }
.tile--sun .label { color: var(--hl-ink); }
.tile--sun .stat { color: var(--hl-ink); margin-top: auto; }
.tile .chip { background: var(--hl-paper); }

/* ===== Stories ===== */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hl-gap-xl) var(--hl-grid-gap); }
.story { display: flex; flex-direction: column; gap: var(--hl-gap-m); padding-top: var(--hl-gap-m); border-top: var(--hl-rule) solid var(--hl-ink); }
.story--lead { grid-column: 1 / -1; display: grid; grid-template-columns: var(--hl-quote-tab) minmax(0, 1fr) minmax(0, 4fr); gap: var(--hl-gap-m) var(--hl-grid-gap); align-items: start; }
.story--lead .quote { grid-column: 2; }
.story--lead .who { grid-column: 3; }
.story__tab {
  display: grid; place-items: center; width: var(--hl-quote-tab); height: var(--hl-quote-tab); background: var(--hl-sun); color: var(--hl-ink);
  font-family: var(--hl-font-display); font-weight: 900; font-size: var(--hl-text-h2); line-height: 1;
}
.quote { font-size: var(--hl-text-lede); line-height: var(--hl-leading-lede); font-weight: 500; color: var(--hl-ink); text-wrap: pretty; }
.story--lead .quote { font-size: var(--hl-text-quote); line-height: var(--hl-leading-quote); }
.quote p { margin: 0; }
.who { display: flex; align-items: center; gap: var(--hl-gap-s); }
.who img { width: var(--hl-avatar); height: var(--hl-avatar); object-fit: cover; flex: none; }
.who__name { display: block; font-family: var(--hl-font-display); font-weight: 800; font-size: var(--hl-text-h3); line-height: var(--hl-leading-h3); text-transform: uppercase; color: var(--hl-ink); }

/* ===== Pricing: a tide table of ruled rows ===== */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: var(--hl-gap-2xs); box-shadow: inset 0 0 0 var(--hl-rule) var(--hl-ink); }
.toggle::before {
  content: ""; position: absolute; top: var(--hl-gap-2xs); bottom: var(--hl-gap-2xs); left: var(--hl-gap-2xs); width: calc(50% - var(--hl-gap-2xs));
  background: var(--hl-ink); transition: transform var(--hl-dur-panel) var(--hl-ease);
}
.toggle[data-mode="weekends"]::before { transform: translateX(100%); }
.toggle button {
  position: relative; min-height: var(--hl-touch); padding: 0 var(--hl-gap-m); border: 0; background: none; cursor: pointer; color: var(--hl-ink);
  font-family: var(--hl-font-body); font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
  transition: color var(--hl-dur-hover) var(--hl-ease);
}
.toggle button[aria-pressed="true"] { color: var(--hl-on-ocean); }
.rate {
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 2.6fr) minmax(0, 4fr) minmax(0, 2.6fr); gap: var(--hl-gap-m) var(--hl-grid-gap); align-items: center;
  padding: var(--hl-tile-pad) var(--hl-gap-m); border-top: var(--hl-rule) solid var(--hl-ink);
}
.rate:last-child { border-bottom: var(--hl-rule) solid var(--hl-ink); }
.rate--pick { background: var(--hl-sky); }
.rate .btn { justify-self: end; }

/* ===== Questions: every answer shown ===== */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hl-gap-xl) var(--hl-grid-gap); }
.qa__item { display: flex; flex-direction: column; gap: var(--hl-gap-s); padding-top: var(--hl-gap-m); border-top: var(--hl-rule) solid var(--hl-ink); }
.note { display: flex; flex-direction: column; gap: var(--hl-gap-l); padding: var(--hl-panel-pad); background: var(--hl-sun); border-top: var(--hl-rule-thick) solid var(--hl-ink); }
.note .btn { align-self: flex-start; }

/* ===== Journal ===== */
.post__photo { overflow: hidden; background: var(--hl-sand-deep); }
.post__photo img { width: 100%; height: var(--hl-photo-journal); object-fit: cover; }

/* ===== Closing ===== */
.closing { padding-block: var(--hl-section-space); }
.closing__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hl-gap-l) var(--hl-grid-gap); align-items: end; }

/* ===== Booking form (Book a stay) ===== */
.booking { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hl-gap-2xl) var(--hl-gap-2xl); align-items: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hl-gap-m); padding-top: var(--hl-gap-l); }
.field { display: flex; flex-direction: column; gap: var(--hl-gap-xs); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--hl-text-label); line-height: var(--hl-leading-label); font-weight: 700; letter-spacing: var(--hl-tracking-label); text-transform: uppercase; color: var(--hl-muted); }
.field input, .field select, .field textarea {
  min-height: var(--hl-touch); padding: 0 var(--hl-gap-s); border: var(--hl-hairline) solid var(--hl-ink); background: var(--hl-paper);
  font-family: var(--hl-font-body); font-size: var(--hl-text-body); color: var(--hl-ink);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%230c3d5e' stroke-width='2' stroke-linecap='square' d='M4 7l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--hl-gap-s) center; padding-right: var(--hl-gap-2xl); }
.field textarea { min-height: 120px; padding-block: var(--hl-gap-s); resize: vertical; }
.field__error { margin: 0; min-height: 1.3em; font-size: var(--hl-text-small); font-weight: 700; color: var(--hl-ink); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-width: 2px; }
.form-actions { display: flex; flex-direction: column; gap: var(--hl-gap-s); align-items: flex-start; padding-top: var(--hl-gap-m); }

.summary { display: flex; flex-direction: column; gap: var(--hl-gap-l); padding: var(--hl-panel-pad); background: var(--hl-sky); border-top: var(--hl-rule-thick) solid var(--hl-ink); position: sticky; top: calc(var(--hl-nav-height) + var(--hl-gap-l)); }
.summary dl { display: flex; flex-direction: column; gap: var(--hl-gap-s); margin: 0; }
.summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--hl-gap-m); padding-bottom: var(--hl-gap-s); border-bottom: var(--hl-hairline) solid var(--hl-line); }
.summary dt { font-size: var(--hl-text-label); font-weight: 700; letter-spacing: var(--hl-tracking-label); text-transform: uppercase; color: var(--hl-muted); }
.summary dd { margin: 0; font-weight: 700; color: var(--hl-ink); text-align: right; }

.done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--hl-gap-m); max-width: 40em; padding: var(--hl-panel-pad); background: var(--hl-sun); border-top: var(--hl-rule-thick) solid var(--hl-ink); }
.done p { margin: 0; }
.done .demo-note { color: var(--hl-body); font-size: var(--hl-text-small); }

/* ===== Style sheet ===== */
.scale__row { display: flex; align-items: baseline; gap: var(--hl-gap-m); border-bottom: var(--hl-hairline) solid var(--hl-line); padding: var(--hl-gap-s) 0; min-width: 0; }
.scale__row > :first-child { flex: none; width: var(--hl-scale-label); }
.scale__row > :last-child { min-width: 0; overflow-wrap: anywhere; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--hl-swatch), 1fr)); gap: var(--hl-gap-s); }
.sw__chip { height: var(--hl-swatch); box-shadow: inset 0 0 0 var(--hl-hairline) var(--hl-line); }
.sw__name { display: block; padding-top: var(--hl-gap-2xs); overflow-wrap: anywhere; }

/* ===== Footer ===== */
.foot { padding-block: var(--hl-gap-l) var(--hl-gap-xl); border-top: var(--hl-rule-thick) solid var(--hl-sun); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hl-gap-m); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--hl-gap-l); }
.foot a {
  display: inline-flex; align-items: center; min-height: var(--hl-touch); min-width: var(--hl-touch); color: var(--hl-on-ocean); text-decoration: none;
  font-weight: 700; font-size: var(--hl-text-button); letter-spacing: var(--hl-tracking-button); text-transform: uppercase;
}
.foot a:hover { text-decoration: underline; text-decoration-color: var(--hl-sun); text-decoration-thickness: var(--hl-rule); text-underline-offset: var(--hl-gap-2xs); }
.foot p.small { color: var(--hl-on-ocean-muted); max-width: 46em; }

/* ===== Reveal ===== */
.motion.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(var(--hl-reveal-rise));
  transition: opacity var(--hl-dur-reveal) var(--hl-ease), transform var(--hl-dur-reveal) var(--hl-ease);
  transition-delay: calc(var(--i, 0) * var(--hl-stagger));
}
.motion.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
/* A band opens from its horizon line. The band itself is observed and carries no clip */
.motion.js-reveal [data-reveal="band"] { opacity: 1; transform: none; }
.motion.js-reveal [data-reveal="band"] img {
  clip-path: inset(var(--hl-band-inset) 0 var(--hl-band-inset) 0);
  transition: clip-path var(--hl-dur-band) var(--hl-ease-wipe);
}
.motion.js-reveal [data-reveal="band"].is-in img { clip-path: inset(0 0 0 0); }
/* A numeral rises from behind the band, inside its own cut */
.motion.js-reveal [data-reveal="sun"] { opacity: 1; transform: none; }
.motion.js-reveal [data-reveal="sun"] > span { transform: translateY(var(--hl-sun-sink)); transition: transform var(--hl-dur-sun) var(--hl-ease); }
.motion.js-reveal [data-reveal="sun"].is-in > span { transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .rate { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rate .btn { justify-self: start; }
  .results__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--hl-gap-l); }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .booking { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero__row { grid-template-columns: minmax(0, 1fr); }
  .hero__row .btn-row { justify-content: flex-start; }
  .c3, .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; }
  .head__main { grid-template-columns: minmax(0, 1fr); }
  .head__main .numeral { order: 2; }
  .head__text { padding-bottom: var(--hl-gap-m); }
  .rooms { grid-template-columns: minmax(0, 1fr); row-gap: var(--hl-gap-xl); }
  .room { grid-row: auto; display: flex; flex-direction: column; }
  .room--tall .room__photo img, .room--short .room__photo img, .room--mid .room__photo img { height: var(--hl-photo-mid); }
  .room-detail { grid-template-columns: minmax(0, 1fr); }
  .room-detail__photos { grid-template-columns: minmax(0, 1fr); }
  .room-detail__photos :first-child img, .room-detail__photos :last-child img { height: var(--hl-photo-mid); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__photo { order: -1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story--lead { grid-template-columns: var(--hl-quote-tab) minmax(0, 1fr); }
  .story--lead .who { grid-column: 2; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .qa { grid-template-columns: minmax(0, 1fr); }
  .closing__inner { grid-template-columns: minmax(0, 1fr); }
  .menu__grid { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav__book { display: none; }
  .rate { grid-template-columns: minmax(0, 1fr); }
  .results__stats { grid-template-columns: minmax(0, 1fr); }
  .fig { border-left: 0; padding-left: 0; border-top: var(--hl-hairline) solid var(--hl-line-on-ocean); }
  .fig:first-child { border-top: 0; }
  .menu__link { grid-template-columns: var(--hl-gap-xl) minmax(0, 1fr) auto; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
/* A phone on its side: the headline and the subtitle sit side by side so the tide fits under the nav */
@media (orientation: landscape) and (max-height: 620px) {
  .hero__tide { padding-block: var(--hl-gap-s) var(--hl-gap-m); }
  #hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--hl-grid-gap); align-items: end; }
  .hero__title { grid-column: 1; margin: var(--hl-gap-xs) 0 0; font-size: var(--hl-text-display); }
  #hero-tag { grid-column: 1; }
  .hero__row { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); gap: var(--hl-gap-s); }
  .hero__row .lead { font-size: var(--hl-text-small); line-height: var(--hl-leading-small); }
  .hero__row .btn-row { justify-content: flex-start; }
}
