:root {
  --night: #0e0c0a;
  --night-2: #1c1713;
  --ink: #f6f0e6;
  --muted: #cbbba4;
  --paper: #14110e;
  --paper-2: #221c17;
  --card: #1d1814;
  --line: rgba(224, 192, 122, 0.2);
  --tomato: #d4654a;
  --tomato-deep: #b44b34;
  --gold: #e0c07a;
  --cream: #f6f0e6;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --tab-h: 74px;
  --header-h: 84px;
  --wine: #7c2834;
  --olive: #2f4a38;
  --serif: "Libre Baskerville", Georgia, serif;
  --display: "Fraunces", Georgia, serif;
  --sans: var(--bs-body-font-family);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 0% -5%, rgba(124, 40, 52, 0.55), transparent 55%),
    radial-gradient(800px 420px at 100% 8%, rgba(47, 74, 56, 0.45), transparent 50%),
    radial-gradient(600px 300px at 70% 100%, rgba(212, 101, 74, 0.18), transparent 50%),
    #1c1416;
  color: var(--ink);
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
  line-height: 1.55;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav order";
  align-items: center;
  gap: 8px 18px;
  padding: 0 22px;
  background: linear-gradient(90deg, #4c1720 0%, #8d2e3b 48%, #5c1d28 100%);
  color: var(--cream);
  border-bottom: 4px solid #e4b15a;
  box-shadow: 0 12px 28px rgba(76, 23, 32, 0.45);
}
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  padding: 8px 0;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name strong {
  font-family: var(--display);
  font-weight: 620;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-name span {
  color: #d9c7a6;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.desktop-nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav a {
  flex: 0 0 auto;
  color: #fff6ea;
  text-decoration: none;
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 28px 14px 22px;
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  background: transparent;
}
.desktop-nav a:hover { color: #ffe7a8; background: rgba(0, 0, 0, 0.12); }
.desktop-nav a[aria-current="page"] {
  color: #ffe7a8;
  background: rgba(0, 0, 0, 0.16);
  border-bottom-color: #e4b15a;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary { background: var(--tomato); color: #fffaf3; }
.btn-primary:hover { background: var(--tomato-deep); }
.btn-order {
  background: linear-gradient(90deg, #009246 0 33.34%, #ffffff 33.34% 66.67%, #ce2b37 66.67% 100%);
  color: #1a120c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  border: 2px solid #1a120c;
}
.btn-order:hover {
  background: linear-gradient(90deg, #007a3a 0 33.34%, #f7f7f7 33.34% 66.67%, #b42330 66.67% 100%);
  color: #1a120c;
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 241, 230, 0.35);
}
.btn-ink { background: var(--gold); color: #1a140e; }
.btn-ink:hover { background: #f0d597; color: #1a140e; }
.top-order { grid-area: order; display: inline-flex; margin: 0; font-weight: 700; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); }

.wrap { width: auto; }
.page-head { padding: 28px 0 8px; }
.kicker {
  margin: 0 0 6px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; margin: 0 0 12px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 8px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }

.hero {
  position: relative;
  color: #fffaf3;
  background: #2a1218;
  margin: 18px auto 0;
  width: min(1240px, calc(100% - 28px));
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #e4b15a;
  box-shadow: 0 24px 50px rgba(124, 40, 52, 0.35);
}
.slides { position: relative; height: min(72vh, 680px); min-height: 440px; overflow: hidden; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease;
}
.slide.is-active img { transform: scale(1.08); }
.slide figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 86px;
  z-index: 2;
  max-width: 440px;
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, rgba(124, 40, 52, 0.94), rgba(47, 74, 56, 0.9));
  border: 1px solid rgba(228, 177, 90, 0.8);
  border-left: 6px solid #e4b15a;
  border-radius: 6px 18px 18px 6px;
}
.slide figcaption span {
  display: block;
  color: #ffe7a8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.slide figcaption p {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  text-shadow: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 14, 18, 0.45), transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(28, 12, 16, 0.35));
  z-index: 1;
}
.hero-ui {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dots { display: flex; gap: 8px; }
.dots button, .hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(228, 177, 90, 0.7);
  background: rgba(76, 23, 32, 0.82);
  color: #ffe7a8;
  cursor: pointer;
  font-size: 1.4rem;
}
.dots button { width: 12px; height: 12px; padding: 0; border: 0; background: rgba(255, 246, 234, 0.45); }
.dots button[aria-current="true"] { background: #e4b15a; width: 28px; border-radius: 999px; }
.hero-actions { display: flex; gap: 8px; }

.band { padding: 42px 0; }
.band-reviews {
  background: linear-gradient(90deg, rgba(124, 40, 52, 0.72), rgba(47, 74, 56, 0.62));
  border-block: 1px solid rgba(228, 177, 90, 0.35);
  padding: 36px 0 28px;
  margin-top: 8px;
}
.story-grid, .split, .card-grid, .review-grid, .gallery-grid {
  display: grid;
  gap: 16px;
}
.card, .panel {
  background: linear-gradient(180deg, #3a2228, #24161a);
  border: 1px solid rgba(228, 177, 90, 0.35);
  border-radius: 24px;
  padding: 22px;
  color: var(--ink);
  box-shadow: none;
}
.panel {
  background: linear-gradient(160deg, #f6e4c4, #e7c27a);
  color: #3a2016;
  border-color: #c9863a;
}
.panel .kicker { color: #8d2e3b; }
.panel h2, .panel p, .panel a { color: #2a140e; }
.panel .lede {
  color: #2a140e;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.65;
  max-width: none;
}
.panel .btn,
.panel .btn:hover { color: #fffaf3; }
.panel a:not(.btn) { color: #6e2430; font-weight: 700; }
.split .card h3 { color: #ffe7a8; }
.split .card p { color: #fff6ea; }
.card-grid .card:nth-child(1) { background: linear-gradient(165deg, #8d2e3b, #4c1720); }
.card-grid .card:nth-child(2) { background: linear-gradient(165deg, #2f4a38, #1b2c22); border-color: #8fbf7a; }
.card-grid .card:nth-child(3) { background: linear-gradient(165deg, #a34a32, #4a2218); border-color: #f0b08a; }
.card h3 { margin: 0 0 6px; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; text-decoration: none; }
.facts { display: grid; gap: 10px; margin-top: 18px; }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.fact > span:last-child { text-align: right; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child, .hours th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.closed { color: var(--tomato); font-weight: 600; }

.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
  background: var(--paper-2);
}
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; }
.contact-list a { color: var(--gold); font-weight: 700; }
.feedback-panel { height: 100%; }
.anniversary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100%;
  padding: 36px 28px;
  border-radius: 24px;
  color: #fff6ea;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 231, 168, 0.28), transparent 46%),
    linear-gradient(165deg, #9a3544, #4c1720 70%);
  border: 3px solid #e4b15a;
  box-shadow: inset 0 0 0 8px rgba(228, 177, 90, 0.28);
}
.anniversary-kicker {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffe7a8;
}
.anniversary-num {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(5.5rem, 8vw, 7.4rem);
  line-height: 0.82;
  color: #fff6ea;
  text-shadow: 0 8px 0 rgba(76, 23, 32, 0.35);
}
.anniversary-word {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe7a8;
}
.anniversary h2 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #fff6ea;
}
.anniversary p:last-child {
  max-width: 22rem;
  margin: 0;
  color: #f6e7d4;
}
.feedback-form { margin-top: 8px; }
.feedback-form .form-label { color: #2a140e; font-weight: 700; }
.feedback-form .form-control {
  border: 1px solid #c9863a;
  background: #fffaf3;
  color: #2a140e;
  border-radius: 14px;
  min-height: 48px;
}
.feedback-form .form-control:focus {
  border-color: #8d2e3b;
  box-shadow: 0 0 0 0.2rem rgba(141, 46, 59, 0.2);
  background: #fffaf3;
  color: #2a140e;
}

.menu-tools {
  position: sticky;
  top: var(--header-h);
  z-index: 12;
  background: rgba(14, 12, 10, 0.94);
  backdrop-filter: blur(12px);
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}
.menu-search {
  width: 100%;
  border: 1px solid var(--line);
  background: #241e18;
  color: var(--cream);
  border-radius: 16px;
  min-height: 48px;
  padding: 0 16px;
  margin-bottom: 10px;
}
.menu-search::placeholder { color: #a89884; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: 0 0 auto;
  text-decoration: none;
  background: #6e2430;
  color: #fff6ea;
  border: 1px solid rgba(224, 192, 122, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}
.menu-section { padding: 18px 0 8px; }
.menu-section h2 { font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 700; color: #f0d7a2; border-bottom: 2px solid rgba(228, 177, 90, 0.45); padding-bottom: 6px; }
.menu-note { color: var(--muted); margin-top: 0; }
.group-label {
  margin: 22px 0 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.legend, .dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: end;
}
.legend {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
}
.price-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.prices { display: flex; justify-content: flex-end; gap: 8px; }
.prices.labels { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.prices.is-single span { width: auto; min-width: 4.2rem; }
.prices span, .legend .prices span {
  width: 4.6rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dish {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.dish h3 {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.dish p { margin: 4px 0 0; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 0.95rem; }
.dish .prices { font-weight: 650; font-size: 0.98rem; padding-top: 2px; }
.fine-print { color: var(--muted); font-size: 0.92rem; }

.gallery-grid { grid-template-columns: 1fr; }
.gallery-grid figure {
  margin: 0;
  background: var(--night);
  border-radius: 24px;
  overflow: hidden;
}
.gallery-grid img { width: 100%; height: 280px; object-fit: cover; }
.gallery-grid figcaption { color: #fff6ea; padding: 12px 16px 16px; font-family: var(--display); background: #7c2834; }
.specials-grid { display: grid; gap: 16px; max-width: 860px; }
.special-card { background: #f6e4c4; color: #2a140e; border-radius: 24px; overflow: hidden; }
.special-card img { width: 100%; display: block; }
.special-card iframe { width: 100%; height: min(80vh, 920px); border: 0; background: #fff; }
.special-card .doc { padding: 18px; }

.review-grid { grid-template-columns: 1fr; }
.review {
  background: linear-gradient(180deg, #2a1a1e, #1c1416);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(228, 177, 90, 0.25);
  border-top: 4px solid #e4b15a;
}
.review:nth-child(3n+2) { border-top-color: #e07a62; }
.review:nth-child(3n+3) { border-top-color: #7dcea0; }
.stars { color: var(--gold); letter-spacing: 0.12em; margin-bottom: 8px; }
.review p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; }
.review cite { font-style: normal; font-weight: 600; font-size: 0.92rem; }

.site-footer {
  margin-top: 28px;
  background: linear-gradient(90deg, #4c1720, #7c2834 55%, #2f4a38);
  color: #f6e7d4;
  padding: 36px 0 28px;
  border-top: 4px solid #e4b15a;
}
.site-footer a { color: #fffaf3; }
.site-footer .socials a { color: #fff; }
.footer-grid { display: grid; gap: 18px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.socials a, a.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 46px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.socials a svg, a.social svg { width: 18px; height: 18px; flex: 0 0 auto; }
.social-fb, .sheet-card a.social-fb { background: #1877f2; color: #fff; }
.social-ig, .sheet-card a.social-ig {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  color: #fff;
}
.social-order { background: var(--tomato); color: #fff; }
.social-fb:hover, .social-ig:hover, .social-order:hover { filter: brightness(1.08); color: #fff; }
.crafted { margin-top: 22px; font-size: 0.92rem; }
.crafted a { color: #e7c48a; }

.tabbar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(90deg, #4c1720, #7c2834);
  color: #fff6ea;
  border-radius: 22px;
  padding: 8px 6px;
  border: 1px solid rgba(228, 177, 90, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.tabbar a {
  text-decoration: none;
  color: #f3e6d2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  min-height: 52px;
  justify-content: center;
  border-radius: 16px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: #fff; background: rgba(255, 250, 243, 0.08); }
.tabbar .order-tab {
  background: linear-gradient(90deg, #009246 0 33.34%, #ffffff 33.34% 66.67%, #ce2b37 66.67% 100%);
  color: #1a120c;
  text-transform: uppercase;
  margin-top: -18px;
  border-radius: 18px;
  min-height: 64px;
  border: 2px solid #1a120c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.sheet {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 17, 0.46);
  z-index: 50;
  display: none;
  align-items: flex-end;
}
.sheet.is-open { display: flex; }
.sheet-card {
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--card);
  border-radius: 28px 28px 0 0;
  padding: 12px 18px calc(24px + env(safe-area-inset-bottom));
}
.sheet-card a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-family: var(--display);
  color: var(--cream);
}
.sheet-card a.social {
  justify-content: center;
  margin-top: 10px;
  border-bottom: 0;
  border-radius: 999px;
  color: #fff;
}
.grab { width: 48px; height: 5px; border-radius: 99px; background: var(--paper-2); margin: 6px auto 12px; }

.empty { display: none; padding: 20px; }

@media (max-width: 720px) {
  .legend, .dish { grid-template-columns: 1fr; align-items: start; }
  .price-stack { align-items: flex-start; margin-top: 6px; }
  .prices { justify-content: flex-start; }
  .legend { border-bottom: 0; padding-bottom: 0; }
  .menu-section { scroll-margin-top: 150px; }
}

@media (min-width: 760px) {
  .card-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 340px; }
  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .story-grid { grid-template-columns: 1.3fr 0.7fr; }
  .prices span, .legend .prices span { width: 5.3rem; }
}

@media (max-width: 991px) {
  :root { --header-h: 148px; }
  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand order" "nav nav";
    padding: 6px 12px 0;
  }
  .desktop-nav {
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 231, 168, 0.28);
  }
  .desktop-nav a { padding: 12px 14px; font-size: 0.95rem; }
  .hero { margin-top: 12px; border-radius: 20px; }
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .slides { height: min(74vh, 700px); }
  .review-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
  .brand-name strong { font-size: 1.05rem; }
  h1 { font-size: 2.3rem; }
  .slide figcaption { bottom: 74px; }
}

.welcome-fly {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}
.slice {
  position: absolute;
  top: calc(var(--header-h) + 4px);
  left: 0;
  width: 128px;
  height: 160px;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.35));
}
.pizza { width: 100%; height: 100%; overflow: visible; }
.slice-left { animation: fly-left 8s cubic-bezier(.22, .7, .24, 1) forwards; }
.slice-right { animation: fly-right 8s cubic-bezier(.22, .7, .24, 1) forwards; }
.slice-left .pizza { animation: slice-bob 1.1s ease-in-out infinite; transform-origin: 50% 80%; }
.slice-right .pizza { animation: slice-bob-flip 1.1s ease-in-out infinite; transform-origin: 50% 80%; }
.welcome-ribbon {
  position: absolute;
  top: calc(var(--header-h) + 58px);
  left: 50%;
  margin: 0;
  max-width: min(720px, calc(100% - 36px));
  padding: 10px 22px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6e2430, #9a3544);
  color: #fff6ea;
  border: 2px solid #e4b15a;
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  animation: welcome-ribbon 8s ease forwards;
}
@keyframes fly-left {
  0% { transform: translate3d(-180px, 48px, 0); opacity: 0; }
  12% { opacity: 1; }
  40% { transform: translate3d(calc(50vw - 470px), 0, 0); opacity: 1; }
  70% { transform: translate3d(calc(50vw - 470px), -8px, 0); opacity: 1; }
  100% { transform: translate3d(-200px, -160px, 0); opacity: 0; }
}
@keyframes fly-right {
  0% { transform: translate3d(calc(100vw + 40px), 36px, 0); opacity: 0; }
  12% { opacity: 1; }
  40% { transform: translate3d(calc(50vw + 340px), 0, 0); opacity: 1; }
  70% { transform: translate3d(calc(50vw + 340px), -8px, 0); opacity: 1; }
  100% { transform: translate3d(calc(100vw + 60px), -170px, 0); opacity: 0; }
}
@keyframes slice-bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes slice-bob-flip {
  0%, 100% { transform: scaleX(-1) rotate(-8deg) translateY(0); }
  50% { transform: scaleX(-1) rotate(-2deg) translateY(-8px); }
}
@keyframes welcome-ribbon {
  0%, 30% { opacity: 0; transform: translateX(-50%) scale(0.7); }
  42%, 68% { opacity: 1; transform: translateX(-50%) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-70px) scale(0.92); }
}

@media (max-width: 900px) {
  .welcome-ribbon { top: calc(var(--header-h) + 120px); }
  @keyframes fly-left {
    0% { transform: translate3d(-180px, 20px, 0); opacity: 0; }
    12% { opacity: 1; }
    40%, 70% { transform: translate3d(10px, 0, 0); opacity: 1; }
    100% { transform: translate3d(-200px, -160px, 0); opacity: 0; }
  }
  @keyframes fly-right {
    0% { transform: translate3d(calc(100vw + 40px), 20px, 0); opacity: 0; }
    12% { opacity: 1; }
    40%, 70% { transform: translate3d(calc(100vw - 140px), 0, 0); opacity: 1; }
    100% { transform: translate3d(calc(100vw + 60px), -160px, 0); opacity: 0; }
  }
}

@media (max-width: 575px) {
  .slice { width: 84px; height: 104px; }
  .welcome-ribbon { font-size: 0.92rem; letter-spacing: 0.04em; padding: 8px 14px; top: calc(var(--header-h) + 112px); border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide img { transition: none; }
  .slide.is-active img { transform: none; }
  html { scroll-behavior: auto; }
  .welcome-fly { display: none; }
}
