/* Tasman Bay Backpackers, design 05: the pot. */

:root {
  --yolk: #f7c33b;
  --yolk-soft: #fbd879;
  --orange: #f2651c;
  --red: #d23a26;
  --lounge: #b3301f;
  --blue: #004e89;
  --blue-deep: #003a66;
  --salmon: #f4b49b;
  --lime: #b5d334;
  --choc: #2a120a;
  --choc-2: #3d1c10;
  --choc-3: #5a2c1a;
  --cream: #f8ecd4;
  --ink: var(--choc);
  --focus: var(--blue);
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --display: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ring: clamp(5px, 0.9vw, 10px);
  --wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='none'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0028 .055' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 .7 .3  0 0 0 .38 .12  0 0 0 .16 .03  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='900' height='600' filter='url(%23w)'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  --crust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='4'/%3E%3CfeColorMatrix values='0 0 0 .26 .06  0 0 0 .11 .022  0 0 0 .05 .01  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(.2, .9, .25, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .5, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--yolk);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
blockquote { margin: 0; }
b, strong { font-weight: 800; }
.big { font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem); line-height: 1.45; }
.muted { opacity: 0.8; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--choc); color: var(--cream); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- the stacked headline: letters extruded in the bowl's stripes ---------- */

.stacked {
  color: var(--blue);
  text-shadow:
    0.012em 0.016em 0 var(--orange), 0.024em 0.032em 0 var(--orange), 0.036em 0.048em 0 var(--orange),
    0.048em 0.064em 0 var(--red), 0.058em 0.077em 0 var(--red),
    0.07em 0.093em 0 var(--orange), 0.082em 0.109em 0 var(--orange),
    0.094em 0.125em 0 var(--choc);
}
.stacked--sm {
  text-shadow:
    0.015em 0.02em 0 var(--orange), 0.03em 0.04em 0 var(--orange),
    0.045em 0.06em 0 var(--red), 0.06em 0.08em 0 var(--orange), 0.075em 0.1em 0 var(--choc);
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8em 1.3em;
  font: 800 1.02rem/1.1 var(--text); letter-spacing: 0.005em;
  text-decoration: none; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms;
}
a.btn--book, .btn--book { background: var(--orange); color: var(--choc); border-color: var(--choc); box-shadow: 0 5px 0 var(--choc); }
.btn--book:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--choc); text-decoration: none; }
.btn--book:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--choc); }
.btn--big { font-size: 1.18rem; padding: 0.9em 1.6em; min-height: 56px; }
.btn--line { color: var(--blue); border-color: currentColor; background: transparent; }
.btn--line:hover { background: rgba(0, 78, 137, 0.1); }
a.btn--on-dark, .btn--on-dark { color: var(--cream); }
.btn--on-dark:hover { background: rgba(248, 236, 212, 0.12); }

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

.top {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: 14px var(--gutter);
  background: var(--yolk);
  view-transition-name: top;
}
.top__logo { flex: none; display: block; border-radius: 6px; }
.top__logo img { width: clamp(132px, 13vw, 190px); height: auto; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)); }
.top__nav { display: flex; gap: clamp(10px, 1.6vw, 26px); margin-left: auto; font-weight: 700; font-size: 0.98rem; }
.top__nav a { text-decoration: none; color: var(--blue); padding: 6px 2px; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 3px no-repeat; transition: background-size 220ms var(--ease-out); }
.top__nav a:hover, .top__nav a[aria-current] { background-size: 100% 3px; }
.top__book { flex: none; min-height: 44px; padding: 0.6em 1.05em; font-size: 0.98rem; box-shadow: 0 4px 0 var(--choc); }
.menu { display: none; }

@media (max-width: 1080px) {
  .top__nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu summary {
    list-style: none; cursor: pointer; font-weight: 800; color: var(--blue);
    min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 10px;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary::before { content: ''; width: 18px; height: 12px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 2.5px no-repeat, linear-gradient(currentColor 0 0) 0 50% / 100% 2.5px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 100% 2.5px no-repeat; }
  .menu[open] summary::before { background: linear-gradient(45deg, transparent 45%, currentColor 45% 57%, transparent 57%), linear-gradient(-45deg, transparent 45%, currentColor 45% 57%, transparent 57%); height: 18px; }
  .menu nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; padding: 10px var(--gutter) 26px;
    background: var(--choc); color: var(--cream);
    box-shadow: 0 24px 40px -20px rgba(42, 18, 10, 0.6);
    --focus: var(--lime);
  }
  .menu nav a { font-family: var(--display); font-size: 1.6rem; text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(248, 236, 212, 0.15); }
  .menu nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  .top { gap: 8px; padding-block: 10px; }
  .top__logo img { width: 118px; }
  .top__book { padding: 0.55em 0.8em; font-size: 0.92rem; }
  .menu summary { padding: 0 6px; }
}

/* ---------- floating bowl: Book is always one tap away ---------- */

.bowl-book {
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.28), transparent 26%),
    radial-gradient(closest-side, var(--choc) 0 51%, var(--yolk) 52.5% 61%, var(--orange) 62.5% 73%, var(--red) 74.5% 79%, var(--orange) 80.5% 87%, var(--blue) 88.5% 100%);
  box-shadow: 0 10px 22px -6px rgba(42, 18, 10, 0.55), 0 0 0 2px var(--choc);
  transition: transform 380ms var(--ease-spring), opacity 200ms;
}
.bowl-book__label { font: 800 0.95rem/1 var(--text); color: var(--cream); letter-spacing: 0.02em; }
.bowl-book:hover { transform: rotate(-8deg) scale(1.06); }
.bowl-book:focus-visible { outline-offset: 4px; }
.js .bowl-book:not(.is-shown) { transform: translateY(30px) scale(0.4) rotate(40deg); opacity: 0; pointer-events: none; }

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

.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(8px, 1.6vw, 24px) var(--gutter) clamp(70px, 9vw, 120px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.hero__text { padding-top: clamp(0px, 3.4vw, 56px); }
.hero__where { font-weight: 700; color: var(--choc); margin-bottom: 0.9em; font-size: 1.02rem; }
.hero__where span { color: var(--orange); padding-inline: 0.25em; }
.hero h1 { font-size: clamp(2.45rem, 1rem + 3.9vw, 4.9rem); line-height: 0.98; margin-bottom: 0.38em; max-width: 9.5em; }
.hero__lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.36rem); line-height: 1.45; max-width: 31em; color: var(--choc); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 1.5em 0 1.3em; }
.hero__proof { font-size: 0.98rem; color: var(--choc); margin: 0; }
.hero__proof b { color: var(--blue); }

.hero__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; min-width: 0; }
.pot {
  position: relative; width: min(100%, 860px); aspect-ratio: 1.36; margin-top: clamp(28px, 2.5vw, 40px); margin-bottom: 10%;
  isolation: isolate; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
}
.pot:focus-visible { outline: 3px dashed var(--blue); outline-offset: 2px; border-radius: 40%; }
.pot__poster, .pot__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the round wooden table the pot sits on */
.pot__table {
  position: absolute; inset: -9% -24% -16% -7%; z-index: -1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(closest-side, transparent 93%, rgba(60, 25, 5, 0.45) 99%),
    radial-gradient(circle at 30% 24%, rgba(255, 220, 160, 0.28), transparent 60%),
    var(--wood);
  box-shadow: 0 30px 50px -20px rgba(42, 18, 10, 0.55);
}
.pot__canvas { opacity: 0; transition: opacity 500ms ease; }
.pot.is-live .pot__canvas { opacity: 1; }
.pot.is-live .pot__poster { opacity: 0; transition: opacity 500ms ease 200ms; }
.pot__server {
  position: absolute; left: -70px; top: -70px; width: 300px; height: 300px; z-index: 3;
  pointer-events: none; opacity: 0; transform-origin: 70px 70px; will-change: transform;
  filter: drop-shadow(8px 12px 8px rgba(42, 18, 10, 0.45)); transition: opacity 160ms;
}
.pot__server.is-on { opacity: 1; }
.pot__blade { transition: opacity 120ms; }
.pot__server.is-lifting .pot__blade { opacity: 0; }

/* striped bowls and the ice cream box on the table, drawn from above */
.serve-bowl, .bowl-stack {
  position: absolute; z-index: 2; pointer-events: none; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.35), transparent 30%),
    radial-gradient(closest-side, #f3d35e 0 44%, #f6b54d 47%, #f08a4f 49% 63%, #d9542e 64.5% 67%, #f29a62 68.5% 77%, #3b64ad 79% 87%, #f2ece2 88.5% 100%);
}
.serve-bowl {
  left: -1%; bottom: -3%; width: clamp(92px, 21%, 180px);
  box-shadow: 0 12px 18px -8px rgba(42, 18, 10, 0.6);
  transform: rotate(-8deg);
}
.bowl-stack {
  left: -5%; top: -6%; width: clamp(80px, 19%, 160px);
  box-shadow: 1px 4px 0 #e6dfd2, 2px 8px 0 #d8d0c1, 3px 12px 0 #ccc3b2, 4px 16px 0 #c2b8a6, 6px 26px 22px -6px rgba(42, 18, 10, 0.55);
}
.ice-box {
  position: absolute; z-index: 2; right: -5%; top: -7%; width: clamp(70px, 17%, 150px); aspect-ratio: 1.3; pointer-events: none;
  background: #fbfaf6; border-radius: 4px; transform: rotate(9deg);
  box-shadow: inset 0 0 0 4px #2f62b1, inset 0 0 0 7px #fbfaf6, 6px 14px 18px -6px rgba(42, 18, 10, 0.5);
}
.ice-box > span {
  position: absolute; inset: 15% 12%; border-radius: 3px;
  background:
    radial-gradient(ellipse at 38% 40%, #e6d3a8 0 18%, transparent 30%),
    radial-gradient(ellipse at 66% 62%, #e9d8b0 0 14%, transparent 26%),
    radial-gradient(circle at 40% 30%, #fffaf0, #f4e6c6 70%);
  box-shadow: inset 0 3px 6px rgba(120, 90, 40, 0.35);
}
.ice-box::before, .ice-box::after {
  content: ''; position: absolute; top: 4%; bottom: 4%; width: 34%;
  background: linear-gradient(90deg, #f1efe9, #fff); box-shadow: 0 2px 4px rgba(42, 18, 10, 0.25);
}
.ice-box::before { right: 100%; transform: skewY(-8deg); border-left: 4px solid #2f62b1; }
.ice-box::after { left: 100%; transform: skewY(8deg); border-right: 4px solid #2f62b1; background: linear-gradient(270deg, #f1efe9, #fff); }
.scoop-fly {
  position: fixed; z-index: 60; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffaf0, #f3e3bf 50%, #d8bc8a 100%);
  box-shadow: 6px 12px 14px rgba(42, 18, 10, 0.4);
}
.serve-bowl > span { position: absolute; display: block; }
.serve-bowl__sauce {
  inset: 22% 20% 20% 22%;
  border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 236, 214, 0.55) 0 3%, transparent 8%), radial-gradient(circle at 45% 45%, #33150a, #170804 70%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}
.serve-bowl__chunk {
  left: 30%; top: 30%; width: 38%; height: 38%; border-radius: 12%;
  background: radial-gradient(circle at 30% 26%, rgba(255, 214, 170, 0.12), transparent 55%), var(--crust);
  box-shadow: inset 0 0 0 2px rgba(20, 8, 3, 0.5), inset -5px -6px 8px rgba(0, 0, 0, 0.45), 4px 6px 8px rgba(0, 0, 0, 0.5);
  transform: rotate(9deg);
}
.serve-bowl__scoop {
  left: 44%; top: 22%; width: 34%; height: 34%; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffaf0, #f3e3bf 50%, #d8bc8a 100%);
  box-shadow: 3px 5px 6px rgba(42, 18, 10, 0.45);
}
.chunk-fly {
  position: fixed; z-index: 60; pointer-events: none; border-radius: 12%;
  background: radial-gradient(circle at 30% 26%, rgba(255, 214, 170, 0.12), transparent 55%), var(--crust);
  box-shadow: inset 0 0 0 2px rgba(20, 8, 3, 0.5), inset -5px -6px 8px rgba(0, 0, 0, 0.45), 10px 16px 16px rgba(42, 18, 10, 0.45);
}
.pot__count { font-weight: 800; color: var(--blue); font-size: 0.95rem; }
.pot__controls { position: relative; z-index: 2; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 10px; }
.pot__hint { font-weight: 700; color: var(--choc); font-size: 0.95rem; }
.chip {
  font: 800 0.95rem/1 var(--text); color: var(--cream); background: var(--choc);
  border: 0; border-radius: 10px; padding: 0.75em 1em; min-height: 44px; cursor: pointer;
  box-shadow: 0 3px 0 var(--orange); transition: transform 140ms var(--ease-out), box-shadow 140ms;
}
.chip:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--orange); }
.chip:active { transform: translateY(3px); box-shadow: 0 0 0 var(--orange); }
.chip--quiet { background: transparent; color: var(--choc); box-shadow: inset 0 0 0 2px var(--choc); }
.chip--quiet:hover { box-shadow: inset 0 0 0 2px var(--choc); }
.chip--quiet[aria-pressed="true"] { background: var(--choc); color: var(--cream); }
.chip--quiet[aria-pressed="true"]::after { content: ' on'; }

/* ---------- liquid edges between sections ---------- */

.surface {
  position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
  background: var(--choc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 60 6 110 6 170 18 S 280 34 340 20 S 470 2 530 16 S 590 26 600 22 V40 H0Z'/%3E%3C/svg%3E") 0 0 / 600px 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 60 6 110 6 170 18 S 280 34 340 20 S 470 2 530 16 S 590 26 600 22 V40 H0Z'/%3E%3C/svg%3E") 0 0 / 600px 100% repeat-x;
  animation: lap 14s linear infinite;
}
@keyframes lap { to { -webkit-mask-position: 600px 0; mask-position: 600px 0; } }

/* ---------- 8pm: the pudding ---------- */

.night {
  position: relative; z-index: 2;
  background: var(--choc); color: var(--cream);
  --focus: var(--lime);
  padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(90px, 10vw, 150px);
  overflow-x: clip;
}
.night a { color: var(--yolk); }
.night__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 56px); align-items: center;
}
.night__eight {
  font-family: var(--display); line-height: 0.8; color: var(--choc-2);
  font-size: clamp(9rem, 22vw, 21rem); display: flex; align-items: flex-end; user-select: none;
  text-shadow: 0.02em 0.02em 0 #1b0b06;
  position: relative;
}
.night__eight small { font-size: 0.3em; margin-left: 0.04em; margin-bottom: 0.12em; color: var(--choc-3); }
.night h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem); color: var(--yolk); margin-bottom: 0.45em; }
.owner { border-left: 5px solid var(--orange); padding: 0.1em 0 0.1em 1em; margin: 1.2em 0; }
.owner p { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; margin: 0 0 0.3em; color: var(--cream); }
.owner footer { font-size: 0.95rem; opacity: 0.8; }
.night__photos { display: grid; gap: clamp(16px, 2vw, 26px); }

.frame { border-radius: 14px; overflow: hidden; background: var(--choc-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.night .frame { box-shadow: 9px 9px 0 var(--orange); }
.frame--tilt-l { transform: rotate(-2deg); }
.frame--tilt-r { transform: rotate(1.6deg); }

.offline {
  max-width: var(--max); margin: clamp(70px, 9vw, 140px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.offline__photo { aspect-ratio: 4 / 3; }
.offline .frame { box-shadow: 12px 12px 0 var(--blue); }
.offline__title { font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem); color: var(--lime); margin-bottom: 0.4em; }

.dial { display: flex; align-items: center; gap: 20px; margin-top: 1.4em; }
.dial__face { flex: none; width: clamp(130px, 13vw, 170px); height: auto; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.4)); }
.dial__arc { fill: none; stroke: var(--choc); stroke-width: 13; stroke-linecap: round; }
.dial__pud { fill: var(--cream); stroke: var(--choc); stroke-width: 4; }
.dial__num { font: 800 15px var(--text); fill: var(--cream); text-anchor: middle; dominant-baseline: central; }
.dial__label { font: 800 15px var(--text); fill: var(--choc); text-anchor: middle; }
.dial__ticks line { stroke: var(--choc); stroke-width: 2; opacity: 0.5; }
.dial__hour, .dial__min { stroke: var(--choc); stroke-linecap: round; }
.dial__hour { stroke-width: 7; }
.dial__min { stroke-width: 4; }
.dial__hands { transition: transform 900ms var(--ease-spring); }
.dial__now { margin: 0; font-weight: 700; font-size: 1.05rem; max-width: 22em; }

/* chocolate drips onto the next section: gooey SVG filter, stretched by scroll where supported */
.drips {
  position: absolute; left: 0; right: 0; top: calc(100% - 34px); height: 200px; z-index: 3;
  pointer-events: none; filter: url(#goo);
  clip-path: inset(0 -10px -60px -10px);
  view-timeline: --drips block;
}
.drip-band { position: absolute; left: -60px; right: -60px; top: -30px; height: 62px; background: var(--choc); }
.drip {
  position: absolute; top: 0; left: var(--x); width: var(--w); height: var(--h);
  background: var(--choc); border-radius: 0 0 999px 999px;
}
.drip::after { content: ''; position: absolute; left: -12%; right: -12%; bottom: -4px; aspect-ratio: 1; border-radius: 50%; background: var(--choc); }

@supports (animation-timeline: view()) {
  .drip {
    animation: drip linear both;
    animation-timeline: --drips;
    animation-range: entry calc(var(--d) * 40%) cover calc(45% + var(--d) * 25%);
  }
  @keyframes drip { from { transform: translateY(calc(var(--h) * -0.62)); } to { transform: translateY(0); } }
}

/* ---------- the house ---------- */

.house {
  position: relative; z-index: 1;
  background: var(--salmon); color: var(--choc);
  padding: clamp(150px, 16vw, 230px) var(--gutter) clamp(70px, 9vw, 130px);
}
.house > * { max-width: var(--max); margin-inline: auto; }
.house__top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.house__title { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5.4rem); color: var(--lounge); line-height: 0.98; }
.house__lead { aspect-ratio: 4 / 3; box-shadow: 12px 12px 0 var(--lounge); }
.house .frame { background: #e59f86; }

.guest { margin-top: clamp(50px, 7vw, 100px); margin-bottom: clamp(50px, 7vw, 100px); position: relative; padding-left: clamp(0px, 7vw, 120px); }
.guest p::first-letter { font-family: var(--display); color: var(--lounge); font-size: 1.6em; line-height: 0; margin-right: 0.04em; }
.guest p { font-size: clamp(1.35rem, 1rem + 1.45vw, 2.3rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; max-width: 34em; margin-bottom: 0.7em; }
.guest footer { font-weight: 700; font-size: 1rem; }

.house__row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.house__lounge { aspect-ratio: 4 / 3; box-shadow: -12px 12px 0 var(--blue); }
.house__text h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); color: var(--lounge); margin-bottom: 0.3em; }
.house__text h3:not(:first-child) { margin-top: 1em; }
.house__text p { font-size: 1.12em; }

.house__garden { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr) minmax(0, 0.75fr); gap: clamp(12px, 2vw, 28px); margin-top: clamp(40px, 6vw, 90px); align-items: stretch; }
.house__garden .frame { height: clamp(260px, 30vw, 440px); }
.house__night { box-shadow: 0 12px 0 var(--choc); }

.honest {
  margin-top: clamp(50px, 7vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.honest__note {
  background: var(--lounge); color: var(--cream); border-radius: 18px;
  padding: clamp(24px, 4vw, 56px); --focus: var(--lime);
  box-shadow: 12px 12px 0 var(--choc);
}
.honest__note p { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem); font-weight: 650; line-height: 1.38; margin-bottom: 0.9em; }
.honest__note p::first-line { font-family: var(--display); font-weight: 400; }
.honest__note footer { font-size: 1rem; font-weight: 600; opacity: 0.92; }
.scores { margin: 0; display: grid; gap: 14px; }
.scores div { display: grid; grid-template-columns: 8.5em 1fr; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid rgba(42, 18, 10, 0.18); }
.scores dt { font-weight: 800; }
.scores dd { margin: 0; }
.scores dd b { font-family: var(--display); font-weight: 400; font-size: 1.7em; color: var(--blue); margin-right: 0.2em; }
.scores__note { margin-top: 1em; font-size: 0.98rem; }

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

.rooms {
  position: relative; z-index: 1;
  background: var(--yolk);
  padding: clamp(70px, 9vw, 130px) var(--gutter) clamp(90px, 10vw, 150px);
}
.rooms > * { max-width: var(--max); margin-inline: auto; }
.rooms__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(50px, 6vw, 90px); }
.rooms__head h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem); line-height: 1; }
.rooms__head p { margin: 0; }
.rooms__group { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); }
.rooms__group + .rooms__group { margin-top: clamp(60px, 7vw, 110px); padding-top: clamp(40px, 5vw, 70px); border-top: 3px solid var(--choc); }
.rooms__intro h3 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); color: var(--blue); margin-bottom: 0.3em; }
.rooms__intro { align-self: start; position: sticky; top: 24px; }
.roomlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(18px, 2.5vw, 36px); }
.roomlist--private { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room { display: grid; align-content: start; gap: 16px; }
.room__photo { aspect-ratio: 4 / 3; box-shadow: 9px 9px 0 var(--choc); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.room:nth-child(even) .room__photo { box-shadow: 9px 9px 0 var(--blue); }
.room:hover .room__photo, .room:focus-within .room__photo { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--choc); }
.room:nth-child(even):hover .room__photo, .room:nth-child(even):focus-within .room__photo { box-shadow: 12px 12px 0 var(--blue); }
.room__photo--none {
  border-radius: 14px; background: var(--choc); display: grid; place-items: center; padding: 20px; position: relative; overflow: hidden;
}
.room__photo--none p { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.5rem); line-height: 1.05; color: var(--yolk); text-align: center; }
.room__photo--none::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(var(--orange) 0 40%, var(--red) 40% 60%, var(--orange) 60% 100%); }
.room__text { display: grid; justify-items: start; }
.room h4 { font-size: clamp(1.55rem, 1.2rem + 0.8vw, 1.95rem); color: var(--blue); margin-bottom: 0.25em; }
.room p { margin-bottom: 0.9em; max-width: 24em; }
.room__book {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border-radius: 10px;
  font-weight: 800; text-decoration: none; color: var(--cream); background: var(--choc);
  box-shadow: 0 3px 0 var(--orange); transition: transform 140ms var(--ease-out), box-shadow 140ms;
}
.room__book:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--orange); text-decoration: none; }

/* ---------- longer stays ---------- */

.longer {
  position: relative; z-index: 2;
  background: var(--choc); color: var(--cream); --focus: var(--lime);
  padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(70px, 9vw, 130px);
}
.longer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.longer h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); color: var(--yolk); margin-bottom: 0.45em; }
.ladle { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 14px; }
.ladle li { position: relative; padding-left: 2.1em; }
.ladle li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 1.25em; height: 1.25em; border-radius: 50%;
  background: radial-gradient(closest-side, var(--yolk) 0 40%, var(--orange) 46% 62%, var(--red) 66% 72%, var(--blue) 78% 100%);
}
.ladle b { color: var(--yolk); }
.longer__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.longer .btn--book { box-shadow: 0 5px 0 var(--red); }
.longer .btn--book:hover { box-shadow: 0 7px 0 var(--red); }
.longer__photo { aspect-ratio: 4 / 3; box-shadow: 12px 12px 0 var(--orange); }

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

.foot {
  background: var(--blue); color: var(--cream); --focus: var(--yolk);
  padding: clamp(60px, 8vw, 110px) var(--gutter) clamp(110px, 10vw, 120px);
  position: relative;
}
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: linear-gradient(var(--orange) 0 40%, var(--red) 40% 60%, var(--orange) 60% 100%); }
.foot__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 60px); }
.foot__title { font-size: clamp(2.4rem, 1.4rem + 3vw, 4.2rem); color: var(--yolk); margin-bottom: 0.35em; }
.foot h3 { font-family: var(--text); font-weight: 800; font-size: 1.1rem; color: var(--yolk); margin-bottom: 0.7em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot__contact a { font-weight: 700; }
.foot__safe { max-width: var(--max); margin: clamp(40px, 5vw, 70px) auto 0; padding: 16px 20px; border: 2px dashed rgba(248, 236, 212, 0.5); border-radius: 12px; font-size: 0.98rem; }
.foot__end { max-width: var(--max); margin: clamp(30px, 4vw, 50px) auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot__end p { margin: 0; font-weight: 600; }
.foot .btn--book { box-shadow: 0 5px 0 var(--choc); }


/* ---------- info page ---------- */

.ihero {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(20px, 4vw, 60px) var(--gutter) clamp(80px, 9vw, 130px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: center;
}
.ihero h1 { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.4rem); line-height: 1; margin-bottom: 0.35em; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.jump a {
  font-weight: 800; text-decoration: none; color: var(--choc); background: var(--yolk-soft);
  padding: 0.6em 0.9em; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--choc); min-height: 44px; display: inline-flex; align-items: center;
  transition: background-color 160ms, color 160ms;
}
.jump a:hover { background: var(--choc); color: var(--cream); }
.times { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 36px); --ring: clamp(4px, 0.7vw, 9px); }
.time { display: grid; justify-items: center; text-align: center; gap: 14px; }
.time p { margin: 0; max-width: 14em; font-size: 0.98rem; }
.time p b { display: block; font-size: 1.1rem; }
.time__bowl {
  width: calc(100% - var(--ring) * 8); aspect-ratio: 1; border-radius: 50%; margin: calc(var(--ring) * 4.3);
  display: grid; place-content: center; gap: 2px; color: var(--cream); font: 800 clamp(0.85rem, 0.6rem + 0.6vw, 1.15rem)/1.05 var(--text);
  background: radial-gradient(circle at 40% 34%, var(--choc-3), var(--choc-2) 45%, var(--choc) 75%);
  box-shadow:
    inset 0 6px 14px rgba(0, 0, 0, 0.45),
    0 0 0 calc(var(--ring) * 1) var(--yolk-soft), 0 0 0 calc(var(--ring) * 2.1) var(--orange),
    0 0 0 calc(var(--ring) * 2.6) var(--red), 0 0 0 calc(var(--ring) * 3.5) var(--orange),
    0 0 0 calc(var(--ring) * 4.3) var(--blue), 0 calc(var(--ring) * 5) calc(var(--ring) * 4) calc(var(--ring) * 1.5) rgba(42, 18, 10, 0.4);
}
.time__or { font-weight: 600; opacity: 0.7; font-size: 0.8em; }
.time__big { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 0.8rem + 2.4vw, 3.2rem); color: var(--yolk); }
.time:nth-child(2) .time__bowl { transform: rotate(4deg); }
.time:nth-child(3) .time__bowl { transform: rotate(-3deg); }

.block { position: relative; padding: clamp(60px, 8vw, 120px) var(--gutter); }
.block__inner { max-width: var(--max); margin: 0 auto; }
.block h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.4rem); margin-bottom: 0.6em; }
.block--choc { background: var(--choc); color: var(--cream); --focus: var(--lime); }
.block--choc h2 { color: var(--yolk); }
.block--choc a { color: var(--yolk); }
.block--salmon { background: var(--salmon); }
.block--salmon h2 { color: var(--lounge); }
.block--yolk { background: var(--yolk); }

.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.facts div { padding: 18px 0; border-top: 2px solid rgba(248, 236, 212, 0.18); display: grid; grid-template-columns: 11em 1fr; gap: 16px; }
.facts dt { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; color: var(--yolk); }
.facts dd { margin: 0; }
.facts__warn dd { font-weight: 700; }
.facts__warn dt { color: var(--lime); }
.block__cta { margin: 2em 0 0; }
.block--choc .btn--book { box-shadow: 0 5px 0 var(--red); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 64px); }
.qa { border-top: 3px solid var(--choc); padding-top: 16px; }
.qa h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); color: var(--choc); margin-bottom: 0.4em; }
.qa p { margin-bottom: 0.6em; }
.qa--wide { grid-column: 1 / -1; }
.qa blockquote { margin: 0.6em 0 0; padding: 0.9em 1.1em; background: var(--lounge); color: var(--cream); border-radius: 14px; font-weight: 650; font-size: 1.1em; max-width: 46em; box-shadow: 8px 8px 0 var(--choc); }
.qa blockquote p { margin: 0; }

.facilities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px clamp(20px, 3vw, 44px); }
.facilities li { position: relative; padding: 14px 0 14px 3.1em; border-bottom: 2px solid rgba(42, 18, 10, 0.18); font-weight: 600; font-size: 1.08rem; min-height: 3.6em; display: flex; align-items: center; }
.facilities li::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 2.2em; height: 2.2em; margin-top: -1.1em; border-radius: 50%;
  background: radial-gradient(closest-side, var(--yolk-soft) 0 44%, var(--orange) 48% 64%, var(--red) 67% 73%, var(--orange) 76% 84%, var(--blue) 87% 100%);
  box-shadow: 0 3px 6px rgba(42, 18, 10, 0.3);
}
.facilities .is-pudding::before { background: radial-gradient(circle at 56% 42%, #fff6e0 0 12%, transparent 14%), radial-gradient(closest-side, var(--choc-2) 0 44%, var(--yolk-soft) 47% 52%, var(--orange) 55% 66%, var(--red) 69% 74%, var(--orange) 77% 84%, var(--blue) 87% 100%); }
.block__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.block__split .ladle { margin-top: 0; }

@media (max-width: 960px) {
  .ihero, .block__split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facilities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .faq { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .facilities { grid-template-columns: 1fr; }
  .times { --ring: 3.5px; gap: 10px; }
  .time p { font-size: 0.86rem; }
  .time p b { font-size: 0.95rem; }
  .time__bowl { font-size: 0.72rem; width: 92px; margin: 16px auto; }
  .time__big { font-size: 1.6rem; }
}


/* ---------- 8pm service: the game ---------- */

.chip--play { background: var(--orange); color: var(--choc); box-shadow: 0 3px 0 var(--choc); }
.chip--play:hover { box-shadow: 0 4px 0 var(--choc); }
.game { display: none; }
.hero.is-game { grid-template-columns: minmax(0, 1fr); max-width: none; min-height: calc(100svh - 70px); padding: 6px var(--gutter) 28px; align-content: start; }
.hero.is-game .hero__text, .hero.is-game .pot__controls { display: none !important; }
.hero.is-game .game { display: contents; }
.hero.is-game .hero__stage { view-transition-name: stage; }
html.in-game .top { position: sticky; top: 0; }
html.in-game .bowl-book { display: none; }

.game__hud { width: 100%; max-width: 1180px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; justify-content: space-between; position: relative; z-index: 6; }
.game__step { margin: 0; flex: 1 1 22em; font-size: 1.02rem; }
.game__step b { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); color: var(--blue); margin-right: 0.25em; }
.game__meta { margin: 0; display: flex; gap: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.game__meta span:empty { display: none; }
.game__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.game__buttons .chip { min-height: 40px; padding: 0.6em 0.8em; font-size: 0.9rem; }

.game__card {
  position: absolute; z-index: 30; left: 50%; top: 92px; translate: -50% 0;
  width: min(540px, 94%); padding: clamp(18px, 3vw, 30px);
  background: var(--choc); color: var(--cream); border-radius: 18px; --focus: var(--lime);
  box-shadow: 10px 10px 0 var(--orange), 0 30px 60px -20px rgba(42, 18, 10, 0.6);
}
.game__card h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--yolk); margin-bottom: 0.3em; }
.game__card p { margin-bottom: 0.8em; }
.game__card .chip--quiet { color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.game__card .chip--quiet[aria-pressed="true"] { background: var(--cream); color: var(--choc); }
.game__card .chip:not(.chip--quiet) { background: var(--cream); color: var(--choc); }
.game__rush { font-weight: 800; color: var(--lime); }
.game__small { font-size: 0.85rem; opacity: 0.8; margin: 0.6em 0 0 !important; }
.game__intro-actions, .game__end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1em 0 0 !important; }
.game__card .btn--book { box-shadow: 0 5px 0 var(--red); }
.game__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 16px; margin: 0 0 14px; }
.game__stats div { border-top: 2px solid rgba(248, 236, 212, 0.2); padding-top: 6px; }
.game__stats dt { font-size: 0.85rem; opacity: 0.8; }
.game__stats dd { margin: 0; font-family: var(--display); font-size: 1.5rem; color: var(--yolk); }
.game__photo { border-radius: 12px; overflow: hidden; margin: 6px 0 12px; aspect-ratio: 16 / 9; max-height: 26svh; width: 100%; }
.game__photo img { width: 100%; height: 100%; object-fit: cover; }
.game__payoff { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.1; color: var(--cream); }

.game__toast {
  position: absolute; z-index: 40; left: 50%; top: 40%; margin: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--display); font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); color: var(--yolk);
  text-shadow: 0.04em 0.05em 0 var(--orange), 0.08em 0.1em 0 var(--choc);
  opacity: 0; translate: -50% -50%; scale: 0.6;
}
.game__toast.is-on { animation: toast 1.4s var(--ease-out) both; }
@keyframes toast { 0% { opacity: 0; scale: 0.6; } 12% { opacity: 1; scale: 1.08; } 22% { scale: 1; } 80% { opacity: 1; } 100% { opacity: 0; translate: -50% -80%; } }

/* the game layout: everything is placed relative to the pot */
.hero.is-game .pot { width: min(48vw, calc((100svh - 230px) / 1.45 * 1.36), 860px); margin: 14px auto 0; margin-bottom: 30%; }
.hero.is-game .pot__table { inset: -16% -66% -44% -66%; }
.hero.is-game .bowl-stack { left: auto; right: -34%; top: -4%; width: 15%; }
.hero.is-game .ice-box { left: -62%; right: auto; top: 56%; width: 44%; rotate: -4deg; transform: none; }
.hero.is-game .serve-bowl { left: -40%; right: auto; top: 4%; bottom: auto; width: 25%; }
.hero.is-game[data-step="hand"] .serve-bowl { pointer-events: auto; cursor: grab; touch-action: none; }
.hero.is-game[data-step="scoop"] .ice-box > span { pointer-events: auto; cursor: grab; touch-action: none; }
.hero.is-game[data-step="serve"] .pot__canvas { cursor: grab; touch-action: none; }
.hero.is-game[data-step="hand"] .serve-bowl::after,
.hero.is-game[data-step="scoop"] .ice-box > span::after,
.hero.is-game[data-step="scoop"] .serve-bowl::after {
  content: ''; position: absolute; inset: -8%; border-radius: inherit; border: 3px dashed var(--blue); pointer-events: none;
  animation: spin 9s linear infinite;
}
.hero.is-game[data-step="scoop"] .ice-box > span::after { inset: -6px; border-radius: 6px; animation: none; }
@keyframes spin { to { rotate: 1turn; } }
.serve-bowl > span { transition: opacity 200ms; }
.serve-bowl[data-state="empty"] > span { opacity: 0; }
.serve-bowl[data-state="pudding"] .serve-bowl__scoop { opacity: 0; }
.serve-bowl[data-state] .serve-bowl__scoop { scale: var(--scoop, 1); }
.serve-bowl.is-broken .serve-bowl__chunk { clip-path: polygon(0 18%, 46% 0, 54% 30%, 100% 12%, 88% 100%, 52% 74%, 8% 92%); }

.seats { position: absolute; inset: 0; pointer-events: none; }
.seat {
  position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%;
  left: calc(4% + var(--i) * 19.5%); top: 108%;
  background: radial-gradient(closest-side, rgba(60, 25, 5, 0.16) 0 82%, transparent 86%);
  outline: 2px dashed rgba(60, 25, 5, 0.38); outline-offset: -3px;
}
.seat.is-taken {
  outline: 0;
  background:
    radial-gradient(circle at 60% 38%, #fffaf0 0 calc(15% * var(--scoop, 1)), #e6d2a6 calc(17% * var(--scoop, 1)), transparent calc(19% * var(--scoop, 1))),
    radial-gradient(circle at 46% 54%, #3a1a0c 0 22%, #1c0b05 30%, transparent 31%),
    radial-gradient(closest-side, #f3d35e 0 44%, #f6b54d 47%, #f08a4f 49% 63%, #d9542e 64.5% 67%, #f29a62 68.5% 77%, #3b64ad 79% 87%, #f2ece2 88.5% 100%);
  box-shadow: 0 10px 14px -6px rgba(42, 18, 10, 0.55);
  animation: seat 320ms var(--ease-spring);
}
@keyframes seat { from { scale: 1.3; } }

.chunk-fly--held { background: none !important; box-shadow: 10px 16px 16px rgba(42, 18, 10, 0.45) !important; border-radius: 12%; }
.chunk-fly i {
  position: absolute; top: 0; bottom: 0; width: 50%; border-radius: 12%;
  background: radial-gradient(circle at 30% 26%, rgba(255, 214, 170, 0.12), transparent 55%), var(--crust);
  background-size: 200% 100%;
  transition: transform 160ms var(--ease-out);
}
.chunk-fly i:first-child { left: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; background-position: 0 0; box-shadow: inset 2px 2px 0 rgba(20, 8, 3, 0.5), inset 0 -2px 0 rgba(20, 8, 3, 0.5); }
.chunk-fly i:last-child { background-position: 100% 0; box-shadow: inset -2px 2px 0 rgba(20, 8, 3, 0.5), inset 0 -2px 0 rgba(20, 8, 3, 0.5), inset -5px -6px 8px rgba(0, 0, 0, 0.45); }
.chunk-fly.is-broken i { box-shadow: inset 0 0 0 2px rgba(20, 8, 3, 0.55), 6px 10px 10px rgba(42, 18, 10, 0.4); }
.chunk-fly i:last-child { right: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.chunk-fly.is-broken i:first-child { transform: translate(-10%, 6%) rotate(-12deg); }
.chunk-fly.is-broken i:last-child { transform: translate(10%, -5%) rotate(9deg); }
.drip-dot { position: fixed; z-index: 58; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; pointer-events: none; }
.ice-miss { position: fixed; z-index: 54; translate: -50% -50%; border-radius: 46% 54% 50% 50%; pointer-events: none; background: radial-gradient(circle at 40% 36%, #fffaf0, #efdcb4 60%, rgba(239, 220, 180, 0)); animation: miss 1.8s ease-in both; }
@keyframes miss { 0% { scale: 0.6 1.3; } 15% { scale: 1.15 0.85; } 30% { scale: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.scoop-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 56; pointer-events: none; display: none; }
.scoop-canvas.is-on { display: block; }

@media (max-width: 1180px) and (min-width: 761px) {
  .hero.is-game .ice-box { left: -46%; width: 38%; }
  .hero.is-game .serve-bowl { left: -34%; width: 23%; }
}
@media (max-width: 760px), (orientation: portrait) and (max-width: 1000px) {
  .hero.is-game { padding-top: 4px; }
  .game__step { font-size: 0.92rem; flex-basis: 100%; }
  .game__hud { gap: 6px 12px; }
  .hero.is-game .pot { width: min(100%, 560px); margin-top: 8px; margin-bottom: 118%; }
  .hero.is-game .pot__table { inset: -8% -5% -168% -5%; border-radius: 32px; }
  .hero.is-game .bowl-stack { display: none; }
  .hero.is-game .ice-box { left: 3%; top: 108%; width: 46%; }
  .hero.is-game .serve-bowl { left: auto; right: 6%; top: 104%; width: 33%; }
  .seat { width: 17%; top: 182%; left: calc(2% + var(--i) * 20%); }
  .game__card { top: 64px; }
  .game__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game__stats dd { font-size: 1.15rem; }
}

/* ---------- tablet ---------- */

@media (max-width: 1080px) {
  .night__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .night__eight { grid-row: span 2; align-self: start; font-size: clamp(8rem, 24vw, 15rem); }
  .night__photos { grid-template-columns: 1fr 1fr; grid-column: 2; }
  .honest { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__where { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 80px; }
  .hero__stage { margin-top: 10px; }
  .pot { width: min(100%, 640px); margin-inline: auto; }
  .night__inner, .offline, .house__top, .house__row, .longer__grid, .rooms__head, .rooms__group { grid-template-columns: 1fr; }
  .night__eight { grid-row: auto; font-size: clamp(7rem, 34vw, 12rem); margin-bottom: -0.08em; }
  .night__photos { grid-column: auto; }
  .offline__copy { order: -1; }
  .rooms__intro { position: static; }
  .house__garden { grid-template-columns: 1fr 1fr; }
  .house__night { grid-column: 1 / -1; order: -1; }
  .house__garden .frame { height: auto; aspect-ratio: 3 / 4; }
  .house__garden .house__night { aspect-ratio: 3 / 2; }
  .guest { padding-left: 0; }
}

/* ---------- phone ---------- */

@media (max-width: 560px) {
  .hero { padding-top: 6px; gap: 6px; }
  .hero__where { font-size: 0.86rem; margin-bottom: 0.5em; white-space: nowrap; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.7rem); margin-bottom: 0.3em; }
  .hero__lede { font-size: 1rem; line-height: 1.42; }
  .hero__cta { margin: 0.9em 0 0.8em; gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__proof { font-size: 0.86rem; }
  .hero__stage { margin-top: 6px; }
  .pot { width: 100%; margin-top: 30px; }
  .pot__table { inset: -7% -14% -12% -14%; }
  .bowl-stack { left: -3%; top: -9%; }
  .ice-box { right: -6%; top: -8%; }
  .night__photos { grid-template-columns: 1fr; }
  .dial { flex-direction: column; align-items: flex-start; }
  .scores div { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .bowl-book { width: 74px; height: 74px; }
  .roomlist, .roomlist--private { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .drip { transform: none !important; }
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
