@font-face {
  font-family: "Isekai House Caps";
  src: url("./IsekaiHouse-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Isekai House Hero";
  src: url("./IsekaiHouse-Regular-v1.1.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #f7f1e8;
  --paper: #fbf7f0;
  --paper-strong: #fffdf9;
  --ink: #171414;
  --muted: #5f5550;
  --red: #b91e24;
  --red-deep: #931117;
  --gold: #cba25d;
  --gold-soft: #ead9b2;
  --line: rgba(92, 56, 28, 0.18);
  --shadow: 0 30px 80px rgba(55, 28, 14, 0.18);
  --shell: #191a1d;
  --display-caps: "Isekai House Caps", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #0d0d0d;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 42%, rgba(186, 41, 33, 0.08), transparent 18rem),
    radial-gradient(circle at 14% 86%, rgba(0, 0, 0, 0.035), transparent 16rem),
    linear-gradient(180deg, #fffefb 0%, #fbf8f2 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: auto;
  opacity: 0.4;
  background-repeat: no-repeat;
  background-size: contain;
}

body::before {
  left: 0;
  bottom: 7vh;
  width: 22rem;
  height: 11rem;
  background:
    linear-gradient(180deg, transparent 0 55%, rgba(113, 107, 100, 0.18) 56%),
    linear-gradient(145deg, transparent 0 42%, rgba(177, 170, 160, 0.2) 43%, transparent 44%),
    radial-gradient(circle at 18% 80%, rgba(120, 114, 107, 0.24), transparent 32%);
}

body::after {
  right: 0;
  bottom: 2vh;
  width: 26rem;
  height: 14rem;
  background:
    radial-gradient(circle at 50% 70%, rgba(123, 117, 110, 0.22), transparent 28%),
    linear-gradient(180deg, transparent 0 58%, rgba(181, 174, 165, 0.18) 59%, transparent 60%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.stage {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.phone-frame {
  width: 100%;
}

.portal-app {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(circle at 24% 18%, rgba(246, 236, 220, 0.95), transparent 32rem),
    radial-gradient(circle at 78% 32%, rgba(255, 249, 240, 0.82), transparent 28rem),
    linear-gradient(180deg, #f8f2e8 0%, #f6efe4 52%, #f7f1e8 100%);
}

.hero {
  position: relative;
  min-height: 24.4rem;
  padding: 0.7rem 1rem 0.45rem;
  background: transparent;
}

.hero-topbar {
  position: absolute;
  top: 0.74rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid rgba(203, 162, 93, 0.72);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.84);
  box-shadow: 0 8px 18px rgba(114, 84, 45, 0.08);
  backdrop-filter: blur(10px);
}

.lang-switcher__button {
  min-width: 2.45rem;
  height: 2rem;
  padding: 0 0.72rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #473730;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-switcher__button:hover,
.lang-switcher__button:focus-visible {
  transform: translateY(-1px);
}

.lang-switcher__button:focus-visible {
  outline: 2px solid rgba(185, 30, 36, 0.42);
  outline-offset: 2px;
}

.lang-switcher__button.is-active {
  background: linear-gradient(180deg, #cf2a31 0%, #aa161b 100%);
  color: #fff7ea;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(185, 30, 36, 0.14);
}

.utility-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(203, 162, 93, 0.7);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.78);
  color: #2b2320;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.utility-chip:hover,
.utility-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 250, 243, 0.96);
  border-color: rgba(185, 30, 36, 0.42);
}

.utility-chip:focus-visible {
  outline: 2px solid rgba(185, 30, 36, 0.45);
  outline-offset: 3px;
}

.utility-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.utility-chip__tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: rgba(23, 20, 20, 0.92);
  color: #fff5df;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-0.2rem);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.icon-svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  flex: 0 0 auto;
}

.icon-svg--sm {
  width: 1.02rem;
  height: 1.02rem;
}

.icon-svg--xs {
  width: 0.88rem;
  height: 0.88rem;
}

.utility-chip:hover .utility-chip__tooltip,
.utility-chip:focus-visible .utility-chip__tooltip,
.utility-chip[data-copied="true"] .utility-chip__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0 54%, rgba(255, 253, 249, 0.8) 74%, rgba(255, 253, 249, 0) 100%);
}

.cloud {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
  border-radius: 999px;
  background-repeat: no-repeat;
}

.cloud-left {
  top: 1.4rem;
  left: 0.9rem;
  width: 4.4rem;
  height: 1.5rem;
  background:
    radial-gradient(circle at 20% 55%, rgba(166, 194, 210, 0.9) 0 18%, transparent 19%),
    radial-gradient(circle at 41% 40%, rgba(166, 194, 210, 0.85) 0 20%, transparent 21%),
    radial-gradient(circle at 63% 55%, rgba(166, 194, 210, 0.82) 0 18%, transparent 19%),
    linear-gradient(180deg, rgba(166, 194, 210, 0.75), rgba(166, 194, 210, 0.55));
}

.cloud-right {
  top: 0.7rem;
  right: 1.6rem;
  width: 4rem;
  height: 1.2rem;
  background:
    radial-gradient(circle at 25% 55%, rgba(216, 197, 157, 0.9) 0 18%, transparent 19%),
    radial-gradient(circle at 48% 35%, rgba(216, 197, 157, 0.84) 0 18%, transparent 19%),
    radial-gradient(circle at 72% 55%, rgba(216, 197, 157, 0.82) 0 18%, transparent 19%),
    linear-gradient(180deg, rgba(216, 197, 157, 0.76), rgba(216, 197, 157, 0.54));
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(17.5rem, 100%);
  height: auto;
  margin: 0 auto;
}

.hero-tagline {
  position: relative;
  z-index: 2;
  margin: 0.36rem auto 0;
  width: min(18rem, 100%);
  text-align: center;
  color: #2a2421;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(16rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  margin: 0.22rem 0 0;
  font-family: "Isekai House Hero", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 5.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  word-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 .hero-accent-inline,
.hero-copy h1 .hero-accent {
  color: var(--red);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.38rem 0 0.2rem;
}

.hero-divider span {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 162, 93, 0.9), transparent);
}

.hero-divider i {
  font-style: normal;
  color: var(--red);
  font-size: 0.8rem;
}

.hero-opening {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.15;
}

.hero-opening strong {
  color: var(--red-deep);
}

.hero-art {
  position: absolute;
  right: -0.15rem;
  top: 0.4rem;
  width: 15.5rem;
  max-width: 54%;
  pointer-events: none;
  z-index: 2;
}

.cta-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  width: min(21.5rem, 100%);
  margin-inline: auto;
  margin-top: 0.52rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  min-height: 2.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.42rem;
  border: 1px solid rgba(194, 152, 82, 0.72);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #cf2a31 0%, #aa161b 100%);
  border-color: rgba(137, 12, 18, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 16px rgba(185, 30, 36, 0.14);
}

.btn-secondary {
  color: #211c1b;
  background: rgba(255, 251, 244, 0.92);
  border-color: rgba(194, 152, 82, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 6px 14px rgba(114, 84, 45, 0.05);
}

.btn-muted {
  color: #6d6259;
  background: rgba(255, 250, 243, 0.7);
  border-color: rgba(194, 152, 82, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn-full {
  grid-column: 1 / -1;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.btn[disabled]:hover,
.btn[disabled]:focus-visible,
.btn[aria-disabled="true"]:hover,
.btn[aria-disabled="true"]:focus-visible {
  transform: none;
}

.btn-full.btn-muted {
  justify-content: center;
}

.btn-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.32rem;
  height: 1.32rem;
  line-height: 1;
}

.btn-suffix {
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  opacity: 0.82;
  font-size: 0.84em;
}

.btn-suffix .icon-svg {
  width: 1.08rem;
  height: 1.08rem;
}

.portal-body {
  padding: 0 0.85rem 0.45rem;
}

.hero,
.portal-body,
.portal-footer {
  width: min(100%, 76rem);
  margin-inline: auto;
}

.info-panel {
  position: relative;
  margin: 0;
  padding: 0.78rem 0.95rem 0.58rem;
  border-radius: 1rem;
  border: 1px solid rgba(203, 162, 93, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(251, 245, 235, 0.9));
}

.info-panel__stamp {
  position: absolute;
  left: 0.4rem;
  top: 0.5rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff0dd;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(255, 243, 220, 0.3);
}

.info-panel__bg {
  position: absolute;
  right: 0.35rem;
  top: 0.2rem;
  width: 7.5rem;
  height: 7.9rem;
  opacity: 0.28;
  background: url("./assets/info-panel-pagoda.png") right center / contain no-repeat;
  filter: saturate(0.9) contrast(1.02) brightness(0.78);
}

.info-panel h2 {
  margin: 0;
  padding: 0;
  margin-inline: auto;
  width: fit-content;
  text-align: center;
  color: var(--red);
  font-family: "Isekai House Hero", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-panel p {
  position: relative;
  z-index: 1;
  margin: 0.34rem auto 0;
  width: min(29rem, 92%);
  text-align: center;
  line-height: 1.25;
  font-size: 0.82rem;
  color: #2e2828;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.32rem;
  margin-top: 0.6rem;
  margin-inline: auto;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  font-size: 0.61rem;
  line-height: 1.1;
  font-weight: 700;
}

.badge__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #171414;
  color: var(--gold);
  border: 1px solid rgba(203, 162, 93, 0.9);
  font-size: 0.76rem;
  font-weight: 900;
}

.badge__icon-svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.food-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  margin: 0.52rem 0 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(203, 162, 93, 0.5);
  background:
    linear-gradient(90deg, rgba(11, 10, 11, 0.92) 0 34%, rgba(11, 10, 11, 0.62) 48%, rgba(11, 10, 11, 0.14) 66%, rgba(11, 10, 11, 0) 100%),
    url("./assets/ft-bg.jpg") center / cover no-repeat,
    linear-gradient(135deg, #0f1011 0%, #1b1a1a 55%, #0e0e0e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.food-banner.is-highlighted {
  animation: food-banner-pulse 1500ms ease;
}

.food-banner.is-highlighted::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  animation: food-banner-flash 1500ms ease;
  background:
    radial-gradient(circle at 22% 52%, rgba(255, 240, 207, 0.16), transparent 20rem),
    linear-gradient(90deg, rgba(212, 168, 67, 0.18), rgba(185, 21, 21, 0.08) 42%, rgba(212, 168, 67, 0.16));
}

.food-banner > h2 {
  margin: 0;
  padding: 0.42rem 0.8rem 0;
  font-family: "Isekai House Hero", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.36rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.food-banner.is-highlighted > h2 {
  animation: food-banner-title-pop 900ms ease;
}

.hero-opening__link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  line-height: 1.15;
  color: #a9322e;
  text-decoration: underline;
  text-decoration-color: rgba(169, 50, 46, 0.75);
  text-underline-offset: 0.18em;
}

.hero-opening__link:hover,
.hero-opening__link:focus-visible {
  color: #d85b51;
  text-decoration-color: currentColor;
}

.hero-opening__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.food-banner__body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 0;
}

.food-banner__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.24rem;
  padding: 0.08rem 0.8rem 0.48rem;
  color: #fff;
}

.food-banner__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.2;
}

.food-banner__copy strong {
  display: block;
  color: #e3bd73;
  font-size: 0.8rem;
}

.btn-food {
  min-height: 2.1rem;
  margin-top: 0.1rem;
  padding-inline: 0.82rem;
  font-size: 0.79rem;
  color: #e8d0a3;
  background: rgba(30, 24, 23, 0.58);
  border-color: rgba(203, 162, 93, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-whatsapp {
  color: #211c1b;
  background: rgba(255, 251, 244, 0.92);
  border-color: rgba(194, 152, 82, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 6px 14px rgba(114, 84, 45, 0.05);
}

.btn-whatsapp .btn-icon {
  color: #1b9b5e;
  width: 1.55rem;
  height: 1.55rem;
}

.btn-whatsapp .icon-svg {
  width: 1.34rem;
  height: 1.34rem;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: #211c1b;
  background: #fffdf9;
  border-color: var(--gold);
}

.btn-food.btn-whatsapp {
  color: #e8d0a3;
  background: rgba(30, 24, 23, 0.58);
  border-color: rgba(203, 162, 93, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-stack > .btn-full {
  grid-column: auto;
}

.cta-stack > .btn-primary { order: 1; }
.cta-stack > .btn-secondary { order: 2; }
.cta-stack > .btn-muted { order: 3; }
.cta-stack > .btn-whatsapp { order: 4; }

.food-banner__image {
  align-self: end;
  justify-self: end;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  background: none;
}

.menu-viewer {
  width: min(94vw, 72rem);
  max-width: none;
  height: min(94svh, 72rem);
  max-height: none;
  padding: 0;
  border: 1px solid rgba(203, 162, 93, 0.64);
  border-radius: 1rem;
  background: rgba(20, 18, 18, 0.98);
  color: #fff8ec;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.45);
}

.menu-viewer::backdrop {
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(5px);
}

.menu-viewer__shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.menu-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  padding: 0.62rem 0.8rem;
  border-bottom: 1px solid rgba(203, 162, 93, 0.25);
}

.menu-viewer__header h2 {
  margin: 0;
  font-family: "Isekai House Hero", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-viewer__close {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid rgba(203, 162, 93, 0.55);
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.08);
  color: #fff8ec;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.menu-viewer__close:focus-visible {
  outline: 2px solid #e3bd73;
  outline-offset: 3px;
}

.menu-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid rgba(203, 162, 93, 0.2);
}

.menu-viewer__zoom-button,
.menu-viewer__zoom-reset {
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(203, 162, 93, 0.48);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.08);
  color: #fff8ec;
  cursor: pointer;
}

.menu-viewer__zoom-button {
  font-size: 1.35rem;
  line-height: 1;
}

.menu-viewer__zoom-reset {
  min-width: 4.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.menu-viewer__zoom-button:hover,
.menu-viewer__zoom-reset:hover,
.menu-viewer__zoom-button:focus-visible,
.menu-viewer__zoom-reset:focus-visible {
  border-color: #e3bd73;
  background: rgba(227, 189, 115, 0.15);
}

.menu-viewer__pages {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.8rem;
  -webkit-overflow-scrolling: touch;
}

.food-helper {
  position: fixed;
  right: clamp(0.65rem, 1.8vw, 1.45rem);
  bottom: clamp(0.65rem, 1.8vw, 1.45rem);
  z-index: 12;
  display: grid;
  place-items: center;
  width: clamp(4rem, 6vw, 5.4rem);
  aspect-ratio: 1;
  filter: drop-shadow(0 0.45rem 0.75rem rgba(20, 15, 10, 0.22));
  animation: food-helper-float 5s ease-in-out 3.4s infinite;
}

.food-helper:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.25rem;
  border-radius: 50%;
}

.food-helper__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.food-helper__label {
  position: absolute;
  right: 72%;
  top: 50%;
  z-index: -1;
  min-width: max-content;
  padding: 0.45rem 0.76rem;
  border: 1px solid rgba(203, 162, 93, 0.72);
  border-radius: 999px;
  background: rgba(24, 20, 20, 0.94);
  box-shadow: 0 0.45rem 0.9rem rgba(0, 0, 0, 0.18);
  color: #fff8ec;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-0.4rem, -50%) scale(0.92);
  animation: food-helper-label 3s ease 550ms both;
}

.food-helper:hover .food-helper__label,
.food-helper:focus-visible .food-helper__label {
  opacity: 1;
  transform: translate(-0.4rem, -50%) scale(1);
  animation: none;
}

.menu-viewer .food-helper--menu {
  display: none;
}

.menu-viewer[open] .food-helper--menu {
  display: grid;
  z-index: 3;
  animation: food-helper-menu-arrival 700ms cubic-bezier(0.2, 0.8, 0.25, 1.2) both;
}

.menu-viewer[open] .food-helper--menu::after {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border: 2px solid rgba(43, 191, 111, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 1rem rgba(43, 191, 111, 0.34);
  animation: food-helper-menu-ripple 1.15s ease-out 720ms 2 both;
}

.menu-viewer__page {
  margin: 0 auto 1rem;
  width: min(100%, 52rem);
}

.menu-viewer__page:last-child {
  margin-bottom: 0;
}

.menu-viewer__page picture,
.menu-viewer__page img {
  display: block;
  width: 100%;
}

.menu-viewer__page img {
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(var(--menu-zoom, 1));
  transform-origin: top left;
  transition: transform 180ms ease;
}

.menu-viewer__page figcaption {
  padding: 0.38rem 0 0;
  color: rgba(255, 248, 236, 0.68);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

body.menu-viewer-open {
  overflow: hidden;
}

.food-banner.is-highlighted .food-banner__image {
  animation: food-banner-image-pop 1100ms ease;
}

.collectibles {
  margin: 0.52rem 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}

.section-heading--collectibles {
  justify-content: space-between;
  gap: 0.8rem;
}

.section-heading__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-heading span {
  width: 0.9rem;
  height: 0.9rem;
  background:
    radial-gradient(circle at 50% 50%, var(--red) 0 0.18rem, transparent 0.2rem),
    linear-gradient(90deg, transparent 0, transparent 38%, rgba(203, 162, 93, 0.95) 39%, rgba(203, 162, 93, 0.95) 61%, transparent 62%);
  opacity: 0.8;
}

.section-heading h2 {
  margin: 0;
  text-align: center;
  font-family: "Isekai House Hero", Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.collectible-carousel {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.collectible-carousel::-webkit-scrollbar {
  display: none;
}

.collectible-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 0.9rem) / 2.2);
  column-gap: 0.45rem;
  gap: 0.45rem;
  margin-top: 0.34rem;
  align-items: stretch;
}

.collectible-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(203, 162, 93, 0.75);
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.collectible-card img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid rgba(203, 162, 93, 0.28);
}

.collectible-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 6.7rem;
  padding: 0.42rem 0.42rem 0.38rem;
}

.collectible-card__tag {
  margin: 0 0 0.34rem;
  color: #e0b76d;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.collectible-card__body h3 {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.03;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.collectible-card__body p {
  margin: 0.3rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  line-height: 1.15;
}

.collectible-card__body a {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
}

.collectible-card__placeholder {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(185, 30, 36, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(180deg, #1d1716 0%, #100f0f 100%);
  border-bottom: 1px solid rgba(203, 162, 93, 0.28);
}

.collectible-card__placeholder span {
  color: #eed29c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.35;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(194, 152, 82, 0.72);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.9);
  color: #251f1b;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 250, 243, 0.96);
}

.carousel-button:focus-visible {
  outline: 2px solid rgba(185, 30, 36, 0.4);
  outline-offset: 2px;
}

.portal-footer {
  position: relative;
  margin-top: 0;
  padding: 0.72rem 0 0.8rem;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 0%, rgba(203, 162, 93, 0.1), transparent 34%),
    linear-gradient(180deg, #171515 0%, #0d0d0d 100%);
  border-top: 1px solid rgba(203, 162, 93, 0.35);
}

.portal-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: 0.85rem;
}

.portal-footer__social,
.portal-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.portal-footer__social {
  justify-self: start;
  color: #f3d08f;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.portal-footer__social .icon-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.portal-footer__copy {
  justify-self: center;
  text-align: center;
}

.portal-footer__copy p {
  margin: 0;
  font-family: var(--display-caps);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-footer__brand {
  justify-self: end;
  text-align: right;
}

.portal-footer__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.portal-footer__brand-copy strong,
.portal-footer__brand-copy span {
  display: block;
}

.portal-footer__brand-copy strong {
  color: #fff5dd;
  font-family: var(--display-caps);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-footer__brand-copy span {
  color: rgba(243, 208, 143, 0.9);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-ready .hero-logo,
.is-ready .hero-copy,
.is-ready .hero-art,
.is-ready .cta-stack,
.is-ready .info-panel,
.is-ready .food-banner,
.is-ready .collectibles,
.is-ready .portal-footer {
  animation: rise-in 700ms ease both;
}

.is-ready .hero-copy {
  animation-delay: 80ms;
}

.is-ready .hero-art {
  animation-delay: 150ms;
}

.is-ready .cta-stack {
  animation-delay: 220ms;
}

.is-ready .info-panel {
  animation-delay: 300ms;
}

.is-ready .food-banner {
  animation-delay: 360ms;
}

.is-ready .collectibles {
  animation-delay: 420ms;
}

.is-ready .portal-footer {
  animation-delay: 500ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes food-banner-pulse {
  0% {
    transform: translateY(0);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 0 0 rgba(185, 30, 36, 0);
  }

  20% {
    transform: translateY(-3px) scale(1.008);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 0 4px rgba(185, 30, 36, 0.16),
      0 0 0 10px rgba(203, 162, 93, 0.14),
      0 22px 42px rgba(185, 30, 36, 0.22);
  }

  44% {
    transform: translateY(0) scale(1);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 0 2px rgba(185, 30, 36, 0.12),
      0 10px 24px rgba(185, 30, 36, 0.14);
  }

  100% {
    transform: translateY(0);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 0 0 rgba(185, 30, 36, 0);
  }
}

@keyframes food-banner-flash {
  0% {
    opacity: 0;
    box-shadow:
      inset 0 0 0 0 rgba(212, 168, 67, 0),
      0 0 0 0 rgba(185, 30, 36, 0);
  }

  24% {
    opacity: 1;
    box-shadow:
      inset 0 0 0 2px rgba(242, 211, 146, 0.9),
      0 0 0 4px rgba(185, 30, 36, 0.24),
      0 0 0 10px rgba(212, 168, 67, 0.18);
  }

  100% {
    opacity: 0;
    box-shadow:
      inset 0 0 0 0 rgba(212, 168, 67, 0),
      0 0 0 0 rgba(185, 30, 36, 0);
  }
}

@keyframes food-banner-title-pop {
  0% {
    transform: translateX(0);
    text-shadow: none;
  }

  36% {
    transform: translateX(4px);
    text-shadow: 0 0 18px rgba(255, 220, 145, 0.28);
  }

  100% {
    transform: translateX(0);
    text-shadow: none;
  }
}

@keyframes food-banner-image-pop {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }

  34% {
    transform: scale(1.035);
    filter: brightness(1.08) drop-shadow(0 10px 22px rgba(185, 30, 36, 0.22));
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes food-helper-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.2rem);
  }
}

@keyframes food-helper-menu-arrival {
  0% {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.84);
  }

  65% {
    opacity: 1;
    transform: translateY(-0.16rem) scale(1.12);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes food-helper-menu-ripple {
  0% {
    opacity: 0.9;
    transform: scale(0.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.68);
  }
}

@keyframes food-helper-label {
  0% {
    opacity: 0;
    transform: translate(-0.7rem, -50%) scale(0.92);
  }

  16%,
  76% {
    opacity: 1;
    transform: translate(-0.4rem, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-0.2rem, -50%) scale(0.96);
  }
}

@media (min-width: 700px) {
  .stage {
    min-height: 100svh;
    padding: 0;
  }

  .phone-frame {
    width: 100%;
  }

  .portal-app {
    min-height: 100svh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (min-width: 860px) {
  .stage {
    padding: 0;
  }

  .portal-app {
    display: flex;
    flex-direction: column;
    height: 100svh;
    min-height: 100svh;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
    background:
      radial-gradient(circle at 22% 14%, rgba(246, 236, 220, 0.96), transparent 34rem),
      radial-gradient(circle at 82% 36%, rgba(255, 249, 240, 0.9), transparent 30rem),
      linear-gradient(180deg, #f8f2e8 0%, #f6efe4 58%, #f5eee1 100%);
  }

  .portal-app::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.4rem;
    bottom: 1.2rem;
    background: url("./assets/bg.jpg") calc(100% + 6.2rem) top / auto 100% no-repeat;
    opacity: 0.94;
    z-index: 1;
    pointer-events: none;
  }

  .portal-app::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(247, 241, 232, 0.96) 0 21%, rgba(247, 241, 232, 0.84) 33%, rgba(247, 241, 232, 0.4) 48%, rgba(247, 241, 232, 0) 64%),
      linear-gradient(180deg, rgba(247, 241, 232, 0) 76%, rgba(247, 241, 232, 0.28) 90%, rgba(247, 241, 232, 0.54) 100%);
  }

  .hero,
  .portal-body {
    width: min(100%, 1340px);
    margin-inline: auto;
    position: relative;
    z-index: 3;
  }

  .portal-footer {
    width: 100%;
    margin-inline: 0;
    position: relative;
    z-index: 3;
    margin-top: 0.06rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(24rem, 35rem) minmax(0, 1fr);
    align-items: start;
    flex: 0 0 auto;
    min-height: 24.9rem;
    padding: 0.2rem 1.6rem 0.3rem;
    column-gap: 1.2rem;
  }

  .hero::before {
    width: 52%;
    inset: 0 auto -120svh 0;
    background: linear-gradient(90deg, rgba(247, 241, 232, 0.94) 0 44%, rgba(247, 241, 232, 0.72) 62%, rgba(247, 241, 232, 0.24) 80%, rgba(247, 241, 232, 0) 100%);
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -120svh;
    width: 52%;
    height: calc(120svh + 6.75rem);
    z-index: 1;
    background: linear-gradient(180deg, rgba(247, 241, 232, 0) 0%, rgba(247, 241, 232, 0.4) 62%, rgba(247, 241, 232, 0.86) 100%);
    pointer-events: none;
  }

  .hero-logo {
    width: min(13rem, 100%);
    margin: 0;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    max-width: 33rem;
    align-self: start;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-topbar {
    top: 0.625rem;
    right: 1.6rem;
  }

  .hero-art {
    display: none;
  }

  .hero-copy {
    width: min(34rem, 100%);
    margin: 0.22rem 0 0;
    text-align: left;
  }

  .hero-tagline {
    width: 100%;
    margin: 0.16rem 0 0;
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .hero-copy h1 {
    font-size: clamp(2.12rem, 2.28vw, 2.78rem);
    max-width: 28rem;
    line-height: 1.1;
    word-spacing: 0.15em;
  }

  .hero-divider {
    justify-content: flex-start;
    margin: 0.18rem 0 0.08rem;
  }

  .hero-opening {
    font-size: 0.9rem;
  }

  .cta-stack {
    width: min(21.5rem, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
    margin-inline: 0;
    margin-top: 0.34rem;
  }

  .btn {
    min-height: 2.48rem;
    padding: 0.4rem 0.78rem;
    font-size: 0.77rem;
    border-radius: 0.42rem;
  }

  .portal-body {
    display: grid;
    grid-template-columns: minmax(26rem, 0.96fr) minmax(39rem, 1.04fr);
    grid-template-areas:
      "info collectibles"
      "food collectibles";
    grid-template-rows: minmax(10rem, auto) minmax(8.2rem, auto);
    gap: 0.5rem;
    padding: 0 1.6rem 0.06rem;
    align-items: stretch;
    margin-top: 0.08rem;
    flex: 1 1 auto;
    min-height: 0;
  }

  .info-panel {
    grid-area: info;
    padding: 0.92rem 1.15rem 0.68rem;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(126, 93, 49, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .info-panel__stamp {
    left: 1.1rem;
    top: 1.1rem;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.55rem;
  }

  .info-panel__bg {
    right: -0.85rem;
    top: auto;
    bottom: -0.2rem;
    width: 13.5rem;
    height: 13.5rem;
    opacity: 0.32;
    background-position: right bottom;
  }

  .info-panel h2 {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 1.08rem;
    letter-spacing: 0.14em;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    /* Keep the seal clear of the title instead of letting it sit on top of it. */
    margin-inline: 3.7rem auto;
  }

  .info-panel p {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    line-height: 1.25;
    margin-top: 0.38rem;
    width: min(33rem, 92%);
  }

  .badge-row {
    position: relative;
    z-index: 1;
    width: min(34rem, 96%);
    gap: 0.52rem;
    margin-top: 0.44rem;
    padding-top: 0;
    margin-inline: auto;
    align-content: center;
  }

  .badge {
    font-size: 0.7rem;
    gap: 0.28rem;
    line-height: 1.14;
  }

  .badge__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.84rem;
  }

  .badge__icon-svg {
    width: 0.96rem;
    height: 0.96rem;
  }

  .food-banner {
    grid-area: food;
    margin: 0;
    min-height: 8.7rem;
    height: 100%;
    border-radius: 0.9rem;
    background:
      linear-gradient(90deg, rgba(11, 10, 11, 0.94) 0 35%, rgba(11, 10, 11, 0.66) 48%, rgba(11, 10, 11, 0.16) 67%, rgba(11, 10, 11, 0) 100%),
      url("./assets/ft-bg.jpg") center / cover no-repeat,
      linear-gradient(135deg, #0f1011 0%, #1b1a1a 55%, #0e0e0e 100%);
  }

  .food-banner > h2 {
    padding: 0.58rem 1rem 0.1rem;
    font-size: 1.58rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
    max-width: none;
  }

  html[lang="de"] .food-banner > h2 {
    font-size: 1.3rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .food-banner__body {
    grid-template-columns: minmax(15rem, 0.88fr) minmax(20rem, 1.12fr);
    min-height: 0;
    height: 100%;
    align-items: stretch;
  }

  .food-banner__copy {
    align-self: stretch;
    min-height: 100%;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.18rem 1rem 0.84rem;
  }

  .food-banner__copy p {
    max-width: 17rem;
    font-size: 0.86rem;
    line-height: 1.24;
  }

  .food-banner__copy strong {
    font-size: 0.92rem;
  }

  .btn-food {
    min-height: 2.18rem;
    margin-top: 0;
    padding-inline: 0.9rem;
    font-size: 0.78rem;
  }

  .food-banner__image {
    width: min(22.8rem, 100%);
    max-height: none;
    height: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }

  .collectibles {
    grid-area: collectibles;
    margin: 0;
    padding-top: 0;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .section-heading--collectibles {
    justify-content: space-between;
    align-items: center;
    gap: 0.56rem;
    min-height: 2.18rem;
    width: 100%;
    padding: 0.08rem 0.48rem 0.08rem 0.34rem;
    border-radius: 0.8rem 0.8rem 0.5rem 0.5rem;
    background: linear-gradient(90deg, rgba(255, 250, 243, 0.94), rgba(255, 250, 243, 0.72));
    box-shadow: 0 10px 24px rgba(114, 84, 45, 0.08);
    margin-bottom: 0.46rem;
  }

  .section-heading__title {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .section-heading__title span {
    width: 0.72rem;
    height: 0.72rem;
  }

  .section-heading__title h2 {
    font-family: "Isekai House Hero", Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-align: left;
    line-height: 1.1;
    color: #211c1b;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
  }

  .collectible-carousel {
    display: flex;
    min-height: 0;
  }

  .collectible-track {
    flex: 1 1 auto;
    grid-auto-columns: calc((100% - 1.4rem) / 3);
    column-gap: 0.56rem;
    margin-top: 0;
    align-items: stretch;
    height: 100%;
  }

  .collectible-card img {
    aspect-ratio: 0.82;
  }

  .collectible-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
  }

  .collectible-card img {
    flex: 1 1 auto;
  }

  .collectible-card__body {
    min-height: 3.9rem;
    padding: 0.22rem 0.28rem 0.2rem;
  }

  .collectible-card__body h3 {
    font-size: 0.58rem;
    line-height: 0.92;
  }

  .collectible-card__body p {
    font-size: 0.51rem;
    line-height: 1;
  }

  .collectible-card__body a {
    width: 1rem;
    height: 1rem;
    font-size: 0.72rem;
    margin-top: auto;
  }

  .portal-footer {
    flex: 0 0 auto;
    padding-top: 0.12rem;
    padding-bottom: max(0.14rem, env(safe-area-inset-bottom));
  }

  .portal-footer__inner {
    width: min(100%, 1340px);
    padding-inline: 1.5rem;
  }

  .portal-footer__copy p {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .portal-footer__social {
    font-size: 0.84rem;
  }

  .portal-footer__brand-copy strong {
    font-size: 0.78rem;
  }

  .portal-footer__brand-copy span {
    font-size: 0.6rem;
  }
}

@media (min-width: 1120px) {
  .portal-app::before {
    left: 0;
    right: 0;
    top: 0.2rem;
    bottom: 1rem;
    background-position: calc(100% + 7.4rem) top;
  }

  .hero {
    grid-template-columns: minmax(26rem, 38rem) minmax(0, 1fr);
    min-height: 24.2rem;
    padding-inline: 1.75rem;
    padding-top: 0.12rem;
    padding-bottom: 0.24rem;
  }

  .portal-body,
  .portal-footer {
    padding-left: 1.7rem;
    padding-right: 1.7rem;
  }

  .portal-footer__inner {
    width: min(100%, 1340px);
    padding-inline: 1.7rem;
  }

  .hero-copy {
    width: min(38rem, 100%);
  }

  .hero-copy h1 {
    max-width: 28rem;
  }

  .portal-body {
    grid-template-columns: minmax(26rem, 0.93fr) minmax(41rem, 1.07fr);
    grid-template-rows: minmax(10.1rem, auto) minmax(8.35rem, auto);
    gap: 0.56rem;
    margin-top: 0.1rem;
  }

  .info-panel__bg {
    right: -0.6rem;
    bottom: -0.1rem;
    width: 14.25rem;
    height: 14.25rem;
    opacity: 0.33;
  }
}

@media (min-width: 1680px) {
  .portal-app {
    height: 100svh;
    min-height: 100svh;
  }

  .portal-app::before {
    left: calc(50% - 11.5rem);
    right: 0;
    top: 1.35rem;
    bottom: 1rem;
    width: auto;
    height: auto;
    background-position: right top;
    background-size: min(72rem, 72vw) auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.92) 8rem, #000 14rem);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.92) 8rem, #000 14rem);
  }

  .hero,
  .portal-body,
  .portal-footer__inner {
    width: min(100%, 1520px);
  }

  .hero {
    min-height: 23.2rem;
    padding-bottom: 0.24rem;
    column-gap: 1.2rem;
  }

  .hero-copy {
    width: min(33rem, 100%);
  }

  .hero-copy h1 {
    max-width: 26.8rem;
    font-size: 2.3rem;
    line-height: 1.1;
  }

  .hero-opening {
    font-size: 1rem;
  }

  .cta-stack {
    width: min(20rem, 100%);
  }

  .portal-body {
    grid-template-columns: minmax(29rem, 0.98fr) minmax(48rem, 1.02fr);
    grid-template-rows: minmax(9.9rem, auto) minmax(7.95rem, auto);
    gap: 0.56rem;
    margin-top: 0.08rem;
    padding-bottom: 0.06rem;
    align-items: stretch;
  }

  .info-panel {
    padding: 0.88rem 1.08rem 0.6rem;
    justify-content: space-evenly;
  }

  .info-panel p {
    margin-top: 0.34rem;
    font-size: 1rem;
  }

  .badge-row {
    margin-top: 0.34rem;
    padding-top: 0;
  }

  .food-banner {
    min-height: 8.35rem;
  }

  .food-banner > h2 {
    padding-top: 0.48rem;
    font-size: 1.52rem;
    line-height: 1.1;
  }

  html[lang="de"] .food-banner > h2 {
    font-size: 1.24rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .food-banner__body {
    min-height: 0;
  }

  .food-banner__copy {
    align-self: stretch;
    min-height: 100%;
    justify-content: space-evenly;
    gap: 0.52rem;
    padding: 0.2rem 0.98rem 0.82rem;
  }

  .info-panel h2 {
    font-size: 1.125rem;
  }

  .food-banner__copy p {
    font-size: 1rem;
    line-height: 1.34;
    max-width: 18rem;
  }

  .food-banner__copy strong {
    font-size: 1rem;
    line-height: 1.2;
  }

  .btn-food {
    margin-top: 0;
  }

  .food-banner__image {
    width: min(21.8rem, 100%);
    height: 100%;
    max-height: none;
  }

  .collectibles {
    min-height: auto;
  }

  .collectible-track {
    grid-auto-columns: calc((100% - 1rem) / 3);
    margin-top: 0;
  }

  .collectible-card img {
    aspect-ratio: 0.72;
  }

  .collectible-card__body {
    min-height: 3.56rem;
    padding: 0.18rem 0.24rem 0.16rem;
  }

  .portal-footer {
    margin-top: 0.04rem;
    padding-top: 0.1rem;
    padding-bottom: max(0.1rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 2200px) {
  .portal-app {
    height: auto;
    min-height: 100svh;
  }

  .portal-app::before {
    left: 50%;
    right: auto;
    top: 1rem;
    bottom: auto;
    width: 74rem;
    height: 36rem;
    transform: translateX(-2%);
    background-position: right top;
    background-size: 56rem auto;
    opacity: 0.9;
  }

  .portal-app::after {
    background:
      linear-gradient(90deg, rgba(247, 241, 232, 0.98) 0 20%, rgba(247, 241, 232, 0.88) 32%, rgba(247, 241, 232, 0.42) 48%, rgba(247, 241, 232, 0) 62%),
      linear-gradient(180deg, rgba(247, 241, 232, 0) 74%, rgba(247, 241, 232, 0.22) 88%, rgba(247, 241, 232, 0.44) 100%);
  }

  .hero,
  .portal-body,
  .portal-footer__inner {
    width: min(100%, 1520px);
  }

  .hero {
    min-height: 23rem;
    grid-template-columns: minmax(30rem, 33rem) minmax(0, 1fr);
    padding-top: 0.1rem;
    padding-bottom: 0.16rem;
  }

  .hero-content {
    max-width: 31.5rem;
  }

  .hero-copy {
    width: min(31rem, 100%);
  }

  .hero-copy h1 {
    max-width: 25rem;
    font-size: 2.18rem;
  }

  .portal-body {
    grid-template-columns: minmax(29rem, 0.96fr) minmax(48rem, 1.04fr);
    grid-template-rows: 9.4rem 7.9rem;
    gap: 0.56rem;
    align-items: stretch;
  }

  .info-panel {
    min-height: 0;
    padding: 0.84rem 1.02rem 0.54rem;
  }

  .info-panel__bg {
    width: 11.5rem;
    height: 11.5rem;
    opacity: 0.28;
  }

  .info-panel h2 {
    font-size: 1rem;
  }

  .info-panel p {
    width: min(28rem, 90%);
    font-size: 0.8rem;
    line-height: 1.18;
  }

  .badge-row {
    gap: 0.46rem;
    padding-top: 0.42rem;
  }

  .badge {
    font-size: 0.64rem;
  }

  .badge__icon {
    width: 1.86rem;
    height: 1.86rem;
  }

  .food-banner {
    min-height: 7.9rem;
  }

  .food-banner > h2 {
    font-size: 1.38rem;
    padding-top: 0.42rem;
  }

  .food-banner__copy p {
    font-size: 0.8rem;
  }

  .food-banner__copy strong {
    font-size: 0.86rem;
  }

  .food-banner__image {
    width: min(19rem, 100%);
  }

  .section-heading--collectibles {
    margin-bottom: 0.36rem;
  }

  .collectible-track {
    grid-auto-columns: calc((100% - 1.12rem) / 3);
    column-gap: 0.56rem;
  }

  .collectible-card img {
    aspect-ratio: 0.64;
  }

  .collectible-card__body {
    min-height: 3.28rem;
  }

  .collectible-card__body h3 {
    font-size: 0.54rem;
  }

  .collectible-card__body p {
    font-size: 0.48rem;
  }
}

@media (min-width: 860px) and (max-height: 860px) {
  .portal-app::before {
    top: 0.5rem;
    bottom: 1.8rem;
    height: auto;
  }

  .hero {
    min-height: 22.4rem;
    padding-top: 0.14rem;
    padding-bottom: 0.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 1.9vw, 2.22rem);
    line-height: 0.89;
  }

  .hero-opening {
    font-size: 0.86rem;
  }

  .cta-stack {
    margin-top: 0.3rem;
    gap: 0.32rem;
  }

  .btn {
    min-height: 2.4rem;
    padding-block: 0.4rem;
    font-size: 0.76rem;
  }

  .portal-body {
    gap: 0.34rem;
    margin-top: 0.08rem;
    padding-bottom: 0.04rem;
  }

  .info-panel {
    padding: 0.9rem 1rem 0.72rem;
  }

  .info-panel p {
    margin-top: 0.4rem;
    font-size: 0.84rem;
  }

  .badge-row {
    margin-top: 0.58rem;
  }

  .food-banner {
    min-height: 7.2rem;
  }

  .food-banner > h2 {
    font-size: 1.12rem;
    padding-top: 0.32rem;
  }

  html[lang="de"] .food-banner > h2 {
    font-size: 1rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .food-banner__body {
    min-height: 4.45rem;
  }

  .food-banner__copy {
    padding-bottom: 0.34rem;
  }

  .food-banner__image {
    width: min(14.4rem, 100%);
    max-height: 5.8rem;
  }

  .collectible-track {
    margin-top: 0.08rem;
  }

  .collectible-card__body {
    min-height: 4.1rem;
    padding: 0.24rem 0.28rem 0.2rem;
  }

  .portal-footer {
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
  }
}

/* Short desktop screens keep every section available rather than clipping it. */
@media (min-width: 860px) and (max-height: 860px) {
  .portal-app {
    height: auto;
    /* Keep the hero's long decorative fades inside the portal canvas. */
    overflow: hidden;
  }

  .portal-body {
    /* Let the grid contribute its natural height, so the footer follows it. */
    flex: 0 0 auto;
  }
}

/* A 1024px-wide laptop is still desktop, but cannot honour the wide column mins. */
@media (min-width: 860px) and (max-width: 1119px) {
  .hero {
    grid-template-columns: minmax(22rem, 26rem) minmax(0, 1fr);
  }

  .portal-body {
    grid-template-columns: minmax(22rem, 0.94fr) minmax(0, 1.06fr);
    grid-template-rows: minmax(10rem, auto) minmax(8.2rem, auto);
  }

  .food-banner__body {
    grid-template-columns: 1fr;
  }

  .food-banner {
    position: relative;
  }

  .food-banner__image {
    display: block;
    position: absolute;
    top: 3.75rem;
    right: 0.35rem;
    z-index: 2;
    width: 10rem;
    height: 7.5rem;
    margin: 0;
    object-position: right center;
    pointer-events: none;
  }

  .food-banner__copy {
    padding-right: 10.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 859px) {
  .food-helper {
    width: clamp(5.35rem, 24vw, 6.35rem);
  }

  .hero,
  .portal-body,
  .portal-footer {
    width: 100%;
  }

  .hero {
    min-height: 26.9rem;
    padding: 0.78rem 0.78rem 0.42rem;
    background: url("./assets/bg.jpg") calc(100% + 10.8rem) top / cover no-repeat;
  }

  .hero::before {
    width: 74%;
    background:
      radial-gradient(circle at 18% 18%, rgba(255, 252, 246, 0.82) 0, rgba(255, 252, 246, 0.82) 18%, transparent 62%),
      linear-gradient(90deg, rgba(255, 250, 243, 0.9) 0 44%, rgba(255, 250, 243, 0.54) 66%, rgba(255, 250, 243, 0.16) 84%, rgba(255, 250, 243, 0) 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-art {
    display: none;
  }

  .hero-content {
    max-width: 16.4rem;
    padding-top: 0.15rem;
    margin-left: 0;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .lang-switcher__button {
    min-width: 2.2rem;
    height: 1.85rem;
    padding-inline: 0.56rem;
    font-size: 0.66rem;
  }

  .hero-logo {
    width: min(12.8rem, 100%);
    margin: 0 0 0 0.1rem;
  }

  .hero-copy {
    width: 100%;
    margin-top: 0.48rem;
    position: relative;
    z-index: 3;
  }

  .hero-copy h1 {
    font-size: 1.16rem;
    line-height: 1.1;
    max-width: 100%;
    margin-inline: 0;
    text-align: left;
    word-spacing: 0.1em;
  }

  .hero-line {
    white-space: normal;
  }

  .hero-divider {
    justify-content: flex-start;
    margin: 0.36rem 0 0.18rem;
  }

  .hero-divider span {
    width: 2.4rem;
  }

  .hero-opening {
    font-size: 0.84rem;
    text-align: left;
  }

  .cta-stack {
    width: min(18.9rem, 100%);
    gap: 0.34rem;
    margin-top: 0.52rem;
    position: relative;
    z-index: 3;
  }

  .btn-full {
    min-height: 2.04rem;
    padding-block: 0.38rem;
  }

  .carousel-controls {
    display: inline-flex;
  }

  .portal-footer {
    padding-inline: 0;
  }

  .portal-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.55rem;
    padding-inline: 0.78rem;
  }

  .portal-footer__social,
  .portal-footer__copy,
  .portal-footer__brand {
    justify-self: center;
    text-align: center;
  }

  .portal-footer__brand {
    flex-direction: column;
    gap: 0.34rem;
  }
}

@media (max-width: 430px) {
  .stage {
    width: 100%;
    padding: 0;
  }

  .portal-app {
    min-height: auto;
  }

  .hero {
    min-height: 24.6rem;
    padding: 0.68rem 0.68rem 0.28rem;
    background-position: calc(100% + 15.4rem) top;
  }

  .hero::before {
    width: 82%;
    background:
      radial-gradient(circle at 16% 18%, rgba(255, 252, 246, 0.8) 0, rgba(255, 252, 246, 0.8) 16%, transparent 58%),
      linear-gradient(90deg, rgba(255, 250, 243, 0.9) 0 48%, rgba(255, 250, 243, 0.56) 70%, rgba(255, 250, 243, 0.18) 88%, rgba(255, 250, 243, 0) 100%);
  }

  .hero-logo {
    width: min(12rem, 100%);
  }

  .lang-switcher {
    padding: 0.16rem;
  }

  .lang-switcher__button {
    min-width: 2rem;
    height: 1.7rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .hero-copy {
    width: 100%;
    margin-top: 0.48rem;
  }

  .hero-tagline {
    width: 100%;
    margin-top: 0.3rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 1.04rem;
    line-height: 1.1;
    max-width: 100%;
  }

  .hero-divider {
    margin: 0.28rem 0 0.16rem;
  }

  .hero-opening {
    font-size: 0.76rem;
  }

  .cta-stack {
    width: min(18.1rem, 100%);
    gap: 0.3rem;
    margin-top: 0.46rem;
  }

  .btn {
    min-height: 2.18rem;
    padding: 0.46rem 0.74rem;
    font-size: 0.78rem;
    border-radius: 0.38rem;
  }

  .btn-full {
    min-height: 1.96rem;
    padding-block: 0.32rem;
    font-size: 0.72rem;
  }

  .portal-body {
    padding: 0 0.7rem 0.7rem;
  }

  .info-panel {
    padding: 0.74rem 0.68rem 0.6rem;
  }

  .info-panel__stamp {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.1rem;
  }

  .info-panel__bg {
    right: -0.75rem;
    top: auto;
    bottom: -0.55rem;
    width: 7.8rem;
    height: 8.9rem;
    opacity: 0.24;
    background-position: right center;
  }

  .info-panel h2 {
    font-size: 0.63rem;
    letter-spacing: 0.16em;
    padding: 0 1.9rem 0 2.15rem;
  }

  .info-panel p {
    margin-top: 0.36rem;
    font-size: 0.72rem;
    line-height: 1.18;
    width: min(16.4rem, 94%);
  }

  .badge-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.16rem;
    margin-top: 0.52rem;
  }

  .badge {
    font-size: 0.51rem;
  }

  .badge__icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.68rem;
  }

  .badge__icon-svg {
    width: 0.76rem;
    height: 0.76rem;
  }

  .food-banner {
    min-height: 9.2rem;
    margin-top: 0.55rem;
    background:
      linear-gradient(90deg, rgba(11, 10, 11, 0.95) 0 42%, rgba(11, 10, 11, 0.72) 56%, rgba(11, 10, 11, 0.18) 76%, rgba(11, 10, 11, 0) 100%),
      url("./assets/ft-bg.jpg") 58% center / cover no-repeat,
      linear-gradient(135deg, #0f1011 0%, #1b1a1a 55%, #0e0e0e 100%);
  }

  .food-banner > h2 {
    padding: 0.42rem 0.62rem 0.06rem;
    font-size: 1.08rem;
    line-height: 0.94;
    letter-spacing: 0.04em;
  }

  .food-banner__body {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 7.9rem;
  }

  .food-banner__copy {
    gap: 0.34rem;
    padding: 0.18rem 0.62rem 0.62rem;
  }

  .food-banner__copy p {
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .food-banner__copy strong {
    margin-top: 0;
    font-size: 0.7rem;
  }

  .btn-food {
    min-height: 1.86rem;
    padding-inline: 0.68rem;
    font-size: 0.66rem;
  }

  .food-banner__image {
    min-height: 8.5rem;
    width: 100%;
    object-fit: contain;
    object-position: right bottom;
    transform: translateX(0.1rem);
  }

  .food-banner__image {
    min-height: 7.9rem;
    width: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .collectibles {
    margin-top: 0.5rem;
  }

  .section-heading--collectibles {
    padding: 0.18rem 0.44rem;
    align-items: center;
  }

  .section-heading__title {
    gap: 0.32rem;
  }

  .section-heading__title span {
    width: 0.72rem;
    height: 0.72rem;
  }

  .section-heading__title h2 {
    font-family: "Isekai House Hero", Georgia, "Times New Roman", serif;
    font-size: 0.76rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .carousel-controls {
    gap: 0.28rem;
  }

  .carousel-button {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.88rem;
  }

  .collectible-track {
    grid-auto-columns: calc((100% - 0.68rem) / 2.25);
    column-gap: 0.34rem;
    margin-top: 0.42rem;
  }

  .collectible-card {
    border-radius: 0.78rem;
  }

  .collectible-card img {
    aspect-ratio: 0.82;
  }

  .collectible-card__body {
    min-height: 6.15rem;
    padding: 0.4rem 0.3rem 0.34rem;
  }

  .collectible-card__body h3 {
    font-size: 0.56rem;
    line-height: 1.02;
    letter-spacing: 0.12em;
  }

  .collectible-card__body p {
    margin-top: 0.22rem;
    font-size: 0.49rem;
    line-height: 1.1;
  }

  .collectible-card__body a {
    width: 1rem;
    height: 1rem;
    margin-top: auto;
    font-size: 0.74rem;
  }

  .portal-footer {
    padding: 0.52rem 0 0.58rem;
  }

  .portal-footer__inner {
    gap: 0.42rem;
    padding-inline: 0.66rem;
  }

  .portal-footer__copy p {
    font-size: 0.52rem;
    letter-spacing: 0.11em;
  }

  .portal-footer__social {
    font-size: 0.7rem;
  }

  .portal-footer__brand-copy strong {
    font-size: 0.68rem;
  }

  .portal-footer__brand-copy span {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }
}
