:root {
  --abyss: #041116;
  --gulf: #0c3340;
  --champagne: #d4b072;
  --linen: #f7f2e8;
  --wine: #9c2a2a;
  --mute: #d0c6b6;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --script: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --pad: clamp(1.15rem, 3.2vw, 2.7rem);
  --max: 72rem;
  --radius: 28px;
  --dur: 320ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::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(--abyss);
  color: var(--linen);
  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(--champagne); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--linen); }
: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(92vw, 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; }
}

/* Apple materials. Continuous curves, photo as the surface, hairline, system type. */
:root {
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --curve: 28px;
  --dur: 320ms;
  --hair: rgba(247,242,232,.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: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --display: -apple-system, "SF Pro Display", system-ui, sans-serif;
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
}
body.apple h1,
body.apple h2,
body.apple h3,
body.apple .course span,
body.apple .board .plaque strong {
  font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
}
body.apple .script,
body.apple .night-script,
body.apple .mark {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
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: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --display: -apple-system, "SF Pro Display", "SF Pro Text", system-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; }
}
