/* Soughted website. Brand: paper, charcoal, sage, blush, butter. Gloock + Schibsted Grotesk (self-hosted). */
@font-face { font-family: "Gloock"; src: url("/fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #FAF6EF;
  --charcoal: #2B2A28;
  --sage: #A9B9A0;
  --sage-deep: #4F6650;
  --blush: #EBC4BC;
  --blush-deep: #A3524A;
  --butter: #F2DFA0;
  --muted: #5d5b57;
  --radius: 18px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

h1, h2 {
  font-family: "Gloock", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 38rem; }

/* The one "ugh": deep blush, wavy underline. Use at most once per page. */
.ugh {
  color: var(--blush-deep);
  text-decoration: underline wavy var(--blush-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  white-space: nowrap;
}

.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

header.site { padding: 1.25rem 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { font-family: "Gloock", Georgia, serif; font-size: 1.6rem; color: var(--charcoal); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.wordmark img { width: 2.5rem; height: 2.5rem; }
nav a { margin-left: 1.25rem; color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .98rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 5px; }

.hero { padding: 3.5rem 0 3rem; }
.hero .cta { margin-top: 1.75rem; display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  background: var(--sage-deep);
  color: var(--paper);
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--sage-deep);
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--sage-deep); }
.btn.ghost:hover { background: var(--sage-deep); color: var(--paper); border-color: var(--sage-deep); }

section.block { padding: 3.25rem 0; }
section.band { background: #F3EDE1; }

.sample {
  background: #fff;
  border: 1px solid #e7dfce;
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 34rem;
  box-shadow: 0 10px 30px -18px rgba(43,42,40,.35);
}
.sample .who { font-size: .85rem; font-weight: 700; color: var(--sage-deep); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.sample ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.sample li { padding: .7rem .9rem; border-radius: 12px; background: var(--paper); margin-bottom: .55rem; }
.sample li.bid { border-left: 5px solid var(--sage-deep); }
.sample li.pick { border-left: 5px solid var(--butter); }
.sample small { color: var(--muted); display: block; }
.note { font-size: .9rem; color: var(--muted); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 1.5rem; }
.card { background: #fff; border: 1px solid #e7dfce; border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.card .n {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--butter); color: var(--charcoal);
  font-weight: 700; margin-bottom: .6rem;
}
.card p:last-child { margin-bottom: 0; }

.two { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.promises { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .8rem; }
.promises li { padding-left: 1.9rem; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--sage); border: 2px solid var(--sage-deep); }

.fee {
  background: var(--butter);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  max-width: 38rem;
}
.fee p:last-child { margin-bottom: 0; }

footer.site { padding: 2.5rem 0 3rem; border-top: 1px solid #e7dfce; color: var(--muted); font-size: .95rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mt { margin-top: 1.25rem; }
.tight { margin: .9rem 0 0; }

.ref { white-space: nowrap; font-weight: 600; }

/* ---------- Shared bits ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bubble {
  background: #fff; border: 1.5px solid #e7dfce; border-radius: 18px 18px 4px 18px;
  padding: .7rem 1rem; margin: 0; max-width: 30rem; line-height: 1.45;
}
.bubble.me { justify-self: end; margin-left: auto; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.offer {
  display: flex; gap: .8rem; align-items: center;
  background: #fff; border-radius: 14px; padding: .6rem .85rem;
  border-left: 5px solid var(--sage-deep);
  box-shadow: 0 8px 20px -16px rgba(43,42,40,.45);
}
.offer.pick { border-left-color: var(--butter); background: #FFFBEC; }
.offer img { width: 3.4rem; height: 3.4rem; flex: none; }
.offer p { margin: 0; font-size: .95rem; min-width: 0; }
.offer small { display: block; color: var(--muted); font-size: .87rem; line-height: 1.45; }
.card { background: #fff; border: 1.5px solid #e7dfce; border-radius: var(--radius); padding: 1rem 1.2rem; }

/* ---------- Hero: one message ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-chat { margin: 0; display: grid; gap: .7rem; }
.reply-head { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.reply-head img { width: 1.75rem; height: 1.75rem; }
.phone .offer { animation: arrive .6s cubic-bezier(.2,.7,.2,1) both; }
.phone .offer:nth-child(1) { animation-delay: .3s; }
.phone .offer:nth-child(2) { animation-delay: .6s; margin-left: 1.25rem; }
.phone .offer:nth-child(3) { animation-delay: .95s; }
.hero-chat figcaption { margin-top: .2rem; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero phone: a plain phone outline in our style (not any real app's interface) ---------- */
.phone { margin: 0 auto; width: 100%; max-width: 23rem; display: grid; gap: .6rem; }
.screen {
  border: 3px solid var(--charcoal); border-radius: 38px; background: #fff;
  padding: 1rem .85rem 1.25rem; display: grid; gap: .6rem;
  box-shadow: 0 30px 50px -34px rgba(43,42,40,.6);
  position: relative;
}
.screen::before { content: ""; justify-self: center; width: 4.5rem; height: .35rem; border-radius: 99px; background: var(--charcoal); opacity: .85; }
.chat-top { margin: 0; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; border-bottom: 1px solid #efe8da; padding-bottom: .5rem; }
.screen .bubble { font-size: .9rem; background: #F3EDE1; border-color: #F3EDE1; max-width: 92%; }
.tool { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .78rem; font-weight: 600; color: var(--sage-deep); }
.tool img { width: 1.35rem; height: 1.35rem; }
.screen .offer { padding: .45rem .6rem; box-shadow: none; border: 1px solid #efe8da; border-left-width: 4px; border-left-color: var(--sage-deep); }
.screen .offer.pick { border-left-color: var(--butter); }
.screen .offer img { width: 2.6rem; height: 2.6rem; }
.screen .offer p { font-size: .85rem; }
.screen .offer small { font-size: .78rem; }
.phone figcaption { text-align: center; }

/* ---------- Where you use it ---------- */
.once { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.once li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; min-width: 0; }
.once p { margin: 0; color: var(--muted); }
.aside { margin: 1.75rem 0 0; padding: .9rem 1.1rem; border-left: 4px solid var(--butter); background: #fff; border-radius: 0 12px 12px 0; max-width: 40rem; }
@media (max-width: 860px) { .once { grid-template-columns: 1fr; } }

/* ---------- How it works: pick an evening, the conversation replays (CSS only) ---------- */
.demo { margin-top: 1.75rem; }
.sc-radio { position: absolute; opacity: 0; pointer-events: none; }
.sc-tabs { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.sc-tabs label {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .35rem 1rem .35rem .45rem; border-radius: 999px;
  border: 2px solid #e7dfce; background: #fff; font-weight: 700; font-size: .95rem;
}
.sc-tabs label img { width: 2.1rem; height: 2.1rem; }
.sc-tabs label:hover { border-color: var(--sage); }
#sc-dinner:checked ~ .sc-tabs label[for="sc-dinner"],
#sc-saturday:checked ~ .sc-tabs label[for="sc-saturday"],
#sc-lunch:checked ~ .sc-tabs label[for="sc-lunch"] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--paper); }
#sc-dinner:focus-visible ~ .sc-tabs label[for="sc-dinner"],
#sc-saturday:focus-visible ~ .sc-tabs label[for="sc-saturday"],
#sc-lunch:focus-visible ~ .sc-tabs label[for="sc-lunch"] { outline: 3px solid var(--sage-deep); outline-offset: 3px; }

.demo-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 2rem; align-items: start; }
.demo-body > * { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; position: sticky; top: 1.5rem; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.n {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--butter); color: var(--charcoal); font-weight: 700; font-size: .95rem;
}

.threads { background: #F3EDE1; border-radius: 22px; padding: 1.25rem; }
.thread { display: none; gap: 1rem; }
#sc-dinner:checked ~ .demo-body .th-dinner,
#sc-saturday:checked ~ .demo-body .th-saturday,
#sc-lunch:checked ~ .demo-body .th-lunch { display: grid; }
.row { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; align-items: start; animation: arrive .5s cubic-bezier(.2,.7,.2,1) both; }
.row:nth-child(2) { animation-delay: .5s; }
.row:nth-child(3) { animation-delay: 1.1s; }
.row:nth-child(4) { animation-delay: 1.8s; }
.row > .n { margin-top: .35rem; }
.row .offer { animation: arrive .5s cubic-bezier(.2,.7,.2,1) both; }
.row .offer:nth-child(1) { animation-delay: 1.25s; }
.row .offer:nth-child(2) { animation-delay: 1.45s; }
.row .offer:nth-child(3) { animation-delay: 1.65s; }
.stack { display: grid; gap: .6rem; }
.confirm p { margin: 0; }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .7rem 0 .8rem; font-size: .95rem; }
.confirm dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.confirm dd { margin: 0; }
.confirm dd small { display: block; color: var(--muted); font-size: .84rem; }
.acts { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { display: inline-block; border-radius: 999px; padding: .3rem .9rem; font-weight: 700; font-size: .88rem; border: 1.5px solid var(--sage-deep); color: var(--sage-deep); background: #fff; }
.pill.go { background: var(--sage-deep); color: var(--paper); }
.booked { border-color: var(--sage-deep); background: #F4F7F1; }
.booked p { margin: 0 0 .3rem; }
.refline .ref { font-size: 1.1rem; letter-spacing: .04em; background: var(--butter); border-radius: 6px; padding: 0 .4rem; }
.booked .note { margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.faq > div { border-top: 2px solid var(--charcoal); padding-top: .8rem; min-width: 0; }
.faq h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: 1.3rem; }
.faq p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid, .demo-body { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .steps { position: static; }
}
@media (max-width: 520px) {
  .threads { padding: .8rem; }
  .row { grid-template-columns: 1fr; }
  .row > .n { display: none; }
  .phone .offer:nth-child(2) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phone .offer, .row, .row .offer { animation: none; }
}

/* Hero headline is a full question; keep it to three or four lines on a laptop. */
.hero-grid h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }


/* ---------- Night: who's on the other end ---------- */
.night { background: var(--charcoal); color: var(--paper); padding: 4.5rem 0; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 50%; background: var(--sage-deep); opacity: .35; right: -12rem; top: -14rem; }
.night-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; position: relative; }
.night-grid > * { min-width: 0; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--butter); margin-bottom: .8rem; }
.night h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--paper); }
.night-copy p { color: #DDD5C6; font-size: 1.1rem; max-width: 34rem; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.facts li { padding-left: 1.6rem; position: relative; color: #DDD5C6; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--butter); }
.facts strong { color: var(--paper); }
.letters { display: grid; gap: 1rem; }
.letter-note {
  background: var(--paper); color: var(--charcoal); border-radius: 6px 18px 18px 18px;
  padding: 1.1rem 1.25rem 1rem 5.4rem; position: relative;
  box-shadow: 0 22px 40px -24px rgba(0,0,0,.7);
}
.letter-note:nth-child(1) { transform: rotate(-1.2deg); }
.letter-note:nth-child(2) { transform: rotate(.9deg); margin-left: 1.5rem; }
.letter-note:nth-child(3) { transform: rotate(-.6deg); margin-right: 1rem; }
.letter-note img { position: absolute; left: .6rem; top: .8rem; width: 4.2rem; height: 4.2rem; }
.letter-note .tag { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-deep); }
.letter-note .msg { font-family: "Gloock", Georgia, serif; font-size: 1.08rem; line-height: 1.45; margin: 0 0 .5rem; }
.letter-note .sig { margin: 0; font-size: .88rem; color: var(--muted); }
.letter-note .sig::before { content: "— "; }
.letters .note { color: #BDB4A4; margin: .25rem 0 0; }

/* Bigger step numbers in "No new app": a real sequence, so the numbers earn their size. */
.once .n { width: auto; height: auto; background: none; font-family: "Gloock", Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--sage-deep); font-weight: 400; }
.once li { grid-template-columns: 2.4rem 1fr; }

@media (max-width: 860px) {
  .night-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .letter-note { padding-left: 1.1rem; padding-top: 4.4rem; }
  .letter-note:nth-child(2) { margin-left: 0; }
  .letter-note:nth-child(3) { margin-right: 0; }
}


/* ---------- Venue login (preview) ---------- */
.login-main { display: grid; place-items: center; padding: 2.5rem 1.5rem 4rem; }
.login-card { width: 100%; max-width: 27rem; background: #fff; border: 1.5px solid #e7dfce; border-radius: 24px; padding: 2rem 1.75rem 1.5rem; position: relative; box-shadow: 0 24px 50px -36px rgba(43,42,40,.55); }
.login-mark { position: absolute; width: 5.5rem; height: 5.5rem; top: -2.6rem; right: 1.25rem; transform: rotate(6deg); }
.login-card h1 { font-size: 2.4rem; }
.muted-text { color: var(--muted); }
.login-card label { display: block; font-weight: 700; font-size: .92rem; margin: 1.25rem 0 .35rem; }
.login-card input { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #d9cfbd; border-radius: 12px; background: var(--paper); color: var(--charcoal); }
.login-card input:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 2px; }
.btn.block { display: block; text-align: center; margin-top: 1rem; }
.center { text-align: center; margin: .6rem 0 0; }
.login-help { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid #efe8da; }
.login-help + .login-help { border-top: 0; padding-top: 0; margin-top: .5rem; }

/* ---------- Venue portal (preview) ---------- */
.portal-top { padding: 1rem 0; border-bottom: 1px solid #e7dfce; background: #fff; }
.portal-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.portal-who { display: flex; gap: 1rem; align-items: center; font-size: .95rem; }
.venue-name { font-weight: 700; }
.portal { padding-top: 2rem; padding-bottom: 3.5rem; }
.portal-hello { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; }
.portal-hello h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3rem; }
.portal-hello .lede { margin: 0; }
.portal-hello img { width: 6rem; height: 6rem; flex: none; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.portal-grid > * { min-width: 0; }
.panel { background: #fff; border: 1.5px solid #e7dfce; border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.panel h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.panel-note { font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.requests { border-color: var(--sage-deep); }
.portal-grid .col { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.req-list, .book-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .7rem; }
.req-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--paper); border-radius: 14px; padding: .85rem 1rem; border-left: 5px solid var(--sage-deep); }
.req-list li > div { min-width: 0; flex: 1 1 14rem; }
.req-main { margin: 0; font-weight: 700; }
.req-sub { margin: .1rem 0 0; font-size: .9rem; color: var(--muted); }
.btn.small { padding: .45rem 1rem; font-size: .88rem; }
.book-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; }
.book-list .ref, .statement .ref { background: var(--butter); border-radius: 6px; padding: .1rem .45rem; font-size: .9rem; letter-spacing: .03em; }
.table-wrap { overflow-x: auto; }
.statement table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: .5rem; }
.statement th, .statement td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid #efe8da; vertical-align: top; }
.statement thead th { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.statement .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.statement td small { display: block; font-size: .72rem; color: var(--muted); }
.statement tfoot th, .statement tfoot td { border-bottom: 0; font-weight: 700; }
.prefs { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: .5rem 0 0; font-size: .95rem; }
.prefs dt { color: var(--muted); }
.prefs dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-hello img { width: 4.5rem; height: 4.5rem; }
}

/* ---------- Hero: "your phone lights up" ----------
   Timeline (once, about 4s): message sent .2s · "finding places" .7–2s · bao walks in 1.9s, offer 2.4s ·
   lantern 2.5s, offer 3s · teacup 3.1s, offer 3.6s. Everything rests visible at the end. */
.hero-stage-wrap { overflow-x: clip; padding-bottom: 2rem; }
.hero-head { text-align: center; }
.hero-head h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero-head .lede { margin: 0 auto; }
.hero-head .cta { justify-content: center; }
.stage { position: relative; max-width: 56rem; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.glow { position: absolute; left: 50%; top: 6%; width: min(36rem, 92vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--butter); opacity: .7; }
.phone.big { position: relative; z-index: 1; max-width: 24rem; }
.phone.big .screen { min-height: 33rem; align-content: start; }
.stage-note { text-align: center; margin-top: 1.25rem; }

.sent { animation: rise .45s ease-out .2s both; }
.status { display: grid; }
.status > * { grid-area: 1 / 1; }
.thinking { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .78rem; font-weight: 600; color: var(--muted); animation: blink-in-out 1.4s ease .65s both; }
.thinking img { width: 1.35rem; height: 1.35rem; }
.dots { display: inline-flex; gap: 3px; margin-left: 2px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: hop .9s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.status .tool { animation: rise .4s ease-out 2s both; }
.land { animation: drop .5s cubic-bezier(.2,.8,.25,1.15) both; }
.land.l1 { animation-delay: 2.4s; }
.land.l2 { animation-delay: 3s; }
.land.l3 { animation-delay: 3.6s; }

.walker { position: absolute; z-index: 2; width: 8rem; height: 8rem; }
.walker.w1 { left: calc(50% - 22rem); top: 26%; animation: from-left .8s cubic-bezier(.2,.7,.3,1) 1.75s both, bob 4.5s ease-in-out 2.6s infinite; }
.walker.w2 { right: calc(50% - 22rem); top: 44%; width: 9rem; height: 9rem; animation: from-right .8s cubic-bezier(.2,.7,.3,1) 2.35s both, bob 4.5s ease-in-out 3.2s infinite; }
.walker.w3 { left: calc(50% - 20.5rem); top: 66%; width: 7.5rem; height: 7.5rem; animation: from-left .8s cubic-bezier(.2,.7,.3,1) 2.95s both, bob 4.5s ease-in-out 3.8s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink-in-out { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes from-left { from { opacity: 0; transform: translateX(-45vw) rotate(-12deg); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes from-right { from { opacity: 0; transform: translateX(45vw) rotate(12deg); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 760px) {
  .walker { z-index: 0; width: 5rem; height: 5rem; }
  .walker.w1 { left: -.25rem; top: 12%; }
  .walker.w2 { right: -.25rem; top: 40%; width: 5.5rem; height: 5.5rem; }
  .walker.w3 { left: -.25rem; top: 70%; width: 4.8rem; height: 4.8rem; }
  .phone.big { max-width: 20rem; }
  .phone.big .screen { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sent, .status .tool, .land, .walker, .dots i { animation: none; }
  .thinking { display: none; }
}

/* ---------- 404 ---------- */
.lost { max-width: 36rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; text-align: center; }
.lost-ugh { width: 11rem; height: 11rem; margin: 0 auto 1rem; display: block; animation: bob 4.5s ease-in-out infinite; }
.lost .lede { margin: 0 auto 1.5rem; }
@media (prefers-reduced-motion: reduce) { .lost-ugh { animation: none; } }

/* Wide screens: words left, the scene right, so the whole animation plays in the first view. */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; }
.hero-split > * { min-width: 0; }
.hero-split .hero-head { text-align: left; }
.hero-split .hero-head h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-left: 0; }
.hero-split .hero-head .lede { margin: 0; }
.hero-split .hero-head .cta { justify-content: flex-start; }
.hero-split .stage { margin: 0; padding: 0; max-width: none; }
.hero-split .glow { width: min(30rem, 88vw); top: 4%; }
.hero-split .phone.big { max-width: 21rem; }
.hero-split .phone.big .screen { min-height: 30rem; }
.hero-split .walker.w1 { left: calc(50% - 16.5rem); top: 14%; width: 7rem; height: 7rem; }
.hero-split .walker.w2 { right: calc(50% - 16.5rem); top: 42%; width: 7.5rem; height: 7.5rem; }
.hero-split .walker.w3 { left: calc(50% - 15.5rem); top: 68%; width: 6.5rem; height: 6.5rem; }
.hero.hero-stage-wrap { padding-top: 1.5rem; }
.stage-note { text-align: left; }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-head { text-align: center; }
  .hero-split .hero-head h1 { margin-left: auto; }
  .hero-split .hero-head .lede { margin: 0 auto; }
  .hero-split .hero-head .cta { justify-content: center; }
  .hero-split .stage { margin-top: 2rem; }
  .stage-note { text-align: center; }
}
@media (max-width: 760px) {
  .hero-split .walker { width: 5rem; height: 5rem; }
  .hero-split .walker.w1 { left: -.25rem; top: 12%; }
  .hero-split .walker.w2 { right: -.25rem; top: 40%; }
  .hero-split .walker.w3 { left: -.25rem; top: 70%; }
  .hero-split .phone.big { max-width: 20rem; }
  .hero-split .phone.big .screen { min-height: 0; }
}

.demo-chip { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--butter); border-radius: 999px; padding: .15rem .6rem; }
.portal-grid .col > * { min-width: 0; }
