/* SAS Karácsonyi menü, "winter night" look: a deep night-blue sky, a slowly turning
   snow cloud behind the hero (snow.js), one clean bold sans, hairline dividers, glass
   panels and pill buttons. Icy blue is the action colour; gold stays for prices,
   echoing the box ribbon. Plain document flow, no scroll-jacking. */
:root {
  --night: #071321; --night-2: #0b1b2e; --night-3: #10263d;
  --ice: #b9e6f6; --ice-hi: #d6f2fb; --ice-ink: #06203a;
  --gold: #d8b678; --gold-hi: #ecd3a0;
  --ink: #eef4fa; --soft: #a9bccd; --mute: #7f93a7;
  --line: rgb(185 230 246 / .16); --line-2: rgb(185 230 246 / .28);
  --glass: rgb(11 27 46 / .58);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem; --gut: clamp(1.15rem, 4.5vw, 3rem);
  --ease: cubic-bezier(.23, 1, .32, 1);
}
.lang-zh { --sans: "Noto Sans SC", "DM Sans", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  background: radial-gradient(110% 80% at 50% 12%, #10263d 0%, var(--night) 62%, #040b14 100%) fixed var(--night);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--ice); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
.lang-zh :is(h1, h2, h3) { letter-spacing: .02em; line-height: 1.25; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
h3 { letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--ice); color: var(--ice-ink); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 44rem; }
.small { font-size: .85rem; color: var(--mute); margin-top: 1.2rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--ice); color: var(--ice-ink); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { left: .5rem; }
[hidden] { display: none !important; }

/* the sky layers: snow canvas behind everything, thin corner ornaments in front */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot, .top { position: relative; z-index: 1; }
.frame { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.frame i { position: absolute; width: 2.6rem; height: 2.6rem; opacity: .5;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24' fill='none' stroke='%23b9e6f6' stroke-width='.7' stroke-linecap='round'%3E%3Cg id='a'%3E%3Cpath d='M0 0V-10M0-6.5l-2.2-2.2M0-6.5l2.2-2.2M0-3.4l-1.5-1.5M0-3.4l1.5-1.5'/%3E%3C/g%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3Cuse href='%23a' transform='rotate(180)'/%3E%3Cuse href='%23a' transform='rotate(240)'/%3E%3Cuse href='%23a' transform='rotate(300)'/%3E%3C/svg%3E"); }
.frame i:nth-child(1) { left: 1.6rem; top: 5rem; } .frame i:nth-child(2) { right: 1.6rem; top: 5rem; }
.frame i:nth-child(3) { left: 1.6rem; bottom: 1.6rem; } .frame i:nth-child(4) { right: 1.6rem; bottom: 1.6rem; }
@media (max-width: 980px) { .frame { display: none; } }

/* buttons: icy pill for the action, glass pill for everything else */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3.1rem; padding: 0 1.7rem;
  background: var(--ice); color: var(--ice-ink); border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 1rem/1 var(--sans); letter-spacing: -.005em;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .25) inset, 0 10px 30px -10px rgb(185 230 246 / .55);
  transition: background-color 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { background: var(--ice-hi); box-shadow: 0 0 0 1px rgb(255 255 255 / .35) inset, 0 12px 36px -10px rgb(185 230 246 / .75); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #2a3a4c; color: #7f93a7; box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: rgb(16 38 61 / .55); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.btn--ghost:hover { background: rgb(22 50 78 / .7); box-shadow: inset 0 0 0 1px var(--ice); }
.btn--sm { min-height: 2.6rem; padding: 0 1.15rem; font-size: .92rem; }
.btn--lg { min-height: 3.6rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn[aria-pressed="true"] { background: transparent; color: var(--ice); box-shadow: inset 0 0 0 1.5px var(--ice); }
.link { display: inline-block; margin-top: 1.2rem; font-weight: 600; color: var(--ice); }

.eyebrow { color: var(--ice); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.lang-zh .eyebrow { letter-spacing: .12em; }

/* top bar */
.top { position: sticky; top: 0; z-index: 50; background: linear-gradient(rgb(7 19 33 / .82), rgb(7 19 33 / .55)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1.4rem; min-height: 4.4rem; }
.top__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.top__brand img { width: 34px; height: 34px; }
.top__brand span { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; }
.top__brand em { font-style: normal; color: var(--soft); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.top__brand em::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ice); }
.top__nav { display: flex; gap: .2rem; margin-left: auto; }
.top__nav a, .top__lang a { text-decoration: none; color: var(--soft); padding: .5rem .7rem; border-radius: 999px; font-size: .95rem; transition: color 150ms; }
.top__nav a:hover, .top__lang a:hover { color: var(--ink); }
.top__lang { display: flex; border-left: 1px solid var(--line); padding-left: .6rem; }
.top__lang a { font-size: .8rem; letter-spacing: .08em; padding-inline: .45rem; }
.top__lang a[aria-current] { color: var(--ice); }

/* hero: centered, the box floats in the snow */
.hero { position: relative; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5.6rem); max-width: 15ch; text-shadow: 0 2px 30px rgb(4 11 20 / .7); }
.hero__lede { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #c6d6e4; max-width: 38rem; text-shadow: 0 1px 14px rgb(4 11 20 / .9); }
.hero__cta { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.hero__price { margin-top: 1.4rem; color: var(--soft); display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .3rem .5rem; }
.hero__price strong { color: var(--gold-hi); font-weight: 700; font-size: 1.15rem; }
.hero__count { flex-basis: 100%; color: var(--ice); font-size: .9rem; font-weight: 500; }
.hero__count:empty { display: none; }
.hero__media { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; width: min(40rem, 92%); position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 10% 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(185 230 246 / .22), transparent); filter: blur(10px); }
.hero__box { position: relative; width: 100%; filter: brightness(1.15) contrast(1.05) drop-shadow(0 40px 50px rgb(0 0 0 / .65)); }
@media (prefers-reduced-motion: no-preference) {
  .hero__box { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px); } }
}
.facts { margin: clamp(2rem, 4vw, 3rem) 0 0; width: min(54rem, 100%); display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.facts div { padding: 1.3rem .8rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.facts dd { margin: .35rem 0 0; font-size: 1.15rem; font-weight: 500; }

/* sections */
.sec { padding-block: clamp(4rem, 9vw, 7rem); }
.sec__head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.sec__head p:not(.eyebrow) { color: var(--soft); margin-top: 1.1rem; }

/* countdown */
.sec--cd { border-bottom: 1px solid var(--line); }
.sec--cd :is(h2, .small, small) { text-shadow: 0 1px 12px rgb(4 11 20 / .9); }
.cd { margin: 2.4rem auto 0; max-width: 48rem; display: grid; grid-template-columns: repeat(4, 1fr); }
.cd div { display: grid; gap: .5rem; padding: .4rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.cd span { font-size: clamp(2.8rem, 1.6rem + 5vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd small { color: var(--ice); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }

/* glass panel shared by cards and the form */
.menu, .order, .steps li, .gal figure { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; }

/* menu cards */
.menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: start; }
.menu { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.4rem 1.5rem 1.5rem; transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.menu:hover { border-color: var(--line-2); }
.menu[data-selected="true"] { border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice), 0 20px 60px -24px rgb(185 230 246 / .45); }
.menu[data-soldout="true"] { opacity: .5; }
.menu__media { position: relative; aspect-ratio: 1.45; background: radial-gradient(50% 50% at 50% 62%, rgb(185 230 246 / .16), transparent 72%); }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 70%; filter: brightness(1.15) drop-shadow(0 18px 22px rgb(0 0 0 / .55)); }
.menu__head { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .15rem 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.menu__head h3 { font-size: 1.85rem; }
.menu__price { font-weight: 700; font-size: 1.5rem; color: var(--gold-hi); text-align: right; letter-spacing: -.02em; }
.menu__pp { grid-column: 2; text-align: right; color: var(--mute); font-size: .84rem; }
.menu__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .97rem; color: #d3e0ea; }
.menu__list li { display: flex; gap: .65rem; }
.menu__list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.menu__left { color: var(--ice); font-size: .88rem; font-weight: 500; min-height: 1.4em; margin-top: auto; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.steps li { display: grid; gap: .7rem; align-content: start; padding: 1.8rem 1.6rem; }
.steps__n { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ice); font-weight: 700; margin-bottom: .4rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--soft); }

/* gallery */
.gal { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.3rem; }
.gal figure { margin: 0; display: grid; gap: 1rem; align-content: start; padding: .7rem .7rem 1.3rem; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; }
.gal figcaption { padding-inline: .6rem; }
.gal h3 { font-size: 1.3rem; }
.gal p { color: var(--soft); margin-top: .35rem; font-size: .97rem; }
.gal + .small { text-align: center; }

/* pickup */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.pick > div > p:not(.eyebrow) { color: var(--soft); margin-top: 1rem; }
.rows { margin: 1.8rem 0 0; display: grid; border-top: 1px solid var(--line); }
.rows div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--mute); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; padding-top: .25rem; }
.rows dd { margin: 0; font-weight: 500; }
.pick__img { width: 100%; max-width: 32rem; justify-self: end; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); filter: saturate(.85); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; position: relative; font-weight: 600; font-size: 1.12rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ice); font-weight: 400; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.6rem 1.3rem 0; color: var(--soft); }
.faq details a { color: var(--ice); }

/* order form */
.order { padding: clamp(1.5rem, 4.5vw, 2.8rem); display: grid; gap: 1.15rem; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
.order > .eyebrow { margin-bottom: -.4rem; text-align: center; }
.order h2 { text-align: center; margin-bottom: .6rem; }
.f { display: grid; gap: .45rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.f--2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
.f--2 > div { display: grid; gap: .45rem; }
.f label, .f legend { color: var(--soft); font-size: .88rem; font-weight: 500; padding: 0 0 0 .3rem; }
.f legend { margin-bottom: .55rem; }
.f input, .f select { width: 100%; min-height: 3.2rem; padding: .6rem 1.15rem; font: inherit; color: var(--ink);
  background: rgb(4 11 20 / .45); border: 1px solid var(--line-2); border-radius: 999px; appearance: none; -webkit-appearance: none; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b9e6f6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2rem center; background-size: .75rem; padding-right: 2.6rem; }
.f select option { background: var(--night-2); color: var(--ink); }
.f input::placeholder { color: var(--mute); }
.f input:hover, .f select:hover { border-color: rgb(185 230 246 / .45); }
.f input:focus-visible, .f select:focus-visible { outline: 2px solid var(--ice); outline-offset: 1px; border-color: transparent; }
.f [aria-invalid="true"] { border-color: #ff8f8f; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; gap: .1rem; text-align: center; padding: .85rem .4rem; border-radius: 18px; border: 1px solid var(--line-2); font-weight: 700; transition: background-color 150ms var(--ease), border-color 150ms var(--ease); }
.seg small { font-weight: 500; color: var(--gold-hi); font-size: .82rem; }
.seg input:checked + span { background: rgb(185 230 246 / .12); border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice); }
.seg input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; text-decoration: line-through; }
.check { display: flex; gap: .75rem; align-items: flex-start; color: var(--soft); font-size: .93rem; cursor: pointer; }
.check a { color: var(--ice); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--ice); }
.check[data-invalid="true"] { color: #ffb3b3; }
.order__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.order__total span { color: var(--soft); }
.order__total strong { font-weight: 700; font-size: 2rem; letter-spacing: -.02em; color: var(--gold-hi); }
.order__err { padding: .75rem 1.1rem; border-radius: 16px; background: rgb(255 120 120 / .14); color: #ffd3d3; }
.order__closed { font-size: 1.15rem; text-align: center; }
.order[data-busy="true"] [data-pay] { opacity: .7; pointer-events: none; }

/* footer: one hairline, two ends */
.foot { border-top: 1px solid var(--line); padding-block: 1.8rem 2rem; color: var(--mute); font-size: .88rem; }
.foot__in { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }

/* sticky order bar: phones only, appears after the hero, hides at the form */
.sticky { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .top__nav { display: none; }
  .top__lang { margin-left: auto; }
  .top__brand em { display: none; }
  .menus { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .steps li { grid-template-columns: 2.8rem 1fr; column-gap: 1.1rem; padding: 1.4rem; }
  .steps__n { grid-row: span 2; margin: 0; }
  .gal { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .pick { grid-template-columns: 1fr; gap: 2rem; }
  .pick__img { justify-self: stretch; max-width: none; }
  .sticky {
    display: flex; position: fixed; z-index: 60; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1.2rem;
    background: rgb(11 27 46 / .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px;
    border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgb(0 0 0 / .5);
    transform: translateY(160%); transition: transform 260ms var(--ease);
  }
  .sticky[data-on="true"] { transform: none; }
  .sticky__sel { font-weight: 600; font-size: .96rem; }
  .foot { padding-bottom: 6rem; }
}
@media (max-width: 560px) {
  .top .btn--sm { display: none; }
  .top__brand span { font-size: .85rem; letter-spacing: .16em; }
  .hero__in { padding-top: 2.6rem; }
  .hero h1 { font-size: 2.55rem; }
  .hero__cta { width: 100%; flex-wrap: nowrap; gap: .6rem; }
  .hero__cta .btn { flex: 1 1 0; padding-inline: 1rem; }
  .hero__lede { font-size: 1.02rem; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: .9rem .4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: left; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dd { margin: 0; font-size: 1rem; text-align: right; }
  .cd { grid-template-columns: repeat(4, 1fr); gap: .3rem; }
  .cd small { letter-spacing: .12em; font-size: .62rem; }
  .f--2 { grid-template-columns: 1fr; }
  .menu { padding: 1.2rem; }
  .rows div { grid-template-columns: 5.5rem 1fr; }
  .foot__in { flex-direction: column; }
}
