/* Gapyeong Korean BBQ: charcoal and flame, taken from the logo. */

@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Hangul"; src: url("../fonts/hangul.woff2") format("woff2"); font-display: swap; unicode-range: U+AC00, U+D3C9; }

:root {
    --coal: #0f0d0c;
    --coal-2: #171412;
    --coal-3: #211c19;
    --line: rgba(255, 236, 214, .11);
    --line-strong: rgba(255, 236, 214, .22);
    --text: #f6efe7;
    --muted: #b5a99d;
    --ember: #ff6a13;
    --flame: #e81008;
    --gold: #ffc23d;
    --fire: linear-gradient(100deg, #ffc23d 0%, #ff6a13 45%, #e81008 100%);
    --radius: 20px;
    --radius-sm: 12px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 9vw, 128px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --display: "Bricolage", "Jakarta", system-ui, sans-serif;
    --body: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--coal); color: var(--text); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: min(820px, 100%); }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--coal-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 18px; background: var(--gold); color: #000; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.fire-text { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Elements sliding in from the side must not widen the page. On body this would not apply. */
main { overflow-x: clip; }

/* Grid children may shrink below their content, or a rail would widen the whole page */
.split > *, .grid > *, .hero__grid > *, .contact-grid > *, .footer__grid > *, .form-row > * { min-width: 0; }

/* Section heading */
.head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; }
.head--row > div { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--fire); border-radius: 2px; }
.title { font-size: clamp(30px, 4.6vw, 54px); }
.head p, .lede { color: var(--muted); margin-top: 16px; font-size: 17px; }
.lede strong, .head p strong { color: var(--text); }

/* Buttons */
.btn { --bg: var(--fire); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; background: var(--bg); color: #fff; font-weight: 700; font-size: 15px; overflow: hidden; isolation: isolate; box-shadow: 0 10px 30px -12px rgba(232, 16, 8, .8); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .7s var(--ease); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(232, 16, 8, .95); }
.btn:hover::after { transform: translateX(110%); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; border: 1px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--gold); }
.link .icon { transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
a.inline, .prose a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255, 194, 61, .4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover, a.inline:hover { text-decoration-color: currentColor; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; view-transition-name: site-header; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s var(--ease); }
.header.is-stuck { background: rgba(15, 13, 12, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.header.is-stuck .header__bar { height: 68px; }
.logo img { width: 139px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 13px; font-size: 14.5px; font-weight: 600; color: var(--muted); border-radius: 8px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header__cta { min-height: 42px; padding: 8px 20px; font-size: 14px; }
.header__end { display: flex; align-items: center; gap: 14px; }
.nav a, .header__cta { white-space: nowrap; }
/* English labels are longer. Between tablet and wide desktop the header button
   makes room for them; the same button is in the hero. */
@media (min-width: 1041px) and (max-width: 1240px) {
    .header__cta { display: none; }
    .nav a { padding-inline: 10px; }
    .nav a::after { left: 10px; right: 10px; }
}

/* Language switch. The highlight slides to whichever language is showing. */
.lang { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 236, 214, .04); isolation: isolate; }
.lang::before { content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--fire); box-shadow: 0 6px 16px -6px rgba(232, 16, 8, .9); transition: transform .35s var(--ease); }
.lang[data-active="en"]::before { transform: translateX(100%); }
.lang a { display: grid; place-items: center; min-width: 38px; height: 30px; padding-inline: 8px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); transition: color .25s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span { top: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 1040px) {
    .burger { display: block; z-index: 2; }
    .header__cta { display: none; }
    .nav { position: fixed; inset: 0; z-index: 1; height: 100dvh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 80px var(--gutter) 40px; background: var(--coal); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
    .nav.is-open { visibility: visible; opacity: 1; }
    .nav a { font: 700 clamp(28px, 8vw, 40px)/1.2 var(--display); padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; transition-delay: calc(var(--i) * 40ms); }
    .nav.is-open a { opacity: 1; transform: none; }
    .nav a::after { display: none; }
    .header:has(.nav.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(100svh, 920px); padding: 120px 0 72px; overflow: hidden; isolation: isolate; background: radial-gradient(60% 70% at 78% 55%, rgba(232, 16, 8, .28), transparent 70%), radial-gradient(40% 50% at 82% 65%, rgba(255, 106, 19, .28), transparent 70%), var(--coal); }
.hero__hangul { position: absolute; right: -2%; top: 50%; z-index: -1; transform: translateY(-50%); font: 400 clamp(220px, 38vw, 620px)/1 "Hangul", var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 214, .09); user-select: none; pointer-events: none; white-space: nowrap; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin-block: 8px 24px; }
.hero h1 span { display: block; padding-bottom: .14em; margin-bottom: -.14em; }
.hero p { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.hero p strong { color: var(--gold); white-space: nowrap; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.hero__visual::before { content: ""; position: absolute; inset: 12%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 120, 30, .55), transparent); animation: glow 4s ease-in-out infinite; }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px var(--ember); opacity: 0; animation: rise var(--d) linear var(--w) infinite; will-change: transform, opacity; }

@keyframes float { 50% { transform: translateY(-14px) rotate(1.2deg); } }
@keyframes glow { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0); } 12% { opacity: 1; } 70% { opacity: .7; } 100% { opacity: 0; transform: translate(var(--drift), -92vh); } }

.hero .stagger { opacity: 0; animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
    .hero { padding-top: 104px; min-height: 0; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 460px; margin-inline: auto; order: -1; width: 78%; }
}

/* Marquee */
.marquee-wrap { overflow: hidden; padding-block: 14px; margin-block: -14px; position: relative; z-index: 2; }
.marquee { overflow: hidden; background: var(--fire); color: #1a0704; font: 700 clamp(16px, 2vw, 22px)/1 var(--display); padding-block: 16px; transform: rotate(-1deg) scale(1.02); position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; white-space: nowrap; }
.marquee li::after { content: "\2726"; margin-inline: 22px; font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Cards */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { position: relative; background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.section--alt .card { background: var(--coal-3); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 106, 19, .16), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: rgba(255, 150, 60, .4); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .link { margin-top: 16px; }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(140deg, rgba(255, 194, 61, .18), rgba(232, 16, 8, .18)); color: var(--gold); font-size: 21px; transition: transform .4s var(--ease); }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; }
.frame-wrap { position: relative; }
.frame-wrap::after { content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.checks { display: grid; gap: 10px; margin-block: 24px 28px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks .icon { margin-top: 3px; color: var(--ember); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.mini-cards h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.mini-cards h3 .icon { color: var(--gold); }
.mini-cards .card { padding: 20px; }
@media (max-width: 480px) { .mini-cards { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--coal-3); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { padding: 9px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .2s, background .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--fire); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: up .5s var(--ease); }

/* Rail: native scrolling, so it swipes well and costs nothing */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; margin-top: 20px; }
.rail-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .25s, color .25s, transform .25s; }
.rail-btn:hover { background: var(--fire); border-color: transparent; transform: scale(1.06); }

/* Food tile */
.dish { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--coal-3); }
.dish img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover img { transform: scale(1.07); }
.dish__text { position: absolute; inset: auto 0 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(10, 7, 6, .94)); }
.dish__text h3 { font-size: 20px; }
.dish__text p { color: var(--gold); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dish__text .icon { transition: transform .3s var(--ease); }
.dish:hover .dish__text .icon { transform: translateX(4px); }

.menu-card { background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.menu-card:hover { transform: translateY(-5px); border-color: rgba(255, 150, 60, .4); }
.menu-card__img { overflow: hidden; }
.menu-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.menu-card:hover img { transform: scale(1.06); }
.menu-card__text { padding: 20px 22px 24px; }
.menu-card h3 { font-size: 22px; margin-bottom: 6px; }
.menu-card p { color: var(--muted); font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) 16px; text-align: center; background: var(--coal); }
.stat b { display: block; font: 800 clamp(38px, 5vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:first-child { grid-column: span 2; } }

/* Testimonials */
.quote { padding: clamp(24px, 3vw, 36px); background: var(--coal-3); border: 1px solid var(--line); border-radius: var(--radius); }
.quote p { font-size: clamp(16px, 1.5vw, 18px); }
.quote::before { content: "\201C"; display: block; height: 42px; font: 800 72px/1 var(--display); color: var(--ember); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--fire); color: #fff; font: 700 17px var(--display); }
.quote h3 { font-size: 17px; letter-spacing: 0; }
.quote span { color: var(--muted); font-size: 13px; }
.quotes .rail { --col: 100%; }
.video { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; }
.video img { width: 100%; transition: transform .8s var(--ease); }
.video:hover img { transform: scale(1.04); }
.video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px; border-radius: 50%; background: var(--fire); color: #fff; font-size: 24px; }
.video__play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ember); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* Feature packages */
.packages { --col: min(82vw, 560px); }
.package { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; text-align: left; }
.package img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease); }
.package:hover img { transform: scale(1.06); }
.package__text { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(10, 7, 6, .94)); }
.package__text span { display: block; color: var(--gold); font-size: 13px; font-weight: 600; }
.package__text h3 { font-size: 26px; }
.package__plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fire); transition: transform .4s var(--ease); }
.package:hover .package__plus { transform: rotate(90deg); }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #84786d; }
.input:focus { outline: 0; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 106, 19, .22); }
.input.is-invalid { border-color: #ff5a52; }
textarea.input { resize: vertical; min-height: 150px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b5a99d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.input option { background: var(--coal-2); }
.error { display: block; margin-top: 5px; color: #ff8078; font-size: 13px; }
.error:empty { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ember); flex: none; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { background: rgba(46, 204, 113, .14); color: #6fe3a1; }
.form-status.bad { background: rgba(255, 77, 79, .14); color: #ff9593; }
.panel { background: var(--coal-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); }

.chef { position: relative; max-width: 480px; margin-inline: auto; }
.chef::before { content: ""; position: absolute; inset: 8% 4% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 19, .34), transparent); }
.chef img { width: 100%; }

/* Outlet tiles */
.spots { --col: min(78vw, 380px); }
.spot { background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.spot__img { position: relative; overflow: hidden; }
.spot img { width: 100%; aspect-ratio: 1 / .85; object-fit: cover; transition: transform .8s var(--ease); }
.spot:hover img { transform: scale(1.06); }
.spot__links { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.spot__links a, .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(15, 13, 12, .78); border: 1px solid var(--line-strong); transition: background .25s, transform .25s; }
.spot__links a:hover, .social a:hover { background: var(--fire); border-color: transparent; transform: translateY(-3px); }
.spot__text { padding: 18px 20px 22px; }
.spot__text h3 { font-size: 20px; margin-bottom: 6px; }
.spot__text p { color: var(--muted); font-size: 14.5px; }

/* Map */
.map-art { position: relative; }
.map-art img { width: 100%; filter: brightness(0) invert(1) opacity(.2); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ember); animation: ping 2.4s var(--ease) infinite; animation-delay: var(--w, 0s); }
.pin-list { display: grid; gap: 10px; margin-block: 16px 28px; }
.pin-list li { display: flex; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; transition: border-color .25s, transform .25s; }
.pin-list li:hover { border-color: rgba(255, 150, 60, .45); transform: translateX(4px); }
.pin-list .icon { color: var(--ember); margin-top: 3px; }
.subhead { font-size: 22px; margin-top: 24px; }

.map-embed { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(255, 106, 19, .16), transparent 60%), repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--coal-2); min-height: 400px; display: grid; place-items: center; padding: 24px; text-align: center; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed .icon-pin { font-size: 32px; color: var(--ember); margin: 0 auto 14px; }
.map-embed p { color: var(--muted); margin-bottom: 18px; }
.map-embed__wait { display: grid; justify-items: center; gap: 12px; color: var(--muted); }

/* News */
.news { display: block; width: 100%; text-align: left; background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.news:hover { transform: translateY(-5px); border-color: rgba(255, 150, 60, .4); }
.news__img { position: relative; overflow: hidden; }
.news img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.news:hover img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; padding: 4px 13px; border-radius: 999px; background: var(--fire); font-size: 12px; font-weight: 700; }
.news__text { padding: 18px 20px 22px; }
.news__meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.news h3 { font-size: 21px; line-height: 1.2; }

/* Page banner */
.banner { position: relative; padding: 168px 0 84px; overflow: hidden; isolation: isolate; }
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 13, 12, .96) 0%, rgba(15, 13, 12, .78) 55%, rgba(15, 13, 12, .55) 100%), linear-gradient(transparent 60%, var(--coal)); }
.banner h1 { font-size: clamp(38px, 6.4vw, 80px); font-weight: 800; letter-spacing: -.03em; animation: up .8s var(--ease) both; }
.crumbs { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 14px; animation: up .8s var(--ease) .1s both; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ember); }
.crumbs a:hover { color: var(--gold); }
.banner__hangul { position: absolute; right: 2%; top: 50%; transform: translateY(-40%); z-index: -1; font: 400 clamp(120px, 20vw, 280px)/1 "Hangul", var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 214, .18); pointer-events: none; }

/* Gallery */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1040px) { .masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; text-align: left; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.08); filter: brightness(.65); }
.shot__text { position: absolute; inset: auto 0 0; padding: 14px; transform: translateY(100%); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.shot:hover .shot__text, .shot:focus-visible .shot__text { transform: none; opacity: 1; }
.shot__text b { display: block; font: 700 17px/1.2 var(--display); }
.shot__text span { color: var(--gold); font-size: 13px; }
@media (hover: none) { .shot__text { transform: none; opacity: 1; background: linear-gradient(transparent, rgba(10, 7, 6, .85)); padding-top: 36px; } }

/* Outlet list page */
.outlet { display: grid; grid-template-columns: 2fr 3fr; background: var(--coal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.outlet:hover { transform: translateY(-4px); border-color: rgba(255, 150, 60, .4); }
.outlet__img { overflow: hidden; }
.outlet img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .8s var(--ease); }
.outlet:hover img { transform: scale(1.06); }
.outlet__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: clamp(20px, 2.5vw, 32px); }
.outlet h3 { font-size: 24px; }
.outlet p { display: flex; gap: 8px; color: var(--muted); }
.outlet p .icon { margin-top: 4px; color: var(--ember); }
@media (max-width: 480px) { .outlet { grid-template-columns: 1fr; } .outlet img { aspect-ratio: 16 / 10; min-height: 0; } }

/* Team page */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; }
.step { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; min-height: calc(120px + var(--h) * 1.6px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(to top, rgba(232, 16, 8, .3), rgba(255, 194, 61, .05)); transform-origin: bottom; }
.step b { font: 800 clamp(34px, 4vw, 52px)/1 var(--display); font-variant-numeric: tabular-nums; }
.step span { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 760px) {
    .timeline { grid-template-columns: 1fr; }
    .step { min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; width: calc(50% + var(--h) * .47%); }
}

/* Long text pages */
.doc--toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc__toc { position: sticky; top: 96px; font-size: 14px; }
.doc__toc b { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.doc__toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); color: var(--muted); line-height: 1.4; transition: color .2s, border-color .2s; }
.doc__toc a:hover, .doc__toc a.is-active { color: var(--text); border-left-color: var(--ember); }
@media (max-width: 960px) { .doc--toc { grid-template-columns: 1fr; } .doc__toc { display: none; } }
.prose { max-width: 760px; color: #d6ccc1; }
.prose .lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--text); margin-bottom: 28px; }
.prose h3 { margin-top: 44px; margin-bottom: 12px; font-size: clamp(23px, 2.6vw, 30px); color: var(--text); scroll-margin-top: 96px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin-bottom: 18px; padding-left: 1.3em; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--ember); }
.prose strong { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Store badges, shared by the home page and the app page */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 16px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .24); color: #fff; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.store-badge .icon { width: 28px; height: 28px; }
.store-badge small { display: block; font-size: 11px; line-height: 1.2; letter-spacing: .02em; opacity: .85; white-space: nowrap; }
.store-badge b { display: block; font: 700 20px/1.1 var(--display); letter-spacing: -.01em; }
.store-badge:hover { transform: translateY(-3px); border-color: rgba(255, 150, 60, .6); box-shadow: 0 16px 32px -16px rgba(232, 16, 8, .9); }

/* App showcase on the home page. The feature list drives the phone, and the
   progress bar under the active feature is the timer that moves it on. */
.app-promo { overflow: hidden; isolation: isolate; background: radial-gradient(45% 60% at 76% 52%, rgba(232, 16, 8, .24), transparent 70%), radial-gradient(28% 40% at 84% 28%, rgba(255, 106, 19, .2), transparent 70%), var(--coal); }
.app-promo__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 236, 214, .1) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(55% 65% at 74% 50%, #000, transparent); mask-image: radial-gradient(55% 65% at 74% 50%, #000, transparent); }
.app-promo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head stage" "list stage" "cta stage"; column-gap: clamp(32px, 6vw, 88px); align-items: center; }
.app-promo__grid > * { min-width: 0; }
.app-promo__head { grid-area: head; align-self: end; }
.app-promo__cta { grid-area: cta; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.features { grid-area: list; display: grid; gap: 6px; margin-block: 28px; }
.feature { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; width: 100%; padding: 12px 16px; border: 1px solid transparent; border-radius: 16px; text-align: left; overflow: hidden; transition: background-color .3s, border-color .3s; }
.feature:hover { background: rgba(255, 236, 214, .035); }
.feature.is-active { background: var(--coal-2); border-color: var(--line); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 236, 214, .06); color: var(--muted); transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease); }
.feature.is-active .feature__icon { background: var(--fire); color: #fff; box-shadow: 0 10px 22px -10px rgba(232, 16, 8, .9); transform: rotate(-6deg); }
.feature b { display: block; padding-top: 10px; font: 700 17px/1.3 var(--display); color: var(--muted); transition: color .3s; }
.feature:hover b, .feature.is-active b { color: var(--text); }
.feature__text { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.feature__text > span { overflow: hidden; color: var(--muted); font-size: 15px; }
.js .feature:not(.is-active) .feature__text { grid-template-rows: 0fr; }
.feature.is-active .feature__text > span { padding-block: 4px 6px; }
.feature__bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; }
.feature.is-active .feature__bar { animation: feature-bar 5.5s linear forwards paused; }
.is-playing .feature.is-active .feature__bar { animation-play-state: running; }
@keyframes feature-bar { to { transform: scaleX(1); } }

.app-stage { grid-area: stage; position: relative; display: grid; place-items: center; min-height: 680px; perspective: 1400px; }
.app-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 19, .45), transparent); filter: blur(10px); animation: glow 5s ease-in-out infinite; }
.app-stage__ring { position: absolute; width: min(560px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 194, 61, .22); animation: spin 70s linear infinite; }
.app-stage__ring::after { content: ""; position: absolute; top: 14%; left: 14%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px 4px var(--ember); }
.app-stage__tilt { position: relative; display: grid; place-items: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.app-stage__tilt > * { grid-area: 1 / 1; }

.phone { --w: 300px; position: relative; width: var(--w); padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .17); background: linear-gradient(145deg, #45454f, #141418 38%, #2b2b33 70%, #121216); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 5px #050507, 0 50px 90px -30px rgba(0, 0, 0, .95), 0 30px 70px -30px rgba(232, 16, 8, .5); }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #2c2c34; }
.phone::before { right: -2px; top: 27%; height: 15%; }
.phone::after { left: -2px; top: 21%; height: 7%; box-shadow: 0 calc(var(--w) * .2) 0 #2c2c34; }
.phone__screen { position: relative; aspect-ratio: 991 / 2153; border-radius: calc(var(--w) * .135); overflow: hidden; background: #0e0e14; isolation: isolate; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(118deg, rgba(255, 255, 255, .13), transparent 32%); pointer-events: none; }
.phone--front { z-index: 1; translate: 16% 0 40px; animation: phone-float 7s ease-in-out infinite; }
.phone--back { --w: 236px; translate: -52% 6% -80px; rotate: -11deg; filter: brightness(.62) saturate(.9); animation: phone-float 8s ease-in-out -3s infinite; }
@keyframes phone-float { 50% { transform: translateY(-14px); } }

/* Screens cross-fade. Without the script only the first one shows. */
html:not(.js) .phone--front img + img { display: none; }
.js .phone--front .phone__screen img { transition: opacity .6s var(--ease), transform .9s var(--ease); }
.js .phone--front .phone__screen img:not(.is-active) { opacity: 0; transform: translateY(5%) scale(1.04); }

.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 16px; background: rgba(23, 20, 18, .74); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); font-size: 13px; line-height: 1.3; white-space: nowrap; animation: bob 6s ease-in-out var(--d) infinite; }
.float-chip b { display: block; font-weight: 700; }
.float-chip small { display: block; color: var(--muted); font-size: 12px; }
.float-chip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--fire); color: #fff; }
.float-chip--a { top: 13%; right: 0; }
.float-chip--b { bottom: 24%; right: 2%; }
.float-chip--c { bottom: 11%; left: 0; }
.js .app-stage .float-chip { opacity: 0; scale: .7; transition: opacity .6s var(--ease), scale .6s var(--ease); transition-delay: calc(.5s + var(--d) / 4); }
.js .app-stage.is-in .float-chip { opacity: 1; scale: 1; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
    .app-promo__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "list" "cta"; }
    .app-stage { min-height: 0; padding-block: 36px 8px; }
    .phone--front { --w: min(260px, 60vw); translate: 12% 0 40px; }
    .phone--back { --w: min(200px, 45vw); }
    .app-stage__ring { width: min(440px, 104%); }
    .float-chip--c { display: none; }
}
@media (max-width: 520px) {
    .float-chip { padding: 7px 12px 7px 7px; font-size: 12px; }
    .float-chip small { font-size: 11px; }
    .float-chip__icon { width: 28px; height: 28px; border-radius: 9px; }
    .float-chip--a { top: 6%; }
    .float-chip--b { bottom: 12%; right: 0; }
    .phone--back { translate: -44% 6% -80px; }
    .store-badge { flex: 1 1 150px; justify-content: center; gap: 10px; padding-inline: 12px 14px; }
    .store-badge .icon { width: 24px; height: 24px; }
    .store-badge b { font-size: 17px; white-space: nowrap; }
}

/* Contact page */
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .02); }
.contact-item .card__icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; font-size: 16px; flex: none; }
.contact-item h3 { font-size: 16px; margin-bottom: 2px; letter-spacing: 0; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { position: relative; padding-top: clamp(56px, 7vw, 88px); background: var(--coal-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr 1.4fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer img { width: 139px; margin-bottom: 16px; }
.footer p { color: var(--muted); font-size: 14.5px; }
.footer h2 { margin-bottom: 14px; font-size: 17px; letter-spacing: 0; }
.footer__links { display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.footer__links--2 { grid-template-columns: 1fr 1fr; }
.footer__links a { transition: color .2s; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--gold); }
.footer__links li { display: flex; gap: 10px; }
.footer__links .icon { color: var(--ember); margin-top: 4px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.copyright { padding: 18px var(--gutter); border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13.5px; }
.footer__hangul { position: absolute; right: -10px; bottom: -40px; font: 400 240px/1 "Hangul", var(--display); color: rgba(255, 236, 214, .025); pointer-events: none; }
@media (max-width: 760px) { .footer__hangul { display: none; } }

/* Floating actions */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.fab a, .fab button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
.fab a { background: #1fa855; font-size: 21px; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab button { background: var(--coal-3); border: 1px solid var(--line-strong); opacity: 0; visibility: hidden; }
.fab button.is-on { opacity: 1; visibility: visible; }

@media (max-width: 860px) { .fab a { opacity: 0; visibility: hidden; } .fab.is-on a { opacity: 1; visibility: visible; } }

/* Loading states. Images fade in over a shimmer; both only apply once the script is confirmed running. */
.sk { position: relative; overflow: hidden; background-color: var(--coal-3); }
.js .sk:not(.is-loaded)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 20%, rgba(255, 236, 214, .09) 50%, transparent 80%); transform: translateX(-100%); animation: shimmer 1.4s ease-in-out infinite; pointer-events: none; }
.js .sk img { opacity: 0; transition: opacity .5s ease, transform .8s var(--ease), filter .4s; }
.js .sk.is-loaded img { opacity: 1; }
.js .sk:not(.is-loaded) > :not(img) { visibility: hidden; }
@keyframes shimmer { to { transform: translateX(100%); } }

.spinner { display: inline-block; width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 236, 214, .16); border-top-color: var(--ember); animation: spin .8s linear infinite; }
.spinner--sm { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Only shows if the next page takes long enough for the wait to be noticeable */
.page-bar { position: fixed; inset: 0 0 auto; z-index: 90; height: 3px; background: var(--fire); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.is-navigating .page-bar { opacity: 1; animation: page-bar 6s cubic-bezier(.1, .7, .2, 1) .15s forwards; }
@keyframes page-bar { to { transform: scaleX(.92); } }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 6, 5, .93); backdrop-filter: blur(6px); }
.lightbox[open] { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px 56px; }
.lightbox__stage > * { grid-area: 1 / 1; }
.lb-error { color: #d6ccc1; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; animation: pop .3s var(--ease); }
.lightbox__stage iframe { width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 100%; border: 0; border-radius: 10px; }
@keyframes pop { from { transform: scale(.96); opacity: .4; } }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background .2s; }
.lightbox button:hover { background: var(--ember); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: calc(50% - 24px); }
.lb-next { right: 14px; top: calc(50% - 24px); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 14px; color: #d6ccc1; }

.under-header main { padding-top: 84px; }

/* Error page */
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.error-page b { display: block; font: 800 clamp(90px, 18vw, 180px)/1 var(--display); }
.error-page p { color: var(--muted); margin-block: 8px 28px; }

/* Scroll reveal. Only ever hidden once the script has confirmed it is running. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .embers { display: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
    @view-transition { navigation: none; }
}
