/* ==========================================================================
   Smiling Thai — preview site
   Cinematic wok fire: char black, flame orange, chilli red, warm off-white.
   Bebas Neue for display, Familjen Grotesk for reading, Caveat Brush for asides.
   ========================================================================== */

:root {
  --ink: #0b0907;
  --char: #14100d;
  --char-2: #1d1712;
  --cream: #f6efe4;
  --muted: rgba(246, 239, 228, .68);
  --line: rgba(246, 239, 228, .13);
  --fire: #ff6a1a;
  --flame: #ffb347;
  --chilli: #e2361c;
  --basil: #6fbf73;

  --f-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow Bold", sans-serif;
  --f-body: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;

  --pad: clamp(18px, 5vw, 64px);
  --max: 1220px;
  --r: 16px;
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; overflow-x: clip; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: 76px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h2, .hero__lede { text-wrap: balance; }
p { text-wrap: pretty; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(52px, 9vw, 112px); line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.h2 em { font-style: normal; color: var(--fire); }
.fine { font-size: 14px; color: var(--muted); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: .01em;
  transition: transform .3s var(--out), background-color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn--fire { background: linear-gradient(135deg, var(--flame), var(--fire) 55%, var(--chilli)); color: #1a0d05; box-shadow: 0 10px 30px -10px rgba(255, 106, 26, .7); }
.btn--fire:hover { box-shadow: 0 14px 40px -8px rgba(255, 106, 26, .9); }
.btn--line { border: 1px solid rgba(246, 239, 228, .42); color: var(--cream); background: rgba(11, 9, 7, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--line:hover { border-color: var(--flame); color: var(--flame); }

/* --- nav --- */
.nav { position: absolute; z-index: 10; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--pad); padding-right: 76px; }
.nav__logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 28px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.nav__logo svg, .foot__mark svg { width: 26px; height: 13px; fill: none; stroke: var(--fire); stroke-width: 2.6; stroke-linecap: round; margin-top: 6px; }
.nav__links { display: none; gap: 30px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav__links a { text-decoration: none; color: rgba(246, 239, 228, .85); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--out); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (min-width: 861px) { .nav__links { display: flex; } .nav { padding-right: calc(var(--pad) + 62px); } }

/* --- hero --- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 140px;
}
.hero__media {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
  transform: scale(calc(1 - var(--p, 0) * .08)) translateY(calc(var(--p, 0) * 6%));
  border-radius: calc(var(--p, 0) * 40px); will-change: transform;
}
.hero__media picture, .hero__media img, .hero__video {
  position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; object-position: 70% 50%;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 1.2s var(--out);
}
.hero__media picture img { inset: 0; width: 100%; height: 100%; transform: none; transition: none; }
.hero__video { opacity: 0; transition: opacity 1.4s ease, transform 1.2s var(--out); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .55) 34%, rgba(11, 9, 7, 0) 60%),
    linear-gradient(0deg, rgba(11, 9, 7, .9) 0%, rgba(11, 9, 7, 0) 30%),
    linear-gradient(180deg, rgba(11, 9, 7, .6) 0%, rgba(11, 9, 7, 0) 20%);
}
/* heat that follows the pointer */
.hero__heat {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(380px circle at var(--gx, 70%) var(--gy, 60%), rgba(255, 120, 30, .35), transparent 65%);
  opacity: 0; transition: opacity .6s;
}
.hero:hover .hero__heat { opacity: 1; }
@media (hover: none) { .hero__heat { display: none; } }

.hero__body { max-width: 760px; transform: translateY(calc(var(--p, 0) * -60px)); opacity: calc(1 - var(--p, 0) * 1.4); }
.hero__status {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(11, 9, 7, .5); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__status:empty { display: none; }
.hero__status::before, .hours__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.is-open::before { background: var(--basil) !important; box-shadow: 0 0 0 4px rgba(111, 191, 115, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(111, 191, 115, 0); } }
.hero__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(92px, 16vw, 220px); line-height: .82; letter-spacing: .005em;
  display: flex; flex-direction: column;
  text-shadow: 0 0 60px rgba(255, 106, 26, .25);
}
.hero__title .w { display: block; white-space: nowrap; }
.hero__title .ch { display: inline-block; transition: transform .5s var(--out), color .3s, text-shadow .3s; }
.hero__title .ch:hover { transform: translateY(-.06em) scale(1.04); color: var(--flame); text-shadow: 0 0 30px rgba(255, 140, 40, .8); }
.hero__lede { margin-top: 18px; font-size: clamp(18px, 2.3vw, 24px); font-weight: 500; }
.hero__lede em { font-style: normal; color: var(--flame); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero__dishes { display: flex; gap: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__dishes li { padding: 0 16px; border-left: 1px solid var(--line); }
.hero__dishes li:first-child { padding-left: 0; border-left: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 9, 7, .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; text-decoration: none;
}
.badge .star { color: var(--flame); }
.badge__muted { color: var(--muted); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(246, 239, 228, .45); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--flame); animation: cue 2s var(--out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 760px) {
  .hero { justify-content: flex-start; padding-top: 104px; padding-bottom: 150px; }
  .hero__media picture, .hero__media img, .hero__video { object-position: 50% 70%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .7) 34%, rgba(11, 9, 7, 0) 58%),
      linear-gradient(0deg, rgba(11, 9, 7, .85) 0%, rgba(11, 9, 7, 0) 26%);
  }
  .hero__title { font-size: clamp(88px, 27vw, 150px); }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 18px; }
  .hero__foot { bottom: 24px; justify-content: center; }
  .hero__dishes { display: none; }
  .scroll-cue { display: none; }
}

/* --- opening: spark, ignition, name --- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--ink); overflow: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s, transform .9s var(--out);
}
.intro__spark {
  position: absolute; left: 50%; top: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: #fff3d6; box-shadow: 0 0 12px 4px var(--flame), 0 0 40px 10px rgba(255, 106, 26, .6);
  animation: drop .55s cubic-bezier(.55, 0, 1, .45) forwards;
}
@keyframes drop { to { top: calc(50% - 3px); opacity: 0; transform: scale(2.4); } }
.intro__mark { font-family: var(--f-display); font-size: clamp(64px, 16vw, 150px); line-height: .9; letter-spacing: .02em; white-space: nowrap; }
.intro__mark span {
  display: inline-block; color: transparent; opacity: 0;
  animation: ignite .9s var(--out) forwards; animation-delay: calc(.5s + var(--i, 0) * 45ms);
}
@keyframes ignite {
  0% { opacity: 0; transform: translateY(.3em) scaleY(.6); color: #ff3b0a; text-shadow: 0 0 40px #ff6a1a; filter: blur(6px); }
  45% { opacity: 1; color: var(--flame); text-shadow: 0 0 30px rgba(255, 140, 40, .9); filter: blur(0); }
  100% { opacity: 1; transform: none; color: var(--cream); text-shadow: 0 0 24px rgba(255, 106, 26, .35); }
}
.intro__sub { font-family: var(--f-hand); font-size: 22px; color: var(--flame); opacity: 0; animation: fade .6s ease 1.1s forwards; }
@keyframes fade { to { opacity: 1; } }
.intro::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 150, 50, .55), transparent 70%); scale: 0; animation: bloom 1.4s var(--out) .5s forwards; pointer-events: none;
}
@keyframes bloom { to { scale: 120; opacity: .0; } }
.is-ready .intro { opacity: 0; visibility: hidden; transform: scale(1.06); }
html:not(.js) .intro { display: none; }

.js .hero__body > *, .js .nav, .js .hero__foot, .js .scroll-cue, .js .sound { opacity: 0; }
.js .hero__title .ch { opacity: 0; transform: translateY(.35em); }
.is-ready .hero__body > *, .is-ready .nav, .is-ready .hero__foot, .is-ready .scroll-cue, .is-ready .sound { animation: rise 1s var(--out) forwards; }
.is-ready .hero__body > :nth-child(1) { animation-delay: .9s; }
.is-ready .hero__body > :nth-child(2) { animation: none; opacity: 1; }
.is-ready .hero__body > :nth-child(3) { animation-delay: .75s; }
.is-ready .hero__body > :nth-child(4) { animation-delay: .9s; }
.is-ready .nav { animation-delay: 1s; }
.is-ready .hero__foot, .is-ready .scroll-cue, .is-ready .sound { animation-delay: 1.15s; }
.is-ready .hero__title .ch { animation: letter .9s var(--out) forwards; animation-delay: calc(.15s + var(--i, 0) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes letter { 0% { opacity: 0; transform: translateY(.35em); color: var(--flame); } 60% { opacity: 1; color: var(--flame); } 100% { opacity: 1; transform: none; color: var(--cream); } }
.hero__media { animation: settle 2.4s var(--out) .1s both; }
@keyframes settle { from { scale: 1.14; filter: brightness(.3); } to { scale: 1; filter: none; } }

/* --- reveal --- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--out), transform 1s var(--out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- embers: a fixed layer above the page that never catches a tap --- */
.embers { position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; mix-blend-mode: screen; }
.embers.is-on { opacity: 1; }

/* --- story: words heat up as you scroll --- */
.story { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 14vw, 180px) var(--pad); }
.story__text { font-family: var(--f-display); font-size: clamp(40px, 6.6vw, 92px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; max-width: 20ch; }
.story__text .hw { color: rgba(246, 239, 228, .14); transition: color .4s ease, text-shadow .4s ease; }
.story__text .hw.is-hot { color: var(--cream); }
.story__text .hw.is-burning { color: var(--flame); text-shadow: 0 0 24px rgba(255, 120, 30, .55); }
html:not(.js) .story__text .hw { color: var(--cream); }
.story__note { margin-top: 36px; font-family: var(--f-hand); font-size: clamp(22px, 2.6vw, 30px); color: var(--fire); transform: rotate(-2deg); transform-origin: left; }

/* --- ribbon --- */
.ribbon { overflow: hidden; padding: 18px 0; background: var(--fire); color: #1a0d05; transform: rotate(-2deg) scale(1.04); margin: 10px 0 40px; }
.ribbon__row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.ribbon__row span { font-family: var(--f-display); font-size: clamp(40px, 6vw, 78px); line-height: 1; padding-right: .3em; text-transform: uppercase; }
.ribbon__row i { font-style: normal; font-size: .6em; vertical-align: .25em; padding: 0 .3em; color: #fff3d6; }

/* --- menu --- */
.menu { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--pad); }
.section-head { margin-bottom: 40px; }
.menu__grid { display: grid; gap: 28px; align-items: center; }
.menu__list { counter-reset: d; border-top: 1px solid var(--line); }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 8px;
  padding: 18px 0; position: relative; transition: padding .5s var(--out);
}
.menu__no { grid-row: 1 / 3; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-top: 12px; }
.menu__name { font-family: var(--f-display); font-size: clamp(38px, 5vw, 62px); line-height: 1; text-transform: uppercase; color: rgba(246, 239, 228, .45); transition: color .4s; }
.menu__desc { font-size: 15px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--out), opacity .4s, margin .4s; }
.menu__list button:hover .menu__name { color: var(--cream); }
.menu__list button[aria-selected="true"] { padding-left: 14px; }
.menu__list button[aria-selected="true"] .menu__name { color: var(--cream); }
.menu__list button[aria-selected="true"] .menu__no { color: var(--fire); }
.menu__list button[aria-selected="true"] .menu__desc { max-height: 60px; opacity: 1; margin-top: 6px; }
.menu__list button::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: linear-gradient(var(--flame), var(--chilli)); transform: scaleY(0); transition: transform .5s var(--out); }
.menu__list button[aria-selected="true"]::before { transform: scaleY(1); }
.menu__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--char); }
.menu__plate { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.2s var(--out); }
.menu__plate.is-on { opacity: 1; transform: none; }
.menu__plate img { width: 100%; height: 100%; object-fit: cover; }
.menu__flare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 110%, rgba(255, 120, 30, .7), transparent 60%); opacity: 0; }
.menu__flare.is-firing { animation: flare .9s ease-out; }
@keyframes flare { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@media (min-width: 900px) { .menu__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
@media (max-width: 899px) { .menu__stage { order: -1; aspect-ratio: 1 / 1; } }

/* --- kitchen band --- */
.kitchen { position: relative; isolation: isolate; min-height: 80svh; display: flex; align-items: flex-end; padding: var(--pad); overflow: hidden; }
.kitchen__img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; transform: translateY(var(--ky, 0px)); }
.kitchen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 9, 7, .95) 0%, rgba(11, 9, 7, .2) 55%, rgba(11, 9, 7, .5) 100%); }
.kitchen__copy { max-width: var(--max); width: 100%; margin: 0 auto; padding-bottom: 20px; }
.kitchen__script { font-family: var(--f-hand); font-size: clamp(26px, 3.4vw, 40px); color: var(--flame); transform: rotate(-3deg); margin-bottom: 6px; }

/* --- dine in / takeaway --- */
.dine { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--pad); display: grid; gap: 40px; align-items: center; }
.dine__line { margin-top: 18px; font-size: 19px; color: var(--muted); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--char-2); border: 1px solid var(--line); }
.switch button { position: relative; z-index: 1; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.switch button[aria-checked="true"] { color: #1a0d05; }
.switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, var(--flame), var(--fire)); transition: transform .55s var(--out); box-shadow: 0 6px 20px -6px rgba(255, 106, 26, .8); }
.switch.is-out .switch__thumb { transform: translateX(100%); }
.dine__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--char); }
.dine__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--out); }
.dine__media img.is-on { clip-path: inset(0 0 0 0); }
@media (min-width: 900px) { .dine { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* --- hours --- */
.hours { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 140px) var(--pad); background: radial-gradient(60% 50% at 50% 0%, rgba(255, 106, 26, .14), transparent 70%), var(--char); }
.hours__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.flame { width: 40px; height: 56px; margin: 0 auto 16px; display: block; fill: var(--fire); filter: drop-shadow(0 0 14px rgba(255, 106, 26, .8)); opacity: .3; transform-origin: 50% 100%; }
.flame.is-lit { opacity: 1; animation: lick 1.6s ease-in-out infinite; }
@keyframes lick { 0%, 100% { transform: scale(1, 1) skewX(0); } 30% { transform: scale(.94, 1.06) skewX(-3deg); } 60% { transform: scale(1.04, .96) skewX(2deg); } }
.hours__status { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(246, 239, 228, .06); border: 1px solid var(--line); }
.hours__status:empty { display: none; }
.hours__table { width: 100%; margin: 18px 0 16px; border-collapse: collapse; font-size: 17px; }
.hours__table th, .hours__table td { padding: 14px 6px; border-bottom: 1px solid var(--line); }
.hours__table th { text-align: left; font-weight: 500; }
.hours__table td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: var(--flame); font-weight: 700; }

/* --- visit --- */
.visit { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--pad); display: grid; gap: 36px; align-items: center; }
.visit__info p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3.4; background: var(--char); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (min-width: 900px) { .visit { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
@media (max-width: 760px) { .visit__actions .btn { flex: 1 1 100%; } }

/* --- footer --- */
.foot { padding: 48px var(--pad) 36px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot__mark { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 40px; color: var(--cream); text-transform: uppercase; margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot__note { max-width: 520px; margin: 18px auto 0; font-size: 13px; color: rgba(246, 239, 228, .5); }

/* --- phone dock --- */
.dock {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(11, 9, 7, .85); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translateY(140%); transition: transform .5s var(--out);
}
.dock.is-shown { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; }
.dock a:first-child { background: linear-gradient(135deg, var(--flame), var(--fire)); color: #1a0d05; }
.dock a:last-child { background: rgba(246, 239, 228, .1); }
@media (min-width: 761px) { .dock { display: none; } body { padding-bottom: 0; } }

/* --- sound button + hint --- */
.sound { position: fixed; z-index: 40; top: 16px; right: 16px; }
@media (min-width: 761px) { .sound { top: 20px; right: var(--pad); } }
.sound__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 2.5px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(11, 9, 7, .6); border: 1px solid rgba(246, 239, 228, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--out);
}
.sound__btn:active { transform: scale(.92); }
.eq span { width: 2.5px; border-radius: 2px; background: currentColor; height: 6px; }
.eq span:nth-child(1) { height: 5px; } .eq span:nth-child(2) { height: 10px; } .eq span:nth-child(3) { height: 7px; } .eq span:nth-child(4) { height: 12px; }
.eq.is-on, .eq.is-hinting { color: var(--flame); border-color: var(--flame); }
.eq.is-on span, .eq.is-hinting span { animation: eq 1s ease-in-out infinite alternate; }
.eq.is-on span:nth-child(2), .eq.is-hinting span:nth-child(2) { animation-delay: -.4s; }
.eq.is-on span:nth-child(3), .eq.is-hinting span:nth-child(3) { animation-delay: -.8s; }
.eq.is-on span:nth-child(4), .eq.is-hinting span:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0% { height: 4px; } 50% { height: 15px; } 100% { height: 7px; } }
.sound-hint {
  position: absolute; top: calc(100% + 12px); right: -4px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: var(--flame); color: #1a0d05; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); transform-origin: calc(100% - 26px) 0;
  transition: opacity .35s, transform .5s var(--out), visibility 0s .5s;
}
.sound-hint.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .6s var(--out); animation: hint-bob 2.2s ease-in-out .8s 3; }
@keyframes hint-bob { 50% { transform: translateY(4px); } }
.sound-hint__play { padding: 9px 6px 9px 14px; font: 600 13.5px/1 var(--f-body); }
.sound-hint__play b { font-weight: 800; }
.sound-hint__x { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; }
.sound-hint__x:hover { background: rgba(0, 0, 0, .1); }
.sound-hint__x i { position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: currentColor; transform: rotate(45deg); }
.sound-hint__x i + i { transform: rotate(-45deg); }
.sound-hint__arrow { position: absolute; bottom: 100%; right: 22px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 8px solid var(--flame); }

@media (prefers-reduced-motion: reduce) {
  .intro, .embers { display: none; }
  .js .hero__body > *, .js .nav, .js .hero__foot, .js .scroll-cue, .js .sound, .js .hero__title .ch { opacity: 1; transform: none; animation: none !important; }
  .hero__media { animation: none; }
  .hero__video { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flame.is-lit { animation: none; }
}
