/* Titanic Lodge Belfast, v3
   Concept: the Harland & Wolff drawing office. Edwardian display type, technical hairlines,
   a ship's wheel that turns as the page moves, and a liner that draws itself.
   Dials: variance 8, motion 8, density 3. One accent (sea teal), one radius system. */

:root {
  --paper: #F7F3EA;
  --paper-2: #EFE9DC;
  --surface: #FFFCF5;
  --ink: #172D35;
  --ink-2: #3F545B;
  --ink-3: #5E7176;
  --line: rgba(23, 45, 53, .14);
  --line-2: rgba(23, 45, 53, .3);
  --tint: #EAF3F1;

  --night: #10222A;
  --night-2: #173039;
  --on-night: #EEE8DC;
  --on-night-2: #A7B9BC;
  --line-night: rgba(238, 232, 220, .16);

  --teal: #0E6266;
  --teal-hover: #0A4D50;
  --teal-on-night: #86C7C1;
  --link: #0E6266;
  --hull: #9B432D;
  --err: #A4262C;
  --err-bg: #FBEAE8;

  --display: "Libre Caslon Display", "Big Caslon", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  --r: 4px;
  --pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1C22;
    --paper-2: #13262D;
    --surface: #15292F;
    --ink: #ECE6DA;
    --ink-2: #BAC8CA;
    --ink-3: #91A4A7;
    --line: rgba(236, 230, 218, .14);
    --line-2: rgba(236, 230, 218, .3);
    --tint: #14302F;
    --night: #09161B;
    --night-2: #10232A;
    --link: #86C7C1;
    --err: #F2A7A1;
    --err-bg: #3A1B1C;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(14, 98, 102, .15);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; color: var(--paper); }
svg { flex: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.018em; }
h1 { font-size: clamp(3rem, 6.6vw, 6.75rem); line-height: .96; }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.5rem); line-height: 1; }
h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 34em; }
.mono { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow { font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* split lines (set by JS) */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--pill);
  font: 500 1rem/1.1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-hover); color: #fff; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--on-night); color: #10222A; }
.btn--light:hover { background: #fff; color: #10222A; }
.btn--glass { background: rgba(16, 34, 42, .45); color: #F7F3EA; border-color: rgba(247, 243, 234, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(16, 34, 42, .7); color: #fff; border-color: #F7F3EA; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn--block { width: 100%; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  font: 500 1rem/1.2 var(--sans); color: var(--ink); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px;
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.textlink:hover { color: var(--ink); text-decoration-color: var(--teal); }
.textlink svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.textlink--inline { min-height: 0; font-size: inherit; display: inline; color: var(--link); }

/* ---------- curtain ---------- */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--night); color: var(--on-night); pointer-events: none;
}
.curtain__wheel { width: 88px; height: 88px; stroke-width: 2.2; color: var(--teal-on-night); }
.curtain__name { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.01em; }
.curtain.is-done, .no-curtain .curtain { display: none !important; }
/* safety: never leave the curtain up if the script fails */
.js .curtain { animation: curtain-safety .01s 3.2s forwards; }
@keyframes curtain-safety { to { visibility: hidden; opacity: 0; } }

/* ---------- header ---------- */
.header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: #F7F3EA;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10, 22, 27, .55), rgba(10, 22, 27, 0)); pointer-events: none; transition: opacity .35s; }
.header.is-solid { background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); }
.header.is-solid::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 30px; height: 30px; stroke-width: 4; }
.brand__name { font-family: var(--display); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 10px 14px; border-radius: var(--pill); transition: background-color .2s var(--ease); }
.nav a:hover { background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.menu-btn { display: none; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; cursor: pointer; }
}
@media (max-width: 520px) {
  .header__cta { display: none; }
  .menu-btn { margin-left: auto; }
}

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--night); color: var(--on-night);
  padding: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; overscroll-behavior: contain;
}
.menu nav { display: grid; }
.menu nav a { font-family: var(--display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15; color: var(--on-night); text-decoration: none; padding-block: 4px; }
.menu__foot { display: grid; gap: 6px; }
.menu__foot .mono { color: var(--on-night-2); }
.menu__foot a { color: var(--on-night); font-size: 1.25rem; }
.menu-open .header { color: var(--on-night); background: transparent; box-shadow: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; min-height: max(640px, 100svh); max-height: 1120px;
  display: flex; align-items: flex-end; color: #F7F3EA; background: #10222A;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 22, 27, .82) 0%, rgba(10, 22, 27, .55) 38%, rgba(10, 22, 27, 0) 70%),
    linear-gradient(0deg, rgba(10, 22, 27, .85) 0%, rgba(10, 22, 27, 0) 45%);
}
.hero__in { padding-block: calc(var(--header-h) + 48px) 40px; display: grid; gap: 48px; }
.hero__copy { display: grid; gap: 22px; max-width: 42rem; }
.hero .eyebrow { color: rgba(247, 243, 234, .82); }
.hero h1 { color: #F7F3EA; max-width: 10.5em; }
.hero__sub { font-size: 1.1875rem; line-height: 1.5; color: rgba(247, 243, 234, .88); max-width: 27em; }

.bookbar {
  display: grid; grid-template-columns: 1fr 1fr .7fr .7fr auto; align-items: stretch;
  background: var(--surface); color: var(--ink); border-radius: var(--pill); padding: 8px 8px 8px 12px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); max-width: 980px; position: relative;
}
.bookbar__field { display: grid; align-content: center; gap: 2px; padding: 8px 20px; border-right: 1px solid var(--line); min-width: 0; }
.bookbar__field:nth-child(4) { border-right: 0; }
.bookbar__field label { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bookbar__field input, .bookbar__field select {
  width: 100%; border: 0; padding: 2px 0; background: transparent; color: var(--ink);
  font: 500 1rem/1.3 var(--sans); min-height: 28px; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.bookbar__field select { background-color: transparent; }
.bookbar__field select option { background: var(--surface); color: var(--ink); }
.bookbar__field input:focus-visible, .bookbar__field select:focus-visible { outline: none; }
.bookbar__field:focus-within { background: var(--paper-2); border-radius: var(--pill); }
.bookbar__go { min-height: 60px; padding-inline: 30px; }
.bookbar__mobile { display: none; }
.bookbar__err { position: absolute; left: 24px; top: calc(100% + 10px); background: var(--err-bg); color: var(--err); padding: 8px 14px; border-radius: var(--r); font-size: .9375rem; }

@media (max-width: 900px) {
  .hero { min-height: max(600px, 92svh); }
  .hero::after { background: linear-gradient(0deg, rgba(10, 22, 27, .92) 0%, rgba(10, 22, 27, .55) 55%, rgba(10, 22, 27, .2) 100%); }
  .hero__in { gap: 28px; padding-bottom: 28px; }
  .hero__sub { font-size: 1.0625rem; }
  .bookbar { display: block; background: none; box-shadow: none; padding: 0; }
  .bookbar__field, .bookbar__go { display: none; }
  .bookbar__mobile { display: inline-flex; width: 100%; }
}

/* ---------- at a glance ---------- */
.glance { padding-block: 72px 0; }
.glance__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; margin: 0; border-top: 1px solid var(--ink); }
.glance__item { padding: 24px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.glance__item + .glance__item { padding-left: 28px; border-left: 1px solid var(--line); }
.glance dd { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.glance__n { font-family: var(--display); font-size: clamp(4rem, 8vw, 7.5rem); line-height: .8; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.glance__t { color: var(--ink-2); font-size: .9688rem; line-height: 1.35; max-width: 11em; }
.glance__item--park dd { align-items: center; }
.glance__ico { width: 48px; height: 48px; color: var(--teal); stroke-width: 1.2; }
.glance__item--park .glance__t { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; color: var(--ink); max-width: 9em; }
@media (max-width: 900px) {
  .glance { padding-top: 48px; }
  .glance__grid { grid-template-columns: 1fr 1fr; }
  .glance__item, .glance__item + .glance__item { padding: 20px 0 20px; border-left: 0; }
  .glance__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .glance__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .glance dd { flex-direction: column; gap: 10px; align-items: flex-start; }
  .glance__item--park dd { align-items: flex-start; }
}

/* ---------- the house ---------- */
.house { padding-top: var(--sec); }
.statement { font-family: var(--display); font-size: clamp(1.9rem, 3.9vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em; max-width: 21em; text-wrap: pretty; }
.statement .w { transition: color .2s linear; }
.js .statement .w { color: color-mix(in srgb, var(--ink) 22%, transparent); }
.js .statement .w.is-lit { color: var(--ink); }

.rooms { padding-top: clamp(72px, 9vw, 128px); padding-bottom: var(--sec); overflow-x: clip; }
.rooms__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 36px; }
.rooms__head .textlink { white-space: nowrap; }
.rooms__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-inline: var(--gutter); }
.rooms__viewport::-webkit-scrollbar { display: none; }
.rooms__viewport:focus-visible { outline-offset: -2px; }
.rooms__track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; align-items: flex-start; }
.room { width: min(40vw, 560px); scroll-snap-align: start; flex: none; }
.room--wide { width: min(58vw, 820px); }
.room--tall { width: min(30vw, 420px); }
.room figure { margin: 0; display: grid; gap: 14px; }
.room__img { overflow: hidden; border-radius: var(--r); background: var(--paper-2); aspect-ratio: 3 / 2; }
.room--tall .room__img { aspect-ratio: 4 / 5; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.room:hover .room__img img { transform: scale(1.1); }
.room figcaption { display: grid; gap: 4px; }
.room__name { font-family: var(--display); font-size: 1.625rem; line-height: 1.1; }
.room__note { color: var(--ink-2); font-size: .9688rem; max-width: 30em; }
.room--end { width: min(30vw, 420px); align-self: stretch; }
.room__endcard { height: 100%; min-height: 280px; border: 1px solid var(--line); border-radius: var(--r); display: grid; align-content: center; justify-items: start; gap: 20px; padding: 32px; }
.room__endcard p { font-family: var(--display); font-size: 1.75rem; line-height: 1.15; }
@media (max-width: 800px) {
  .room, .room--wide, .room--tall, .room--end { width: 82vw; }
  .room--tall .room__img { aspect-ratio: 3 / 2; }
}
/* pinned horizontal pan on desktop (JS adds .is-pinned) */
.rooms.is-pinned .rooms__viewport { overflow: visible; scroll-snap-type: none; }

/* ---------- bedrooms ---------- */
.beds { padding-block: var(--sec); background: var(--paper-2); }
.beds__title { max-width: 12em; margin-bottom: clamp(40px, 6vw, 72px); }
.beds__stack { display: grid; gap: 24px; }
.bed {
  display: grid; grid-template-columns: 1.5fr 1fr; background: var(--surface); border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--line); min-height: min(560px, 70vh);
  transform-origin: 50% 0;
}
.bed__img { overflow: hidden; background: var(--paper-2); }
.bed__img img { width: 100%; height: 100%; object-fit: cover; }
.bed__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; }
.bed__body h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.bed__sleeps { font-family: var(--mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
@media (prefers-color-scheme: dark) { .bed__sleeps { color: var(--teal-on-night); } }
.bed__body p:last-child { color: var(--ink-2); max-width: 26em; }
@media (min-width: 901px) {
  .js .beds__stack { gap: 0; }
  .js .bed { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 8vh; box-shadow: 0 -12px 40px -24px rgba(16, 34, 42, .35); }
  .js .bed:nth-child(2) { top: calc(var(--header-h) + 52px); }
  .js .bed:nth-child(3) { top: calc(var(--header-h) + 72px); margin-bottom: 0; }
}
@media (max-width: 900px) {
  .bed { grid-template-columns: 1fr; min-height: 0; }
  .bed__img { aspect-ratio: 3 / 2; }
  .bed__body { padding: 24px; }
}

/* ---------- amenities ---------- */
.amen { padding-block: var(--sec); overflow: hidden; }
.marquee { border-block: 1px solid var(--line); padding-block: 22px; margin-bottom: var(--sec); overflow: hidden; }
.marquee__row { display: flex; align-items: center; gap: 36px; width: max-content; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; white-space: nowrap; will-change: transform; }
.marquee__row svg { width: .7em; height: .7em; stroke-width: 4; color: var(--teal); }
@media (prefers-color-scheme: dark) { .marquee__row svg { color: var(--teal-on-night); } }
.amen__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.amen__intro { display: grid; gap: 22px; justify-items: start; }
.amen__intro p { color: var(--ink-2); max-width: 26em; }
@media (min-width: 901px) { .amen__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.amen__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--ink); }
.amen__list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.amen__list svg { width: 28px; height: 28px; color: var(--ink-3); stroke-width: 1.4; margin-top: 1px; }
.amen__list li.is-key svg { color: var(--teal); }
@media (prefers-color-scheme: dark) { .amen__list li.is-key svg { color: var(--teal-on-night); } }
.amen__list strong { display: block; font-weight: 600; font-size: 1.0313rem; }
.amen__list span { color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 900px) { .amen__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .amen__list { grid-template-columns: 1fr; } }

/* ---------- ways to stay ---------- */
.ways { padding-block: var(--sec); background: var(--tint); }
.ways__title { margin-bottom: clamp(40px, 5vw, 64px); max-width: 12em; }
.ways__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ways__tabs { display: grid; border-top: 1px solid var(--ink); }
.ways__tabs [role="tab"] {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; padding: 24px 0 24px 0;
  border-bottom: 1px solid var(--line); position: relative; transition: padding-left .4s var(--ease);
}
.ways__tabs [role="tab"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--teal); transition: width .4s var(--ease); }
.ways__tabs [role="tab"][aria-selected="true"] { padding-left: 44px; }
.ways__tabs [role="tab"][aria-selected="true"]::before { width: 28px; }
.ways__tabs [role="tab"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.ways__name { font-family: var(--display); font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.05; color: var(--ink-3); transition: color .3s var(--ease); }
.ways__tabs [role="tab"][aria-selected="true"] .ways__name, .ways__tabs [role="tab"]:hover .ways__name { color: var(--ink); }
.ways__panel { display: grid; gap: 24px; justify-items: start; }
.ways__img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.ways__img img { width: 100%; height: 100%; object-fit: cover; }
.ways__panel p { font-size: 1.1875rem; color: var(--ink-2); max-width: 32em; }
@media (max-width: 900px) { .ways__grid { grid-template-columns: 1fr; } }

/* ---------- the yard (heritage) ---------- */
.yard { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.yard__pin { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: calc(var(--header-h) + 40px) 36px; gap: 24px; }
.yard .eyebrow { color: var(--on-night-2); }
.yard__copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.yard__copy .eyebrow { grid-column: 1 / -1; }
.yard__copy h2 { color: var(--on-night); max-width: 11em; }
.yard__copy p:last-child { color: var(--on-night-2); max-width: 30em; font-size: 1.0625rem; }
.yard__stage { display: grid; align-items: center; min-height: 0; overflow: hidden; padding-inline: var(--gutter); }
.ship { width: min(100%, 1180px); margin-inline: auto; height: auto; overflow: visible; color: var(--on-night); }
.ship .draw { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ship .draw.thin { stroke-width: .8; opacity: .7; }
.ship-water .draw { stroke: var(--teal-on-night); opacity: .7; }
.ship-under { fill: var(--hull); }
.ship-band { fill: currentColor; opacity: .9; }
.ship-holes circle { fill: currentColor; opacity: .75; }
.ship-notes text { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; fill: var(--on-night-2); }
.yard__note { color: var(--on-night-2); font-size: .8125rem; opacity: .8; }
@media (max-width: 900px) {
  .yard__pin { min-height: 0; padding-block: var(--sec); }
  .yard__copy { grid-template-columns: 1fr; }
  .yard__stage { padding-inline: 0; overflow: hidden; }
  .ship { width: 980px; max-width: none; margin-inline: 0; }
}

/* ---------- location ---------- */
.loc { padding-block: var(--sec); }
.loc__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.loc__copy { display: grid; gap: 24px; }
.places { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.places li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.places .mono { color: var(--teal); padding-top: 3px; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .places .mono { color: var(--teal-on-night); } }
.places strong { display: block; font-weight: 600; }
.places span:not(.mono) { color: var(--ink-2); font-size: .9688rem; }
.loc__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.loc__map { display: grid; gap: 12px; }
@media (min-width: 901px) { .loc__map { position: sticky; top: calc(var(--header-h) + 32px); } }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 900px) { .loc__grid { grid-template-columns: 1fr; } .map { aspect-ratio: 1 / 1; } }

/* ---------- book direct ---------- */
.direct { position: relative; overflow: hidden; background: var(--night-2); color: var(--on-night); padding-block: var(--sec); isolation: isolate; }
.direct__wheel { position: absolute; z-index: -1; width: min(70vw, 900px); height: min(70vw, 900px); right: -18%; top: 50%; translate: 0 -50%; color: var(--on-night); opacity: .07; stroke-width: .6; }
.direct__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.direct__copy { display: grid; gap: 24px; justify-items: start; }
.direct h2 { color: var(--on-night); max-width: 11em; }
.direct__copy p { color: var(--on-night-2); max-width: 30em; }
.direct__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-night); }
.direct__list li { display: grid; grid-template-columns: 96px 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line-night); }
.direct__list .mono { color: var(--teal-on-night); grid-row: span 2; padding-top: 4px; }
.direct__list strong { font-weight: 600; }
.direct__list span:not(.mono) { color: var(--on-night-2); font-size: .9688rem; }
@media (max-width: 900px) { .direct__grid { grid-template-columns: 1fr; } }

/* ---------- reviews + faq ---------- */
.faqs { padding-block: var(--sec); }
.reviews { margin-bottom: var(--sec); display: grid; gap: 40px; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.quote { margin: 0; display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--ink); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.3; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--ink-3); line-height: 1.45; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--teal); display: grid; place-items: center; font-family: var(--display); font-size: 1.125rem; flex: none; }
.faqs__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faqs__side { display: grid; gap: 22px; }
.faqs__side > p { color: var(--ink-2); max-width: 26em; }
@media (min-width: 901px) { .faqs__side { position: sticky; top: calc(var(--header-h) + 40px); } }
.contact { display: grid; gap: 6px; padding: 24px; background: var(--tint); border-radius: var(--r); }
.contact__num { font-family: var(--display); font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; user-select: all; }
.contact__hours { color: var(--ink-2); font-size: .9375rem; }
.contact__links { display: flex; gap: 4px 24px; flex-wrap: wrap; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 18px 0; font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--ink-2); display: grid; gap: 10px; max-width: 38em; }
@media (max-width: 900px) { .faqs__grid, .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; color: #F7F3EA; background: #10222A; min-height: min(92svh, 900px); display: flex; align-items: flex-end; }
.final__media { position: absolute; inset: -10% 0; z-index: -2; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 22, 27, .9) 0%, rgba(10, 22, 27, .45) 55%, rgba(10, 22, 27, .25) 100%); }
.final__in { padding-block: 120px clamp(56px, 8vw, 112px); display: grid; gap: 24px; justify-items: start; }
.final h2 { color: #F7F3EA; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .96; max-width: 10em; }
.final p { font-size: 1.1875rem; color: rgba(247, 243, 234, .88); }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--on-night-2); padding-block: 88px 36px; font-size: .9688rem; }
.footer a { color: var(--on-night); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer__wheel { width: 56px; height: 56px; color: var(--teal-on-night); stroke-width: 2.4; }
.footer__name { font-family: var(--display); color: var(--on-night); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h3 { color: var(--on-night); margin-bottom: 16px; font-family: var(--mono); font-size: .75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__legal { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-night); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; font-size: .875rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__monstay { width: 140px; height: auto; opacity: .9; }
@media (max-width: 900px) { .footer__top, .footer__cols { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- helm (desktop) ---------- */
.helm {
  position: fixed; right: 28px; bottom: 28px; z-index: 50; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--teal); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .2s;
}
@media (prefers-color-scheme: dark) { .helm { color: var(--teal-on-night); } }
.helm svg { width: 44px; height: 44px; stroke-width: 3.2; }
.helm.is-on { opacity: 1; visibility: visible; transform: none; }
.helm:hover { background: var(--surface); }
@media (max-width: 900px) { .helm { display: none; } }

/* ---------- mobile booking bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar__txt { font-size: .875rem; line-height: 1.3; color: var(--ink-2); }
.mbar__txt b { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.125rem; }
.mbar .btn { margin-left: auto; }
@media (max-width: 900px) { .mbar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- dialogs ---------- */
dialog {
  border: 0; padding: 0; border-radius: 12px; background: var(--paper); color: var(--ink);
  width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 100px -30px rgba(10, 22, 27, .6);
}
dialog::backdrop { background: rgba(10, 22, 27, .66); backdrop-filter: blur(4px); }
dialog[open] { animation: dlg-in .45s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg { padding: 32px; display: grid; gap: 22px; }
.dlg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dlg__head h2 { font-size: 2.25rem; }
.dlg__head p { color: var(--ink-3); font-size: .9375rem; margin-top: 6px; }
.x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background-color .2s var(--ease); }
.x:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.x svg { width: 20px; height: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.msg { font-size: .9375rem; padding: 12px 14px; border-radius: var(--r); }
.msg--err { background: var(--err-bg); color: var(--err); }
.msg--ok { background: var(--tint); color: var(--ink); }
.terms-note { font-size: .875rem; color: var(--ink-3); }
.dlg__foot { display: grid; gap: 12px; }
@media (max-width: 560px) {
  dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .dlg { padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
}

.lb { width: min(1320px, calc(100vw - 24px)); background: #0B171C; color: #EEE8DC; max-height: calc(100dvh - 24px); }
.lb::backdrop { background: rgba(6, 13, 16, .92); }
.lb__in { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 20px; }
.lb__bar .mono { color: #A7B9BC; font-variant-numeric: tabular-nums; }
.lb__bar .x { border-color: rgba(238, 232, 220, .3); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lb__stage img { max-height: calc(100dvh - 170px); width: auto; max-width: 100%; object-fit: contain; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(238, 232, 220, .92); color: #10222A; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.lb__nav:hover { background: #fff; }
.lb__nav svg { width: 24px; height: 24px; }
.lb__prev { left: 14px; } .lb__next { right: 14px; }
.lb__cap { padding: 14px 20px 18px; color: #C8D4D6; }

/* ---------- reveal helpers (JS sets initial state; content is visible without JS) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .statement .w { color: var(--ink); }
}

/* ---------- legal pages ---------- */
.legal-page .header { color: var(--ink); background: var(--paper); box-shadow: 0 1px 0 var(--line); position: sticky; }
.legal-page .header::before { display: none; }
.legal { max-width: 46rem; padding-block: 72px 112px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.875rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal .updated { color: var(--ink-3); font-size: .9375rem; }
