/* The Molly Hotel
   Blue hour, cold sea, warm windows. Serif for the house voice and for the sea
   (water names are italic, as on a chart); grotesk for everything practical.
   Pictures are square-cornered like the buildings; lamp-lit panels are round. */

:root {
  --night: #0c1a22;
  --deep: #081219;
  --fog: #dde4e2;
  --paper: #edf1ee;
  --ink: #0f1d25;
  --lamp: #f5b25c;
  --light-red: #a3322a;
  --aurora: #7ff0c2;
  --chart-magenta: #a92c76;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 84rem;
  --header: 4.5rem;
  --round: 1.25rem;
}

.scheme-night,
body {
  --bg: var(--night);
  --fg: #e6ebe8;
  --muted: #9cb0b6;
  --line: rgba(230, 235, 232, 0.17);
  --surface: #12252f;
  --accent: var(--lamp);
  --accent-ink: #1b1305;
  --underline: var(--lamp);
}
.scheme-deep {
  --bg: var(--deep);
  --fg: #e6ebe8;
  --muted: #94a8ae;
  --line: rgba(230, 235, 232, 0.15);
  --surface: #0e1d26;
  --accent: var(--lamp);
  --accent-ink: #1b1305;
  --underline: var(--lamp);
}
.scheme-fog {
  --bg: var(--fog);
  --fg: var(--ink);
  --muted: #485c65;
  --line: rgba(15, 29, 37, 0.2);
  --surface: var(--paper);
  --accent: var(--ink);
  --accent-ink: var(--paper);
  --underline: #b06a1c;
}
[class*="scheme-"] {
  background: var(--bg);
  color: var(--fg);
}

/* ------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body:not(.over-hero) main {
  padding-top: var(--header);
  background: var(--night);
}
img,
video,
canvas,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
i {
  font-family: var(--serif);
  font-style: italic;
}
:focus-visible {
  outline: 2px solid var(--underline);
  outline-offset: 3px;
}
::selection {
  background: var(--lamp);
  color: #1b1305;
}

.num {
  font-variant-numeric: lining-nums;
}
.summary-nights,
.cal-day {
  font-variant-numeric: lining-nums tabular-nums;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--lamp);
  color: #1b1305;
  border-radius: 999px;
}
.skip:focus {
  top: 1rem;
}

/* ------------------------------------------------------------ type */

.hero-title,
.display-4,
.display-3,
.display-2,
.statement {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-4 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1;
}
.display-3 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
}
.display-2 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.statement {
  font-size: clamp(1.9rem, 3.7vw, 3.5rem);
  line-height: 1.14;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  line-height: 1.4;
  max-width: 34ch;
  text-wrap: pretty;
}
.note,
.caption,
figcaption {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.prose {
  max-width: 62ch;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font: 300 clamp(1.6rem, 2.4vw, 2.1rem) / 1.15 var(--serif);
  letter-spacing: -0.01em;
  margin-top: 2.2em;
}
.prose h2.display-3 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  margin-top: 0;
}
.prose h3 {
  font-size: 1.0625rem;
  font-weight: 650;
  margin-top: 2em;
}
.prose h3 + p {
  margin-top: 0.35em;
}
.prose .lede {
  margin-top: 1.25rem;
}
.prose a,
.note a,
.lede a,
.text-link {
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.24em;
}
.prose a:hover,
.note a:hover,
.lede a:hover,
.text-link:hover {
  text-decoration-thickness: 3px;
}
.prose--wide {
  max-width: 44rem;
}
.plain-list {
  list-style: none;
}
.plain-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------ layout */

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}
.band {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}
.band--flush-top {
  padding-top: 0;
}
.band-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 26rem);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.page-head {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}
.page-lede {
  margin-top: 1.5rem;
  max-width: 40ch;
}
.not-found {
  min-height: 70vh;
}

/* ------------------------------------------------------------ buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button:hover {
  background: transparent;
  color: var(--fg);
}
.button--quiet {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.button--quiet:hover {
  border-color: var(--fg);
}
.button--wide {
  width: 100%;
}
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.button:disabled:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.linklike {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-underline-offset: 0.24em;
}

/* ------------------------------------------------------------ header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: var(--pad);
  color: #e6ebe8;
  background: var(--night);
  border-bottom: 1px solid rgba(230, 235, 232, 0.12);
  transition: background-color 0.3s, border-color 0.3s;
}
.over-hero .site-header {
  background: transparent;
  border-color: transparent;
}
.over-hero .site-header.is-solid {
  background: rgba(12, 26, 34, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(230, 235, 232, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 400 1.55rem/1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  color: var(--lamp);
  flex: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  font-size: 0.975rem;
}
.site-nav a {
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1.5px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--lamp);
}
.site-nav .nav-reserve {
  padding: 0.5rem 1.15rem;
  border: 1.5px solid var(--lamp);
  border-radius: 999px;
  color: var(--lamp);
  font-weight: 600;
}
.site-nav .nav-reserve:hover {
  background: var(--lamp);
  color: #1b1305;
}
.nav-toggle {
  display: none;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(230, 235, 232, 0.4);
  border-radius: 999px;
  background: none;
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 60% at 72% 18%, rgba(127, 240, 194, 0.16), transparent 60%),
    radial-gradient(120% 90% at 30% 110%, #17323f 0%, #0c1a22 55%, #060d12 100%);
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, 50%) 50%;
  display: block;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* dark at the top for the headline, clear across the middle for the island, dark again for the sea */
  background:
    linear-gradient(to bottom, rgba(8, 18, 25, 0.78) 0%, rgba(8, 18, 25, 0.42) 26%, rgba(8, 18, 25, 0) 48%),
    linear-gradient(to top, rgba(8, 18, 25, 0.9) 0%, rgba(8, 18, 25, 0.55) 16%, rgba(8, 18, 25, 0) 34%);
}
.hero-body {
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header) + clamp(1rem, 3vh, 2.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
}
.hero-title {
  font-size: clamp(3.75rem, 10.5vw, 9.75rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: -0.14em 0 0 -0.04em;
  padding: 0.14em 0.04em 0.08em 0;
  /* the lamp comes round once, and the words stay lit */
  background: linear-gradient(100deg, #f4f1ea 0%, #f4f1ea 42%, rgba(244, 241, 234, 0.2) 58%, rgba(244, 241, 234, 0.2) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lamp-sweep 2.8s cubic-bezier(0.2, 0.6, 0.2, 1) 0.4s forwards;
}
@keyframes lamp-sweep {
  to {
    background-position: 0 0;
  }
}
.hero-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.hero-lede {
  font: 400 clamp(1.25rem, 1.9vw, 1.75rem) / 1.3 var(--serif);
  max-width: 26ch;
  text-shadow: 0 1px 18px rgba(6, 13, 18, 0.6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.not-found .hero-actions {
  margin-top: 2rem;
}
.hero-log {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(2rem, 6vw, 6rem);
  padding-block: 1.1rem 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-log dt {
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero-log dd {
  font-size: 0.975rem;
}

/* ------------------------------------------------------------ pictures */

.picture-frame {
  position: relative;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: linear-gradient(155deg, #1d3d4a 0%, #0f222c 55%, #0a161d 100%);
}
.picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.picture video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.picture.is-missing img {
  display: none;
}
.picture figcaption {
  margin-top: 0.6rem;
}
a:hover > .picture img,
a:focus-visible > .picture img {
  transform: scale(1.035);
}

/* ------------------------------------------------------------ home: intro */

.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.intro-grid .statement {
  grid-column: 1 / span 11;
}
.intro-copy {
  grid-column: 1 / span 4;
}
.intro-picture {
  grid-column: 6 / -1;
}

/* ------------------------------------------------------------ home: rooms */

.room-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.room-tile--lantern-cabin {
  grid-column: 1 / span 7;
}
.room-tile--tide-suite {
  grid-column: 9 / span 4;
  margin-top: clamp(0rem, 7vw, 7rem);
}
.room-tile--aurora-loft {
  grid-column: 2 / span 4;
}
.room-tile--lamp-room {
  grid-column: 6 / span 7;
  margin-top: clamp(0rem, 5vw, 5rem);
}
.room-tile a {
  display: block;
  text-decoration: none;
}
.room-tile h3 {
  margin-top: 1.1rem;
  font: 300 clamp(1.6rem, 2.4vw, 2.1rem) / 1.1 var(--serif);
  letter-spacing: -0.01em;
}
.room-tile p {
  margin-top: 0.4rem;
  max-width: 38ch;
}
.room-tile .room-tile-facts {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ home: Molly */

.molly-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.ask {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--surface);
}
.ask-prompt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.ask-prompt::before,
.molly-fab-dot {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 0 rgba(127, 240, 194, 0.5);
  animation: awake 3.2s ease-out infinite;
}
@keyframes awake {
  70%,
  100% {
    box-shadow: 0 0 0 0.6rem rgba(127, 240, 194, 0);
  }
}
.ask-log,
.molly-log {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ask-log {
  min-height: 10rem;
  max-height: 22rem;
  margin-top: 1.25rem;
}
.msg {
  max-width: 88%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  overflow-wrap: anywhere;
}
.msg--molly {
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
  background: rgba(230, 235, 232, 0.07);
  font: 400 1.125rem/1.45 var(--serif);
}
.msg--you {
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
  background: rgba(245, 178, 92, 0.16);
}
.msg--waiting {
  color: var(--muted);
  font-style: italic;
}
.msg a {
  text-decoration: underline;
  text-decoration-color: var(--lamp);
  text-underline-offset: 0.2em;
}
.log h3 {
  margin-top: 1.25rem;
  font: 300 1.75rem/1.1 var(--serif);
}
.log-list {
  list-style: none;
  margin-top: 1rem;
}
.log-list li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.log-list time {
  color: var(--lamp);
}
.log-list span {
  font: 400 1.125rem/1.45 var(--serif);
}
.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.ask-chips button {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: 0.9rem;
}
.ask-chips button:hover {
  border-color: var(--lamp);
}
.ask-form,
.molly-form {
  display: flex;
  gap: 0.5rem;
}
.ask-form {
  margin-top: 1rem;
  border-bottom: 1.5px solid var(--line);
}
.ask-form:focus-within {
  border-bottom-color: var(--lamp);
}
.ask-form input,
.molly-form input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0;
  border: 0;
  background: none;
  outline: none;
}
.ask-form button,
.molly-form button {
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--lamp);
  font-weight: 600;
}

/* ------------------------------------------------------------ home: machines, table, crossing */

.machines-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.machines-grid .lede {
  margin-top: 1.25rem;
}
.manifest {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  text-align: left;
}
.manifest th,
.manifest td {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.manifest thead th {
  border-top: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}
.manifest tbody th {
  font-weight: 600;
  padding-right: 1.5rem;
}
.manifest tbody th i {
  font-size: 1.15em;
  font-weight: 400;
}
.manifest tbody th span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.table-copy {
  grid-column: 1 / span 5;
  grid-row: 1;
}
.table-picture-a {
  grid-column: 8 / -1;
  grid-row: 1 / span 2;
}
.table-picture-b {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.crossing-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.crossing-grid--text {
  grid-template-columns: 4fr 7fr;
}
.crossing-note {
  grid-column: 2;
  max-width: 52ch;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 2.5rem;
}
.crossing-grid--text .steps {
  margin-top: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font: 300 2.5rem/1 var(--serif);
  color: var(--underline);
}
.steps h3 {
  font-size: 1.0625rem;
  font-weight: 650;
}
.steps h3 i {
  font-weight: 400;
  font-size: 1.12em;
}
.steps p {
  grid-column: 2;
  color: var(--muted);
}
.steps--compact li {
  padding: 0.9rem 0;
}

/* ------------------------------------------------------------ chart */

.chart svg {
  display: block;
  width: 100%;
  height: auto;
  background: #e9eeec;
}
.chart figcaption {
  margin-top: 0.75rem;
}
.chart-deep-edge {
  fill: #dbe8ea;
}
.chart-shoal {
  fill: #c2d9e0;
}
.chart-contour {
  fill: none;
  stroke: #6c98a6;
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
.chart-contour--inner {
  stroke-dasharray: none;
  stroke-width: 0.7;
}
.chart-land {
  fill: #e4d7a4;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.chart-height {
  fill: none;
  stroke: #a39459;
  stroke-width: 0.8;
}
.chart-soundings text {
  font: italic 15px var(--serif);
  fill: #2f4955;
}
.chart-soundings .chart-tenths {
  font-size: 10px;
}
.chart-boardwalk {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-dasharray: 5 3;
}
.chart-jetty {
  stroke: var(--ink);
  stroke-width: 3;
}
.chart-building,
.chart-star {
  fill: var(--ink);
}
.chart-flare {
  fill: var(--chart-magenta);
  opacity: 0.85;
}
.chart-land-names text {
  font: 500 15px var(--sans);
  fill: var(--ink);
}
.chart-land-names .chart-islet-name {
  font-size: 19px;
  letter-spacing: 0.42em;
}
.chart-land-names .chart-spot {
  font-size: 12px;
}
.chart-sea-names text {
  font: italic 16px var(--serif);
  fill: #2f4955;
}
.chart-sea-names .chart-sea-big {
  font-size: 34px;
  letter-spacing: 0.34em;
}
.chart-sea-names .chart-sea-mid {
  font-size: 22px;
  letter-spacing: 0.2em;
}
.chart-rose circle,
.chart-rose line,
.chart-rose-needle {
  fill: none;
  stroke: var(--chart-magenta);
  stroke-width: 0.9;
}
.chart-rose .chart-star {
  fill: var(--chart-magenta);
}
.chart-rose-note {
  font: italic 13px var(--serif);
  fill: var(--chart-magenta);
}
.chart-border {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
}
.chart-border--inner {
  stroke-width: 0.6;
}
.chart-ticks line,
.chart-scale line {
  stroke: var(--ink);
  stroke-width: 1;
}
.chart-margin text,
.chart-scale text {
  font: 12.5px var(--sans);
  fill: var(--ink);
}
.chart-cartouche text {
  font: 13px var(--sans);
  fill: var(--ink);
}
.chart-cartouche .chart-cartouche-title {
  font: 400 27px var(--serif);
}

/* ------------------------------------------------------------ reserve band */

.reserve-band {
  border-top: 1px solid var(--line);
}
.reserve-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.reserve-grid .lede {
  margin-top: 1rem;
}
.quick-book {
  display: grid;
  grid-template-columns: 1fr 1fr 6rem auto;
  gap: 1.25rem;
  align-items: end;
}
.quick-book label,
.field {
  display: grid;
  gap: 0.3rem;
}
.quick-book span,
.field > span {
  font-size: 0.875rem;
  color: var(--muted);
}
.quick-book input,
.quick-book select,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: transparent;
  outline: none;
}
.quick-book input,
.quick-book select {
  color-scheme: dark;
}
.quick-book input:focus-visible,
.quick-book select:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-bottom-color: var(--fg);
  box-shadow: 0 1.5px 0 var(--fg);
}

/* ------------------------------------------------------------ rooms pages */

.room-rows {
  list-style: none;
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
}
.room-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.room-row--flip .room-row-picture {
  order: 2;
}
.room-row-where {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.room-row-copy h2 a {
  text-decoration: none;
}
.room-row-copy .lede {
  margin-top: 1rem;
}
.inline-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.inline-facts dt {
  font-size: 0.8125rem;
  color: var(--muted);
}
.room-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.included {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem clamp(2rem, 5vw, 5rem);
}
.included .note {
  grid-column: 2;
  max-width: 56ch;
}

.room-hero-picture .picture-frame {
  max-height: 82svh;
  width: 100%;
}
.room-hero-picture .picture-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--night) 2%, rgba(12, 26, 34, 0) 46%), linear-gradient(to bottom, rgba(12, 26, 34, 0.55), rgba(12, 26, 34, 0) 22%);
}
.room-hero-body {
  position: relative;
  margin-top: clamp(-9rem, -12vw, -4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.room-detail {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.room-card,
.summary {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--surface);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(7rem, 2fr) 3fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--muted);
}
.room-card-rate {
  margin: 1.5rem 0 1.25rem;
}
.room-card-rate strong {
  font: 300 2rem/1 var(--serif);
}
.room-card .note {
  margin-top: 1rem;
}
.other-rooms {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: 2.5rem;
}
.other-rooms a {
  text-decoration: none;
}
.other-rooms h3 {
  margin-top: 0.9rem;
  font: 300 1.6rem/1.1 var(--serif);
}
.other-rooms p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ crew, island, table */

.crew-molly {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.machine-pictures,
.island-pictures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: 2.5rem;
}
.island-pictures {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.machine-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.machine-kind,
.season-months {
  font-size: 0.875rem;
  color: var(--muted);
}
.machine-list h3,
.seasons h3 {
  font: 300 1.75rem/1.1 var(--serif);
  margin: 0.2rem 0 0.6rem;
}
.otto-picture {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.people {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.people .lede {
  margin-top: 1.25rem;
}
.people-list > div,
.doing-list > div {
  display: grid;
  grid-template-columns: minmax(9rem, 2fr) 4fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.people-list dt,
.doing-list dt {
  font: 400 1.4rem/1.2 var(--serif);
}
.people-list dd,
.doing-list dd {
  color: var(--muted);
}
.island-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.scheme-fog > .wrap > .display-3 + .chart,
.scheme-fog > .wrap > .display-3 + .lede + .doing-grid {
  margin-top: 2.5rem;
}
.seasons {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 2.5rem;
}
.seasons li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.table-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.table-page .picture {
  position: sticky;
  top: calc(var(--header) + 2rem);
}
.doing-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* ------------------------------------------------------------ getting here, and the story */

.journey-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.journey-grid .steps {
  margin-top: 1.5rem;
}
.journey-picture {
  position: sticky;
  top: calc(var(--header) + 2rem);
}
.crossing-more {
  margin-top: 1.5rem;
}
.timetables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  margin: 2.5rem 0 1.25rem;
}
.timetable {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.timetable caption {
  padding-bottom: 0.75rem;
  text-align: left;
  font: 400 1.5rem/1.2 var(--serif);
}
.timetable th,
.timetable td {
  padding: 0.8rem 1rem 0.8rem 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.timetable thead th {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}
.timetable tbody th {
  font-weight: 650;
  white-space: nowrap;
}
.timetable tbody th span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}
.timetable td {
  font-size: 1.125rem;
}

.timeline {
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.timeline time {
  font: 400 1.4rem/1.2 var(--serif);
  color: var(--underline);
}
.timeline--plain {
  margin-top: 2rem;
}
.timeline--plain time {
  font: 650 1.0625rem/1.5 var(--sans);
  color: var(--fg);
}
.timeline--plain p {
  color: var(--muted);
}
.story-grid,
.crossing-teaser {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.story-grid .lede {
  margin-top: 1.25rem;
}
.crossing-teaser {
  align-items: end;
}
.after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.after-grid .doing-list {
  margin-top: 1.25rem;
}
.packing-title {
  margin: 3rem 0 1rem;
}
.questions-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.questions details {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.questions summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font: 400 1.4rem/1.25 var(--serif);
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary::after {
  content: "+";
  font: 300 1.6rem/1 var(--serif);
  color: var(--underline);
}
.questions details[open] summary::after {
  content: "−";
}
.questions details p {
  margin-top: 0.75rem;
  max-width: 62ch;
}

/* ------------------------------------------------------------ reserving */

.journey-fields {
  min-width: 0;
  margin: 3rem 0 2rem;
  padding: 0;
  border: 0;
}
.journey-fields legend {
  padding: 0;
}
.journey-fields > .note {
  margin: 0.6rem 0 1.25rem;
}
.option {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: 1rem;
  cursor: pointer;
}
.option:has(input:checked) {
  border-color: var(--fg);
  background: var(--surface);
}
.option input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}
.option strong {
  display: block;
}
.option span {
  color: var(--muted);
}
.option strong {
  color: var(--fg);
}
.after-reserving {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--round);
  background: var(--surface);
}
.after-reserving h3 {
  font: 400 1.4rem/1.2 var(--serif);
  margin-bottom: 0.5rem;
}
.after-reserving dl > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.after-reserving dt {
  font-weight: 650;
}
.after-reserving dd {
  color: var(--muted);
}


.book,
.confirm,
.admin {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(5rem, 10vw, 9rem);
  min-height: 80vh;
}
.book-head .lede {
  margin-top: 1.25rem;
  max-width: 44ch;
}
.book-steps {
  scroll-margin-top: calc(var(--header) + 1.5rem);
  list-style: none;
  counter-reset: tab;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.book-steps li {
  counter-increment: tab;
  padding-bottom: 1rem;
  margin-bottom: -1rem;
  border-bottom: 2px solid transparent;
  transform: translateY(1px);
}
.book-steps li::before {
  content: counter(tab) ". ";
}
.book-steps li[aria-current="step"] {
  color: var(--fg);
  font-weight: 600;
  border-bottom-color: var(--fg);
}
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.summary {
  position: sticky;
  top: calc(var(--header) + 1.5rem);
}
.summary h2 {
  font: 300 1.6rem/1.1 var(--serif);
  margin-bottom: 0.75rem;
}
.summary dl > div,
.summary-total,
.summary-due,
.summary-nights > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.summary dt,
.summary-total span,
.summary-due span {
  color: var(--muted);
}
.summary dd {
  text-align: right;
}
.summary-nights {
  font-size: 0.875rem;
  color: var(--muted);
}
.summary-due strong {
  font: 400 1.6rem/1 var(--serif);
}
.summary-includes {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.summary-includes summary {
  cursor: pointer;
}
.summary-includes .plain-list {
  margin-top: 0.5rem;
  color: var(--muted);
}

.guests {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  margin-top: 1.5rem;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.stepper span {
  min-width: 4.5rem;
}
.stepper button {
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: none;
  font-size: 1.2rem;
  line-height: 1;
}
.stepper button:hover {
  border-color: var(--fg);
}
.stepper output {
  min-width: 1.5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.calendar {
  margin-top: 2.25rem;
}
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-block: 1px solid var(--line);
}
.calendar-nav button {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-underline-offset: 0.24em;
}
.calendar-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
.calendar-nav p {
  font-weight: 600;
  text-align: center;
}
.calendar-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
  margin: 1.5rem 0 1rem;
}
.cal-month h3 {
  font: 300 1.5rem/1.1 var(--serif);
  margin-bottom: 0.75rem;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}
.cal-weekday {
  padding-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.form-error {
  scroll-margin-top: calc(var(--header) + 1.5rem);
}
.cal-day {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  min-height: 3.1rem;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-variant-numeric: tabular-nums;
}
.cal-day small {
  font-size: 0.6875rem;
  color: var(--muted);
}
.cal-day:not(:disabled):hover {
  background: rgba(15, 29, 37, 0.08);
}
.cal-day:disabled {
  opacity: 0.3;
  cursor: default;
}
.cal-day.is-full span {
  text-decoration: line-through;
}
.cal-day.is-between {
  background: rgba(15, 29, 37, 0.1);
}
.cal-day.is-start,
.cal-day.is-end,
.cal-day.is-start:hover,
.cal-day.is-end:hover {
  background: var(--ink);
  color: var(--paper);
}
.cal-day.is-start small,
.cal-day.is-end small {
  color: rgba(237, 241, 238, 0.7);
}
.cal-day.is-start {
  border-radius: 999px 0 0 999px;
}
.cal-day.is-end {
  border-radius: 0 999px 999px 0;
}
.cal-day.is-start.is-end {
  border-radius: 999px;
}

.choices {
  list-style: none;
  margin-top: 1.5rem;
}
.choice {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.choice h3 {
  font: 300 1.7rem/1.1 var(--serif);
}
.choice p {
  color: var(--muted);
  font-size: 0.95rem;
}
.choice-price {
  text-align: right;
}
.choice-price strong {
  display: block;
  font: 400 1.6rem/1.1 var(--serif);
}
.choice-price .button {
  margin-top: 0.75rem;
}
.choice.is-off {
  opacity: 0.55;
}
.choice.is-wanted {
  border-top: 2px solid var(--fg);
}

.field {
  margin-top: 1.25rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.75rem;
}
.field textarea {
  resize: vertical;
}
.field--trap {
  position: absolute;
  left: -200vw;
}
.field.has-error input {
  border-bottom-color: var(--light-red);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.check input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--ink);
}
.check--strong span {
  font-weight: 600;
}
.truth {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1.5px solid var(--fg);
  border-radius: var(--round);
}
.truth h2,
.truth h3 {
  font: 400 1.4rem/1.2 var(--serif);
  margin-bottom: 0.5rem;
}
.truth p + p {
  margin-top: 0.5rem;
}
.truth a {
  text-decoration-color: var(--underline);
  text-underline-offset: 0.24em;
}
.truth--dark {
  border-color: var(--lamp);
  max-width: 40rem;
}
.truth--dark .check input,
.scheme-night .check input {
  accent-color: var(--lamp);
}
[data-reveal] {
  max-width: 44rem;
}
.reveal-text {
  margin-top: 1.25rem;
  font: 400 clamp(1.15rem, 1.4vw, 1.3rem) / 1.5 var(--serif);
}
.reveal-question {
  margin-top: 2.25rem;
  font-weight: 650;
}
[data-reveal] .book-actions {
  margin-top: 1rem;
}
[data-reveal] .note {
  margin-top: 0.9rem;
}
.form-error {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  background: var(--light-red);
  color: #fff;
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}
[hidden] {
  display: none !important;
}

.confirm-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.confirm-ref {
  color: var(--lamp);
  margin-bottom: 1rem;
}
.confirm .lede {
  margin-top: 1.5rem;
  max-width: 40ch;
}
.confirm-facts {
  margin: 2.5rem 0;
  max-width: 40rem;
}
.confirm-next-title {
  margin-top: 3.5rem;
}
.confirm .steps {
  margin-top: 1.25rem;
  max-width: 40rem;
}
.cancel-form {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--muted);
}
.share {
  position: sticky;
  top: calc(var(--header) + 1.5rem);
}
.share h2 {
  font: 300 1.6rem/1.1 var(--serif);
  margin-bottom: 1rem;
}
.share canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--round);
  background: var(--surface);
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}
.find {
  max-width: 36rem;
  margin-inline: max(var(--pad), calc((100% - var(--max)) / 2)) auto;
}
.find .lede {
  margin-top: 1.25rem;
}
.find-form {
  margin-top: 2rem;
}

/* ------------------------------------------------------------ admin */

.admin-totals {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
}
.admin-totals dt {
  font-size: 0.875rem;
  color: var(--muted);
}
.admin-totals dd {
  font: 300 clamp(1.8rem, 3vw, 2.75rem) / 1.1 var(--serif);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem clamp(2rem, 5vw, 5rem);
}
.admin h2 {
  font: 400 1.4rem/1.2 var(--serif);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.admin h2 .text-link {
  font: 400 0.9rem var(--sans);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.admin-table th,
.admin-table td {
  padding: 0.55rem 1rem 0.55rem 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}
.admin-table thead th {
  font-size: 0.8125rem;
  color: var(--muted);
}
.bar-cell {
  width: 50%;
}
.bar {
  display: block;
  height: 0.6rem;
  width: var(--w);
  min-width: 2px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--ink);
}
.admin-latest {
  margin-top: 4rem;
}
.table-scroll {
  overflow-x: auto;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 6rem) 3rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand p {
  margin-top: 1rem;
  color: var(--muted);
}
.site-footer nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
}
.site-footer nav h2 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.site-footer nav a,
.site-footer nav .linklike {
  text-decoration: none;
}
.site-footer nav a:hover,
.site-footer nav .linklike:hover {
  text-decoration: underline;
  text-decoration-color: var(--lamp);
  text-underline-offset: 0.24em;
}
body:has(.molly-fab) .site-footer {
  padding-bottom: 6.5rem;
}
.footer-small {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ Molly, everywhere */

.molly-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(230, 235, 232, 0.22);
  border-radius: 999px;
  background: #0e1d26;
  color: #e6ebe8;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.molly-fab:hover {
  border-color: var(--lamp);
}
.molly {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  z-index: 61;
  width: min(24rem, calc(100vw - 2.5rem));
}
.molly-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: min(32rem, 70svh);
  overflow: hidden;
  border: 1px solid rgba(230, 235, 232, 0.16);
  border-radius: var(--round);
  background: #0e1d26;
  color: #e6ebe8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.molly-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(230, 235, 232, 0.14);
}
.molly-head strong {
  display: block;
  font: 400 1.4rem/1.1 var(--serif);
}
.molly-head span {
  font-size: 0.8125rem;
  color: #9cb0b6;
}
.molly-close {
  padding: 0.2rem 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: var(--lamp);
  text-underline-offset: 0.24em;
}
.molly-log {
  padding: 1rem 1.25rem;
}
.molly-form {
  padding-inline: 1.25rem;
  border-top: 1px solid rgba(230, 235, 232, 0.14);
}
.molly-form input {
  padding: 1rem 0;
}

/* ------------------------------------------------------------ home: arrival films */

.film-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.film-row figcaption {
  color: var(--muted);
  font-size: 0.875rem;
}

.film-row-more {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

/* ------------------------------------------------------------ stories */

.story-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.75rem, 5vw, 4.5rem) clamp(1rem, 2.5vw, 2rem);
}
.story-sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid rgba(244, 241, 234, 0.45);
  border-radius: 999px;
  background: rgba(8, 18, 25, 0.62);
  color: #f4f1ea;
  font: 500 0.8125rem/1 var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.story-sound:hover,
.story-sound.is-on {
  border-color: var(--lamp);
  color: var(--lamp);
}
.story-sound:focus-visible {
  outline: 2px solid var(--lamp);
  outline-offset: 2px;
}
.story-place {
  margin: 1.1rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.story-title {
  margin: 0 0 0.5rem;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.story-line {
  margin: 0 0 0.75rem;
  max-width: 34ch;
}

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 40rem) {
  /* three tall films would be a very long page: slide through them instead */
  .film-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .film-row > * {
    scroll-snap-align: start;
  }
}

@media (max-width: 62rem) {
  .band-head,
  .molly-grid,
  .machines-grid,
  .crossing-grid,
  .crossing-grid--text,
  .reserve-grid,
  .room-row,
  .included,
  .room-detail,
  .crew-molly,
  .people,
  .island-intro,
  .table-page,
  .doing-grid,
  .book-layout,
  .confirm-grid,
  .admin-grid,
  .journey-grid,
  .timetables,
  .story-grid,
  .crossing-teaser,
  .after-grid,
  .questions-grid {
    grid-template-columns: 1fr;
  }
  .journey-picture {
    position: static;
  }
  .included .note,
  .crossing-note {
    grid-column: 1;
  }
  .intro-grid .statement,
  .intro-copy,
  .intro-picture,
  .room-grid > li,
  .table-copy,
  .table-picture-a,
  .table-picture-b {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0;
  }
  .room-row--flip .room-row-picture {
    order: 0;
  }
  .summary,
  .share,
  .table-page .picture {
    position: static;
  }
  .machine-list,
  .seasons,
  .other-rooms {
    grid-template-columns: 1fr 1fr;
  }
  .admin-totals {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-book {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    --hero-focus: 88%;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 2rem var(--pad);
    background: var(--night);
    font: 300 2rem/1.25 var(--serif);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }
  .site-nav .nav-reserve {
    margin-top: 1.5rem;
    font: 600 1.0625rem var(--sans);
    padding: 0.85rem 1.6rem;
  }
}

@media (max-width: 40rem) {
  /* Phone hero: words in the sky, buttons on the sea, the island left alone between them. */
  .hero-foot {
    display: contents;
  }
  .hero-lede {
    margin-top: 1rem;
    max-width: 22ch;
  }
  .hero-actions {
    margin-top: auto;
  }
  /* leave room for Molly's button when her chat is switched on */
  body:has(.molly-fab) .hero-log {
    padding-bottom: 4.75rem;
  }
  .hero-log > div:not(:first-child) {
    display: none;
  }
  .calendar-months,
  .field-row,
  .machine-list,
  .seasons,
  .other-rooms,
  .machine-pictures,
  .island-pictures,
  .quick-book {
    grid-template-columns: 1fr;
  }
  .choice {
    grid-template-columns: 1fr;
  }
  .choice .picture {
    max-width: 14rem;
  }
  .choice-price {
    text-align: left;
  }
  .people-list > div,
  .doing-list > div,
  .timeline li,
  .after-reserving dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .admin-totals {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .molly-fab {
    right: 0.9rem;
    bottom: 0.9rem;
  }
  .molly {
    right: 0.9rem;
    bottom: 4.4rem;
    width: calc(100vw - 1.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-title {
    background-position: 0 0;
  }
}

@media (max-width: 62rem) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .story-grid {
    grid-template-columns: minmax(0, 24rem);
    justify-content: center;
  }
}
