/* Café demo · "golden hour café". Gloock (display), Hanken Grotesk (text), DM Mono (labels). */
@font-face { font-family: "Gloock"; src: url("gloock-regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hanken"; src: url("hankengroteskwght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "DMMono"; src: url("dmmono-regular.woff2") format("woff2"); font-display: swap; }

:root {
  --espresso: #1d130e;
  --roast: #2c1d15;
  --crema: #f3e7d4;
  --paper: #fbf5ec;
  --orange: #c95f22;
  --orange-soft: #e9a46a;
  --orange-deep: #a3461a; /* behind light text: 5:1 contrast */
  --sage: #6f7f5c;
  --ink: #211710;
  --muted: #6d5a4c;
  --line: rgba(33, 23, 16, 0.14);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Gloock", "Georgia", serif;
  --text: "Hanken", "Helvetica Neue", Arial, sans-serif;
  --mono: "DMMono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
}
/* paper grain over everything, very faint */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .06; mix-blend-mode: multiply;
  background-image: url("grain.svg");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--orange); }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--espresso); color: var(--paper); padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.preview-bar { margin: 0; background: var(--espresso); color: #d9c8b4; font: 12.5px/1.4 var(--mono); text-align: center; padding: .55rem 1rem; letter-spacing: .02em; }
.preview-bar strong { color: var(--orange-soft); font-weight: 400; }
.preview-bar a { color: var(--orange-soft); }

/* HEADER */
.top {
  display: flex; align-items: center; gap: 2rem; padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  position: sticky; top: 0; z-index: 40; background: rgba(251, 245, 236, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.scrolled .top { border-bottom-color: var(--line); }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .7rem; }
.brand-word { font: 30px/1 var(--display); letter-spacing: -.02em; }
.brand-sub { font: 11.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.status { margin: 0; display: flex; align-items: center; gap: .5rem; font: 13px var(--mono); color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(111,127,92,.5); animation: ping 2.4s infinite; }
.status.is-closed .dot { background: #b08e72; animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,127,92,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(111,127,92,0); } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .8rem 1.35rem; border-radius: 999px;
  font: 600 15.5px var(--text); text-decoration: none; cursor: pointer; border: 1.5px solid var(--espresso);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn-solid { background: var(--espresso); color: var(--paper); }
.btn-solid:hover { background: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(201,95,34,.7); }
.btn-solid span { transition: transform .25s var(--ease); }
.btn-solid:hover span { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--espresso); }
.btn-line:hover { background: var(--crema); transform: translateY(-2px); }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
  max-width: 1320px; margin: 0 auto; position: relative; overflow-x: clip;
}
.hero::before { /* warm light from the window */
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(233,164,106,.35), rgba(233,164,106,0)); filter: blur(10px);
}
.eyebrow { font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 1.4rem; }
.eyebrow i { font-style: normal; color: var(--orange); padding: 0 .35rem; }
.hero-h { font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: .96; letter-spacing: -.025em; }
.hero-h .line { display: block; }
.hero-h em { position: relative; white-space: nowrap; }
.hero-h em::after { /* a hand-drawn swash under the second line */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C70 4 150 4 297 10' fill='none' stroke='%23c95f22' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 40ch; color: var(--muted); margin: 1.6rem 0 2rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 520px; justify-self: center; width: 100%; }
.arch {
  margin: 0; position: absolute; inset: 0 0 6% 8%; border-radius: 999px 999px 28px 28px; overflow: hidden;
  background: var(--crema); box-shadow: 0 40px 80px -40px rgba(29,19,14,.55);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(233,164,106,.18), transparent 40%, rgba(29,19,14,.25)); }
.steam { position: absolute; left: 50%; top: 22%; width: 26px; height: 120px; z-index: 1; opacity: 0; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); filter: blur(6px); }
.s1 { margin-left: -40px; } .s2 { margin-left: -6px; } .s3 { margin-left: 26px; }
.badge { position: absolute; width: 38%; top: 2%; left: -4%; z-index: 3; filter: drop-shadow(0 14px 22px rgba(29,19,14,.3)); }
.badge-bg { fill: var(--orange-deep); }
.badge-text { font: 13.5px var(--mono); letter-spacing: .14em; fill: var(--paper); }
.badge-big { font: 44px var(--display); fill: var(--paper); }
.badge-small { font: 12px var(--mono); fill: #fde9d6; letter-spacing: .08em; }
.polaroid {
  position: absolute; width: 44%; bottom: -2%; left: -2%; margin: 0; z-index: 3; background: #fff; padding: .55rem .55rem .2rem;
  box-shadow: 0 24px 40px -20px rgba(29,19,14,.5); transform: rotate(-6deg);
}
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid figcaption { font: 12px var(--mono); color: var(--muted); text-align: center; padding: .45rem 0 .35rem; }

/* MARQUEE */
.marquee { background: var(--espresso); color: var(--crema); overflow: hidden; padding: 1.15rem 0; border-block: 1px solid #000; }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li { font: clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--display); padding: 0 1.4rem; white-space: nowrap; display: flex; align-items: center; gap: 2.8rem; }
.marquee li::after { content: "✦"; font-size: .55em; color: var(--orange-soft); }

/* SECTIONS */
section { position: relative; }
.kicker { font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--orange); margin: 0 0 1rem; }
.kicker.light { color: var(--orange-soft); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 18ch; }
.fill { font: 13px/1.5 var(--mono); color: #8a5a2b; background: #fbe6c9; border-radius: 6px; padding: .35rem .6rem; display: inline-block; }
.small { font-size: 14px; color: var(--muted); }
.small.light { color: #b9a28d; }

.loved { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.loved h2 { max-width: 22ch; }
.quote-slot { margin-top: 2rem; border: 1.5px dashed rgba(201,95,34,.4); border-radius: 18px; padding: 1.5rem; }

.menu { background: var(--roast); color: var(--crema); padding: clamp(4.5rem, 9vw, 8rem) 0 3rem; overflow: hidden; }
.menu-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.menu h2 em { color: var(--orange-soft); }
.menu-note { color: #c9b29b; margin: 1.2rem 0 2rem; }
.menu-photo { margin: 0; border-radius: 22px; overflow: hidden; position: relative; max-width: 380px; transform: rotate(2deg); }
.menu-photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.menu-photo:hover img { transform: scale(1.05); }
.menu-photo figcaption { position: absolute; left: .8rem; bottom: .8rem; font: 11px var(--mono); background: rgba(29,19,14,.6); padding: .3rem .6rem; border-radius: 99px; }
.menu-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(1.6rem, 3.5vw, 3rem); box-shadow: 0 50px 90px -50px #000; }
.menu-card h3 { font-size: 1.7rem; margin: 1.8rem 0 .8rem; }
.menu-card h3:first-child { margin-top: 0; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 13rem 1fr; gap: .15rem 1rem; align-items: baseline; padding: .65rem 0; font-size: 16.5px; border-bottom: 1.5px dotted rgba(33,23,16,.28); }
.items li:last-child { border-bottom: 0; }
.items b { font-weight: 600; }
.items span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.perks { list-style: none; padding: 0; margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.perks li { border: 1px solid rgba(243,231,212,.28); border-radius: 999px; padding: .5rem 1rem; font-size: 14.5px; color: #e6d6c2; }

.xmas { padding: clamp(4.5rem, 9vw, 8rem) 0; background: linear-gradient(180deg, var(--paper), var(--crema)); }
.xmas-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.xmas-photo { margin: 0; border-radius: 26px; overflow: hidden; position: relative; }
.xmas-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.xmas-photo figcaption { position: absolute; left: .9rem; bottom: .9rem; font: 11px var(--mono); color: var(--paper); background: rgba(29,19,14,.55); padding: .3rem .6rem; border-radius: 99px; }
.voucher {
  margin: 2rem 0 1.8rem; width: min(360px, 100%); aspect-ratio: 1.7; border-radius: 16px; padding: 1.3rem 1.4rem;
  background: radial-gradient(circle at 85% 20%, rgba(233,164,106,.45), transparent 45%), var(--espresso); color: var(--crema);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; box-shadow: 0 30px 50px -28px rgba(29,19,14,.8);
  transform: rotate(-3deg); transition: transform .5s var(--ease);
}
.voucher:hover { transform: rotate(0) translateY(-4px); }
.v-word { font: 30px var(--display); }
.v-line { grid-column: 1 / -1; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #d8bfa5; align-self: end; }
.v-amt { font: 30px var(--display); color: var(--orange-soft); text-align: right; }
.xmas-list { list-style: none; margin: 0; padding: 0; }
.xmas-list li { padding: .9rem 0; border-top: 1px solid var(--line); }

.about { padding: clamp(4rem, 8vw, 7rem) 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.about .big { font: clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--display); margin: 0 0 1.2rem; color: var(--muted); }
.about-note { margin: 0; max-width: 52ch; }

.visit { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--crema); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
address { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin: 1.6rem 0 .6rem; }
.visit .ctas { margin-top: 1.6rem; }
.hours-card { background: var(--paper); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -45px rgba(29,19,14,.6); }
.hours-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.hours { list-style: none; margin: 0 0 1rem; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: .6rem .7rem; border-radius: 10px; font-variant-numeric: tabular-nums; }
.hours li span:last-child { font: 14.5px var(--mono); }
.hours li.is-today { background: var(--espresso); color: var(--paper); }
.map { grid-column: 1 / -1; position: relative; border-radius: 22px; overflow: hidden; background: #e8dcc8; height: 240px; }
.map svg { width: 100%; height: 100%; }
.road { fill: none; stroke: #fbf5ec; stroke-width: 18; stroke-linecap: round; }
.road.thin { stroke-width: 9; }
.pin { fill: var(--orange); }
.pin-pulse { fill: var(--orange); opacity: .25; transform-origin: 330px 168px; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.4); opacity: 0; } }
.map-label { font: 15px var(--mono); fill: var(--espresso); }
.map-note { position: absolute; right: 1rem; bottom: .9rem; font: 11.5px var(--mono); color: var(--muted); background: rgba(251,245,236,.85); padding: .3rem .6rem; border-radius: 99px; }

.contact { background: var(--espresso); color: var(--crema); padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact a { color: var(--orange-soft); }
.form { display: grid; gap: .45rem; }
.form label { font: 13px var(--mono); letter-spacing: .06em; color: #cdb7a0; margin-top: .6rem; }
.form input, .form textarea {
  font: inherit; color: var(--crema); background: rgba(243,231,212,.06); border: 1px solid rgba(243,231,212,.25);
  border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange-soft); background: rgba(243,231,212,.1); }
.form .btn { margin-top: 1rem; justify-self: start; background: var(--orange-deep); border-color: var(--orange-deep); }
.form .btn:hover { background: var(--crema); color: var(--espresso); border-color: var(--crema); }
.form-done { background: rgba(233,164,106,.16); padding: .8rem 1rem; border-radius: 10px; }

.foot { background: #120b08; color: #bba490; padding: 3.5rem 0 6rem; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: end; }
.foot-word { font: 56px/1 var(--display); color: var(--crema); margin: 0; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.credits { font-size: 12.5px; color: #8f7a68; margin-top: 2.5rem; line-height: 1.6; }
.credits p { margin: 0 0 .6rem; }
.credits ul { list-style: none; margin: 0 0 .6rem; padding: 0; }
.credits a { color: #bba490; }

.dock { display: none; }

/* MOTION, only when it's welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .e1, .js .hero-h .line, .js .e2, .js .e3 { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .js .e1 { animation-delay: .05s; }
  .js .l1 { animation-delay: .15s; } .js .l2 { animation-delay: .27s; } .js .l3 { animation-delay: .39s; }
  .js .e2 { animation-delay: .55s; } .js .e3 { animation-delay: .68s; }
  .js .hero-h em::after { transform: scaleX(0); transform-origin: left; animation: draw .7s .95s var(--ease) forwards; }
  .js .arch { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); animation: reveal 1.1s .25s var(--ease) forwards; }
  .js .arch img { transform: scale(1.12); animation: settle 2.4s .25s var(--ease) forwards, drift 18s 2.6s ease-in-out infinite alternate; }
  .js .badge { opacity: 0; animation: pop .8s 1s var(--ease) forwards; }
  .js .badge-text { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
  .js .polaroid { opacity: 0; transform: translate(-30px, 40px) rotate(-14deg); animation: land 1s 1.15s var(--ease) forwards; }
  .steam { animation: steam 4.5s ease-in-out infinite; }
  .s2 { animation-delay: 1.4s; } .s3 { animation-delay: 2.7s; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes reveal { to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes settle { to { transform: scale(1.02); } }
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes land { to { opacity: 1; transform: rotate(-6deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(30px) scaleX(.6); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70px) scaleX(1.5); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } .pin-pulse { animation: none; } }

/* PHONE + TABLET */
@media (max-width: 960px) {
  .nav { display: none; }
  .status { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-art { max-width: 420px; }
  .menu-grid, .xmas-grid, .about-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .menu-photo { max-width: 300px; }
  .foot-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .top { padding: .9rem 1.1rem; }
  .brand-sub { display: none; }
  .status { display: none; }
  .hero-h { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .items li { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: .7rem; right: .7rem; bottom: .7rem; z-index: 50;
    background: rgba(29,19,14,.92); backdrop-filter: blur(10px); border-radius: 999px; padding: .4rem;
  }
  .dock a { text-align: center; color: var(--crema); text-decoration: none; padding: .8rem; border-radius: 999px; font-weight: 600; font-size: 15px; }
  .dock a:first-child { background: var(--orange-deep); }
}

/* never wider than the phone: clip sideways overflow at the page (Agency review, 7 Oct) */
html, body { overflow-x: clip; }
.dock { transition: opacity .25s ease, transform .25s ease; }
.dock.dock-wait { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Sitecomb 90+ gate (12 Oct 2026): every footer and credit link is big enough to tap on a phone (24 px),
   the small print stays readable (13 px or more), and the demo bar is a landmark. */
.preview-bar { display: block; }
.foot a, .credits a, .preview-bar a { display: inline-block; min-height: 24px; line-height: 24px; padding: 0 1px; }
.credits, .credits p, .credits li { font-size: max(13px, 1em); }
/* Sitecomb 90+ gate: no text under 12 px on a phone */
figcaption, .map-note { font-size: 12.5px; }

/* Rule 56 (his words, 13 Oct: "the brand of the clients needs to be valued, emphasizing on the logos or brand"): the café's name
   leads the hero, big; the welcome line sits under it. */
.hero-brand { margin: 0 0 1.5rem; }
.hb-word { display: block; font: clamp(4.2rem, 9vw, 7.6rem)/.88 var(--display); letter-spacing: -.035em; color: var(--ink); }
.hb-sub { display: block; margin-top: .9rem; font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.hb-sub i { font-style: normal; color: var(--orange); padding: 0 .3rem; }
.hero-h { font-size: clamp(2.3rem, 4.2vw, 3.7rem); }
@media (max-width: 560px) {
  .hb-word { font-size: clamp(2.9rem, 14.6vw, 4.1rem); }
  .top .brand-word { font-size: 21px; color: var(--muted); }
  .hero-h { font-size: clamp(2.1rem, 9.6vw, 2.6rem); }
}

/* The coffee cup: a real photo that tilts in depth with a moving glare (site.js) */
.stage3d { position: relative; background: var(--roast); height: clamp(340px, 38vw, 480px); overflow: hidden; display: none; }
.js .stage3d { display: block; }
.stage-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 50% 70%, rgba(233,164,106,.42), rgba(233,164,106,0) 70%), radial-gradient(ellipse 90% 60% at 50% 110%, rgba(0,0,0,.45), transparent 70%); }
.stage-view { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; }
.cup-card { position: absolute; left: 50%; top: 50%; width: min(86%, 440px); aspect-ratio: 1 / 1; margin: 0; translate: -50% -50%; border-radius: 22px; overflow: hidden; background: #2b1a10;
  box-shadow: 0 30px 50px -18px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); transform: perspective(900px) rotateY(calc(var(--x, 0) * 13deg)) rotateX(calc(var(--y, 0) * -9deg)); will-change: transform; }
.cup-card img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translate(calc(var(--x, 0) * -1.2%), calc(var(--y, 0) * -1%)); }
.cup-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.34) 48%, rgba(255,255,255,0) 62%); background-size: 260% 100%; background-position: calc(50% + var(--x, 0) * 40%) 0; mix-blend-mode: soft-light; }
.steam3 { position: absolute; left: 50%; top: 4%; width: 60px; height: 90px; margin-left: -30px; pointer-events: none; }
.steam3 i { position: absolute; left: 22px; bottom: 0; width: 16px; height: 70px; border-radius: 50%; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.45), rgba(255,255,255,0) 70%); filter: blur(5px); }
.steam3 i:nth-child(1) { margin-left: -18px; } .steam3 i:nth-child(3) { margin-left: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .steam3 i { animation: steam3 5s ease-in-out infinite; }
  .steam3 i:nth-child(2) { animation-delay: 1.6s; } .steam3 i:nth-child(3) { animation-delay: 3.1s; }
  .stage3d:not(.is-live) .steam3 i { animation-play-state: paused; }
}
@keyframes steam3 { 0% { opacity: 0; transform: translateY(30px) scaleX(.6); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateY(-60px) scaleX(1.6); } }
@media (max-width: 560px) { .stage3d { height: 360px; } }

.cup-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,4,0) 55%, rgba(20,10,4,.78)); pointer-events: none; }
.cup-name { position: absolute; left: 6%; bottom: 5%; z-index: 2; margin: 0; font: 400 clamp(2rem, 9vw, 3.1rem)/1 "Gloock", Georgia, serif; color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.cup-name small { display: block; margin-top: .45em; font: 500 .72rem/1 "DM Mono", ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* T-025 (walkthrough gap 6): every demo leads back to the offer. Fixed at the bottom; the phone dock sits just above it. */
.sahbis-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .35rem .5rem; margin: 0; padding: .4rem .6rem calc(.4rem + env(safe-area-inset-bottom)); white-space: nowrap; background: #111214; color: #e9e9ee; font: 600 12.5px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; border-top: 1px solid rgba(255,255,255,.18); }
.sahbis-bar i { font-style: normal; opacity: .6; }
.sahbis-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; display: inline-flex; align-items: center; }
.sahbis-bar a.sahbis-bar-btn { background: #e0262c; color: #fff; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; min-height: 30px; }
body { padding-bottom: 50px; }
@media (max-width: 899px) { .dock { bottom: calc(54px + env(safe-area-inset-bottom)) !important; } }
/* in-page jumps leave room for the sticky header (link check: the menu links hid their section heading) */
[id] { scroll-margin-top: 80px; }
