/* 5Oceans color system — ice-aqua / linen, black Sloop, champagne accent only.
   Other rooms follow these tokens. Drop slots: replace the jpg, keep the name. */
:root {
  --ice: #c8f4f8;
  --aqua: #b7e8f0;
  --linen: #f6f3ec;
  --ink: #111111;
  --mute: #3f5258;
  --champagne: #c4a36a;
  --champagne-ink: #6e4e1e;
  --script-ink: #111111;
  --abyss: var(--ice);
  --gulf: var(--aqua);
  --wine: #9c2a2a;
  --display: "Sukar", "Arimo", "Segoe UI", sans-serif;
  --script: "Sloop Script", "Segoe Script", cursive;
  --ui: "Arimo", "Segoe UI", sans-serif;
  --pad: clamp(1.15rem, 3.2vw, 2.7rem);
  --max: 72rem;
  --radius: 28px;
  --plate: 28px;
  --tap: 44px;
  --dur: 320ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hair: 1px solid rgba(17, 17, 17, 0.12);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --drop-hero: url("/assets/images/drop/hero.jpg");
  --drop-raw: url("/assets/images/drop/raw.jpg");
  --drop-fire: url("/assets/images/drop/fire.jpg");
  --drop-land: url("/assets/images/drop/land.jpg");
  --drop-sweets: url("/assets/images/drop/sweets.jpg");
  --drop-bar: url("/assets/images/drop/bar.jpg");
  --drop-room: url("/assets/images/drop/room.jpg");
  --drop-water: url("/assets/images/drop/water.jpg");
  --drop-chef: url("/assets/images/drop/chef.jpg");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--champagne); color: var(--abyss); }
@font-face { font-family: "Sloop Script"; src: url("/assets/fonts/sloop-script.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sukar"; src: url("/assets/fonts/sukar.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Arimo"; src: url("/assets/fonts/arimo.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.04rem;
  line-height: 1.7;
  min-height: 100svh;
}
body.menu-open, body.lb-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
article.stack > figure { margin: 0; }
article.stack > figure img { width: 100%; max-height: 70svh; object-fit: cover; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--champagne); }
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 3px; }
.live, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip { position: absolute; left: -999px; z-index: 90; }
.skip:focus { left: 1rem; top: 1rem; background: var(--champagne); color: var(--abyss); padding: 0.5rem 0.75rem; }
#main:focus { outline: none; }
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 55; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem var(--pad);
  background: color-mix(in srgb, var(--abyss) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,176,114,0.16);
}
.mark {
  font-family: var(--script);
  font-size: 2.05rem;
  color: var(--linen);
  text-decoration: none;
  line-height: 1;
}
.bar nav { display: flex; flex-wrap: wrap; gap: 0.1rem; }
.bar nav a {
  color: var(--linen); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 0.65rem;
}
.bar nav a[aria-current="page"] { color: var(--champagne); }
.nav-toggle {
  display: none; min-height: 44px;
  background: none; border: 1px solid rgba(212,176,114,.35); color: var(--linen);
}
.nav-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(4,17,22,.55); }

.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.page { padding: 2.6rem 0 5.2rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin: 0 0 0.55rem; }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
.script {
  font-family: var(--script);
  font-size: clamp(3.8rem, 12vw, 8.2rem);
  line-height: 0.86;
  margin: 0 0 0.35rem;
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.lede { max-width: 36rem; color: var(--mute); }
.fine { color: var(--mute); font-size: 0.94rem; }
.kicker { color: var(--champagne); font-size: 0.92rem; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero video, .hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero video { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,17,22,.42) 0%, rgba(4,17,22,.08) 28%, rgba(4,17,22,.55) 62%, rgba(4,17,22,.94) 100%),
    radial-gradient(38% 42% at 14% 86%, rgba(212,176,114,.28), transparent 68%),
    radial-gradient(70% 55% at 78% 18%, transparent 20%, rgba(4,17,22,.5));
}
.hero-line {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  text-shadow: 0 8px 24px rgba(0,0,0,.55);
}
.hero-copy {
  position: relative;
  max-width: 44rem;
  padding: var(--pad) var(--pad) 4.8rem;
}
.hero-copy .lede { color: var(--linen); text-shadow: 0 10px 28px rgba(0,0,0,.6); }
.hero-copy > * { animation: rise var(--dur) var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.hero-note {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  color: var(--mute);
  font-size: 0.88rem;
}
.hero-hold {
  margin-right: 0.55rem;
  min-height: 44px;
  padding: 0 0.85rem;
  background: transparent;
  color: var(--linen);
  border: 1px solid rgba(212,176,114,.55);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}
.hero-hold[aria-pressed="true"] { color: var(--champagne); border-color: var(--champagne); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.1rem; align-items: center; }
.stack { display: grid; gap: 1.1rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}
.gallery figure { margin: 0; grid-column: span 2; cursor: zoom-in; }
.gallery .wide { grid-column: span 4; }
.gallery img { width: 100%; height: 17rem; object-fit: cover; transition: transform var(--dur) var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 0.45rem 0; color: var(--mute); font-size: 0.86rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  background: var(--champagne);
  color: var(--abyss);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.btn:hover { color: var(--abyss); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--linen); border: 1px solid var(--champagne); }

form { display: grid; gap: 0.8rem; max-width: 32rem; }
.field { display: grid; gap: 0.3rem; }
label { display: grid; gap: 0.3rem; }
input, textarea, select {
  width: 100%;
  background: #082028;
  border: 1px solid rgba(212,176,114,.28);
  color: var(--linen);
  padding: 0.75rem;
  font: inherit;
  min-height: 48px;
}
[aria-invalid="true"] { border-color: #e0a070; }
.field-err { color: #f0c9a0; font-size: 0.88rem; }
.hp { position: absolute; left: -9999px; }
.note { border: 1px solid rgba(212,176,114,.28); padding: 1.05rem; color: var(--mute); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 0.75rem; }
.tile {
  min-height: 12.5rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, #0f3d4b, var(--gulf));
  text-decoration: none;
  color: var(--linen);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s var(--ease);
}
.tile:hover { transform: translateY(-4px); color: var(--linen); }
.tile strong { font-family: var(--display); font-size: 1.6rem; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4,17,22,.92);
  display: grid; place-items: center;
  padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78svh; max-width: min(100%, 1100px); }
.lightbox button {
  position: absolute; top: 1rem; right: 1rem;
  min-height: 44px;
  background: transparent; color: var(--linen); border: 1px solid var(--champagne);
}

footer {
  padding: 2.2rem var(--pad) 3.2rem;
  border-top: 1px solid rgba(212,176,114,.16);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between;
  color: var(--mute);
}
footer nav { display: flex; flex-wrap: wrap; }
footer nav a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; padding: 0 0.55rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .gallery, .gallery figure, .gallery .wide { grid-template-columns: 1fr; grid-column: auto; }
  .nav-toggle { display: inline-flex; }
  .bar nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    background: var(--abyss); flex-direction: column;
    padding: 0.8rem var(--pad) 1.2rem;
  }
  .bar nav.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero video { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-contrast: more) {
  body { background: #000; color: #fff; }
  a { color: #f2d28a; }
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80;
  background: var(--champagne);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
  border: 1.5px solid var(--champagne);
  border-radius: 50%;
  pointer-events: none;
  transition: width 0.22s var(--ease), height 0.22s var(--ease), margin 0.22s var(--ease);
}
.cursor.is-hot { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(212,176,114,.16); }
html.has-cursor, html.has-cursor * { cursor: none !important; }

.crumbs { color: var(--mute); font-size: 0.9rem; margin: 0 0 1.2rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; }
.crumbs [aria-current="page"] { color: var(--linen); }

.courses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.7rem; }
.course {
  grid-column: span 2;
  position: relative; min-height: 16rem; overflow: hidden;
  text-decoration: none; color: var(--linen);
}
.course.wide { grid-column: span 3; }
.course img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; transition: transform var(--dur) var(--ease); }
.course:hover img { transform: scale(1.06); }
.course span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(4,17,22,.86));
  font-family: var(--display); font-size: 1.55rem;
}

.ribbon {
  background: linear-gradient(90deg, #082028, #0c3340);
  border-block: 1px solid rgba(212,176,114,.2);
  padding: 2.6rem 0;
}
.plaque {
  position: relative;
  border: 1px solid rgba(212,176,114,.62);
  padding: 1.55rem 1.45rem 1.35rem;
  background:
    linear-gradient(165deg, rgba(212,176,114,.14), transparent 42%),
    #07161c;
  box-shadow:
    inset 0 0 0 7px rgba(4,17,22,.72),
    inset 0 0 0 8px rgba(212,176,114,.28),
    0 22px 48px rgba(0,0,0,.35);
}
.plaque .unpublished {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  line-height: 1;
}
.plaque-rule {
  width: 4.5rem;
  height: 1px;
  margin: 0.85rem 0 1rem;
  background: var(--champagne);
}
.place { margin: 0; }
.place img { width: 100%; height: clamp(16rem, 48vw, 28rem); max-height: 28rem; object-fit: cover; }
.place figcaption { padding: 0.5rem 0 0; color: var(--mute); font-size: 0.86rem; }
[data-zoom] { cursor: zoom-in; }
.rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
}
.rail a {
  min-height: 5.4rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(212,176,114,.24);
  text-decoration: none;
  color: var(--linen);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  background: linear-gradient(180deg, rgba(15,61,75,.45), rgba(8,32,40,.2));
}
.rail a span { color: var(--champagne); font-size: 0.75rem; letter-spacing: 0.08em; }
.rail a b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.rail a[aria-current="page"] { border-color: var(--champagne); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.board .plaque { min-height: 9.5rem; display: grid; align-content: end; gap: 0.35rem; }
.board .plaque strong { font-family: var(--display); font-size: 1.45rem; font-weight: 500; color: var(--linen); }
.plaque.envelope {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.poster {
  border: 1px solid rgba(212,176,114,.22);
  padding: 1.6rem 1.7rem;
  background: rgba(8,32,40,.35);
}
.stamp { color: var(--champagne); font-size: 0.86rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.split .facts { grid-template-columns: 1fr; gap: 0.8rem; }
.wrap > .rail { margin-bottom: 4.6rem; }
.facts b { display: block; color: var(--champagne); font-size: 0.86rem; }

.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto 1.4rem;
}
.foot-grid strong { display: block; font-family: var(--display); margin-bottom: 0.35rem; }
.foot-grid a { display: flex; align-items: center; min-height: 40px; color: var(--mute); text-decoration: none; }
.foot-grid a:hover { color: var(--champagne); }
.colophon { width: min(var(--max), calc(100% - 2 * var(--pad))); margin: 0 auto; }
footer.rich { display: block; }

@media (max-width: 860px) {
  .courses, .course, .course.wide { grid-template-columns: 1fr; grid-column: auto; }
  .facts, .foot-grid { grid-template-columns: 1fr 1fr; }
  .rail, .board { grid-template-columns: 1fr; }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    background: #041116 url("/assets/images/hero-poster.jpg") center / cover no-repeat;
  }
  .hero video { display: none; animation: none; transform: none; }
}
@media (max-width: 560px) {
  .facts, .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor, .progress { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
  .hero {
    background: #041116 url("/assets/images/hero-poster.jpg") center / cover no-repeat;
  }
}

/* Night-water interiors. Chrome (progress, cursor, grain, rich footer) stays. */
.night {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.night > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.night-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,17,22,.5) 0%, rgba(4,17,22,.12) 34%, rgba(4,17,22,.78) 100%),
    radial-gradient(36% 48% at 12% 88%, rgba(212,176,114,.3), transparent 70%);
}
.night-copy { position: relative; padding: 7.5rem 0 3.2rem; }
.night-script {
  font-size: clamp(3.4rem, 10vw, 6.6rem);
  text-shadow: 0 16px 48px rgba(0,0,0,.55);
}
.tide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 2.4rem;
  align-items: start;
}
.split > img.still { width: 100%; height: 22rem; object-fit: cover; }
.prose p + p { margin-top: 1.05rem; }
.still {
  margin: 0;
  box-shadow: 0 0 0 1px rgba(212,176,114,.28), 0 28px 60px rgba(0,0,0,.4);
}
.still img { width: 100%; height: 22rem; object-fit: cover; }
.still figcaption { padding: 0.55rem 0 0; color: var(--mute); font-size: 0.86rem; }
.senses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tide .senses { grid-template-columns: 1fr; }
.senses li {
  min-height: 9.5rem;
  padding: 1.05rem 1rem 1.15rem;
  border: 1px solid rgba(212,176,114,.28);
  background:
    radial-gradient(80% 80% at 0% 100%, rgba(212,176,114,.16), transparent 60%),
    #082028;
}
.senses strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
}
.waterline {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(212,176,114,.7), transparent);
}
@media (max-width: 860px) {
  .tide, .senses { grid-template-columns: 1fr; }
  .night { min-height: 68svh; }
}

.portrait {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.portrait-still { position: sticky; top: 5.2rem; }
.portrait-still > img,
.portrait-still > figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.pending {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--champagne);
  color: var(--champagne);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.contact-sheet figure { margin: 0; cursor: zoom-in; }
.contact-sheet img { width: 100%; height: 7.2rem; object-fit: cover; }
.contact-sheet figcaption { padding: 0.35rem 0 0.15rem; color: var(--mute); font-size: 0.78rem; }

.gallery figure { position: relative; }
.n {
  display: block;
  color: var(--champagne);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.75rem;
}
.slot { margin: 0; }
.slot-frame {
  aspect-ratio: 1;
  border: 1px dashed rgba(212,176,114,.5);
  background:
    linear-gradient(rgba(212,176,114,.28), rgba(212,176,114,.28)) center / 1px 38% no-repeat,
    linear-gradient(rgba(212,176,114,.28), rgba(212,176,114,.28)) center / 38% 1px no-repeat,
    rgba(8,32,40,.4);
}
.slot figcaption { padding: 0.55rem 0 0; color: var(--mute); font-size: 0.9rem; }
.slot strong { display: block; color: var(--linen); font-family: var(--display); font-weight: 500; font-size: 1.25rem; }

.wait-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.3rem;
  align-items: start;
}
.blank-card {
  min-height: 22rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px dashed rgba(212,176,114,.5);
  background:
    linear-gradient(165deg, rgba(12,51,64,.55), rgba(4,17,22,.15) 55%);
}
.blank-card .script { font-size: clamp(3.4rem, 8vw, 5.6rem); }
.hold-list { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.hold-list li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(212,176,114,.2);
}
.hold-list strong { display: block; color: var(--linen); font-family: var(--display); font-weight: 500; }
.quote { margin: 0; }
.quote p { margin: 0 0 0.7rem; }
.quote footer { color: var(--mute); font-size: 0.9rem; }

.lightbox [data-lb-prev],
.lightbox [data-lb-next] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  background: rgba(4,17,22,.55);
  color: var(--linen);
  border: 1px solid var(--champagne);
}
.lightbox [data-lb-prev] { left: 1rem; }
.lightbox [data-lb-next] { right: 1rem; }
.lightbox figcaption { max-width: 40rem; margin: 0.75rem auto 0; text-align: center; color: var(--mute); }
.lightbox [data-lb-count] { display: block; color: var(--champagne); letter-spacing: 0.14em; font-size: 0.78rem; }

@media (max-width: 860px) {
  .portrait, .wait-grid { grid-template-columns: 1fr; }
  .portrait-still { position: static; }
  .lightbox [data-lb-prev],
  .lightbox [data-lb-next] { top: auto; bottom: 1rem; transform: none; }
  .lightbox [data-lb-next] { right: 1rem; }
}

.mailplate { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0.2rem 0 1rem; word-break: break-word; }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin: 0.4rem 0 1rem; }
.routes a {
  min-height: 6.2rem; padding: 0.85rem 0.95rem;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; border: 1px solid rgba(212,176,114,.28);
  background: rgba(8,32,40,.45);
}
.routes a:hover { color: var(--linen); border-color: var(--champagne); }
.routes em { font-style: normal; color: var(--champagne); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.routes strong { font-family: var(--display); font-size: 1.45rem; }
@media (max-width: 560px) {
  .routes { grid-template-columns: 1fr; }
}

.blank-card {
  position: relative;
  background: var(--linen);
  color: #1c1610;
  padding: 1.55rem 1.35rem 1.25rem;
  box-shadow: 0 22px 48px rgba(0,0,0,.38);
}
.blank-card::before {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid rgba(28,22,16,.16);
  pointer-events: none;
}
.blank-card .card-kicker {
  position: relative;
  margin: 0;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #6d5a40;
}
.blank-card .card-name {
  position: relative;
  margin: 0.1rem 0 0.2rem;
  text-align: center;
  font-family: var(--script);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 0.9;
  color: #1c1610;
}
.untyped {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0.35rem 0.85rem;
}
.untyped span {
  display: block;
  height: 0.3rem;
  border-bottom: 1px dotted rgba(28,22,16,.4);
}
.card-stamp {
  position: relative;
  margin: 0.1rem auto 0.75rem;
  width: fit-content;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  transform: rotate(-1.5deg);
}
.blank-card .card-note {
  position: relative;
  margin: 0 0.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
form.blank-card { max-width: none; z-index: 1; }
.blank-card label, .blank-card .fine { color: #3d3428; }
.blank-card input, .blank-card textarea, .blank-card select {
  background: #fffdf8;
  color: #1c1610;
  border-color: rgba(28,22,16,.22);
}

.kit { display: grid; }
.kit div {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid rgba(212,176,114,.22);
}
.kit b { color: var(--champagne); font-weight: 500; }
@media (max-width: 560px) {
  .kit div { grid-template-columns: 1fr; gap: 0.2rem; }
}

.passage { padding: 0.4rem 0 3.4rem; }
.passage h2 { margin: 0.15rem 0 1.15rem; }
.passage-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem 1.4rem;
}
.passage-steps li {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212,176,114,.45);
}
.passage-steps span {
  display: block;
  color: var(--champagne);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}
.passage-steps b {
  display: block;
  margin: 0.2rem 0 0.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.65rem;
}
.passage-steps p { margin: 0; color: var(--mute); }
@media (max-width: 860px) {
  .passage-steps { grid-template-columns: 1fr; }
}

.doors {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}
.door {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(16rem, 1.14fr);
  gap: 1.15rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.door img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(212,176,114,.28), 0 22px 48px rgba(0,0,0,.38);
}
.door .blank-card { height: 100%; }
.door:hover { color: inherit; }
.door:hover img { outline: 1px solid var(--champagne); }
@media (max-width: 860px) {
  .door { grid-template-columns: 1fr; }
  .door img { height: 12rem; }
}

/* Curves and motion. Type stays Sloop, Sukar, Arimo. */
:root {
  --curve: 28px;
  --dur: 320ms;
  --hair: rgba(28, 25, 22, .16);
}
.still,
.gallery figure,
.course,
.contact-sheet figure,
.slot,
.place,
.portrait-still,
.plaque,
.senses li,
.tile,
.rail a,
.routes a,
.blank-card,
.note,
.btn,
.nav-toggle,
input, textarea, select {
  border-radius: var(--curve);
}
.still,
.gallery figure,
.course,
.contact-sheet figure,
.slot,
.place,
.portrait-still {
  overflow: hidden;
}
.still,
.door img,
.gallery img,
.course img,
.contact-sheet img,
.place img,
.portrait-still img,
.slot img {
  box-shadow: none;
  outline: none;
}
.door img,
.still img,
.place img {
  border-radius: var(--curve);
}
.slot img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  display: block;
}
.slot-frame { display: none; }
.plaque {
  border: 0.5px solid var(--hair);
  box-shadow: none;
}
.blank-card::before { border-radius: 22px; border-width: 0.5px; }
.plaque-rule,
.waterline { height: 0.5px; background: var(--hair); }
.bar,
.ribbon { border-color: var(--hair); border-width: 0.5px; }
.hold-list li,
.kit div,
.passage-steps li { border-color: var(--hair); border-width: 0.5px 0 0; }
.senses li,
.rail a,
.routes a,
.note,
input, textarea, select,
.nav-toggle,
.btn.ghost {
  border-width: 0.5px;
  border-color: var(--hair);
}
.gallery img,
.course img,
.btn,
.tile,
.door img {
  transition-duration: var(--dur);
}
[data-reveal] { transition-duration: var(--dur); }
.door:hover img { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .gallery figure:hover img,
  .course:hover img,
  .btn:hover,
  .tile:hover,
  .door:hover img { transform: none; }
}

/* Chef and gallery only. Photographs are the surface. Other rooms keep their tiles. */
body.apple {
  --ui: "Arimo", "Segoe UI", sans-serif;
  --display: "Sukar", "Arimo", "Segoe UI", sans-serif;
  font-family: var(--ui);
}
body.apple h1,
body.apple h2,
body.apple h3,
body.apple .course span,
body.apple .board .plaque strong {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.011em;
}
body.apple .script,
body.apple .mark {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--script-ink);
}
body.apple .night-script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--linen);
}
body.apple .page,
body.apple article.tide,
body.apple .ribbon {
  border-top: 0.5px solid rgba(247, 242, 232, 0.22);
}
body.apple .btn {
  border-radius: 28px;
  transition: transform 320ms ease, background-color 320ms ease;
}
body.apple .gallery {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
body.apple .gallery figure,
body.apple .gallery .wide {
  grid-column: auto;
  border-radius: 28px;
  overflow: hidden;
}
body.apple .gallery img,
body.apple .still img,
body.apple .course img,
body.apple .contact-sheet img,
body.apple .slot img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 320ms ease;
}
body.apple .still,
body.apple .course,
body.apple .course.wide,
body.apple .slot {
  border-radius: 28px;
  overflow: hidden;
  min-height: 0;
}
body.apple .courses,
body.apple .contact-sheet,
body.apple .slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
body.apple .course,
body.apple .course.wide {
  grid-column: auto;
  display: block;
}
body.apple .gallery figure:hover img,
body.apple .course:hover img {
  transform: scale(1.015);
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.apple) { scroll-behavior: auto; }
  body.apple .gallery img,
  body.apple .course img,
  body.apple .btn,
  body.apple .still img,
  body.apple .slot img,
  body.apple .contact-sheet img {
    transition: none;
  }
  body.apple .gallery figure:hover img,
  body.apple .course:hover img,
  body.apple .btn:hover {
    transform: none;
  }
}


/* Course rooms. The photograph is the surface: full-bleed, 28px curve, no frame. */
body.course {
  --ui: "Arimo", "Segoe UI", sans-serif;
  --display: "Sukar", "Arimo", "Segoe UI", sans-serif;
  --ease: ease;
  overflow-x: clip;
}
body.course .plate-band { padding: 0 16px 2.8rem; }
body.course .plate-band .still {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
body.course .plate-band .still img {
  width: 100%;
  height: min(78svh, 44rem);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: none;
  outline: none;
  transition: transform 320ms ease;
}
body.course .plate-band .still:hover img { transform: scale(1.012); }
body.course .night > img { border-radius: 0; }
body.course .waterline {
  height: 1px;
  background: rgba(247, 242, 232, 0.14);
}
body.course .facts > div {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
}
body.course .senses li {
  min-height: 0;
  padding: 0.9rem 0 1rem;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  body.course .plate-band .still img { transition: none; }
  body.course .plate-band .still:hover img { transform: none; }
}

/* Phone only: 390 and 430. Chef and gallery snap. Lightbox stays pinchable. */
@media (hover: none), (pointer: coarse) {
  body.apple .gallery figure:hover img,
  body.apple .course:hover img,
  body.apple .btn:hover,
  .lightbox button:hover { transform: none; }
}
@media (max-width: 430px) {
  body.apple .bar {
    padding-top: calc(0.7rem + env(safe-area-inset-top));
    padding-left: calc(var(--pad) + env(safe-area-inset-left));
    padding-right: calc(var(--pad) + env(safe-area-inset-right));
  }
  body.apple .colophon {
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  }
  body.apple .gallery,
  body.apple .slots,
  body.apple .courses,
  body.apple .contact-sheet {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  body.apple .gallery > figure,
  body.apple .slots > .slot,
  body.apple .courses > .course,
  body.apple .contact-sheet > figure {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: visible;
  }
  body.apple .gallery figure,
  body.apple .still,
  body.apple .slot,
  body.apple .course {
    overflow: visible;
  }
  body.apple .gallery img,
  body.apple .slot img,
  body.apple .course img,
  body.apple .still img,
  body.apple .contact-sheet img,
  .lightbox img {
    touch-action: pan-x pan-y pinch-zoom;
  }
  body.apple .gallery img,
  body.apple .slot img,
  body.apple .course img,
  body.apple .contact-sheet img {
    width: 100%;
    height: 58svh;
    max-height: 58svh;
    object-fit: cover;
  }
  body.apple .gallery figcaption,
  body.apple .slot figcaption,
  body.apple .still figcaption,
  body.apple .contact-sheet figcaption {
    display: block;
    position: static;
    overflow: visible;
    color: var(--linen);
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0.7rem 0 0.15rem;
  }
  body.apple .btn,
  body.apple .nav-toggle,
  body.apple .bar nav a,
  .lightbox button {
    min-width: 44px;
    min-height: 44px;
  }
  body.apple .gallery figure:active img,
  body.apple .course:active img,
  body.apple .btn:active,
  .lightbox button:active {
    transform: scale(0.98);
  }
  .lightbox {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding:
      calc(0.6rem + env(safe-area-inset-top))
      calc(0.7rem + env(safe-area-inset-right))
      calc(4.6rem + env(safe-area-inset-bottom))
      calc(0.7rem + env(safe-area-inset-left));
  }
  .lightbox figure {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 0;
  }
  .lightbox img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 52svh;
    object-fit: contain;
  }
  .lightbox figcaption {
    display: block;
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0.65rem 0 0;
    text-align: left;
    color: var(--linen);
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .lightbox [data-lb-count],
  .lightbox [data-lb-cap] { display: block; }
  .lightbox [data-lb-close] {
    top: calc(0.35rem + env(safe-area-inset-top));
    right: calc(0.35rem + env(safe-area-inset-right));
  }
  .lightbox [data-lb-prev],
  .lightbox [data-lb-next] {
    top: auto;
    bottom: calc(0.35rem + env(safe-area-inset-bottom));
    transform: none;
  }
  .lightbox [data-lb-prev] { left: calc(0.35rem + env(safe-area-inset-left)); }
  .lightbox [data-lb-next] { right: calc(0.35rem + env(safe-area-inset-right)); }
}
@media (max-width: 430px) and (prefers-reduced-motion: reduce) {
  body.apple .gallery,
  body.apple .slots,
  body.apple .courses,
  body.apple .contact-sheet { scroll-snap-type: none; }
  body.apple .gallery figure:active img,
  body.apple .course:active img,
  body.apple .btn:active,
  .lightbox button:active { transform: none; }
}

/* 390 and 430, every room. The hero is not a second screen under the bar. */
@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .tile:hover,
  .gallery figure:hover img,
  .course:hover img,
  .door:hover img,
  body.course .plate-band .still:hover img,
  a:hover { transform: none; }
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .tile:hover { transform: translateY(-4px); }
  .gallery figure:hover img { transform: scale(1.03); }
  .course:hover img { transform: scale(1.06); }
}
@media (max-width: 430px) {
  html { overflow-x: clip; scroll-snap-type: y proximity; scroll-padding-top: calc(3.5rem + env(safe-area-inset-top, 0px)); }
  body { overflow-x: clip; }
  .bar {
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
  }
  .bar nav.open {
    max-height: calc(100dvh - 4.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
    scroll-snap-type: y proximity;
  }
  .bar nav.open a { scroll-snap-align: start; }
  .hero, .night { scroll-snap-align: start; scroll-margin-top: calc(3.5rem + env(safe-area-inset-top, 0px)); }
  .hero {
    min-height: calc(100svh - 3.5rem - env(safe-area-inset-top, 0px));
    min-height: calc(100dvh - 3.5rem - env(safe-area-inset-top, 0px));
  }
  .hero-copy, .night-copy {
    max-width: 100%;
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }
  .script, .night-script {
    font-size: clamp(4.5rem, 17vw, 5.75rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 100%;
  }
  h1.script { font-size: clamp(3.5rem, 14vw, 4.6rem); }
  .mark { font-size: 1.7rem; }
  .actions { position: relative; z-index: 2; }
  .actions .btn,
  .btn,
  .nav-toggle,
  .bar nav a,
  .foot-grid a,
  .hero-hold,
  .rail a {
    min-width: 44px;
    min-height: 44px;
  }
  .btn:active,
  .nav-toggle:active,
  .bar nav a:active,
  .foot-grid a:active,
  .rail a:active,
  .tile:active {
    transform: scale(0.98);
  }
  .facts { grid-template-columns: 1fr; }
  footer, .colophon {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .lightbox [data-lb-prev],
  .lightbox [data-lb-next] {
    bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 430px) and (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .btn:active,
  .nav-toggle:active,
  .tile:active { transform: none; }
}

/* Menu rooms only. Course cards snap. The night stays inside the phone. */
@media (max-width: 430px) {
  body.menu-room { overflow-x: visible; }
  body.menu-room .bar {
    position: sticky;
    top: 0;
    z-index: 40;
  }
  body.menu-room .night,
  body.menu-room .night > img,
  body.menu-room .door img {
    max-width: 100%;
  }
  body.menu-room .night > img {
    width: 100%;
    height: 100%;
  }
  body.menu-room .doors,
  body.menu-room .rail {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
  body.menu-room .doors > li {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  body.menu-room .door {
    min-width: 0;
    min-height: 44px;
  }
  body.menu-room .door img {
    width: 100%;
    height: 14rem;
  }
  body.menu-room .rail a {
    flex: 0 0 68%;
    min-width: 44px;
    min-height: 44px;
    scroll-snap-align: start;
  }
  body.menu-room .door:active { transform: scale(0.98); }
}
@media (max-width: 430px) and (hover: hover) and (pointer: fine) {
  body.menu-room .door:hover img { outline: 1px solid var(--champagne); }
}
@media (max-width: 430px) and (prefers-reduced-motion: reduce) {
  body.menu-room .doors,
  body.menu-room .rail { scroll-snap-type: none; }
body.menu-room .door:active { transform: none; }
}

/* Bright house. Light bar. Black Sloop. Champagne marks the room you are in. */
body {
  color: var(--ink);
  background-color: var(--ice);
  background-image:
    linear-gradient(180deg, #f8fbfb 0%, var(--ice) 38%, #f6f1e6 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 4.75rem,
      rgba(255, 255, 255, 0.72) 4.75rem,
      rgba(255, 255, 255, 0.72) calc(4.75rem + 1px)
    );
}
.page,
.page .lede,
.page .fine,
footer,
.colophon,
.foot-grid,
.foot-grid a {
  color: #3a342c;
}
.hero,
.hero-copy,
.hero .script,
.night,
.night-copy,
.night-script {
  color: var(--ink);
}
.bar {
  background: color-mix(in srgb, #f7f4ee 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(22, 22, 22, 0.1);
  color: var(--ink);
  padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
  padding-left: calc(var(--pad) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--pad) + env(safe-area-inset-right, 0px));
}
.mark {
  font-family: "Sloop Script", "Palatino Linotype", Palatino, serif;
  color: #111;
}
.bar nav a,
.nav-toggle {
  color: #1a1a1a;
  min-height: 44px;
  min-width: 44px;
}
.bar nav a[aria-current="page"] { color: var(--champagne); }
.nav-toggle {
  border: 1px solid rgba(22, 22, 22, 0.16);
  background: transparent;
  padding: 0 0.9rem;
}
@media (max-width: 860px) {
  .bar nav,
  .bar nav.open {
    background: color-mix(in srgb, #f7f4ee 94%, white);
    color: #1a1a1a;
  }
  .bar nav a { color: #1a1a1a; }
  .bar nav a[aria-current="page"] { color: var(--champagne); }
}
.ribbon {
  background: color-mix(in srgb, white 70%, var(--ice));
  color: var(--ink);
  border-block-color: rgba(22, 22, 22, 0.08);
}
footer {
  color: #3a342c;
  border-top-color: rgba(22, 22, 22, 0.08);
  padding-bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px));
}

/* Bright house. Ice-aqua, black script, vertical light bars. Photographs stay plates. */
body.bright {
  --abyss: #d7f4f6;
  --gulf: #eefcfd;
  --linen: #141414;
  --mute: #24383c;
  --champagne: #0c6f78;
  color-scheme: light;
  background-color: #d7f4f6;
  color: #141414;
}
body.bright::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 5.5rem,
    rgba(255, 255, 255, 0.82) 5.5rem calc(5.5rem + 1px)
  );
}
body.bright .bar,
body.bright main,
body.bright footer { position: relative; z-index: 2; }
body.bright .bar {
  z-index: 40;
  background: rgba(215, 244, 246, 0.9);
  border-bottom-color: rgba(12, 111, 120, 0.22);
}
body.bright .grain { opacity: 0.03; }
body.bright .progress { background: #111; }
body.bright .script,
body.bright .night-script,
body.bright .mark {
  font-family: "Sloop Script", "Snell Roundhand", cursive;
  color: #111;
  text-shadow: none;
  letter-spacing: 0;
  font-weight: 400;
}
body.bright .bar nav a,
body.bright h1,
body.bright h2,
body.bright h3,
body.bright .prose,
body.bright figcaption { color: #141414; }
body.bright a { color: #0b5560; }
body.bright .hero-line,
body.bright .kicker { color: #0c6670; text-shadow: none; }
body.bright .bright-open { padding: 2.4rem 0 0.2rem; }
body.bright .bright-mast { padding: 1.6rem 0 0.4rem; }
body.bright .night-copy { padding: 0; }
body.bright .night-script {
  font-size: clamp(3.8rem, 12vw, 7.2rem);
  line-height: 0.9;
  margin: 0 0 0.35rem;
}
body.bright .bright-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.9fr);
  gap: 1.4rem;
  align-items: end;
}
body.bright .drop-frame {
  background: #f7fffe;
  padding: 0.75rem 0.75rem 0.55rem;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(12, 111, 120, 0.28);
  border-radius: 0;
  overflow: visible;
}
body.bright .drop-frame img {
  width: 100%;
  height: auto;
  max-height: 70svh;
  object-fit: cover;
  border-radius: 0;
}
body.bright .drop-frame figcaption {
  color: #141414;
  padding: 0.65rem 0.1rem 0.1rem;
}
body.bright .plate,
body.bright .still {
  background: #fff;
  box-shadow: none;
}
body.bright .plate img,
body.bright .still img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  border-radius: 28px;
}
body.bright .plaque,
body.bright .senses li,
body.bright .ribbon,
body.bright input,
body.bright textarea,
body.bright select {
  background: #f7fffe;
  color: #141414;
  border-color: rgba(12, 111, 120, 0.28);
  box-shadow: none;
}
body.bright .unpublished,
body.bright .plaque .kicker { color: #0c6670; }
body.bright .btn { background: #111; color: #f7fffe; }
body.bright .btn:hover { color: #f7fffe; }
body.bright .btn.ghost {
  background: transparent;
  color: #111;
  border-color: #111;
}
body.bright footer,
body.bright .fine,
body.bright .lede { color: #3a4748; }
body.bright .foot-grid a { color: #243233; }
body.bright code {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.92em;
}
/* Menu rooms. Bright linen and ice-aqua. Black Sloop. Champagne edge. Vertical light bars. */
body.menu-room {
  --script: "Sloop Script", cursive;
  --mute: #5c5348;
  --ink: #14110e;
  color: var(--ink);
  color-scheme: light;
  background:
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255,255,255,.78) 78px 79px),
    linear-gradient(180deg, #e7f7f4 0%, #f7f2e8 46%, #e3f4f0 100%);
}
body.menu-room .grain { opacity: 0.03; }
body.menu-room .bar {
  background: color-mix(in srgb, #f7f2e8 86%, transparent);
  border-bottom: 1px solid rgba(212,176,114,.5);
}
body.menu-room .mark,
body.menu-room .script,
body.menu-room .night-script,
body.menu-room .blank-card .card-name {
  font-family: "Sloop Script", cursive;
  color: #111;
  text-shadow: none;
}
body.menu-room .mark { font-size: 2.35rem; }
body.menu-room .bar nav a,
body.menu-room .nav-toggle,
body.menu-room h1,
body.menu-room h2,
body.menu-room .hero-line,
body.menu-room .lede,
body.menu-room .fine,
body.menu-room .passage-steps p,
body.menu-room .senses,
body.menu-room .colophon {
  color: var(--ink);
  text-shadow: none;
}
body.menu-room .bar nav a[aria-current="page"],
body.menu-room .kicker,
body.menu-room .facts b,
body.menu-room .passage-steps span,
body.menu-room .rail a span {
  color: #6e4e1e;
}
body.menu-room a { color: #1a1410; }
body.menu-room .nav-toggle { border-color: rgba(212,176,114,.7); }
body.menu-room .nav-backdrop { background: rgba(247,242,232,.72); }
body.menu-room .night {
  min-height: 34svh;
  background: transparent;
}
body.menu-room .night > img,
body.menu-room .night-veil { display: none; }
body.menu-room .night-copy { padding-top: 2.4rem; }
body.menu-room .btn.ghost { color: #14110e; background: transparent; }
body.menu-room .blank-card {
  background: #fffdf8;
  color: #1c1610;
  border: 1px solid rgba(212,176,114,.55);
  box-shadow: 0 16px 36px rgba(20,48,48,.08);
}
body.menu-room .plaque {
  background: #fffdf8;
  color: #1c1610;
  box-shadow:
    inset 0 0 0 7px #f7f2e8,
    inset 0 0 0 8px rgba(212,176,114,.5);
}
body.menu-room .plaque .unpublished { color: #6e4e1e; }
body.menu-room .rail a {
  color: #14110e;
  background: rgba(255,253,248,.72);
  border-color: rgba(212,176,114,.55);
}
body.menu-room .rail a b { font-family: "Sloop Script", cursive; font-size: 1.7rem; }
body.menu-room footer,
body.menu-room .foot-grid a,
body.menu-room .foot-grid strong {
  color: #3d3428;
}
body.menu-room footer { border-top-color: rgba(212,176,114,.55); background: transparent; }
body.menu-room .drop {
  position: relative;
  min-height: 16rem;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(212,176,114,.75), rgba(212,176,114,.75)) center / 1px 34% no-repeat,
    linear-gradient(rgba(212,176,114,.75), rgba(212,176,114,.75)) center / 34% 1px no-repeat,
    linear-gradient(180deg, #f8fffd, #e7f4f1);
  box-shadow: inset 0 0 0 1px rgba(212,176,114,.5);
}
body.menu-room .drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
body.menu-room .drop.empty img { display: none; }
body.menu-room .drop figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  z-index: 1;
  margin: 0;
  padding: 0.05rem 0.75rem 0.2rem;
  border-radius: 999px;
  background: rgba(247,242,232,.94);
  color: #111;
  font-family: "Sloop Script", cursive;
  font-size: 2.1rem;
  line-height: 1;
}
body.menu-room .door .drop { height: 16rem; min-height: 16rem; }
@media (max-width: 860px) {
  body.menu-room .night { min-height: 28svh; }
  body.menu-room .door .drop { height: 12rem; min-height: 12rem; }
}
@media (max-width: 430px) {
  body.menu-room .door .drop,
  body.menu-room .door .drop img {
    height: 14rem;
    min-height: 14rem;
  }
  body.menu-room .drop img { position: absolute; height: 100%; }
}
/* Home splash only. Ice-aqua field, black Sloop, welcome line, light bars.
   Fire stays a course still. Drop slots: replace the jpg, keep the name. */
body.home {
  background-color: #c8f4f8;
  background-image: none;
  color: #111;
}
body.home .bar {
  background: color-mix(in srgb, #c8f4f8 82%, transparent);
  color: #111;
}
body.home .mark,
body.home .script,
body.home .hero,
body.home .hero-copy,
body.home .hero-line,
body.home .lede,
body.home h2,
body.home .page,
body.home .page .lede,
body.home a {
  color: #111;
  text-shadow: none;
}
body.home a:hover { color: var(--champagne); }
body.home .kicker { color: var(--champagne); }
body.home .hero.splash {
  place-items: center;
  background: #c8f4f8;
  min-height: 100svh;
}
body.home .hero video,
body.home .hero-veil { display: none; }
body.home .light-bars {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(58vh, 34rem);
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  pointer-events: none;
  padding: 0 6%;
  z-index: 0;
}
body.home .light-bars span {
  display: block;
  flex: 0 0 clamp(12px, 2.4vw, 36px);
  height: var(--h, 52%);
  background: rgba(255, 255, 255, 0.78);
}
body.home .hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  justify-self: center;
  padding: calc(var(--pad) + env(safe-area-inset-top, 0px)) var(--pad) calc(1.4rem + env(safe-area-inset-bottom, 0px));
}
body.home .hero-copy .lede {
  color: #3f5258;
  margin-inline: auto;
}
body.home .hero-line {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  color: #111;
}
body.home .hero-rest {
  display: block;
  margin-top: 0.18em;
  font-family: var(--display);
  font-size: 0.22em;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: #111;
}
body.home .actions { justify-content: center; }
body.home .btn {
  background: #111;
  color: #c8f4f8;
  border-radius: 999px;
  min-height: 44px;
  min-width: 44px;
}
body.home .btn.ghost {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}
body.home .btn:hover { color: #c8f4f8; }
body.home .btn.ghost:hover { color: #111; }
body.home .still,
body.home img.drop,
body.home .course {
  border-radius: 28px;
  overflow: hidden;
}
body.home .course {
  color: #111;
}
body.home .course span {
  background: linear-gradient(transparent, rgba(246, 243, 236, 0.92));
  color: #111;
}
body.home .course:hover img { transform: none; }
body.home .ribbon {
  background: linear-gradient(90deg, #f6f3ec, #b7e8f0);
  color: #111;
}
@media (hover: hover) and (pointer: fine) {
  body.home .btn:hover { transform: translateY(-2px); }
  body.home .course:hover img { transform: scale(1.03); }
}
@media (max-width: 430px) {
  body.home .hero.splash {
    min-height: calc(100svh - 3.5rem - env(safe-area-inset-top, 0px));
  }
  body.home .script {
    font-size: clamp(3.5rem, 14vw, 4.6rem);
    line-height: 1.02;
  }
  body.home .courses {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
  body.home .courses > .course {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
  }
}
@media (max-width: 430px) and (prefers-reduced-motion: reduce) {
  body.home .courses { scroll-snap-type: none; }
}

.drop-house {
  background: #e7f7f6;
  color: #111;
  padding: 2.2rem 0 2.6rem;
}
.drop-house .script {
  font-family: "Sloop Script", "Segoe Script", cursive;
  color: #111;
  text-shadow: none;
  font-size: clamp(3.2rem, 8vw, 5.4rem);
}
.drop-house .lede { color: #1a1a1a; max-width: 36rem; }
.drop-house a { color: #111; }
.lightbars {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 0.4rem var(--pad) 0.2rem;
  overscroll-behavior-x: contain;
}
.lightbar {
  position: relative;
  flex: 0 0 11.5rem;
  min-height: 68vh;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #d5f3f1 38%, #8fd4d4 100%);
}
.lightbar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbar.is-waiting img { display: none; }
.lightbar figcaption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.85rem;
  margin: 0;
  color: #111;
  font-family: "Sloop Script", "Segoe Script", cursive;
  font-size: 1.35rem;
  line-height: 1.15;
}
.lightbar:active { opacity: 0.72; }
@media (hover: hover) and (pointer: fine) {
  .lightbar:hover { outline: 1px solid #111; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbars { scroll-snap-type: none; }
  .lightbar:active { opacity: 1; }
}
/* Type. Sukar for titles. Arimo for the body. Sloop stays black on the ice. AA on linen. */
h1, h2, h3,
.tile strong,
.foot-grid strong,
.course span,
body.home .hero-rest {
  font-family: "Sukar", "Arimo", "Segoe UI", sans-serif;
}
body,
.lede,
.fine,
.prose,
input, textarea, select, button {
  font-family: "Arimo", "Segoe UI", sans-serif;
}
.script,
.mark,
.night-script,
.hero .script,
body.home .script,
body.home .mark,
body.bright .script,
body.bright .mark,
body.menu-room .script,
body.menu-room .mark,
.drop-house .script,
.lightbar figcaption {
  font-family: "Sloop Script", "Segoe Script", cursive;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: none;
}
.mark,
.hero .script,
body.home .script,
body.home .mark,
body.bright .mark,
.drop-house .script {
  color: #111;
}
.page .kicker,
body.home .kicker,
.facts b,
.stamp {
  color: #6e4e1e;
  text-shadow: none;
}
body.home .hero-line,
body.home .script,
body.home .mark,
body.home .bar nav a[aria-current="page"] { color: #111; }
body.home a:hover { color: #6e4e1e; }
body.home .btn:hover { color: #c8f4f8; }
body.home .btn.ghost:hover { color: #111; }
.page,
.page .lede,
.page .fine,
footer,
.colophon { color: #3a342c; }
.bar nav a[aria-current="page"] { color: #6e4e1e; }
body.bright .bar nav a[aria-current="page"] { color: #0c6f78; }
body.menu-room .kicker,
body.menu-room .bar nav a[aria-current="page"] { color: #6e4e1e; }
a:hover,
.foot-grid a:hover { color: #6e4e1e; }

/* The bars move. Reduced motion already stops every animation. The veil stays light. */
@keyframes fieldbars {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 88px 0; }
}
@keyframes menubars {
  from { background-position: 0 0, 0 0; }
  to { background-position: 88px 0, 0 0; }
}
@keyframes veilbars {
  from { background-position: 0 0; }
  to { background-position: 110px 0; }
}
@keyframes barlift {
  from { transform: scaleY(.64); }
  to { transform: scaleY(1); }
}
body { animation: fieldbars 16s linear infinite; }
body.home { animation: none; }
body.menu-room { animation: menubars 16s linear infinite; }
body.bright::before { animation: veilbars 14s linear infinite; }
body.home .light-bars span {
  transform-origin: top center;
  animation: barlift 8s ease-in-out infinite alternate;
}
body.home .light-bars span:nth-child(2n) { animation-duration: 11s; }
body.home .light-bars span:nth-child(3n) { animation-duration: 6.5s; }
.hero-veil,
.night-veil {
  background-color: color-mix(in srgb, #e7f4f5 78%, transparent);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0 34px,
    rgba(255, 255, 255, .92) 34px 36px,
    rgba(142, 207, 211, .55) 36px 52px,
    rgba(255, 255, 255, 0) 52px 110px
  );
  background-size: 110px 100%;
  animation: veilbars 11s linear infinite;
}
.hero video,
.night > img { opacity: .18; }
.hero-copy,
.night-copy,
.night-script,
.hero .script {
  color: #161616;
  text-shadow: none;
}
.hero-copy,
.night-copy {
  background: color-mix(in srgb, #f7f2e8 92%, transparent);
  border-radius: 28px;
}
body.home .hero-copy { background: transparent; border-radius: 0; }
@media (max-width: 860px) {
  body.bright .bright-split { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  body.bright .script,
  body.bright .night-script { font-size: clamp(3.4rem, 15vw, 4.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  body.bright .plate img { transition: none; }
}

/* 390 and 430. Sloop stays in the column. Abyss fields stay off the linen. */
.btn { color: #111; }
.btn:hover { color: #111; }
.btn.ghost { color: #111; }
input, textarea, select {
  background: #fff;
  color: #111;
}
.plaque, .tile, .blank-card {
  background: #fffdf8;
  color: #111;
}
.tile { background: linear-gradient(180deg, #f6f3ec, #c8f4f8); }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hero { background: var(--ice); }
}
@media (max-width: 430px) {
  body.menu-room { overflow-x: clip; }
  .lightbars,
  body.home .courses,
  body.menu-room .doors,
  body.menu-room .rail,
  body.apple .gallery,
  body.apple .slots,
  .wrap, .hero, .hero-copy, .night, .night-copy {
    max-width: 100%;
    min-width: 0;
  }
  .mark,
  body.home .mark,
  body.menu-room .mark,
  body.bright .mark {
    font-size: 1.3rem;
    max-width: 58%;
  }
  h1.script,
  .script,
  .night-script,
  body.home .script,
  body.home h1.script,
  body.menu-room .script,
  body.menu-room .night-script,
  body.bright .script,
  body.bright .night-script,
  .drop-house .script {
    font-size: clamp(1.55rem, 7.2vw, 2.2rem);
    line-height: 0.92;
    letter-spacing: 0;
    max-width: 100%;
  }
  body.home .hero-rest { letter-spacing: 0.08em; }
}
