/* Reverie — Edition. A print issue: a cover spread (contents page + cover), chapters set on a wide page
   with hairline chapter rules, one cinema band where the lights dim, and a back-page reply card. */
:root {
  --paper: #F2EEE6;
  --paper-2: #E9E3D7;
  --paper-foam: #DCE7E2;
  --card: #FBF9F4;
  --ink: #191917;
  --ink-2: #4F4B44;
  --ink-3: #6B655C;
  --rule: #CBC3B4;
  --accent: #1E5C58;
  --accent-deep: #0F3B38;
  --foam: #8FC7C2;
  --night: #121210;
  --night-text: #F2EEE6;
  --night-muted: #C9C2B4;

  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --display-weight: 420;
  --ds: .92; /* display size scale: Newsreader runs large at display sizes */
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  --label: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --bar-h: 84px;
  --bar-h-compact: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
/* The build wraps photographs in <picture> to offer AVIF first; the wrapper must not change any layout. */
picture { display: contents; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
::selection { background: var(--foam); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Sections that receive focus after an in-page jump (tabindex -1) aren't controls: no ring around a whole section. */
[tabindex="-1"]:focus-visible { outline: none; }
::placeholder { color: var(--ink-3); opacity: 1; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main [id] { scroll-margin-top: calc(var(--bar-h-compact) + 8px); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-family: var(--label); font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Lenis (inlined from lenis@1.3.26/dist/lenis.css). Its iframe rule is omitted, and its lenis-stopped overflow
   rule too: the script locks scrolling itself and pads for the scrollbar so the page never shifts. */
html.lenis, html.lenis body { height: auto; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* Fade layer for in-page link jumps (sits under the header) */
.page-turn { position: fixed; inset: 0; z-index: 55; background: var(--paper); opacity: 0; pointer-events: none; }

/* Paper grain */
.grain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type ------------------------------------------------------------------ */
.eyebrow {
  margin: 0; font-family: var(--label); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.h2 {
  margin: 16px 0 0; font-family: var(--display); font-weight: 400;
  font-size: calc(clamp(42px, 4.7vw, 70px) * var(--ds)); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance;
}
.h2 em, .essay__title em, .cover__headline em { font-style: italic; }
.dek { margin: 16px 0 0; font-style: italic; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.35; color: var(--ink-2); }
.body { margin: 18px 0 0; max-width: 62ch; text-wrap: pretty; }
.dek + .body { margin-top: 28px; }

.caption { margin-top: 12px; display: flex; gap: 12px; font-family: var(--label); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.caption__num { flex: none; font-weight: 600; color: var(--accent); }

.link {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px; padding: 12px 0;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
}
.link span[aria-hidden] { display: inline-block; transition: transform .5s var(--ease-out); }
.link:hover span[aria-hidden] { transform: translateX(6px); }
.link:hover { animation: underline-run .9s var(--ease-out); }
@keyframes underline-run {
  0% { background-size: 100% 1px; background-position: 100% calc(100% - 8px); }
  45% { background-size: 0% 1px; background-position: 100% calc(100% - 8px); }
  46% { background-size: 0% 1px; background-position: 0 calc(100% - 8px); }
  100% { background-size: 100% 1px; background-position: 0 calc(100% - 8px); }
}

/* Split-word reveal masks (added by script). Each mask has room on every side, offset by negative margins so the
   line never moves, for the cap tops, i-dots, ascenders and italic swashes that rise or swing past a tight display
   line-height. The masks clip only while the words travel (.is-masked); at rest nothing is cut, soft shadows included. */
.sw { display: inline-block; vertical-align: top; }
.is-masked .sw { overflow: hidden; padding: .16em .24em; margin: -.16em -.24em; }
/* A moving mask's room can reach past the screen edge; clip there (clip, unlike hidden, keeps sticky parts working). */
main { overflow-x: clip; }
.sw__i { display: inline-block; will-change: transform; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: color .5s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--lg { min-height: 56px; padding: 0 32px; background: var(--ink); color: var(--paper); }
.btn--lg::before { background: var(--accent); }
.btn--line { border-color: var(--ink); }
.btn__short { display: none; }

/* Header bar ------------------------------------------------------------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(242, 238, 230, .9);
  backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
}
.bar__inner {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .5s var(--ease-out);
}
.is-scrolled .bar__inner { height: var(--bar-h-compact); }
.bar__left, .bar__right { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 22px; }
.bar__right { justify-content: flex-end; }
.bar__logo { flex: none; display: block; padding-block: 17px; margin-block: -17px; color: var(--ink); }
.bar__logo svg { display: block; width: clamp(128px, 13vw, 190px); height: auto; transition: width .5s var(--ease-out); }
.is-scrolled .bar__logo svg { width: clamp(120px, 11vw, 158px); }

.contents-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.contents-btn__icon { display: grid; gap: 5px; width: 22px; }
.contents-btn__icon i { display: block; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.contents-btn__icon i:last-child { width: 14px; }
.contents-btn:hover .contents-btn__icon i:last-child { width: 22px; }

.runhead {
  margin: 0; min-width: 0; display: flex; align-items: baseline; gap: 12px;
  padding-left: 22px; border-left: 1px solid var(--rule);
  font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.runhead__num { font-family: var(--display); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--accent); white-space: nowrap; }
.runhead__title { position: relative; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.runhead__text { display: inline-block; }
.runhead__page { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; height: 1.2em; line-height: 1.2; overflow: hidden; }
.odo__digit { display: inline-block; height: 1.2em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform .8s var(--ease-out); }
.odo__strip span { display: block; height: 1.2em; line-height: 1.2; }

.bar__film {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.bar__film svg { width: 22px; height: 22px; stroke-width: 1; transition: transform .7s var(--ease-out); }
.bar__film:hover svg { transform: rotate(120deg) scale(1.08); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Load choreography (CSS-driven so the cover always lands, even without script) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes draw-x { from { transform: scaleX(0); } }
.load-rise { animation: rise 1s var(--ease-out) both; animation-delay: var(--d, 0s); }

/* Cover ------------------------------------------------------------------ */
.cover { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.cover__page {
  flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column;
  padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--rule);
}
.cover__meta {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.cover__kicker {
  margin: 40px 0 0; max-width: 36ch;
  font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: var(--accent);
}
.cover__headline {
  margin: 18px 0 0; font-family: var(--display); font-weight: 400;
  font-size: calc(clamp(44px, 4.7vw, 72px) * var(--ds)); line-height: 1.03; letter-spacing: -0.015em; text-wrap: balance;
}
.js .cover__headline { visibility: hidden; animation: show-late 0s 2.6s forwards; }
@keyframes show-late { to { visibility: visible; } }

.toc { margin-top: auto; padding-top: 48px; }
.toc__head {
  display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--ink);
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list li { position: relative; }
.toc__list li::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule);
  transform-origin: 0 50%; animation: draw-x 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0s) + .1s);
}
.toc__list a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: baseline; gap: 16px;
  padding: 12px 0; color: var(--ink); text-decoration: none; transition: padding .5s var(--ease-out);
}
.toc__list a:hover, .toc__list a:focus-visible { padding-left: 14px; }
.toc__num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--accent); }
.toc__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toc__title { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.toc__dek { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.toc__page { font-family: var(--label); font-size: 13px; letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.cover__art {
  flex: 1.5 1 640px; position: relative; min-height: 920px; overflow: hidden;
  background: #0E4C52; color: #FFFFFF;
  animation: cover-open 1.6s var(--ease-io) .1s both;
}
@keyframes cover-open { from { clip-path: inset(0 47% 0 47%); } to { clip-path: inset(0 0 0 0); } }
/* Side by side, the photograph panel is one screen tall and holds still while the contents list scrolls past it,
   so the yacht is in the first view on every laptop; on wide screens the text column lines up with the bar. */
@media (min-width: 1160px) {
  .cover__page {
    flex-basis: calc(520px + max(0px, (100% - var(--maxw)) / 2));
    padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  }
  .cover__art {
    position: sticky; top: var(--bar-h-compact); align-self: flex-start; min-height: 560px;
    height: calc(100vh - var(--bar-h-compact)); height: calc(100svh - var(--bar-h-compact));
  }
  .toc { margin-top: 0; }
}
.cover__depth { position: absolute; inset: -28px; will-change: transform; }
.cover__zoom { position: absolute; inset: 0; animation: cover-zoom 2.6s var(--ease-out) .1s both; }
@keyframes cover-zoom { from { transform: scale(1.34); } to { transform: none; } }
/* Photo, water video and yacht overlay share one frame and one crop, so they stay registered as it drifts. */
.cover__frame { position: absolute; inset: 0; animation: kenburns 34s ease-in-out 2.5s infinite alternate; }
@keyframes kenburns { to { transform: scale(1.03) translate(-.4%, -.5%); } }
.cover__frame picture { display: block; width: 100%; height: 100%; }
.cover__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 86%; }
.cover__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 86%;
  opacity: 0; transition: opacity 2.2s var(--ease-io);
}
.cover__frame.is-live .cover__video { opacity: 1; }
.cover__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 28, 32, .66) 0%, rgba(3, 28, 32, .36) 42%, rgba(3, 28, 32, .06) 72%, rgba(3, 28, 32, 0) 100%);
}
.cover__top { position: relative; padding: 36px clamp(20px, 3.4vw, 48px) 0; }
.cover__line {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.cover__masthead { display: block; width: 100%; height: auto; margin-top: 16px; overflow: hidden; }
.m-letter { transform-box: fill-box; animation: letter-rise 1.1s var(--ease-out) both; animation-delay: calc(.45s + var(--i) * .05s); }
@keyframes letter-rise { from { opacity: 0; transform: translateY(35%); } to { opacity: 1; transform: none; } }

.cover__lines { position: relative; max-width: 470px; padding: 40px clamp(20px, 3.4vw, 48px) 0; text-shadow: 0 1px 24px rgba(0, 24, 28, .35); }
.cover__story-label, .cover__teasers span {
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.cover__story-label { margin: 0; }
.cover__story { margin: 10px 0 0; font-family: var(--display); font-style: italic; font-size: calc(clamp(38px, 3.8vw, 58px) * var(--ds)); line-height: 1.02; }
.cover__story-dek { margin: 14px 0 0; font-size: 19px; line-height: 1.45; }
.cover__teasers { margin-top: 26px; display: flex; gap: 28px; }
.cover__teasers p { margin: 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .6); font-size: 16px; line-height: 1.32; }
.cover__teasers span { display: block; margin-bottom: 5px; font-size: 12px; }

.roundel {
  position: absolute; right: clamp(20px, 3.4vw, 48px); top: clamp(200px, 21vw, 270px);
  width: 150px; height: 150px; color: #FFFFFF; text-decoration: none; border-radius: 50%;
}
.roundel__in { position: absolute; inset: 0; display: grid; place-items: center; animation: roundel-in 1.2s var(--ease-out) 1.2s both; }
@keyframes roundel-in { from { opacity: 0; transform: scale(.9); } }
.roundel__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.roundel__ring text { font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; fill: currentColor; }
.roundel__play {
  position: relative; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 14px 40px rgba(0, 24, 28, .3); transition: background .4s;
}
.roundel__play svg { width: 22px; height: 22px; margin-left: 3px; }
.roundel:hover .roundel__play { background: #FFFFFF; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ribbon ----------------------------------------------------------------- */
.ribbon { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ribbon__track { display: flex; width: max-content; will-change: transform; }
.ribbon__group {
  flex: none; display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font-family: var(--display); font-size: calc(clamp(30px, 3.4vw, 52px) * var(--ds)); line-height: 1.1;
}
.ribbon__group em { font-style: italic; color: var(--accent); }
.ribbon__group b { font-weight: 400; color: var(--rule); }

/* Shared section rhythm --------------------------------------------------- */
.chapter { padding-block: clamp(72px, 9vw, 136px); }
.chapter-band { background: var(--paper-2); padding-block: clamp(72px, 9vw, 136px); }
.chapter-band--foam { background: var(--paper-foam); }
.chapter__head {
  --draw: 1; position: relative; display: flex; align-items: baseline; gap: 20px; padding-top: 16px;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.chapter__head::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink);
  transform-origin: 0 50%; transform: scaleX(var(--draw));
}
.chapter__num { font-family: var(--display); font-style: italic; font-size: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--accent); }
.chapter__page { margin-left: auto; color: var(--ink-2); }

.media { position: relative; overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }
[data-lightbox] .media, [data-lightbox] .plate__img { cursor: zoom-in; }

/* Welcome ---------------------------------------------------------------- */
.welcome { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; padding-block: clamp(72px, 9vw, 136px); }
.welcome__text { flex: 1.1 1 460px; min-width: 0; max-width: 720px; }
.welcome__figure { flex: 1 1 360px; min-width: 0; margin: clamp(0px, 9vw, 150px) 0 0; }
.dropcap__l { float: left; font-family: var(--display); font-size: 104px; line-height: .78; padding: 8px 14px 0 0; color: var(--accent); }

.factfile { margin-top: 52px; padding-top: 16px; border-top: 2px solid var(--ink); }
.factfile__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.factfile__title { margin: 0; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.units { position: relative; display: inline-flex; padding: 3px; border: 1px solid var(--ink); border-radius: 999px; }
.units::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--pill-w, 50%); border-radius: 999px; background: var(--ink);
  transform: translateX(var(--pill-x, 0px)); transition: transform .55s var(--ease-out), width .55s var(--ease-out);
}
.units__btn {
  position: relative; z-index: 1; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: color .45s var(--ease-out);
}
.units__btn[aria-pressed="true"] { color: var(--paper); }
.factfile__list {
  margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); column-gap: 40px;
  font-size: 17px; line-height: 1.4;
}
.factfile__list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.factfile__list dt { color: var(--ink-2); }
.factfile__list dd { margin: 0; overflow: hidden; text-align: right; font-variant-numeric: tabular-nums; }
.roll { display: inline-block; }

/* Film ------------------------------------------------------------------- */
.film {
  /* The room dims as you arrive. Type can't fade alongside the background (midway, both would be grey), so it
     switches side at the middle of the fade, at full strength (ink, or night text), and eases to its usual
     muted tone as the room reaches fully light or fully dark. */
  --dim: 0;
  --step: clamp(0, (var(--dim) - .5) * 1000, 1);
  --hi: clamp(0, (var(--dim) - .5) * 2, 1);
  --lo: clamp(0, (.5 - var(--dim)) * 2, 1);
  position: relative;
  background: var(--paper);
  background: color-mix(in srgb, var(--night) calc(var(--dim) * 100%), var(--paper));
  color: var(--ink);
  color: color-mix(in srgb, var(--night-text) calc(var(--step) * 100%), var(--ink));
  padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 80px);
}
.film__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.film__eyebrow {
  color: color-mix(in srgb, color-mix(in srgb, var(--foam) calc(var(--hi) * 100%), var(--night-text)) calc(var(--step) * 100%),
    color-mix(in srgb, var(--accent) calc(var(--lo) * 100%), var(--ink)));
}
.film__intro { margin: 0; max-width: 440px; font-size: 19px; color: color-mix(in srgb, color-mix(in srgb, var(--night-muted) calc(var(--hi) * 100%), var(--night-text)) calc(var(--step) * 100%), color-mix(in srgb, var(--ink-2) calc(var(--lo) * 100%), var(--ink))); }
.film__stage { margin-top: 48px; overflow: hidden; }
.film__frame { position: relative; display: block; width: 100%; aspect-ratio: 2.4 / 1; overflow: hidden; background: #0B2A2C; color: var(--ink); text-decoration: none; transform-origin: 50% 50%; }
.film__loop { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.film__frame:hover .film__loop { transform: scale(1.03); }
.film__frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%); pointer-events: none; }
.film__play {
  position: absolute; left: clamp(16px, 2.6vw, 36px); bottom: clamp(16px, 2.6vw, 36px); z-index: 1;
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px;
  background: rgba(242, 238, 230, .94); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: transform .5s var(--ease-out), background .3s;
}
.film__play-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.film__play-icon svg { width: 16px; height: 16px; margin-left: 3px; }
.film__play-label em { margin-left: 6px; font-family: var(--display); font-size: 17px; font-style: italic; letter-spacing: 0; text-transform: none; }
.film__frame:hover .film__play, .film__frame:focus-visible .film__play { transform: translateY(-3px); background: #FFFFFF; }
.film__meta {
  margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, color-mix(in srgb, var(--night-muted) calc(var(--hi) * 100%), var(--night-text)) calc(var(--step) * 100%),
    color-mix(in srgb, var(--ink-2) calc(var(--lo) * 100%), var(--ink)));
}

/* II — The yacht + general arrangement ---------------------------------- */
.yacht { margin-top: 40px; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-end; }
.yacht__figure { flex: 2 1 560px; min-width: 0; margin: 0; }
.yacht__text { flex: 1 1 340px; min-width: 0; }
.yacht__text .h2, .rooms__text .h2, .toys__text .h2, .crew__intro .h2 { margin-top: 0; }

.ga { margin-top: clamp(64px, 8vw, 110px); }
.ga__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 16px; border-top: 1px solid var(--rule); }
.ga__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ga__tab {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  transition: background .4s, color .4s, border-color .4s;
}
.ga__tab:hover { border-color: var(--ink); color: var(--ink); }
.ga__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ga__scroll { margin-top: 28px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.ga__stage { position: relative; aspect-ratio: 2156 / 415; }
.hint-touch { display: none; }
@media (max-width: 760px) { .ga__stage { min-width: 760px; } .hint-touch { display: inline; } }
/* Deck tabs on small screens: "Upper", "Main", "Lower" (the word "deck" stays for screen readers). */
@media (max-width: 520px) { .tab-x { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.ga__panel {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(-28px);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out), visibility 0s linear .6s;
}
.ga__panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease-out), transform .9s var(--ease-out), visibility 0s; }
.ga__panel img { width: 100%; height: 100%; object-fit: contain; }
.ga__hint { margin: 14px 0 0; font-family: var(--label); font-size: 13px; color: var(--ink-2); }

/* III — Staterooms ------------------------------------------------------- */
.rooms { margin-top: 40px; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.rooms__text { flex: 1 1 340px; min-width: 0; }
.rooms__list { position: relative; margin-top: 32px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.rooms__item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; min-height: 56px; padding: 14px 0;
  border: 0; border-bottom: 1px solid #BDB4A3; background: none; cursor: pointer; text-align: left; color: var(--ink);
  transition: padding .55s var(--ease-out);
}
.rooms__item.is-active { padding-left: 22px; }
.rooms__name { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.rooms__item.is-active .rooms__name { font-style: italic; }
.rooms__where { font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 480px) { .rooms__item { flex-direction: column; align-items: flex-start; gap: 4px; } .rooms__where { white-space: normal; } }
.rooms__indicator {
  position: absolute; left: 0; top: 0; width: 2px; height: var(--ind-h, 0px); background: var(--accent); z-index: 1;
  transform: translateY(var(--ind-y, 0px)); transition: transform .6s var(--ease-out), height .6s var(--ease-out);
}
.rooms__media { flex: 1.6 1 520px; min-width: 0; margin: 0; position: relative; padding-bottom: clamp(80px, 10vw, 150px); }
.rooms__stage { aspect-ratio: 3 / 2; }
.rooms__parallax { position: absolute; inset: -6% 0; }
.rooms__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease-io);
}
.rooms__img.is-active { clip-path: inset(0); z-index: 3; }
.rooms__img.was-active { clip-path: inset(0); z-index: 2; transition: none; }
.rooms__inset {
  position: absolute; right: clamp(12px, 4vw, 48px); bottom: 0; z-index: 4; width: 36%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 10px solid var(--paper-2); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.rooms__media.is-alt .rooms__inset { opacity: 0; transform: translateY(24px); }
.rooms__caption { position: absolute; left: 0; bottom: 0; max-width: 52%; margin: 0; }

/* IV — Essay (horizontal plates) ------------------------------------------ */
.essay { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.essay__pin { position: relative; }
.essay__track {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.essay__track::-webkit-scrollbar { display: none; }
.essay__intro { flex: none; width: min(560px, 84vw); align-self: center; scroll-snap-align: start; }
.essay__title { margin: 28px 0 0; font-family: var(--display); font-weight: 400; font-size: calc(clamp(56px, 7.4vw, 120px) * var(--ds)); line-height: .95; letter-spacing: -0.025em; }
.essay__intro .body { margin-top: 26px; }
.essay__hint {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 0;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.essay__hint svg { width: 40px; height: 12px; stroke-width: 1.2; animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.plate { flex: none; margin: 0; scroll-snap-align: center; }
.plate__img { position: relative; overflow: hidden; height: clamp(280px, 54vh, 620px); aspect-ratio: 3 / 2; background: var(--paper-2); }
.plate__img img { width: 100%; height: 100%; object-fit: cover; }
.plate .caption { max-width: 46ch; }
.plate--a .plate__img { height: clamp(300px, 60vh, 660px); }
.plate--b { align-self: flex-start; }
.plate--b .plate__img { aspect-ratio: 4 / 5; height: clamp(280px, 50vh, 560px); }
.plate--c { align-self: flex-end; }
.plate--c .plate__img { height: clamp(240px, 44vh, 480px); }
.plate--d .plate__img { aspect-ratio: 16 / 10; height: clamp(280px, 58vh, 640px); }
.plate--e { align-self: flex-start; }
.plate--e .plate__img { aspect-ratio: 1 / 1; height: clamp(220px, 38vh, 420px); }
.plate--f { align-self: flex-end; }
.plate--f .plate__img { height: clamp(260px, 50vh, 560px); }
.plate--g .plate__img { aspect-ratio: 4 / 5; height: clamp(300px, 60vh, 660px); }
.plate--h .plate__img { aspect-ratio: 16 / 9; height: clamp(280px, 56vh, 620px); }
.essay__progress { display: none; }

.essay.is-pinned { padding-block: 0; }
.essay.is-pinned .essay__pin { height: calc(100vh - var(--bar-h-compact)); height: calc(100svh - var(--bar-h-compact)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.essay.is-pinned .essay__track { width: max-content; overflow: visible; scroll-snap-type: none; padding-right: 14vw; will-change: transform; }
.essay.is-pinned .essay__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 20px;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.essay__count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.essay__line { flex: 1; height: 1px; background: var(--rule); }
.essay__line i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* V — Toys --------------------------------------------------------------- */
.toys { margin-top: 40px; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.toys__figure { flex: 1.15 1 460px; min-width: 0; margin: 0; }
.toys__text { flex: 1 1 400px; min-width: 0; }
.toys__kit-label { margin-top: 36px; color: var(--ink); }
.kit { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--ink); font-size: 18px; line-height: 1.4; }
.kit__row {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(25, 25, 23, .16);
  transition: padding .5s var(--ease-out), color .3s;
}
.kit__row i { flex: 1 1 auto; min-width: 16px; border-bottom: 1px dotted rgba(25, 25, 23, .45); transform: translateY(-4px); }
.kit__row b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1; }
.kit__row .kit__word { font-size: 20px; }
@media (hover: hover) { .kit__row:hover { padding-left: 12px; color: var(--accent); } }

/* VI — Crew masthead ------------------------------------------------------ */
.crew { margin-top: 40px; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.crew__intro { flex: 1 1 340px; min-width: 0; }
.masthead { flex: 1.7 1 580px; min-width: 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.masthead__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.masthead__title { margin: 0; font-family: var(--display); font-style: italic; font-size: 36px; line-height: 1.1; }
.masthead__head .eyebrow { color: var(--ink-2); }
.masthead__body { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.masthead__list { flex: 1.4 1 320px; min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 22px 28px; }
.masthead__list dt { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.masthead__list dd { margin: 6px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.masthead__list button {
  min-height: 30px; padding: 1px 0; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--text); font-size: 18px; line-height: 1.45;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.masthead__list button:hover, .masthead__list button:focus-visible, .masthead__list button[aria-pressed="true"] { background-size: 100% 1px; color: var(--accent); }
.portrait { flex: 1 1 220px; max-width: 300px; margin: 0; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.portrait__frame img {
  position: absolute; left: 4%; bottom: 0; width: 92%; height: auto; opacity: 0;
  transform: translateY(6%) scale(.98); filter: grayscale(1) contrast(1.06);
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out), filter .6s var(--ease-out);
}
.portrait__frame img.is-active { opacity: 1; transform: none; }
.portrait.is-color .portrait__frame img.is-active { filter: none; }
.portrait__caption { margin-top: 12px; display: flex; flex-direction: column; }
.portrait__name { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.portrait__role { margin-top: 4px; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.masthead__note { margin: 24px 0 0; font-family: var(--label); font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* Reservations ------------------------------------------------------------ */
.reserve { padding-block: clamp(72px, 9vw, 136px); border-top: 1px solid var(--rule); }
.reserve__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.reserve__intro { flex: 1 1 380px; min-width: 0; }
.reserve__title { margin: 16px 0 0; font-family: var(--display); font-weight: 400; font-size: calc(clamp(60px, 7vw, 104px) * var(--ds)); line-height: .95; letter-spacing: -0.02em; }
.reserve__title em { font-style: italic; }
.swash { position: relative; display: inline-block; }
.swash__line { position: absolute; left: -3%; bottom: -.1em; width: 108%; height: .34em; overflow: visible; }
.swash__line path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }
.reserve__sub { margin: 18px 0 0; font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }

.rsvp { flex: 1.2 1 480px; min-width: 0; perspective: 1800px; }
.rsvp__card { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1.2s var(--ease-io); }
.rsvp__card.is-flipped { transform: rotateY(180deg); }
.rsvp__face {
  grid-area: 1 / 1; min-width: 0; padding: clamp(24px, 3.4vw, 48px);
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(25, 25, 23, .04), 0 40px 70px -40px rgba(25, 25, 23, .35);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.rsvp__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rsvp__status { margin: -12px 0 20px; font-family: var(--label); font-size: 14px; line-height: 1.5; color: #8A2E1F; }
.rsvp__back { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.rsvp__top {
  display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--ink);
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.rsvp__fields { margin: 28px 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 26px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0% 2px no-repeat; color: var(--ink);
  font-family: var(--text); font-size: 19px; line-height: 1.4; outline: none; transition: background-size .6s var(--ease-out);
}
.field input:focus, .field textarea:focus { background-size: 100% 2px; }
.field textarea { resize: vertical; }
.stepper { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.stepper input { border: 0; background: none; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn {
  flex: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--ink); transition: background .3s, color .3s, border-color .3s;
}
.stepper__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rsvp__mark { width: 180px; height: auto; color: var(--ink); }
.rsvp__thanks { margin: 10px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(44px, 5vw, 68px); line-height: 1; outline: none; }
.rsvp__summary { margin: 0; max-width: 40ch; font-size: 19px; }
.rsvp__note { margin: 0; max-width: 44ch; font-family: var(--label); font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* Back page: the reply card ------------------------------------------------ */
.reply { flex: 1.2 1 480px; min-width: 0; }
.reply__card {
  padding: clamp(24px, 3.4vw, 48px); background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(25, 25, 23, .04), 0 40px 70px -40px rgba(25, 25, 23, .35);
}
.reply__lede { margin: 28px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.reply__list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.reply__list li { border-bottom: 1px solid var(--rule); }
.reply__list a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 64px; padding: 12px 0;
  color: var(--ink); text-decoration: none; font-family: var(--display); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25;
  transition: padding .5s var(--ease-out), color .3s;
}
.reply__box { width: 26px; height: 26px; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.reply__box svg {
  width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .45s var(--ease-out);
}
.reply__arrow { font-family: var(--label); font-size: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: transform .5s var(--ease-out), opacity .3s; }
.reply__list a:hover, .reply__list a:focus-visible { padding-left: 10px; color: var(--accent); }
.reply__list a:hover .reply__box svg, .reply__list a:focus-visible .reply__box svg { stroke-dashoffset: 0; }
.reply__list a:hover .reply__arrow, .reply__list a:focus-visible .reply__arrow { opacity: 1; transform: none; }
.reply__note { margin: 22px 0 0; font-family: var(--label); font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* Colophon ---------------------------------------------------------------- */
.colophon { background: var(--night); color: var(--night-text); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; }
.colophon a { color: var(--night-text); text-decoration: none; }
.colophon__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.colophon__eyebrow { color: var(--foam); }
.colophon__eyebrow--gap { margin-top: 28px; }
.colophon__about { flex: 1 1 300px; max-width: 420px; }
.colophon__about p:not(.eyebrow) { margin: 14px 0 0; font-size: 18px; color: var(--night-muted); }
.colophon__nav ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 44px; font-size: 17px; }
.colophon__nav a, .colophon__follow a { display: inline-block; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.colophon__nav a:hover, .colophon__follow a:hover { background-size: 100% 1px; }
.colophon__follow a { margin-top: 10px; font-size: 17px; }
.colophon__follow p:not(.eyebrow) { margin: 10px 0 0; font-size: 17px; color: var(--night-muted); }
.colophon__mark { --fill: 1; display: block; width: 100%; height: auto; margin-top: clamp(56px, 8vw, 110px); color: var(--night-text); overflow: visible; }
.colophon__mark path { fill: currentColor; fill-opacity: var(--fill); stroke: currentColor; stroke-width: .1; }
.colophon__base a { display: inline-block; padding-block: 13px; margin-block: -13px; color: var(--night-muted); }
.colophon__base span a { margin-left: 14px; text-decoration: underline; text-underline-offset: 3px; }
.colophon__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 36px;
  font-family: var(--label); font-size: 12px; letter-spacing: .08em; color: var(--night-muted);
}

/* Contents overlay -------------------------------------------------------- */
.contents { position: fixed; inset: 0; z-index: 140; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.contents__sheet { min-height: 100%; display: flex; flex-direction: column; padding-block: calc(16px + env(safe-area-inset-top, 0px)) 40px; }
.contents__top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid var(--ink); }
.icon-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink);
  transition: transform .6s var(--ease-out), background .3s, color .3s;
}
.icon-btn:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.2; }
.contents__grid { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 80px); padding-top: 28px; }
.contents__list { flex: 1.3 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.contents__list li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.contents__list a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 12px 0;
  color: var(--ink); text-decoration: none; transition: padding .5s var(--ease-out), color .3s;
}
.contents__list a:hover, .contents__list a:focus-visible { padding-left: 18px; color: var(--accent); }
.contents__num { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--accent); }
.contents__title { font-family: var(--display); font-size: calc(clamp(30px, 3.8vw, 56px) * var(--ds)); line-height: 1.05; letter-spacing: -0.01em; }
.contents__page { font-family: var(--label); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.contents__preview { flex: 1 1 340px; min-width: 0; position: relative; aspect-ratio: 4 / 5; max-height: 68vh; overflow: hidden; background: var(--paper-2); }
.contents__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contents__more { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 72px; }
.contents__group { min-width: 0; }
.contents__more ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--label); font-size: 14px; }
.contents__more a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; }
.contents__more a:hover { color: var(--accent); }

/* Cinema ------------------------------------------------------------------- */
.cinema { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: #050505; }
.cinema__bar { position: absolute; left: 0; right: 0; z-index: 2; height: 9vh; background: #000; pointer-events: none; }
.cinema__bar--top { top: 0; transform-origin: 50% 0; }
.cinema__bar--bottom { bottom: 0; transform-origin: 50% 100%; }
.cinema__frame { position: relative; z-index: 1; width: min(92vw, calc(80vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.cinema__video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.cinema__fallback {
  position: absolute; left: 50%; bottom: calc(10vh + 16px); z-index: 3; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #FFFFFF; text-decoration: none;
  font-family: var(--label); font-size: 13px; letter-spacing: .04em; white-space: nowrap;
}
.cinema__close, .viewer__close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(0, 0, 0, .4); color: #FFFFFF; cursor: pointer;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.cinema__close svg, .viewer__close svg { width: 16px; height: 16px; stroke-width: 1.4; }

/* Photograph viewer -------------------------------------------------------- */
.viewer {
  position: fixed; inset: 0; z-index: 145; display: grid; place-items: center;
  padding: 76px clamp(16px, 7vw, 110px) 48px; background: rgba(18, 18, 16, .96); color: var(--night-text);
}
.viewer__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; }
.viewer__imgwrap { position: relative; }
.viewer__img { width: auto; height: auto; max-width: min(100%, 1600px); max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); object-fit: contain; }
.viewer__caption { display: flex; gap: 14px; max-width: 72ch; font-family: var(--label); font-size: 14px; line-height: 1.5; color: var(--night-muted); }
.viewer__num { flex: none; font-weight: 600; color: var(--foam); }
.viewer__btn {
  position: absolute; top: 50%; width: 60px; height: 60px; margin-top: -30px; display: grid; place-items: center; z-index: 2;
  border: 1px solid rgba(242, 238, 230, .4); border-radius: 50%; background: rgba(18, 18, 16, .45); color: var(--night-text); cursor: pointer;
  transition: background .3s, color .3s;
}
.viewer__btn:hover { background: var(--night-text); color: var(--night); }
.viewer__btn svg { width: 26px; height: 10px; stroke-width: 1.2; }
.viewer__prev { left: clamp(8px, 2vw, 32px); }
.viewer__next { right: clamp(8px, 2vw, 32px); }

/* Film page ----------------------------------------------------------------- */
.filmpage { background: var(--night); color: var(--night-text); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.filmpage .chapter__head::before { background: var(--night-text); }
.filmpage .chapter__num { color: var(--foam); }
.filmpage .chapter__page, .filmpage .dek, .filmpage__meta { color: var(--night-muted); }
.filmpage__intro { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.filmpage__title {
  margin: 0; font-family: var(--display); font-weight: var(--display-weight);
  font-size: calc(clamp(56px, 7.4vw, 120px) * var(--ds)); line-height: .95; letter-spacing: -0.025em;
}
.filmpage__title em { font-style: italic; }
.filmpage__intro .dek { max-width: 30ch; margin: 0 0 10px; }
.filmpage__frame { position: relative; margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 2.4 / 1; background: #000; }
.filmpage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.filmpage__title em { white-space: nowrap; }
/* On laptop-height screens the whole film, title to credits, fits the first view: the column narrows to the width
   at which a 2.4:1 frame still fits under the title. */
@media (min-width: 901px) and (max-height: 1000px) {
  .filmpage { padding-top: 28px; --film-head: 248px; }
  .filmpage__intro { margin-top: 18px; flex-wrap: nowrap; }
  .filmpage__intro .dek { flex: 0 1 30ch; }
  .filmpage__title { font-size: min(calc(clamp(56px, 7.4vw, 120px) * var(--ds)), 10vh); white-space: nowrap; }
  .filmpage__frame { margin-top: 24px; }
  .filmpage .wrap { max-width: min(var(--maxw), calc((100vh - var(--bar-h) - var(--film-head)) * 2.4 + 2 * var(--gutter))); }
}
@media (min-width: 901px) and (max-height: 700px) {
  .filmpage__intro { gap: 24px 28px; }
  .filmpage__title { font-size: min(calc(clamp(56px, 7.4vw, 120px) * var(--ds)), 9vh); }
  .filmpage__intro .dek { flex-basis: 34ch; font-size: 16px; }
}

.stills { padding-block: clamp(64px, 8vw, 120px); }
.stills__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); }
.stills__item { margin: 0; min-width: 0; }
.stills__item .media { aspect-ratio: 2.4 / 1; }
.stills__item--a { grid-column: 1 / span 7; }
.stills__item--b { grid-column: 8 / span 5; align-self: end; }
.stills__item--c { grid-column: 2 / span 5; }
.stills__item--d { grid-column: 7 / span 6; margin-top: clamp(40px, 6vw, 96px); }

/* Continue reading ------------------------------------------------------------- */
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 0 clamp(32px, 5vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.next__item { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 28px; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.next__title {
  font-family: var(--display); font-weight: var(--display-weight); font-size: calc(clamp(40px, 4.4vw, 64px) * var(--ds));
  line-height: 1.02; letter-spacing: -0.015em; transition: color .3s;
}
.next__title em { font-style: italic; }
.next__dek { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.next__item:hover .next__title, .next__item:focus-visible .next__title { color: var(--accent); }

/* Reading pages (privacy) ---------------------------------------------------------- */
.prose { padding-block: clamp(48px, 6vw, 96px) clamp(72px, 9vw, 120px); }
.prose__head { max-width: none; }
.prose__title { margin: 28px 0 0; font-family: var(--display); font-weight: var(--display-weight); font-size: calc(clamp(52px, 6vw, 92px) * var(--ds)); line-height: .98; letter-spacing: -0.02em; }
.prose__updated { margin: 18px 0 0; font-family: var(--label); font-size: 13px; letter-spacing: .06em; color: var(--ink-2); }
.prose__body { max-width: 68ch; margin-top: clamp(40px, 5vw, 64px); }
.prose__body h2 { margin: 48px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.15; }
.prose__body h2:first-child { margin-top: 0; }
.prose__body p, .prose__body li { text-wrap: pretty; }
.prose__body p { margin: 14px 0 0; }
.prose__body ul { margin: 14px 0 0; padding-left: 1.2em; }
.prose__body li + li { margin-top: 8px; }

/* Not found ---------------------------------------------------------------------- */
.notfound { min-height: calc(100vh - var(--bar-h)); padding-block: clamp(48px, 6vw, 96px); }
.notfound__title { margin: 28px 0 0; max-width: 14ch; font-family: var(--display); font-weight: var(--display-weight); font-size: calc(clamp(56px, 7.4vw, 120px) * var(--ds)); line-height: .95; letter-spacing: -0.025em; }
.notfound__title em { font-style: italic; }
.notfound .dek { max-width: 40ch; }
.notfound__links { list-style: none; margin: 40px 0 0; padding: 0; max-width: 760px; border-top: 1px solid var(--ink); }
.notfound__links li { border-bottom: 1px solid var(--rule); }
.notfound__links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; transition: padding .5s var(--ease-out), color .3s;
}
.notfound__links a span { font-family: var(--label); font-size: 18px; color: var(--accent); }
.notfound__links a:hover, .notfound__links a:focus-visible { padding-left: 16px; color: var(--accent); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Inquiries page ------------------------------------------------------------ */
.inquire { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 120px); }
.inquire__head { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.inquire__title {
  margin: 0; font-family: var(--display); font-weight: var(--display-weight);
  font-size: calc(clamp(56px, 7.4vw, 120px) * var(--ds)); line-height: .95; letter-spacing: -0.025em;
}
.inquire__title em { font-style: italic; }
.inquire__head .dek { max-width: 34ch; margin: 0 0 10px; }
.inquire__grid { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: flex-start; }
.inquire__card {
  flex: 1.6 1 560px; min-width: 0; padding: clamp(22px, 3.4vw, 48px); background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(25, 25, 23, .04), 0 40px 70px -40px rgba(25, 25, 23, .35);
}
.inquire__aside { flex: 1 1 300px; min-width: 0; }
@media (min-width: 1100px) { .inquire__aside { position: sticky; top: calc(var(--bar-h-compact) + 28px); } }
.inquire__figure { margin: 0 0 28px; }
.nextsteps { list-style: none; counter-reset: step; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.nextsteps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.45; }
.nextsteps li::before { content: counter(step, upper-roman); font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.2; color: var(--accent); }
.nextsteps b { font-weight: 600; }
.inquire__facts { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.inquire__facts span + span::before { content: '·'; margin-right: 14px; color: var(--ink-3); }

.inquiry .rsvp__top { margin-bottom: 8px; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step + .step { margin-top: 44px; }
.step__legend {
  display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 22px 0 10px; border-bottom: 1px solid var(--ink);
  font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1;
}
.step__num { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--accent); }
.step__opt { margin-left: auto; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.step__hint { margin: 14px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.step__row { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.step__toggle { margin-top: 10px; }
.js .step--dates.is-collapsed .step__hint, .js .step--dates.is-collapsed .daterange, .js .step--dates.is-collapsed .step__row { display: none; }
.step--dates:not(.is-collapsed) .step__toggle { display: none; }
.fields { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 26px 32px; }
.inquiry .daterange { margin-top: 20px; }

.choices { margin-top: 4px; }
.choice {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 58px; padding: 10px 0;
  border-bottom: 1px solid var(--rule); cursor: pointer; font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25;
  transition: color .3s, padding .5s var(--ease-out);
}
.choice input, .check input, .chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.choice input:checked + .reply__box svg { stroke-dashoffset: 0; }
.choice input:checked ~ .choice__text { color: var(--accent); font-style: italic; }
.choice:hover { padding-left: 8px; }
.choice input:focus-visible + .reply__box, .check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }

.field__label { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.field__opt { margin-left: 6px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); }
.field__error { margin: 2px 0 0; font-family: var(--label); font-size: 13px; line-height: 1.4; color: #8A2E1F; }
.field input[aria-invalid="true"] { border-bottom-color: #8A2E1F; }
.field--guests { width: 210px; }
.check { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 17px; }
.check__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--paper); }
.check__box::after { content: ''; width: 10px; height: 10px; background: var(--accent); transform: scale(0); transition: transform .3s var(--ease-out); }
.check input:checked + .check__box::after { transform: scale(1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.inquiry__status { margin: 28px 0 0; padding: 12px 14px; border-left: 2px solid #8A2E1F; background: rgba(138, 46, 31, .06); font-family: var(--label); font-size: 14px; line-height: 1.5; color: #8A2E1F; }
.inquiry__send { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
/* Turnstile stays out of sight unless Cloudflare wants a click; then it sits above the button. */
.inquiry__check { max-width: 420px; }
.inquiry__check.is-shown { margin-top: 32px; }
.inquiry__send .btn.is-sending { opacity: .6; pointer-events: none; }
.inquiry__privacy { margin: 0; max-width: 36ch; font-family: var(--label); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.inquiry__done { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: clamp(32px, 7vw, 96px); text-align: center; outline: none; }
.inquiry__done .rsvp__summary { max-width: 46ch; }
.inquiry__done-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
.link--button { border: 0; padding-inline: 0; background-color: transparent; cursor: pointer; }

/* Section strip (long pages) -------------------------------------------------- */
.subnav {
  position: sticky; top: calc(var(--bar-h-compact) + env(safe-area-inset-top, 0px)); z-index: 50;
  background: rgba(242, 238, 230, .92); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
}
.subnav__list {
  list-style: none; margin: 0 auto; max-width: var(--maxw); padding: 0 var(--gutter); display: flex; gap: 0 clamp(18px, 2.4vw, 34px);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { flex: none; }
.subnav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .3s;
}
.subnav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out);
}
.subnav a:hover, .subnav a.is-current { color: var(--ink); }
.subnav a.is-current::after { transform: none; }
.subnav__num { font-family: var(--display); font-style: italic; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--accent); }
.page-reverie main [id] { scroll-margin-top: calc(var(--bar-h-compact) + 56px); }

/* Reverie, in full: section spacing (its own spreads live in reverie.css) ---------- 
.ref { padding-block: clamp(72px, 9vw, 136px); }

/* Display face weight (set per typeface option above) */
.inquire__title, .step__legend, .h2, .cover__headline, .essay__title, .reserve__title, .reserve__sub, .toc__title, .ribbon__group, .cover__story,
.rooms__name, .masthead__title, .portrait__name, .rsvp__thanks, .contents__title, .dropcap__l, .chapter__num, .kit__row b { font-weight: var(--display-weight); }

/* Responsive --------------------------------------------------------------- */
/* On laptop-height screens the yacht rises into the panel: the teasers stand down and the film roundel moves up
   beside the cover lines, so neither sits on her white hull. */
@media (min-width: 1160px) and (max-height: 900px) {
  .cover__teasers { display: none; }
  .roundel { top: 150px; width: 128px; height: 128px; }
}
@media (max-width: 1180px) {
  .runhead { display: none; }
}
@media (max-width: 1159px) {
  .cover__art { order: -1; flex-basis: 100%; min-height: clamp(560px, 62vh, 820px); min-height: clamp(560px, 62svh, 820px); }
  .cover__page { border-right: 0; }
  .cover__teasers { display: none; }
  .roundel { width: 120px; height: 120px; top: auto; bottom: 28px; }
  .roundel__play { width: 62px; height: 62px; }
}
@media (max-width: 900px) {
  .contents__preview { display: none; }
  .plate__img, .plate--a .plate__img, .plate--b .plate__img, .plate--c .plate__img, .plate--d .plate__img,
  .plate--e .plate__img, .plate--f .plate__img, .plate--g .plate__img, .plate--h .plate__img { height: auto; width: min(80vw, 520px); }
  .plate { align-self: flex-start; }
}
@media (max-width: 760px) {
  .stills__item--a, .stills__item--b, .stills__item--c, .stills__item--d { grid-column: 1 / -1; margin-top: 0; }
  .bar__film { display: none; }
  .contents-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar__inner { gap: 12px; }
  .bar__left, .bar__right { flex: 0 0 auto; }
  .bar .btn { padding: 0 14px; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .bar .btn__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar .btn__short { display: inline; }
  .cover__art { min-height: min(580px, calc(100vh - var(--bar-h))); min-height: min(580px, calc(100svh - var(--bar-h))); }
  .cover__lines { padding-top: 28px; }
  .cover__story-dek { font-size: 17px; }
  .roundel { width: 104px; height: 104px; right: 16px; bottom: 20px; }
  .roundel__ring text { font-size: 13.5px; }
  .film__frame { aspect-ratio: 16 / 10; }
  .film__play { padding-right: 16px; }
  .rooms__media { padding-bottom: 0; }
  .rooms__inset { display: none; }
  .rooms__caption { position: static; max-width: none; margin-top: 12px; }
  .colophon__nav ul { grid-template-columns: 1fr 1fr; gap: 6px 24px; }
  .viewer__btn { top: auto; bottom: 16px; margin-top: 0; }
}

/* Motion preferences ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* On Deck hint: "keep scrolling" only when the plates are pinned; otherwise they swipe sideways. */
.essay__hint-pinned { display: none; }
.essay.is-pinned .essay__hint-pinned { display: inline; }
.essay.is-pinned .essay__hint-swipe { display: none; }
