/* bunchphotos.com: the iPhone app's look (ios/Bunch/UI/Theme.swift, web/app/globals.css),
   set in Geist like the original mockup. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ground: #e4e9ec;
  --table: #d4dbdf;
  --table-edge: #c7cfd4;
  --ink: #0e1012;
  --chip: #cdd4d9;
  --accent: #2b45e8;
  --accent-ink: #1f34b8;
  --grey: #8c959c;
  --grey-title: #737c84;
  --grey-text: #5e676e;
  --live: #e5342b;
  --rule: #cfd6da;
  --outline: #b8c0c6;
  --white: #ffffff;
  --night: #0b0a1a;
  --night-2: #17162b;
  --night-text: #a9adc2;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section: clamp(96px, 11vw, 168px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--white); }
html { scrollbar-color: var(--outline) var(--ground); scrollbar-width: thin; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--grey-text); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 40px); } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Type ---- */

.brand { font-weight: 850; font-size: 24px; letter-spacing: -0.045em; line-height: 1; text-decoration: none; }
.label { font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-text); }
.tt { font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.tt .top { display: block; color: var(--grey-title); }
.tt .bottom { display: block; color: var(--ink); }
h2.tt { font-size: clamp(42px, 5.6vw, 76px); }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--grey-text); max-width: 46ch; }

/* ---- Tags, chips, buttons (as in the app) ---- */

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 999px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--white); white-space: nowrap;
}
.tag.light { background: var(--chip); color: var(--ink); }
.tag.white { background: var(--white); color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }

.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: var(--chip); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap;
  --icon-cut: var(--chip);
}
.chip svg { color: var(--grey-text); }
.chip.on { background: var(--ink); color: var(--white); --icon-cut: var(--ink); }
.chip.on svg { color: var(--white); }
.chip .count { font: 500 12px var(--mono); opacity: 0.75; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white); text-decoration: none; white-space: nowrap;
  font: 500 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pill:hover { background: #262a2e; }
.pill:active { transform: scale(0.98); }
.pill.accent { background: var(--accent); }
.pill.accent:hover { background: var(--accent-ink); }
.pill.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.pill.short { height: 44px; padding: 0 20px; font-size: 12px; }
.pill:disabled, .pill[aria-disabled="true"] { background: var(--grey); color: rgba(255, 255, 255, 0.85); cursor: default; transform: none; }
.pill[aria-busy="true"] { cursor: progress; }

.circle {
  display: inline-grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--ink);
}
.circle.ink { background: var(--ink); color: var(--white); }
.circle.blue { background: var(--accent); color: var(--white); }

.link-button { background: none; border: 0; padding: 6px 2px; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* The four small dots in a card's corners, as in the mockup. */
.dots {
  --dot: var(--grey);
  background-image:
    radial-gradient(circle, var(--dot) 1.9px, transparent 2.4px),
    radial-gradient(circle, var(--dot) 1.9px, transparent 2.4px),
    radial-gradient(circle, var(--dot) 1.9px, transparent 2.4px),
    radial-gradient(circle, var(--dot) 1.9px, transparent 2.4px);
  background-size: 8px 8px;
  background-repeat: no-repeat;
  background-position: var(--dot-in, 12px) var(--dot-in, 12px), calc(100% - var(--dot-in, 12px)) var(--dot-in, 12px), var(--dot-in, 12px) calc(100% - var(--dot-in, 12px)), calc(100% - var(--dot-in, 12px)) calc(100% - var(--dot-in, 12px));
}

/* The iOS-style switch used by find me and hide drinks. */
.switch {
  position: relative; flex: none; width: 51px; height: 31px; border-radius: 999px;
  background: #c3cad0; transition: background-color 0.25s var(--ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease);
}
input:checked + .switch { background: var(--accent); }
input:checked + .switch::after { transform: translateX(20px); }
input:focus-visible + .switch { outline: 3px solid var(--accent); outline-offset: 3px; }
.agree input, .drinks-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* ---- Nav ---- */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(228, 233, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--grey-text); transition: color 0.2s; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .pill { margin-left: auto; } }

/* ---- The scene: the table sign and the phone ---- */

.scene {
  position: relative;
  padding-top: clamp(28px, 4vw, 56px);
  isolation: isolate;
}
/* The tabletop the sign stands on. */
.scene::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: clamp(150px, 19vw, 230px); z-index: -2;
  background: linear-gradient(var(--table-edge), var(--table) 3px, var(--table) 70%, #cdd5d9);
}
.scene-row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 680px) auto; justify-content: center; align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.sign { position: relative; width: 100%; max-width: 680px; margin-bottom: clamp(64px, 8vw, 104px); }
/* The back panel of the tent, seen over the fold. */
.sign-fold {
  height: 18px; margin: 0 14px;
  /* Lit at the top edge, darker toward the crease where it meets the face. */
  background: linear-gradient(#f6f8f9, #dde3e6 calc(100% - 1px), var(--table-edge) calc(100% - 1px));
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
}
.sign-face {
  position: relative;
  --dot-in: 16px;
  background-color: var(--white);
  border-radius: 4px 4px 6px 6px;
  padding: clamp(28px, 3.6vw, 46px);
  box-shadow: 0 1px 0 rgba(14, 16, 18, 0.05), 0 2px 6px rgba(14, 16, 18, 0.06);
}
/* Its shadow on the table. */
.sign::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -22px; height: 34px; z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, rgba(14, 16, 18, 0.32), rgba(14, 16, 18, 0) 70%);
  filter: blur(6px);
}
.sign-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sign h1 { font-size: clamp(48px, 7vw, 88px); }
.sign .lede { margin-top: 22px; max-width: 34ch; color: var(--grey-text); }
.perf { margin: clamp(28px, 3.4vw, 40px) 0 clamp(24px, 3vw, 32px); border-top: 2px dashed var(--rule); }
.sign-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 901px) { .sign-bottom { padding-right: 52px; } }
.qr { display: grid; justify-items: center; gap: 10px; }
.qr img { width: 112px; height: 112px; }
.qr figcaption { font: 500 11px/1.35 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--grey-text); }
.sign-form label { display: block; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 10px; }
.field-row { display: flex; gap: 8px; }
.field-row input { flex: 1; min-width: 0; }
input[type="email"], input:not([type]), select, textarea {
  height: 56px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--ground); color: var(--ink); font-size: 16px;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 0.2s var(--ease), background-color 0.2s;
}
textarea { height: auto; padding: 16px 20px; border-radius: 22px; resize: vertical; line-height: 1.45; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; cursor: pointer; }
::placeholder { color: var(--grey-text); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); background-color: var(--white); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--live) !important; }
.form-note { margin-top: 10px; font-size: 14px; color: var(--grey-text); min-height: 1.5em; }
.form-note.error { color: #b3241c; font-weight: 600; }
.form-note.done { color: var(--ink); font-weight: 600; }

/* The phone lying in front of the sign. */
.phone-spot { position: relative; z-index: 2; margin-left: -56px; display: grid; justify-items: center; gap: 22px; transform: translateY(8px) rotate(6deg); transform-origin: 50% 100%; }
.caption { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-text); transform: rotate(-6deg); }
.phone {
  --w: 288px;
  width: var(--w); aspect-ratio: 300 / 620; flex: none;
  padding: 10px; border-radius: 50px; background: #121416;
  box-shadow: inset 0 0 0 1.5px #3a3f44, 0 40px 60px -24px rgba(14, 16, 18, 0.55), 0 18px 28px -14px rgba(14, 16, 18, 0.35);
}
.phone-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--ground); }
.status { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 24px 0 30px; font-weight: 650; font-size: 14px; }
.island { position: absolute; left: 50%; top: 10px; width: 88px; height: 26px; border-radius: 999px; background: #050607; transform: translateX(-50%); }
.batt { width: 24px; height: 11px; border-radius: 3.5px; box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; }
.batt::after { content: ""; position: absolute; inset: 2.5px 6px 2.5px 2.5px; background: var(--ink); border-radius: 1.5px; }
.app { position: absolute; inset: 0; padding-top: 44px; overflow: hidden; }
.cover { position: relative; margin: 0 8px; height: 170px; overflow: hidden; border-radius: 22px 22px 50% 50% / 22px 22px 70px 70px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-bar { position: absolute; inset: 9px 9px auto 9px; display: flex; justify-content: space-between; align-items: center; }
.cover-bar .circle { width: 34px; height: 34px; }
.cover-bar .tag { height: 34px; padding: 0 13px; }
.app-title { font-size: 30px; padding: 12px 16px 0; }
.app-meta { display: flex; gap: 5px; padding: 9px 16px 0; }
.app-meta .tag { height: 22px; padding: 0 8px; font-size: 9px; gap: 5px; }
.app-meta .dot { width: 6px; height: 6px; }
.app-chips { display: flex; gap: 5px; padding: 10px 16px 0; overflow: hidden; }
.app-chips .chip { height: 32px; padding: 0 12px; font-size: 13px; }
.app-chips .chip svg { width: 16px; height: 16px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 16px 0; }
.app-grid .tile { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--chip); }
.app-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
.app-grid .tile.new { animation: land 0.9s var(--ease) both; }
.app-grid .tile.new::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--accent); animation: ring 1.6s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: translateY(-18px) scale(0.86); filter: blur(8px); } }
@keyframes ring { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
.app-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 34px 14px 16px; display: grid; gap: 8px; background: linear-gradient(rgba(228, 233, 236, 0), var(--ground) 38%); }
.upload { display: grid; gap: 6px; padding: 9px 14px 10px; border-radius: 18px; background: var(--white); box-shadow: 0 6px 18px -8px rgba(14, 16, 18, 0.25); }
.upload-text { font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-bar { height: 4px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.upload-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; }
.upload-bar i.run { animation: fill 1.7s linear both; }
@keyframes fill { to { width: 100%; } }
.app-nav { display: flex; justify-content: space-between; }
.nav-pair { display: flex; gap: 6px; }
.app-nav .circle { width: 40px; height: 40px; box-shadow: 0 4px 12px -6px rgba(14, 16, 18, 0.3); }

@media (max-width: 900px) {
  .scene-row { grid-template-columns: 1fr; justify-items: center; }
  .sign { margin-bottom: 0; }
  .phone-spot { margin: -14px 0 0; transform: rotate(3deg); }
  .caption { transform: rotate(-3deg); }
  .scene::after { height: 340px; }
}
@media (max-width: 520px) {
  .sign-bottom { grid-template-columns: 1fr; }
  .qr { grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
  .qr img { width: 84px; height: 84px; }
  .qr figcaption { text-align: left; }
  .field-row { flex-direction: column; }
  .field-row input { flex: none; }
  .field-row .pill { width: 100%; }
  .phone { --w: 272px; }
}

/* ---- Find me (the night passage, like the app's photo viewer) ---- */

.night { background: var(--night); color: var(--white); padding-block: var(--section); }
.night .tt .top { color: #8c93ad; }
.night .tt .bottom { color: var(--white); }
.night .lede { color: var(--night-text); }
.findme { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.findme-copy .lede { margin-top: 24px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 40px; padding: 18px; border-radius: 26px; background: var(--night-2); }
.selfie { --dot: var(--accent); --dot-in: 6px; padding: 12px; border-radius: 50%; }
.selfie img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.agree { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; color: #e6e8f0; }
.agree .switch { margin-top: 2px; background: #3a3950; }
.findme-actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.findme-actions .pill { min-width: 200px; }
.night .pill:disabled { background: #2c2b42; color: #8c93ad; }
.night .link-button { color: var(--white); }
.demo-note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--night-text); max-width: 44ch; }

.findme-album { position: relative; padding: 18px; border-radius: 30px; background: var(--ground); color: var(--ink); }
.album-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.album-name { display: flex; align-items: center; gap: 10px; }
.album-count { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-text); }
.album-chips { display: flex; gap: 6px; }
.album-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.album-grid .tile { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--chip); transition: opacity 0.6s var(--ease), filter 0.9s var(--ease), transform 0.6s var(--ease); }
.album-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
.album-grid .tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--accent); opacity: 0; transition: opacity 0.5s var(--ease); }
/* While the search runs every photo fades to a grey ghost; matches develop back into colour. */
.findme-album.searching .tile { filter: grayscale(1) brightness(1.25) contrast(0.7); }
.findme-album.found .tile { filter: grayscale(1) contrast(0.6) brightness(1.3); opacity: 0.32; }
.findme-album.found .tile.hit { filter: none; opacity: 1; transform: scale(1.03); z-index: 1; }
.findme-album.found .tile.hit::after { opacity: 1; }
.scan { position: absolute; top: -6px; bottom: -6px; left: 0; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 6px rgba(43, 69, 232, 0.18); transform: translateX(-12px); pointer-events: none; }
.scan.run { animation: scan 1.3s var(--ease) forwards; }
@keyframes scan { to { transform: translateX(var(--scan-to)); } }
.results { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 10px 10px 16px; border-radius: 22px; background: var(--accent); color: var(--white); animation: rise 0.7s var(--ease) both; }
.results-title { font-weight: 750; font-size: 15px; white-space: nowrap; }
.results-strip { display: flex; gap: 5px; flex: 1; min-width: 0; overflow: hidden; }
.results-strip img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); animation: rise 0.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid #2a2940; }
.facts dt { font-weight: 750; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.facts dd { color: var(--night-text); font-size: 16px; max-width: 34ch; }

@media (max-width: 980px) {
  .findme { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .findme-album { padding: 12px; border-radius: 24px; }
  .consent { grid-template-columns: 1fr; justify-items: start; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .results-strip img:nth-child(n + 5) { display: none; }
}

/* ---- Chapter-safe ---- */

.safe { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.safe-stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.drinks-frame { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1400 / 934; background: var(--chip); box-shadow: 0 30px 60px -36px rgba(14, 16, 18, 0.45); }
.drinks-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.drinks-hidden { opacity: 0; }
.drinks-frame.hidden .drinks-hidden { opacity: 1; }
.drinks-toggle { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(14, 16, 18, 0.4); }
.drinks figcaption { margin-top: 14px; font-size: 15px; color: var(--ink); max-width: 60ch; }

.review { --dot-in: 14px; background-color: var(--white); border-radius: 30px; padding: 26px 22px 22px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 0 4px; }
.review-title { font-weight: 800; font-size: 28px; letter-spacing: -0.04em; }
.review-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px 4px; border-top: 1px solid #edf0f2; }
.review-row img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; }
.review-row img.veiled { filter: blur(7px) saturate(0.6); clip-path: inset(0 round 16px); }
.review-body { display: grid; gap: 4px; align-content: start; }
.review-body strong { font-size: 16px; letter-spacing: -0.01em; }
.review-actions { display: flex; gap: 6px; margin-top: 8px; }
.review-actions .pill { height: 34px; padding: 0 14px; font-size: 11px; }
.review-foot { margin-top: 10px; padding: 14px 4px 0; border-top: 1px solid #edf0f2; font-size: 14px; color: var(--grey-text); }

.rules { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--rule); }
.rules li { font-size: 16px; color: var(--grey-text); max-width: 30ch; }
.rules strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

@media (max-width: 980px) {
  .section-head, .safe-stage { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rules { grid-template-columns: 1fr; gap: 18px; }
  .drinks-frame { border-radius: 22px; }
  .drinks-toggle { left: 10px; top: 10px; }
}

/* ---- Guests ---- */

.guests { padding-block: 0 var(--section); }
.guests-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.guests-copy .lede { margin-top: 22px; }
.guests-copy .lede + .lede { margin-top: 14px; }
.phone-web-spot { display: grid; justify-items: center; gap: 22px; }
.phone-web { transform: rotate(-4deg); }
.phone-web-spot .caption { transform: none; }
.web { position: absolute; inset: 44px 0 0; padding: 8px 18px 0; display: grid; align-content: start; gap: 12px; background: var(--ground); }
.web-top { display: flex; justify-content: space-between; align-items: center; }
.web-top .brand { font-size: 20px; }
.web-hero { position: relative; height: 150px; border-radius: 20px; overflow: hidden; }
.web-hero img { width: 100%; height: 100%; object-fit: cover; }
.web-hero .tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); height: 24px; font-size: 9px; }
.web-title { font-size: 30px; }
.web-copy { font-size: 13px; line-height: 1.45; color: var(--grey-text); }
.web .pill { height: 46px; font-size: 11px; width: 100%; }
.web-small { font: 500 9px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-text); text-align: center; }
.safari { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px 18px; background: rgba(246, 247, 248, 0.94); border-top: 1px solid #d9dee1; }
.safari-url { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; background: #e3e6e8; font-size: 13px; font-weight: 600; }
@media (max-width: 820px) {
  .guests-row { grid-template-columns: 1fr; justify-items: center; }
  .guests-copy { justify-self: stretch; }
  .phone-web-spot { order: 2; }
}

/* ---- How a night goes ---- */

.how { padding-block: var(--section); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); counter-reset: step; }
.step { position: relative; display: grid; align-content: start; gap: 14px; }
.step-n { font-weight: 800; font-size: clamp(64px, 7vw, 96px); letter-spacing: -0.06em; line-height: 0.8; color: var(--accent); }
/* The arrow from one frame to the next. */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: clamp(18px, 2vw, 30px); right: calc(clamp(36px, 5vw, 72px) / -2 - 14px); width: 28px; height: 28px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.step-art { height: 210px; border-radius: 26px; background: var(--ground); padding: 18px; display: grid; align-content: center; gap: 8px; overflow: hidden; }
.step h3 { font-size: 22px; font-weight: 750; letter-spacing: -0.025em; margin-top: 6px; }
.step p { color: var(--grey-text); font-size: 16px; max-width: 34ch; }
.mini-field { display: grid; gap: 2px; padding: 9px 14px; border-radius: 14px; background: var(--white); font-weight: 650; font-size: 14px; }
.mini-field .label { font-size: 9px; }
.mini-toggle { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 0 14px; font-weight: 600; font-size: 14px; }
.mini-toggle i { width: 34px; height: 20px; border-radius: 99px; background: var(--accent); position: relative; }
.mini-toggle i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); }
.art-form, .art-grid { background: var(--white); }
.art-form .mini-field { background: var(--ground); }
.art-sign { justify-items: center; background: var(--table); }
.mini-sign { --dot-in: 8px; display: grid; justify-items: center; gap: 8px; width: 150px; padding: 16px 14px 14px; border-radius: 4px; background-color: var(--white); box-shadow: 0 16px 24px -14px rgba(14, 16, 18, 0.5); transform: rotate(-3deg); }
.mini-sign .brand { font-size: 16px; }
.mini-sign img { width: 64px; height: 64px; }
.mini-sign .label { font-size: 8px; text-align: center; }
.mini-suggest { display: inline-flex; align-items: center; gap: 8px; justify-self: start; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--accent); color: var(--white); font-weight: 650; font-size: 13px; }
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-tiles img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: 12px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; gap: 72px; }
  .step:not(:last-child)::after { top: auto; bottom: -50px; right: auto; left: 0; transform: rotate(90deg); }
}

/* ---- Who pays ---- */

.pay { padding-block: var(--section); }
.pay-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.pay-row h2 { grid-column: 1 / -1; }
.pay-copy .lede { margin-top: 4px; }
.extras { list-style: none; display: grid; border-top: 1px solid var(--rule); }
.extras li { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(0, 3fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.extras strong { font-size: 16px; }
.extras span { color: var(--grey-text); font-size: 16px; }
@media (max-width: 900px) { .pay-row { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .extras li { grid-template-columns: 1fr; gap: 2px; } }

/* ---- The close ---- */

.close { padding-block: var(--section); background: var(--accent); color: var(--white); }
.close .tt .top { color: rgba(255, 255, 255, 0.68); }
.close .tt .bottom { color: var(--white); }
.close .lede { color: rgba(255, 255, 255, 0.86); margin-top: 24px; }
.close-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.beta-form { --dot: var(--accent); --dot-in: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 30px; background-color: var(--white); color: var(--ink); box-shadow: 0 40px 70px -40px rgba(8, 14, 60, 0.6); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 650; font-size: 15px; }
.field .optional { font-weight: 500; color: var(--grey-text); }
.wide { grid-column: 1 / -1; }
.form-foot { display: grid; gap: 4px; margin-top: 6px; }
.form-foot .pill { justify-self: start; }
@media (max-width: 900px) { .close-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .beta-form { grid-template-columns: 1fr; } .form-foot .pill { width: 100%; } }

/* ---- Footer ---- */

.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-row .muted { margin-left: auto; }
@media (max-width: 520px) { .foot-row .muted { margin-left: 0; flex-basis: 100%; } }
.foot .brand { font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
