
:root {
  --bg: #272526;
  --text: #ffffff;
  --accent: #1df2f2;
  --wood-1: #8d624b;
  --wood-2: #996c53;
  --wood-3: #7b543f;
  --wood-4: #926850;
  --container: 1240px;
  --shadow: 0 22px 60px rgba(0,0,0,0.38);
  --soft: 0 18px 40px rgba(0,0,0,0.28);
  --flip-duration: 0.9s;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
}
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.header, .footer { background: var(--bg); }
.shell { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.header-row {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { width: 97px; height: auto; }
.nav { display: flex; align-items: center; gap: 42px; flex-wrap: wrap; }
.nav a { color: var(--text); font-size: 16px; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: #7bc7ff; outline: none; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 192px; padding: 15px 32px; border-radius: 999px;
  background: var(--accent); color: #272526; font-size: 16px; font-weight: 500;
}
.cta.full { width: 100%; }
.main { flex: 1; background: var(--bg); }
.viewer-wrap { padding: 12px 0 28px; }

.menu-section { content-visibility: auto; contain-intrinsic-size: 1100px; }
.menu-section + .menu-section { margin-top: 36px; }
.menu-section-head { margin: 0 0 14px; }
.menu-section-head h2 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; color: var(--text); }
.menu-section-head p { margin: 0; color: rgba(255,255,255,.72); font-size: .98rem; }
.flip-scene {
  position: relative;
  min-height: 980px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #8f644d;
  background-image: url(../assets/img/wood.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.flip-stage {
  position: relative;
  isolation: isolate;
  min-height: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 78px 126px;
  perspective: 2400px;
}

.page-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.page-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loading-card {
  width: min(100%, 360px);
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(29,29,31,.92), rgba(15,15,17,.94));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.32);
  text-align: center;
}
.page-loading-logo-progress {
  --load-progress: 0%;
  position: relative;
  width: 122px;
  margin: 0 auto 14px;
  aspect-ratio: 1 / 1;
}
.page-loading-logo {
  width: 122px;
  height: auto;
  margin: 0;
}
.page-loading-logo-base {
  opacity: .18;
  filter: grayscale(1) brightness(1.65);
}
.page-loading-logo-fill {
  position: absolute;
  inset: 0;
  opacity: 1;
  clip-path: inset(calc(100% - var(--load-progress)) 0 0 0);
  filter: drop-shadow(0 0 14px rgba(29,242,242,.16));
  transition: clip-path .22s ease;
}
.page-loading-logo-progress::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% calc(100% - var(--load-progress)), rgba(29,242,242,.20), transparent 42%),
    radial-gradient(circle at 44% calc(100% - var(--load-progress)), rgba(231,45,231,.16), transparent 38%);
  opacity: .75;
  pointer-events: none;
  transition: background-position .22s ease;
}
.page-loading-kicker {
  margin-bottom: 8px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.page-loading-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.page-loading-subtitle {
  display: none;
}
.page-loading-progress {
  position: relative;
  overflow: hidden;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}
.page-loading-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--load-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #1df2f2, #e72de7);
  box-shadow: 0 0 18px rgba(29,242,242,.18);
  transition: width .22s ease;
}
.page-loading-progress-text {
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.page-stack {
  position: relative;
  isolation: isolate;
  width: min(100%, 626px);
  aspect-ratio: 626 / 885;
  transform-origin: center center;
  transition: transform .22s ease;
  filter: drop-shadow(0 22px 60px rgba(0,0,0,.38));
  z-index: 3;
  touch-action: pan-y pinch-zoom;
  background: transparent;
}
.page-stack.is-loading {
  background: transparent;
  filter: none;
}
.page-stack.is-loading .under-page,
.page-stack.is-loading .base-page,
.page-stack.is-loading .flip-leaf {
  opacity: 0;
}
.under-page,
.base-page,
.flip-leaf {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.under-page,
.base-page { background: transparent; }
.under-page { z-index: 1; opacity: 0; transition: none; }
.under-page.active { opacity: 1; }
.base-page { z-index: 2; }
.under-page img,
.base-page img,
.leaf-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.flip-leaf {
  display: none;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.flip-leaf.active { display: block; }
.leaf-sheet {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, filter;
}
.leaf-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
  background: transparent;
}
.page-stack,
.under-page,
.base-page,
.flip-leaf,
.leaf-sheet,
.leaf-face {
  background-color: transparent !important;
}

.leaf-front { transform: rotateY(0deg); }
.leaf-back { transform: rotateY(180deg); }
.leaf-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 18%, rgba(255,255,255,.03) 52%, rgba(0,0,0,.18) 100%);
  mix-blend-mode: multiply;
  opacity: .72;
}
.leaf-gloss {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 28%, rgba(255,255,255,.01) 54%, rgba(0,0,0,.05) 78%, rgba(0,0,0,.10) 100%);
  opacity: .28;
  mix-blend-mode: soft-light;
}
.flip-next .leaf-sheet {
  transform-origin: left center;
  animation: turnNext var(--flip-duration) cubic-bezier(.22,.7,.2,1) forwards;
}
.flip-prev .leaf-sheet {
  transform-origin: right center;
  animation: turnPrev var(--flip-duration) cubic-bezier(.22,.7,.2,1) forwards;
}
@keyframes turnNext {
  0% { transform: rotateY(0deg) skewY(0deg) scaleX(1); filter: brightness(1); }
  18% { transform: rotateY(-20deg) skewY(-0.8deg) scaleX(.995); filter: brightness(.98); }
  45% { transform: rotateY(-92deg) skewY(-2.1deg) scaleX(.965); filter: brightness(.9); }
  70% { transform: rotateY(-145deg) skewY(-1deg) scaleX(.985); filter: brightness(.96); }
  100% { transform: rotateY(-180deg) skewY(0deg) scaleX(1); filter: brightness(1); }
}
@keyframes turnPrev {
  0% { transform: rotateY(0deg) skewY(0deg) scaleX(1); filter: brightness(1); }
  18% { transform: rotateY(20deg) skewY(0.8deg) scaleX(.995); filter: brightness(.98); }
  45% { transform: rotateY(92deg) skewY(2.1deg) scaleX(.965); filter: brightness(.9); }
  70% { transform: rotateY(145deg) skewY(1deg) scaleX(.985); filter: brightness(.96); }
  100% { transform: rotateY(180deg) skewY(0deg) scaleX(1); filter: brightness(1); }
}
.arrow {
  all: unset;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 8;
  color: #fff;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}
.arrow:hover, .arrow:focus-visible { outline: none; }
.arrow:disabled { opacity: .25; cursor: not-allowed; pointer-events: none; }
.arrow::before,
.arrow::after {
  content: none !important;
  display: none !important;
}
.arrow svg {
  width: 20px;
  height: 32px;
  display: block;
  fill: currentColor;
  stroke: none;
  opacity: .9;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
}
.arrow:hover svg,
.arrow:focus-visible svg {
  opacity: 1;
}
.arrow.prev { left: 24px; }
.arrow.next { right: 24px; }
.toolbar {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 9;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,.95);
  color: #5a5a5a;
  box-shadow: var(--soft);
  max-width: calc(100% - 32px);
}
.toolbar-page {
  min-width: 96px;
  padding: 0 18px;
  line-height: 48px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.08);
  color: #7c7c7c;
  white-space: nowrap;
}
.toolbar-actions { display: flex; align-items: center; }
.toolbar-btn {
  width: 48px; height: 48px; border: 0; background: transparent; color: #6f6f6f;
  display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease; padding: 0;
}
.toolbar-btn:hover, .toolbar-btn:focus-visible, .toolbar-btn.active { background: rgba(0,0,0,.05); color: #3f3f3f; outline: none; }
.toolbar-btn:disabled { opacity: .45; cursor: not-allowed; }
.toolbar-btn svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.toolbar-btn svg [fill='currentColor'],
.toolbar-btn svg circle[fill='currentColor'] { fill: currentColor; stroke: none; }
.thumb-panel {
  position: absolute;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  z-index: 7;
  width: min(960px, calc(100% - 48px));
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(24,24,24,.92);
  box-shadow: 0 24px 50px rgba(0,0,0,.34);
  transition: max-height .28s ease, opacity .22s ease, visibility .22s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.thumb-panel.open { max-height: 340px; opacity: 1; visibility: visible; }
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 14px;
  padding: 18px;
  max-height: 340px;
  overflow: auto;
}
.thumb {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  overflow: hidden;
  padding: 8px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.thumb:hover, .thumb:focus-visible, .thumb.active {
  border-color: rgba(29,242,242,.78);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
  outline: none;
}
.thumb.is-loading { opacity: .82; }
.thumb.is-loading span { color: rgba(255,255,255,.58); }
.thumb img { width: 100%; display: block; border-radius: 4px; background: #111; }
.thumb span { display: block; margin-top: 8px; color: rgba(255,255,255,.84); font-size: 12px; text-align: center; }
.watermark {
  position: absolute;
  right: 56px;
  bottom: 54px;
  width: 152px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: .9;
}
.watermark img { width: 100%; height: auto; display: block; }
.footer-row {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
  font-size: 16px;
  color: #fff;
}
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 26px;
  height: 16px;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 99;
  display: none;
}
.scroll-top.visible { display: block; }
.scroll-top svg { width: 26px; height: 16px; display: block; fill: currentColor; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(18,18,18,.94);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mobile-only, .mobile-panel { display: none; }
.mobile-header {
  min-height: 92px; align-items: center; grid-template-columns: 1fr auto 1fr;
}
.mobile-brand img { width: 73px; height: auto; }
.mobile-toggle {
  justify-self: end; appearance: none; border: 0; background: transparent; color: #fff;
  width: 44px; height: 44px; padding: 0; cursor: pointer; display: grid; place-items: center;
}
.mobile-toggle svg { width: 24px; height: 24px; fill: currentColor; }
.mobile-nav { display: grid; gap: 8px; padding-top: 8px; }
.mobile-nav a { padding: 12px 4px; }


@media (max-width: 1120px) {
  .flip-scene, .flip-stage { min-height: 900px; }
  .watermark { width: 132px; right: 34px; }
}
@media (max-width: 921px) {
  .desktop-only { display: none; }
  .mobile-only { display: grid; }
  .mobile-panel.open { display: block; }
  .shell { width: min(calc(100% - 18px), var(--container)); }
  .flip-scene, .flip-stage { min-height: 820px; }
  .flip-stage { padding: 32px 56px 110px; }
  .toolbar { bottom: 34px; }
  .thumb-panel { bottom: 94px; width: min(760px, calc(100% - 26px)); }
  .watermark { width: 118px; right: 22px; bottom: 42px; }
  .toolbar-page { min-width: 84px; }
}
@media (max-width: 680px) {
  .flip-scene, .flip-stage { min-height: 690px; }
  .flip-stage { padding: 22px 38px 96px; }
  .arrow { width: 42px; height: 42px; }
  .arrow.prev { left: 8px; }
  .arrow.next { right: 8px; }
  .arrow svg { width: 16px; height: 28px; }
  .toolbar { min-height: 42px; }
  .toolbar-page, .toolbar-btn { height: 42px; }
  .toolbar-page { min-width: 74px; padding: 0 14px; line-height: 42px; font-size: 14px; }
  .toolbar-btn { width: 42px; }
  .toolbar-btn svg { width: 18px; height: 18px; }
  .thumb-panel { bottom: 88px; }
  .thumb-grid { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 10px; padding: 14px; }
  .watermark { width: 94px; right: 14px; bottom: 48px; }
}
@media (max-width: 544px) {
  .flip-scene, .flip-stage { min-height: 640px; }
  .watermark { width: 86px; }
  .footer-row { padding: 18px 0; }
  .scroll-top { right: 18px; bottom: 18px; }
}

.arrow:active,
.arrow:hover,
.arrow:focus,
.arrow:focus-visible {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.arrow svg {
  position: relative;
  z-index: 1;
  background: transparent !important;
}
@media (hover: none) and (pointer: coarse) {
  .arrow,
  .arrow:active,
  .arrow:hover,
  .arrow:focus,
  .arrow:focus-visible,
  .arrow svg {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 680px) {
  .page-loading-card { width: min(100%, 300px); padding: 20px 18px 18px; border-radius: 18px; }
  .page-loading-logo { width: 96px; margin-bottom: 10px; }
  .page-loading-title { font-size: 20px; }
  .page-loading-subtitle { font-size: 13px; }
}


@media (max-width: 680px) {
  .page-loading-card {
    width: min(100%, 310px);
    padding: 20px 20px 18px;
  }
  .page-loading-logo-progress {
    width: 104px;
    margin-bottom: 12px;
  }
  .page-loading-logo {
    width: 104px;
  }
  .page-loading-title {
    font-size: 21px;
  }
}
