/* ==========================================================================
   BOBLO BOAT STE. CLAIRE  ·  styles
   A night sail from the Detroit dock to the island.
   ========================================================================== */

:root {
  --ink: #08131f;
  --ink-2: #0e2233;
  --ink-3: #163650;
  --water: #0f3a5c;
  --water-2: #1c5f8a;
  --cream: #f4ecdb;
  --cream-2: #e8dcc1;
  --cream-3: #d9c9a5;
  --paper-text: #1d1a14;
  --paper-muted: #5d5544;
  --red: #c8102e;
  --red-2: #a30d25;
  --brass: #d6a94f;
  --brass-2: #b8892f;
  --white: #fbf7ee;
  --mist: rgba(244, 236, 219, .72);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .28s var(--ease);
  --head-h: 80px;

  /* one radius scale, one shadow scale, one hairline on each background */
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 19, 31, .08), 0 8px 20px -14px rgba(8, 19, 31, .35);
  --shadow: 0 2px 4px rgba(8, 19, 31, .06), 0 24px 44px -28px rgba(8, 19, 31, .5);
  --shadow-lg: 0 4px 8px rgba(8, 19, 31, .06), 0 40px 70px -36px rgba(8, 19, 31, .55);
  --line: rgba(244, 236, 219, .12);
  --line-strong: rgba(244, 236, 219, .28);
  --line-dark: rgba(29, 26, 20, .12);
  --line-dark-strong: rgba(29, 26, 20, .3);
}
@media (min-width: 900px) { :root { --head-h: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw + 12px, 19px);
  line-height: 1.55;
  color: var(--paper-text);
  background: var(--ink);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a:not(.btn) { text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color var(--t), text-decoration-color var(--t), opacity var(--t); }
button { font: inherit; color: inherit; cursor: pointer; }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }
.section--river, .section--night, .site-foot, .menu, .hero { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--red); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: var(--white); padding: 10px 14px; border-radius: 6px;
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.015em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 7.2vw, 5.6rem); font-variation-settings: "opsz" 144, "SOFT" 60; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); font-variation-settings: "opsz" 120; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; font-variation-settings: "opsz" 144, "wght" 400; }

.kicker {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .22em;
  font-size: .82rem; font-weight: 600; color: var(--red); margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .7em;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .8; }
.kicker--light { color: var(--brass); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 62ch; color: var(--paper-muted); line-height: 1.55; }
.section--river .lede, .section--night .lede { color: var(--mist); }
.small { font-size: .92rem; color: var(--paper-muted); }
.big { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; margin: 0 0 .5rem; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--pad)); }
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head h2 { margin-bottom: 1.1rem; }
.section__head .lede { margin-bottom: 0; }

.section--paper { background: var(--cream); color: var(--paper-text); }
.section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--paper > .wrap { position: relative; }
.section--river { background: linear-gradient(180deg, var(--ink-2) 0%, var(--water) 55%, var(--ink-2) 100%); color: var(--cream); }
.section--river h2, .section--river h3 { color: var(--white); }
.section--night { background: radial-gradient(120% 80% at 50% 0%, var(--ink-3) 0%, var(--ink) 60%); color: var(--cream); }
.section--night h2, .section--night h3 { color: var(--white); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-label); font-weight: 700; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--brass); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 30px -10px rgba(200, 16, 46, .7); }
.btn--red:hover { background: var(--red-2); box-shadow: 0 14px 34px -10px rgba(200, 16, 46, .75); }
.btn--dark { background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px -14px rgba(8, 19, 31, .8); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(244, 236, 219, .08); }
.btn--ghost-dark { background: transparent; color: var(--paper-text); border-color: var(--line-dark-strong); }
.btn--ghost-dark:hover { border-color: var(--paper-text); background: rgba(29, 26, 20, .04); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.05em 2em; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Progress bar (a tiny boat sails across the top as you scroll)
   -------------------------------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), var(--red)); transition: width .1s linear; }
.progress__boat { position: absolute; top: -3px; left: 0; width: 30px; height: 13px; --prop: 0; transform: translateX(-100%); transition: left .1s linear; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 36px);
  color: var(--cream);
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.site-head.is-scrolled { background: rgba(8, 19, 31, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(244, 236, 219, .08), 0 10px 30px -20px rgba(0, 0, 0, .6); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 62px; width: auto; max-width: 220px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); }
@media (min-width: 900px) { .brand__logo { height: 74px; } }
.brand--text .brand__logo { display: none; }
.brand:not(.brand--text) .brand__boat, .brand:not(.brand--text) .brand__text { display: none; }
.brand__boat { width: 40px; height: 18px; --prop: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; }
.brand__text small { font-family: var(--font-label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }
.site-nav { display: none; gap: 4px; }
.site-nav a { padding: 8px 10px; border-radius: 999px; text-decoration: none; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; font-weight: 600; opacity: .85; white-space: nowrap; transition: opacity .2s, background .2s; }
.brand__text small { white-space: nowrap; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); transform: translateX(-50%) scale(0); transition: transform var(--t); }
.site-nav a:hover { opacity: 1; background: rgba(244, 236, 219, .1); }
.site-nav a[aria-current="true"] { opacity: 1; }
.site-nav a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }
.site-head__actions { display: flex; align-items: center; gap: 10px; }
.site-head__actions .btn--sm { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 2px solid var(--line-strong); transition: border-color var(--t), background var(--t); border-radius: 999px; padding: 9px 14px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; }
.menu-btn__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.menu-btn__bars i { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-head__actions .btn--sm { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Fullscreen menu */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--cream); overflow-y: auto; padding: calc(var(--head-h) + 24px) var(--pad) 40px; }
.menu[hidden] { display: none; }
.menu__inner { max-width: 720px; margin: 0 auto; }
.menu__kicker { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .24em; color: var(--brass); font-size: .8rem; margin-bottom: 20px; }
.menu__list { list-style: none; margin: 0 0 32px; padding: 0; }
.menu__list li { border-bottom: 1px solid rgba(244, 236, 219, .12); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; text-decoration: none; font-family: var(--font-display); font-size: clamp(1.35rem, 4.5vw, 2rem); transition: color .2s, padding-left .25s var(--ease); }
.menu__list a span { font-family: var(--font-label); font-size: .8rem; letter-spacing: .2em; color: var(--brass); width: 2.4em; }
.menu__list a:hover { color: var(--brass); padding-left: 8px; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  color: var(--cream); padding: calc(var(--head-h) + 84px) 0 0;
  isolation: isolate;
}
/* Sky by Detroit time of day: night (default), dawn, day, dusk. Set by script. */
.hero__sky { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, #050d17 0%, #0b1e31 45%, #16405f 78%, #1c5f8a 100%); transition: background 1.2s; }
.hero.is-dawn .hero__sky { background: linear-gradient(180deg, #22304f 0%, #5c6493 38%, #d98f74 74%, #f5d2a2 100%); }
.hero.is-day .hero__sky { background: linear-gradient(180deg, #17497a 0%, #2c6ea6 42%, #7db3dc 78%, #b8d9ee 100%); }
.hero.is-dusk .hero__sky { background: linear-gradient(180deg, #1a3a5c 0%, #3f6d94 40%, #d99a5b 78%, #f2c785 100%); }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1.2s; }
.hero.is-dawn .hero__stars, .hero.is-dusk .hero__stars { opacity: .3; }
.hero.is-day .hero__stars { opacity: 0; }
.hero.is-day .hero__title, .hero.is-day .hero__lede { text-shadow: 0 2px 30px rgba(5, 13, 23, .75), 0 1px 3px rgba(5, 13, 23, .45); }
/* gulls only fly by day */
.hero__gulls { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.5s; }
.hero.is-day .hero__gulls, .hero.is-dawn .hero__gulls, .hero.is-dusk .hero__gulls { opacity: .85; }
.gull { position: absolute; left: 0; width: 26px; height: auto; color: rgba(251, 247, 238, .9); animation: fly 44s linear infinite; }
.gull path { transform-box: fill-box; transform-origin: center; animation: flap 1.15s ease-in-out infinite; }
.gull--1 { top: 22%; animation-delay: -6s; }
.gull--2 { top: 30%; width: 18px; animation-delay: -21s; animation-duration: 58s; }
.gull--2 path { animation-delay: -.4s; }
.gull--3 { top: 17%; width: 22px; animation-delay: -33s; animation-duration: 50s; }
.gull--3 path { animation-delay: -.8s; }
@keyframes fly { from { transform: translateX(-8vw) translateY(0); } 50% { transform: translateX(50vw) translateY(-18px); } to { transform: translateX(108vw) translateY(4px); } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }
/* lit windows after dark */
/* Lit windows: the drawing reads --win-lit, which inherits into every copy of the ship. */
body.is-night { --win-lit: #f3c65a; }
body.is-dusk { --win-lit: #e9b64a; }
.hero__stars circle { fill: var(--cream); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.hero__moon {
  position: absolute; top: calc(var(--head-h) + 6px); bottom: auto; right: 6%; width: 60px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff9e6 0%, #f1e4bf 45%, #d8c896 100%);
  box-shadow: 0 0 60px 18px rgba(255, 244, 214, .18), 0 0 140px 50px rgba(255, 244, 214, .08);
  transition: opacity 1.2s, transform 1.2s;
}
.hero.is-dusk .hero__moon, .hero.is-dawn .hero__moon { opacity: .95; transform: scale(1.4); background: radial-gradient(circle at 50% 50%, #fff6d8 0%, #ffd98a 55%, #ffb64d 100%); box-shadow: 0 0 80px 30px rgba(255, 200, 120, .35); }
.hero.is-day .hero__moon { opacity: 1; transform: scale(1.15); background: radial-gradient(circle at 50% 50%, #fffdf2 0%, #ffefb5 50%, #ffd66a 100%); box-shadow: 0 0 90px 36px rgba(255, 225, 150, .45), 0 0 200px 90px rgba(255, 225, 150, .15); }

/* On phones the scene is a band under the words; on desktop it fills the hero. */
.hero__scene { position: relative; z-index: 0; order: 2; height: 40vh; min-height: 300px; margin-top: 34px; pointer-events: none; }
.hero__city { position: absolute; left: 0; right: 0; bottom: calc(9% + min(90vw, 760px, max(30vh, 220px) * 1.55) * .131 - 10px); width: 100%; height: 52%; fill: var(--city); transition: fill 1.2s; }
.hero__city .w { fill: url(#cw); }
.hero__city .city__far { opacity: var(--city-far); }
.hero__city .city__quay { fill: var(--quay); }
.hero__city .beacon { fill: #ff5a4a; animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hero__scrim { display: none; }
/* The river: one sheet of water from the quay down to the bottom of the hero, glints drifting across it. */
.hero__water { position: absolute; left: 0; right: 0; bottom: 0; height: calc(9% + min(90vw, 760px, max(30vh, 220px) * 1.55) * .131 - 10px); overflow: hidden; background: linear-gradient(180deg, var(--sea-far) 0%, var(--sea-mid) 55%); }
.hero__water-glint { position: absolute; left: -350%; top: 0; width: 800%; height: 100%; opacity: .14; animation: swell 18s linear infinite; }
/* afloat:start  The boat sits in her own band of sea so the waterline stays true at every screen size. */
.hero { --sea-mid: #113450; --sea-far: #1a4364; --foam: .4; --mirror: .16; --city: #0a1a2c; --city-win: rgba(242, 201, 106, .9); --city-far: .6; --quay: #23364b; }
.hero.is-dawn { --sea-mid: #30517b; --sea-far: #4d6b93; --foam: .6; --mirror: .2; --city: #3b4a68; --city-win: rgba(255, 217, 160, .55); --city-far: .55; --quay: #59688a; }
.hero.is-day { --sea-mid: #25608c; --sea-far: #3f7fad; --foam: .85; --mirror: .22; --city: #6f8ea8; --city-win: rgba(232, 240, 246, .55); --city-far: .5; --quay: #8ba7bf; }
.hero.is-dusk { --sea-mid: #25608c; --sea-far: #4a6f97; --foam: .65; --mirror: .22; --city: #2b3f58; --city-win: rgba(245, 196, 107, .8); --city-far: .6; --quay: #4a5f7c; }
.hero__boat {
  position: absolute; left: 50%; bottom: 9%; width: min(90vw, 760px, calc(max(30vh, 220px) * 1.55)); z-index: 1;
  transform: translateX(-50%); pointer-events: none; --prop: 0;
}
.hero__boat > svg { display: block; max-width: none; overflow: visible; }
.hero__ship { position: relative; width: 100%; height: auto; transform-origin: 50% 92%; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(.55%) rotate(-.25deg); } 50% { transform: translateY(-.8%) rotate(.25deg); } }
.hero__swell { position: absolute; left: -350%; top: 89.19%; width: 800%; height: 45.05%; animation: swell 10s linear infinite; }
@keyframes swell { from { transform: translateX(-4.16667%); } to { transform: translateX(0); } }
.hero__sea { position: absolute; left: 0; top: 0; width: 100%; height: 100%; animation: sway 5.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.7%); } }
.sea-fill { fill: var(--sea-mid); transition: fill 1.2s; }
.sea-glint { opacity: .13; }
.sea-shade { fill: #03101d; opacity: .36; }
.foam { opacity: var(--foam); transition: opacity 1.2s; }
.foam__run { fill: none; stroke: #ffffff; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 7 9 3 12; animation: foam 2.6s linear infinite; }
@keyframes foam { to { stroke-dashoffset: -31; } }
.foam__curl { fill: #ffffff; opacity: .92; }
.foam__wake { fill: none; stroke: #ffffff; stroke-width: 1.1; stroke-linecap: round; opacity: .55; animation: wake 3.5s ease-in-out infinite; }
@keyframes wake { 50% { opacity: .2; } }
.hero__mirror {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 91.89%; transform: scaleY(-.5);
  opacity: var(--mirror); filter: blur(1.4px); clip-path: inset(0 0 8.11% 0);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .5) 22%, transparent 55%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .5) 22%, transparent 55%);
}
/* afloat:end */
/* Each puff grows around its own center, so it starts at the stack's cap and trails aft. */
.smoke circle { fill: var(--cream); opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: puff 5s linear infinite; }
.smoke circle:nth-child(2) { animation-delay: 1s; }
.smoke circle:nth-child(3) { animation-delay: 2s; }
.smoke circle:nth-child(4) { animation-delay: 3s; }
.smoke circle:nth-child(5) { animation-delay: 4s; }
@keyframes puff {
  0% { transform: translate(0, 0) scale(.4); opacity: 0; }
  10% { opacity: .5; }
  100% { transform: translate(84px, -56px) scale(2.4); opacity: 0; }
}
.hero.is-whistling .smoke circle { animation-duration: 1.6s; }

.hero__wave { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 30%; min-height: 60px; }
.hero__wave--back { fill: #163d5e; animation: drift 14s linear infinite; bottom: 12%; opacity: .9; z-index: 0; }
.hero__wave--front { fill: #0c2a44; animation: drift 9s linear infinite reverse; z-index: 2; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero.is-day .hero__wave--back, .hero.is-dusk .hero__wave--back { fill: #2f6f9c; }
.hero.is-day .hero__wave--front, .hero.is-dusk .hero__wave--front { fill: #1b4c73; }
.hero.is-dawn .hero__wave--back { fill: #3b5f8a; }
.hero.is-dawn .hero__wave--front { fill: #25436b; }

.hero__content { position: relative; z-index: 1; order: 1; width: min(var(--max), 100% - 2 * var(--pad)); margin: 0 auto; max-width: 820px; margin-left: max(var(--pad), (100% - var(--max)) / 2); }
.hero__cta .btn--ghost { display: none; }
.hero__title { color: var(--white); margin: .3em 0 .5em; text-wrap: balance; text-shadow: 0 2px 24px rgba(5, 13, 23, .45); }
.hero__title em { color: var(--brass); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 56ch; color: var(--cream); text-shadow: 0 1px 14px rgba(5, 13, 23, .6); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1.6rem 0 1.2rem; }
.whistle {
  display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(160deg, #f0cf7a 0%, var(--brass) 55%, #b8892f 100%); border: 2px solid #f3d98f; color: #2a1e08;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; font-weight: 700; padding: .8em 1.3em;
  border-radius: 999px; line-height: 1;
  box-shadow: 0 10px 30px -10px rgba(214, 169, 79, .8), 0 0 0 0 rgba(214, 169, 79, .6);
  animation: halo 2.6s ease-out infinite;
  transition: transform .25s var(--ease), filter .25s;
}
.whistle svg { width: 22px; height: 22px; }
.whistle:hover { transform: translateY(-2px); filter: brightness(1.08); }
@keyframes halo {
  0% { box-shadow: 0 10px 30px -10px rgba(214, 169, 79, .8), 0 0 0 0 rgba(214, 169, 79, .6); }
  70% { box-shadow: 0 10px 30px -10px rgba(214, 169, 79, .8), 0 0 0 16px rgba(214, 169, 79, 0); }
  100% { box-shadow: 0 10px 30px -10px rgba(214, 169, 79, .8), 0 0 0 0 rgba(214, 169, 79, 0); }
}
.whistle.is-playing svg { animation: shake .15s linear infinite; }
@keyframes shake { 0% { transform: translateX(-1px); } 100% { transform: translateX(1px); } }
.status { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; font-weight: 600; color: var(--cream); background: rgba(8, 19, 31, .45); border: 1px solid rgba(244, 236, 219, .2); padding: 8px 14px 8px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero__note { margin: 14px 0 0; max-width: 46ch; font-size: .95rem; color: var(--mist); text-shadow: 0 1px 12px rgba(5, 13, 23, .6); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #5fd47a; box-shadow: 0 0 0 0 rgba(95, 212, 122, .6); animation: pulse 2s infinite; }
.status--closed .status__dot { background: #ff7a59; animation: none; box-shadow: none; }
.ticket__live { margin: 0 0 8px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--paper-text); }
.ticket__live:empty { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 212, 122, .6); } 70% { box-shadow: 0 0 0 10px rgba(95, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 212, 122, 0); } }

.hero__cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: none; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--cream); opacity: .8; }
.hero__cue i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--cream), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }

@media (min-width: 900px) {
  .hero { display: grid; align-items: center; justify-content: stretch; padding-top: var(--head-h); }
  .hero__cta .btn--ghost { display: inline-flex; }
  .whistle { font-size: .9rem; }
  .hero__moon { top: 8%; bottom: auto; right: 6%; width: clamp(64px, 9vw, 120px); }
  .hero__cue { display: flex; }
  .hero__content { padding-top: 6vh; max-width: 680px; }
  .hero__scene { position: absolute; inset: 0; height: auto; min-height: 0; margin: 0; z-index: -1; }
  .hero__boat { left: auto; right: .6vw; bottom: 9%; width: min(48vw, 800px); transform: none; }
  .hero__city { bottom: 18.4%; height: auto; max-height: 64%; }
  .hero__water { height: 18.4%; }
  .hero__scrim { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 13, 23, .55) 0%, rgba(5, 13, 23, .3) 38%, rgba(5, 13, 23, 0) 60%); }
  .hero__wave { height: 14%; min-height: 70px; }
  .hero__wave--back { bottom: 6%; }
  .hero__title { font-size: clamp(2.5rem, 5.6vw, 4.9rem); }
  .hero__lede { max-width: 44ch; }
}


/* --------------------------------------------------------------------------
   Ticket
   -------------------------------------------------------------------------- */
.ticket {
  display: grid; grid-template-columns: 1fr; background: var(--white); color: var(--paper-text);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(8, 19, 31, .04);
  position: relative; overflow: hidden;
}
.ticket__stub {
  position: relative; background: var(--red); color: var(--white); padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .22em; font-weight: 700;
}
.ticket__stub::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 0; border-bottom: 3px dashed rgba(251, 247, 238, .6); }
.ticket__wheel { width: 34px; height: 34px; color: var(--white); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ticket__body { padding: clamp(22px, 3.5vw, 40px); }
.ticket__row--top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--paper-muted); padding-bottom: 14px; border-bottom: 1px solid var(--cream-2); margin-bottom: 22px; }
.ticket__grid { display: grid; grid-template-columns: 1fr; gap: 22px 32px; }
.ticket__cell h3 { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.ticket__cell .small { margin: 0; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--cream-2); }
@media (min-width: 640px) { .ticket__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .ticket { grid-template-columns: 96px 1fr; }
  .ticket__stub { flex-direction: column; justify-content: space-between; padding: 26px 0; writing-mode: vertical-rl; }
  .ticket__stub::after { left: auto; right: -1px; bottom: 0; top: 0; height: auto; width: 0; border-bottom: 0; border-right: 3px dashed rgba(251, 247, 238, .6); }
  .ticket__admit { transform: rotate(180deg); }
  .ticket__no { transform: rotate(180deg); }
  .ticket__wheel { writing-mode: horizontal-tb; }
  .ticket__grid { grid-template-columns: repeat(4, 1fr); }
}
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.perks li { background: rgba(8, 19, 31, .05); border-left: 3px solid var(--brass); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .98rem; }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(3, 1fr); } }


/* --------------------------------------------------------------------------
   Voyage / timeline
   -------------------------------------------------------------------------- */
.voyage__list { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; --p: 0; }
.voyage__list::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: rgba(244, 236, 219, .14); }
.voyage__list::after { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--brass), var(--red)); transform: scaleY(var(--p)); transform-origin: top; }
.voyage__boat { position: absolute; left: 15px; top: calc(var(--p) * 100%); transform: translate(-50%, -50%); width: 50px; height: 22px; --prop: 0; z-index: 2; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.voyage__boat svg { width: 100%; height: 100%; }
.stop { position: relative; padding: 0 0 clamp(36px, 5vw, 56px); max-width: 620px; }
.stop::before { content: ""; position: absolute; left: -36px; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); border: 2px solid rgba(244, 236, 219, .4); transition: background .4s, border-color .4s, box-shadow .4s; }
.stop.in::before { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 6px rgba(214, 169, 79, .18); }
.stop time { display: block; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; color: var(--brass); font-size: .85rem; margin-bottom: 6px; }
.stop h3 { color: var(--white); margin-bottom: .45em; }
.stop p { color: var(--mist); margin: 0; }
.stop a:not(.btn) { color: var(--brass); }
.stop .btn { margin-top: 16px; }
.stop--major h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.stop--fire time { color: #ff7a59; }
.stop--fire.in::before { background: #ff7a59; border-color: #ff7a59; box-shadow: 0 0 0 6px rgba(255, 122, 89, .2), 0 0 30px rgba(255, 122, 89, .4); }
.stop--now.in::before { background: #5fd47a; border-color: #5fd47a; box-shadow: 0 0 0 6px rgba(95, 212, 122, .2); }
@media (min-width: 900px) {
  .voyage__list { padding-left: 0; }
  .voyage__list::before, .voyage__list::after { left: 50%; margin-left: -1px; }
  .voyage__boat { left: 50%; }
  .stop { width: 46%; max-width: none; padding-bottom: clamp(48px, 6vw, 84px); }
  .stop:nth-child(odd) { margin-left: 0; text-align: right; }
  .stop:nth-child(odd)::before { left: auto; right: calc(-8.7% - 7px); }
  .stop:nth-child(even) { margin-left: 54%; }
  .stop:nth-child(even)::before { left: calc(-8.7% - 7px); }
}

/* --------------------------------------------------------------------------
   Ship / plaques / deck explorer
   -------------------------------------------------------------------------- */
.plaques { list-style: none; margin: 0 0 clamp(40px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plaques li { background: linear-gradient(160deg, #e9c877 0%, var(--brass) 45%, #a77d2b 100%); color: #2a1e08; border-radius: var(--r-sm); padding: 18px 16px 14px; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 12px 24px -14px rgba(8, 19, 31, .6); position: relative; }
.plaques li::before, .plaques li::after { content: ""; position: absolute; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #5a4413; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5); }
.plaques li::before { left: 8px; } .plaques li::after { right: 8px; }
.plaques__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.plaques__unit { display: block; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; margin-top: 6px; opacity: .85; }
@media (min-width: 720px) { .plaques { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .plaques { grid-template-columns: repeat(6, 1fr); } }

.decks { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.decks__figure { position: relative; background: linear-gradient(180deg, #d9e6ef 0%, #b7cfdf 100%); border-radius: var(--r-lg); padding: 24px 12px clamp(14px, 3.2vw, 34px); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(8, 19, 31, .08); }
.decks__svg { width: 100%; height: auto; position: relative; z-index: 1; overflow: visible; display: block; }
.decks__sea { fill: #1c5f8a; opacity: .62; pointer-events: none; }
.decks__sealine { fill: none; stroke: #eef7fc; stroke-width: 1.3; opacity: .85; pointer-events: none; }
.decks__water { position: absolute; left: 0; bottom: -2px; width: 200%; max-width: none; height: clamp(18px, 4vw, 42px); fill: #164e74; animation: drift 12s linear infinite; z-index: 2; }
.decks__zone { fill: var(--red); opacity: 0; cursor: pointer; transition: opacity .25s; }
.decks__zone:hover { opacity: .18; }
.decks__zone.is-active { opacity: .3; stroke: var(--red); stroke-width: 2; animation: zone 2.4s ease-in-out infinite; }
@keyframes zone { 0%, 100% { opacity: .22; } 50% { opacity: .38; } }
.decks__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.decks__tabs button { background: transparent; border: 2px solid var(--line-dark); border-radius: 999px; padding: 8px 14px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; transition: background .2s, color .2s, border-color .2s; }
.decks__tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.decks__tabs button:hover { border-color: var(--ink); }
.deck { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.deck h3 { margin-bottom: 12px; }
.deck dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.deck dt { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--red); padding-top: .35em; }
.deck dd { margin: 0; color: var(--paper-muted); }
.deck dd a { color: var(--red); }
.specs { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(29, 26, 20, .12); display: grid; grid-template-columns: 1fr; gap: 6px 24px; font-size: .95rem; }
.specs li { display: flex; gap: 12px; align-items: baseline; }
.specs span { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--paper-muted); min-width: 74px; }
@media (min-width: 560px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .decks { grid-template-columns: 1.2fr 1fr; gap: 40px; } }

/* --------------------------------------------------------------------------
   Island
   -------------------------------------------------------------------------- */
.island { overflow: hidden; }
.island__ferris { position: absolute; right: -8%; top: 4%; width: min(60vw, 520px); height: auto; color: rgba(214, 169, 79, .16); pointer-events: none; }
.island__ferris .ferris-wheel { transform-origin: 100px 100px; animation: spin 60s linear infinite; transform-box: view-box; }
.marquee { background: linear-gradient(180deg, #14100a, #0b0906); border: 3px solid var(--brass); border-radius: 18px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 0 0 6px #0b0906, 0 0 0 8px rgba(214, 169, 79, .35), 0 40px 60px -30px rgba(0, 0, 0, .8); position: relative; }
.marquee::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(214, 169, 79, .35); border-radius: 12px; pointer-events: none; }
.marquee__title { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; margin: 0 0 18px; text-shadow: 0 0 20px rgba(214, 169, 79, .5); }
.rides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 10px; }
.rides li { background: rgba(244, 236, 219, .04); border: 1px solid rgba(214, 169, 79, .22); border-radius: var(--r-sm); padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.rides li:hover { transform: translateY(-3px); border-color: var(--brass); background: rgba(214, 169, 79, .1); }
.rides strong { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .12em; color: var(--white); font-size: .95rem; }
.rides span { font-size: .85rem; color: var(--mist); font-style: italic; font-family: var(--font-display); }
.dance { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: clamp(40px, 6vw, 72px); align-items: center; }
.dance__text p:last-child { color: var(--mist); margin: 0; }
.dance__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dance__stats li { background: rgba(244, 236, 219, .05); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--mist); }
.dance__stats span { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--brass); letter-spacing: 0; text-transform: none; line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.dance__stats sup { font-size: .5em; }
.island__side { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.island__side p:last-child { margin: 0; color: var(--mist); }
.memory { margin: 0; padding: 22px 24px; background: var(--white); color: var(--paper-text); border-radius: 6px; position: relative; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .8); transform: rotate(-1.2deg); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; }
.memory::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(29, 26, 20, .12); pointer-events: none; border-radius: 3px; }
.memory p { margin: 0 0 12px; }
.memory cite { display: block; font-style: normal; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--red); }
@media (min-width: 900px) { .island__side { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.island__today { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 60ch; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--mist); }
@media (min-width: 900px) { .dance { grid-template-columns: 1.3fr 1fr; gap: 48px; } }

/* --------------------------------------------------------------------------
   Home movies
   -------------------------------------------------------------------------- */
.films { display: grid; grid-template-columns: 1fr; gap: 18px; }
.film { background: rgba(8, 19, 31, .45); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.film:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.film__play, .film iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.film__play { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.film__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s var(--ease), opacity .3s; filter: sepia(.25) contrast(1.05); }
.film__play:hover img { transform: scale(1.04); opacity: 1; }
.film__ring { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(200, 16, 46, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.film__ring::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 20px solid var(--white); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.film__play:hover .film__ring { transform: scale(1.08); }
.film__cap { padding: 12px 14px 14px; }
.film__year { display: block; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--brass); margin-bottom: 4px; }
.film h3 { font-size: 1.05rem; color: var(--white); }
@media (min-width: 640px) { .films { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .films { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */
.story__body { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; }
.story__body p { margin-bottom: 1.2em; }
.story__drop::first-letter { font-family: var(--font-display); font-size: 3.6em; float: left; line-height: .8; padding: .08em .12em 0 0; color: var(--red); font-weight: 600; }
.story__body p:last-child { font-family: var(--font-display); font-style: italic; color: var(--red); font-size: 1.15em; }

/* --------------------------------------------------------------------------
   Rebuild
   -------------------------------------------------------------------------- */
.rebuild__cols { display: grid; grid-template-columns: 1fr; gap: 40px; }
.log ul, .next ul { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(244, 236, 219, .1); color: var(--mist); }
.log time { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--brass); font-size: .85rem; padding-top: .2em; }
.next li { position: relative; padding: 8px 0 8px 30px; color: var(--mist); }
.next li::before { content: ""; position: absolute; left: 0; top: 16px; width: 18px; height: 2px; background: var(--brass); }
.support__org { margin: 8px 0 0; font-size: .95rem; color: var(--paper-muted); max-width: 64ch; }
.cform { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(244, 236, 219, .14); }
.cform label { display: grid; gap: 6px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--brass); }
.cform input, .cform textarea { font: inherit; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; padding: 10px 12px; border: 1px solid rgba(244, 236, 219, .25); border-radius: 6px; background: rgba(8, 19, 31, .55); color: var(--cream); width: 100%; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(214, 169, 79, .25); }
.cform textarea { resize: vertical; }
.cform .btn { justify-self: start; }
.cform__hint { margin: 0; font-size: .8rem; color: var(--mist); }
.next .btn { margin-top: 8px; }
@media (min-width: 900px) { .rebuild__cols { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* --------------------------------------------------------------------------
   Museum
   -------------------------------------------------------------------------- */
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: st; }
.stations li { background: var(--white); border-radius: var(--r); padding: 22px 20px 18px; position: relative; box-shadow: var(--shadow-sm); border-top: 3px solid var(--red); transition: transform var(--t), box-shadow var(--t); }
.stations li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stations__n { font-family: var(--font-label); font-weight: 700; letter-spacing: .2em; color: var(--red); font-size: .8rem; display: block; margin-bottom: 8px; }
.stations h3 { font-size: 1.3rem; margin-bottom: 6px; }
.stations p { margin: 0; color: var(--paper-muted); font-size: .96rem; }
@media (min-width: 640px) { .stations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stations { grid-template-columns: repeat(4, 1fr); } .stations li:first-child { grid-column: span 2; } }
.concession { margin-top: clamp(32px, 5vw, 56px); padding: 22px; background: rgba(200, 16, 46, .06); border: 1px dashed rgba(200, 16, 46, .4); border-radius: var(--r); }
.concession p:last-child { margin: 0; }


/* --------------------------------------------------------------------------
   Support
   -------------------------------------------------------------------------- */
.support__grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 760px; }
.donate { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.donate h3 { margin-bottom: 12px; }
.donate .btn { margin: 8px 0 18px; }
.donate .small { color: var(--mist); margin: 0; }
.donate .small a { color: var(--brass); }

/* --------------------------------------------------------------------------
   Store
   -------------------------------------------------------------------------- */
.shop { background: var(--cream-2); }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(8, 19, 31, .05); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px rgba(8, 19, 31, .06); }
.product__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; color: var(--red); background: radial-gradient(120% 100% at 50% 0%, #fbf7ee 0%, #ecdfc4 100%); }
.product__art::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(200, 16, 46, .25); border-radius: 12px; pointer-events: none; }
.product__art svg { width: 44%; height: 44%; transition: transform .3s var(--ease); }
.product:hover .product__art svg { transform: translateY(-3px) rotate(-3deg); }
.product__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s, transform .6s var(--ease); }
.product:hover .product__art.has-photo img { transform: scale(1.04); }
.product__art.has-photo img { opacity: 1; }
.product__art.has-photo svg, .product__art.has-photo::after { display: none; }
.product__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product__name { font-size: 1.05rem; line-height: 1.15; }
.product__price { font-family: var(--font-label); font-weight: 700; letter-spacing: .06em; color: var(--red); font-size: 1.05rem; white-space: nowrap; }
.product__blurb { margin: 0; font-size: .88rem; color: var(--paper-muted); }
.product__specs { list-style: none; margin: 2px 0 0; padding: 8px 0 0; border-top: 1px dotted rgba(29, 26, 20, .2); display: grid; gap: 3px; font-size: .78rem; color: var(--paper-muted); }
.product__specs li { padding-left: 12px; position: relative; }
.product__specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.product__sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.product__sizes button { background: transparent; border: 1.5px solid var(--line-dark-strong); border-radius: 999px; padding: 5px 12px; font-family: var(--font-label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.product__sizes button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.product__buy { margin-top: auto; width: 100%; font-size: .9rem; padding: .8em 1em; }
.shop__note { margin: 28px 0 0; font-family: var(--font-display); font-style: italic; color: var(--paper-muted); text-align: center; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, 1fr); gap: 18px; } .product__body { padding: 16px 18px 18px; } }
@media (min-width: 980px) { .products { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.contact__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__list li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(244, 236, 219, .12); color: var(--mist); }
.contact__list span { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--brass); }
.contact__list a { color: var(--cream); text-decoration-color: rgba(244, 236, 219, .4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact__card { background: rgba(8, 19, 31, .45); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.contact__ship { width: 100%; height: auto; margin-bottom: 12px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
.contact__card p { margin: 0; color: var(--mist); }
.contact__card strong { color: var(--white); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.site-foot { background: #050c14; color: var(--mist); padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9rem; border-top: 1px solid var(--line); }
.site-foot__inner { display: grid; gap: 16px; text-align: center; }
.site-foot__logo { width: 150px; height: auto; margin: 0 auto 6px; }
.site-foot__brand { margin: 0; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--brass); }
.site-foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.site-foot__nav a { text-decoration: none; opacity: .8; padding: 4px 2px; }
.site-foot__nav a:hover { opacity: 1; color: var(--white); }
.site-foot__note { margin: 0; max-width: 56ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.hero [data-reveal]:nth-child(2) { transition-delay: .1s; }
.hero [data-reveal]:nth-child(3) { transition-delay: .2s; }
.hero [data-reveal]:nth-child(4) { transition-delay: .3s; }
.hero [data-reveal]:nth-child(5) { transition-delay: .4s; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(2) { transition-delay: .06s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .18s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .24s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .3s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .36s; }
[data-stagger].in > *:nth-child(n+8) { transition-delay: .42s; }
.stations[data-stagger].in li, .films[data-stagger].in .film { transition-property: opacity, transform, box-shadow, border-color; }

/* --------------------------------------------------------------------------
   Motion + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; }
  .hero__ship, .hero__swell, .hero__sea, .hero__water-glint, .foam__run, .foam__wake, .hero__city .beacon { animation: none; }
}
@media print {
  .site-head, .menu, .progress, .hero__cue, .whistle { display: none !important; }
  .hero { min-height: auto; color: #000; }
  .section { padding: 24px 0; }
  [data-reveal] { opacity: 1; transform: none; }
}
