@font-face {
  font-family: "Gilroy";
  src: url("fonts/gilroy-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("fonts/gilroy-semibold.otf") format("opentype");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --cream: #f6ead5;
  --paper: #fff8ec;
  --orange: #f49a1b;
  --yellow: #ffc95a;
  --red: #df4a38;
  --green: #075343;
  --deep-green: #123b33;
  --brown: #683412;
  --ink: #172923;
  --muted: #59645f;
  --white: #fffdf8;
  --line: rgba(74, 49, 28, 0.16);
  --shadow: 0 24px 70px rgba(61, 39, 22, 0.13);
  --shadow-soft: 0 12px 38px rgba(61, 39, 22, 0.09);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --page-pad: max(5vw, 42px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

/* Both languages share one geometry. Switching only changes visibility. */
i18n-stack {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
}

i18n-stack.inline {
  width: auto;
  display: inline-grid;
  vertical-align: middle;
}

i18n-text {
  grid-area: 1 / 1;
  min-width: 0;
  max-width: 100%;
  display: block;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
}

i18n-text[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("images/street-vendor.jpg");
  background-size: 420px;
  filter: grayscale(1) contrast(0.45);
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 180;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--orange), var(--red));
  will-change: transform;
}

/* Header */
.site-header {
  position: fixed;
  top: 4px;
  left: 50%;
  z-index: 140;
  width: min(1480px, calc(100% - 32px));
  height: 78px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 182px minmax(420px, 1fr) 84px 164px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(104, 52, 18, 0.14);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.91);
  box-shadow: 0 12px 38px rgba(53, 36, 22, 0.08);
  backdrop-filter: blur(20px);
  transition: height 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.compact {
  height: 78px;
  background: rgba(255, 248, 236, 0.97);
  box-shadow: 0 16px 45px rgba(53, 36, 22, 0.14);
}

.brand {
  position: relative;
  width: 174px;
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
}

.brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 198px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.site-header.compact .brand {
  height: 58px;
}

.site-header.compact .brand img {
  width: 198px;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 24px);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  width: 88px;
  padding: 12px 0;
  white-space: nowrap;
  color: #263c35;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: center;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--red);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  width: 164px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch {
  justify-self: end;
  width: 82px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(104, 52, 18, 0.16);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: rgba(246, 234, 213, 0.72);
}

.lang-switch button {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--green);
  color: white;
  box-shadow: 0 5px 12px rgba(7, 83, 67, 0.18);
}

.lang-switch button:hover:not([aria-pressed="true"]) {
  background: rgba(244, 154, 27, 0.16);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--deep-green);
  box-shadow: 0 10px 22px rgba(7, 83, 67, 0.2);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(116px, 12vh, 148px) var(--page-pad) 34px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.25fr) minmax(248px, 0.62fr);
  grid-template-rows: 1fr auto;
  gap: 28px;
  background:
    radial-gradient(circle at 66% 39%, rgba(244, 154, 27, 0.22), transparent 29%),
    radial-gradient(circle at 8% 80%, rgba(223, 74, 56, 0.08), transparent 25%),
    linear-gradient(180deg, #fff7e9 0%, var(--cream) 78%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 26%;
  left: -190px;
  width: 350px;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 74, 56, 0.22);
  border-radius: 50%;
}

.hero::after {
  content: "HỘI AN  ·  ĐÀ NẴNG";
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: 92px;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  color: rgba(104, 52, 18, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero-copy {
  align-self: center;
  position: relative;
  z-index: 3;
  max-width: 510px;
  min-height: 468px;
  padding-bottom: 24px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--brown);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 26px 0 26px;
  color: var(--green);
  font-size: clamp(4rem, 6.6vw, 6.9rem);
  font-weight: 700;
  line-height: 0.83;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 strong {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-shadow: 3px 3px 0 var(--yellow);
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 470px;
  margin-bottom: 0;
  color: #40504a;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(71, 44, 21, 0.16);
}

.btn.primary {
  background: var(--orange);
  color: #2e1f10;
}

.btn.dark {
  background: var(--green);
  color: white;
}

.btn.cream {
  width: 100%;
  background: var(--cream);
  color: var(--brown);
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.sun-disc {
  position: absolute;
  width: min(37vw, 555px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 27%),
    var(--orange);
  box-shadow: inset 0 0 0 20px rgba(255, 246, 228, 0.14), 0 35px 80px rgba(113, 63, 17, 0.11);
  animation: breathe 5s ease-in-out infinite;
}

.sun-disc::before,
.sun-disc::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 2px dashed rgba(104, 52, 18, 0.23);
  border-radius: 50%;
  animation: spin 38s linear infinite;
}

.sun-disc::after {
  inset: 34px;
  border-width: 1px;
  border-style: solid;
  animation-direction: reverse;
}

.hero-banhmi {
  position: relative;
  z-index: 2;
  width: min(45vw, 670px);
  filter: drop-shadow(0 32px 28px rgba(73, 42, 17, 0.23));
  animation: float 5.2s ease-in-out infinite;
}

.hero-bike {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 2%;
  width: 128px;
  filter: drop-shadow(0 15px 16px rgba(55, 33, 18, 0.2));
  transform: rotate(-4deg);
}

.scribble {
  position: absolute;
  z-index: 4;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scribble.s1 {
  top: 13%;
  left: 4%;
  transform: rotate(-8deg);
}

.scribble.s2 {
  right: 0;
  bottom: 12%;
  color: var(--red);
  transform: rotate(7deg);
}

.burst {
  position: absolute;
  z-index: 3;
  line-height: 1;
}

.burst-one {
  top: 11%;
  right: 3%;
  color: var(--red);
  font-size: 4.5rem;
  transform: rotate(13deg);
}

.burst-two {
  bottom: 18%;
  left: 5%;
  color: var(--green);
  font-size: 3.4rem;
}

.festival-ticket {
  position: relative;
  align-self: center;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.festival-ticket::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -74px;
  width: 140px;
  height: 140px;
  border: 22px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.ticket-top,
.ticket-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ticket-top {
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.38);
}

.ticket-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 11px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.31);
}

.ticket-row strong {
  color: var(--yellow);
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
}

.ticket-row span {
  font-size: 0.84rem;
  line-height: 1.35;
}

.ticket-bottom {
  padding-top: 16px;
  color: var(--yellow);
}

.countdown {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.countdown-label {
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-units {
  display: flex;
  gap: 24px;
}

.countdown-units div {
  min-width: 64px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.countdown-units strong {
  color: var(--red);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.countdown-units span {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker {
  margin: -2px -8px 0;
  overflow: hidden;
  padding: 13px 0;
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
  background: var(--red);
  color: #fff7e9;
  transform: rotate(-0.5deg);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}

.ticker b {
  color: var(--yellow);
}

/* Guided path */
.quick-path {
  position: relative;
  z-index: 2;
  padding: 44px var(--page-pad);
  display: grid;
  grid-template-columns: minmax(235px, 0.75fr) minmax(560px, 1.7fr) auto;
  gap: 42px;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.quick-path::after {
  content: "";
  position: absolute;
  right: var(--page-pad);
  bottom: 0;
  left: var(--page-pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.quick-path-head > span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.quick-path-head h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.quick-path-head {
  min-height: 82px;
}

.quick-path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-path-steps li {
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(104, 52, 18, 0.14);
  border-radius: 19px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: rgba(246, 234, 213, 0.42);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.quick-path-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 154, 27, 0.65);
  background: #fff5e3;
}

.quick-path-steps li > span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(104, 52, 18, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.quick-path-steps strong,
.quick-path-steps small {
  display: block;
}

.quick-path-steps strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
}

.quick-path-steps small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.quick-path-steps li.is-done > span {
  border-color: var(--green);
  background: var(--green);
  color: white;
  box-shadow: 0 0 0 5px rgba(7, 83, 67, 0.09);
  font-size: 0;
}

.quick-path-steps li.is-done > span::before {
  content: "✓";
  font-size: 1rem;
}

.quick-path-steps li.is-done strong {
  color: var(--green);
}

.quick-path-cta {
  min-width: 185px;
  padding: 15px 17px;
  border: 1px solid var(--brown);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--brown);
  font-size: 0.77rem;
  font-weight: 700;
  transition: 0.24s ease;
}

.quick-path-cta:hover {
  transform: translateY(-2px);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--brown);
}

.quick-path-cta span {
  font-size: 1.1rem;
}

/* Shared sections */
.section {
  padding: clamp(88px, 9vw, 132px) var(--page-pad);
}

.section-kicker {
  margin-bottom: 25px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-kicker.light {
  color: var(--yellow);
}

.story-title h2,
.section-head h2,
.taste-intro h2,
.games-title h2,
.register h2 {
  margin: 0;
  font-size: clamp(2.9rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-head,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.72fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: end;
}

.section-head {
  margin-bottom: 54px;
}

.section-head h2 {
  min-height: 1.96em;
}

.section-head > p,
.story-copy > p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.68;
}

.section-head > p {
  min-height: 5.1em;
}

.story-copy > p {
  min-height: 8.2em;
}

/* Story */
.story {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.story::after {
  content: "✦";
  position: absolute;
  top: 45px;
  right: 5%;
  color: rgba(244, 154, 27, 0.16);
  font-size: 8rem;
  transform: rotate(14deg);
}

.story-title h2 {
  color: var(--green);
}

.story-title em {
  color: var(--red);
  font-style: normal;
}

.story-values {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.story-values div {
  padding-top: 12px;
  border-top: 2px solid var(--orange);
}

.story-values strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.story-values span {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-gallery {
  height: 500px;
  margin-top: 66px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.42fr;
  gap: 18px;
}

.story-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.story-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-gallery figure:hover img {
  transform: scale(1.04);
}

.story-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 12px;
  background: rgba(255, 248, 236, 0.9);
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.story-gallery .photo-large {
  margin-bottom: 48px;
}

.story-gallery figure:nth-child(2) {
  margin-top: 48px;
}

.story-gallery .cutout {
  overflow: visible;
  margin: 88px 0 28px;
  background: var(--orange);
}

.story-gallery .cutout img {
  object-fit: contain;
  transform: scale(1.16);
  filter: drop-shadow(0 22px 22px rgba(50, 31, 15, 0.19));
}

/* Venues */
.venues {
  position: relative;
  background:
    radial-gradient(circle at 92% 6%, rgba(244, 154, 27, 0.11), transparent 23%),
    var(--cream);
}

.venues .section-head h2 {
  color: var(--green);
}

.venue-tabs {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.venue-tab {
  min-width: 0;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(104, 52, 18, 0.15);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 3px 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.36);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.venue-tab:hover {
  transform: translateY(-3px);
}

.venue-tab.active {
  border-color: var(--brown);
  background: var(--orange);
  box-shadow: 6px 6px 0 var(--brown);
}

.venue-tab .tab-date {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--brown);
  font-size: 1.28rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.venue-tab strong {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.venue-tab > span:last-child {
  min-width: 0;
  color: #514d46;
  font-size: 0.73rem;
  line-height: 1.38;
}

.venue-panel {
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(104, 52, 18, 0.16);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.venue-panel[hidden] {
  display: none;
}

.venue-photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.venue-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(18, 59, 51, 0.34));
  pointer-events: none;
}

.venue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.venue-panel:hover .venue-photo img {
  transform: scale(1.025);
}

.venue-info {
  padding: clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-no {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.venue-info h3 {
  margin: 17px 0 18px;
  color: var(--green);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  min-height: 2em;
}

.venue-info > p {
  min-height: 6.1em;
  color: var(--muted);
  font-size: 0.94rem;
}

.venue-info dl {
  margin: 16px 0 27px;
}

.venue-info dl div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
}

.venue-info dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venue-info dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.venue-info .btn {
  align-self: flex-start;
}

/* Taste */
.taste {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 8%, rgba(255, 201, 90, 0.11), transparent 24%),
    radial-gradient(circle at 8% 76%, rgba(223, 74, 56, 0.12), transparent 26%),
    var(--green);
  color: white;
}

.taste::before,
.taste::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.taste::before {
  top: -260px;
  right: -230px;
  width: 560px;
  height: 560px;
}

.taste::after {
  bottom: 9%;
  left: -170px;
  width: 300px;
  height: 300px;
}

.taste-intro,
.menu-grid,
.saved-flavours {
  position: relative;
  z-index: 2;
}

.taste-intro {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 20px 7vw;
  align-items: end;
}

.taste-intro .section-kicker {
  grid-column: 1 / -1;
}

.taste-intro h2 {
  color: white;
}

.taste-intro p {
  max-width: 520px;
  margin-bottom: 0;
  color: #dce9e4;
  font-size: 1rem;
  line-height: 1.65;
}

.taste-filter {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: flex;
  gap: 5px;
  width: max-content;
  background: rgba(255, 255, 255, 0.055);
}

.taste-filter button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.taste-filter button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.taste-filter button.active {
  background: var(--orange);
  color: #2b2119;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.food-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(1, 25, 19, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, outline 0.2s ease;
}

.food-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(1, 25, 19, 0.18);
}

.food-card.is-hidden {
  display: none;
}

.food-card.is-saved {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}

.food-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 201, 90, 0.5), transparent 52%),
    #f8ead2;
}

.food-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(75, 43, 18, 0.16));
  transition: transform 0.5s ease;
}

.food-card:hover .food-image img {
  transform: scale(1.045) rotate(-1deg);
}

.food-card:last-child .food-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.food-image > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.food-card.is-saved .food-image::after {
  content: "ĐÃ LƯU";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

html[lang="en"] .food-card.is-saved .food-image::after {
  content: "SAVED";
}

.food-copy {
  position: relative;
  min-height: 228px;
  padding: 23px;
}

.food-copy small {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.food-copy h3 {
  margin: 10px 46px 10px 0;
  color: var(--brown);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  min-height: 2.16em;
}

.food-copy p {
  min-height: 4.6em;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.52;
}

.heart {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #cbbda7;
  border-radius: 50%;
  background: white;
  color: var(--red);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transition: 0.2s ease;
}

.heart:hover,
.heart[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: white;
  transform: scale(1.07);
}

.saved-flavours {
  position: sticky;
  bottom: 18px;
  z-index: 15;
  width: max-content;
  max-width: calc(100vw - 36px);
  margin: 34px auto 0;
  padding: 11px 13px 11px 18px;
  border: 2px solid var(--brown);
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #2b2119;
  box-shadow: 7px 7px 0 var(--brown);
  font-size: 0.86rem;
  transition: box-shadow 0.24s ease;
}

.saved-flavours.has-items {
  box-shadow: 8px 8px 0 var(--brown), 0 16px 30px rgba(0, 0, 0, 0.2);
}

.saved-flavours button {
  margin-left: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brown);
  color: white;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Journey */
.journey {
  background:
    linear-gradient(180deg, rgba(244, 154, 27, 0.05), transparent 35%),
    var(--paper);
}

.journey .section-head h2 {
  color: var(--red);
}

.journey-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.journey-line article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(104, 52, 18, 0.13);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.journey-line article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.journey-photo {
  height: 220px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f5d8a9;
}

.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.journey-line article:nth-child(2) .journey-photo,
.journey-line article:nth-child(3) .journey-photo {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 44%),
    var(--orange);
}

.journey-line article:nth-child(2) .journey-photo img,
.journey-line article:nth-child(3) .journey-photo img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(75, 43, 18, 0.18));
}

.journey-line article:hover .journey-photo img {
  transform: scale(1.045);
}

.journey-body {
  position: relative;
  min-height: 246px;
  padding: 24px;
}

.journey-body > span {
  display: block;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.journey-icon {
  position: absolute;
  top: -25px;
  right: 21px;
  width: 54px;
  height: 54px;
  border: 2px solid var(--brown);
  border-radius: 38% 62% 54% 46% / 52% 42% 58% 48%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--brown);
  font-size: 1.45rem;
  box-shadow: 0 9px 18px rgba(61, 39, 22, 0.13);
  transition: transform 0.25s ease;
}

.journey-line article:nth-child(2) .journey-icon {
  background: var(--red);
  color: white;
}

.journey-line article:nth-child(3) .journey-icon {
  background: var(--green);
  color: white;
}

.journey-line article:nth-child(4) .journey-icon {
  background: var(--orange);
}

.journey-line article:hover .journey-icon {
  transform: rotate(7deg) scale(1.06);
}

.journey-line h3 {
  margin: 16px 0 9px;
  color: var(--brown);
  font-size: 1.55rem;
  font-weight: 700;
  min-height: 2em;
}

.journey-line p {
  min-height: 6.2em;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* Games */
.games {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(244, 154, 27, 0.1), transparent 24%),
    var(--brown);
  color: white;
}

.games-title {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.games-title .section-kicker {
  grid-column: 1 / -1;
}

.game-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.game-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border: 32px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.game-card.red {
  background: var(--red);
}

.game-card.green {
  background: var(--green);
}

.game-card.orange {
  background: var(--orange);
  color: #2b2119;
}

.game-card > span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.game-card h3 {
  max-width: 330px;
  margin: 19px 0 13px;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  min-height: 2em;
}

.game-card p {
  position: relative;
  z-index: 2;
  max-width: 400px;
  font-size: 0.88rem;
  line-height: 1.55;
  min-height: 6.2em;
}

.game-card img {
  position: absolute;
  right: 8%;
  bottom: -10%;
  left: 8%;
  width: 84%;
  height: 44%;
  object-fit: contain;
  filter: drop-shadow(0 22px 16px rgba(0, 0, 0, 0.2));
  transition: transform 0.5s ease;
}

.game-card:nth-child(2) img,
.game-card:nth-child(3) img {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38%;
  object-fit: cover;
  filter: none;
}

.game-card:hover img {
  transform: scale(1.04) rotate(-1deg);
}

/* Campaign live hub */
.campaign {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(244, 154, 27, 0.14), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(7, 83, 67, 0.1), transparent 25%),
    var(--cream);
}

.campaign::before {
  content: "LIVE";
  position: absolute;
  top: 4%;
  right: -0.04em;
  color: rgba(104, 52, 18, 0.035);
  font-size: clamp(9rem, 24vw, 24rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.campaign .section-head,
.campaign-tabs,
.campaign-panels {
  position: relative;
  z-index: 1;
}

.campaign .section-head h2 {
  color: var(--green);
}

.campaign-tabs {
  margin-bottom: 18px;
  padding: 7px;
  border: 1px solid rgba(104, 52, 18, 0.15);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  background: rgba(255, 248, 236, 0.76);
  box-shadow: 0 14px 45px rgba(61, 39, 22, 0.08);
  backdrop-filter: blur(16px);
}

.campaign-tabs button {
  position: relative;
  min-width: 0;
  min-height: 104px;
  padding: 17px 18px 17px 74px;
  border: 0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.campaign-tabs button > span {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 1px solid rgba(104, 52, 18, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 700;
}

.campaign-tabs strong,
.campaign-tabs small {
  display: block;
}

.campaign-tabs strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.campaign-tabs small {
  min-height: 1.35em;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.campaign-tabs button:hover {
  transform: translateY(-2px);
  background: rgba(244, 154, 27, 0.1);
}

.campaign-tabs button.active {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 28px rgba(7, 83, 67, 0.2);
}

.campaign-tabs button.active > span {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--orange);
  color: #2c2015;
}

.campaign-tabs button.active small {
  color: #cfe0da;
}

.campaign-panels {
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(104, 52, 18, 0.16);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.campaign-panel {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
}

.campaign-panel[hidden] {
  display: none;
}

.campaign-visual {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: var(--orange);
}

.campaign-visual::before,
.campaign-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.campaign-visual::before {
  width: 72%;
  aspect-ratio: 1;
  border: 1px dashed rgba(104, 52, 18, 0.35);
  animation: spin 34s linear infinite;
}

.campaign-visual::after {
  width: 50%;
  aspect-ratio: 1;
  background: rgba(255, 248, 236, 0.32);
}

.campaign-visual img {
  position: relative;
  z-index: 1;
  width: 82%;
  max-height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 30px 24px rgba(61, 39, 22, 0.24));
}

.live-visual,
.result-visual {
  place-items: stretch;
  background: var(--deep-green);
}

.live-visual::before,
.live-visual::after,
.result-visual::before,
.result-visual::after {
  z-index: 1;
  pointer-events: none;
}

.live-visual img,
.result-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.live-visual::after,
.result-visual::after {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7, 83, 67, 0.04), rgba(7, 83, 67, 0.76));
}

.campaign-status,
.visual-note {
  position: absolute;
  z-index: 3;
}

.campaign-status {
  top: 24px;
  left: 24px;
  min-width: 168px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(18, 59, 51, 0.76);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.campaign-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 201, 90, 0.15);
  animation: breathe 1.6s ease-in-out infinite;
}

.visual-note {
  right: 24px;
  bottom: 24px;
  left: 24px;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: rgba(255, 248, 236, 0.88);
  color: var(--brown);
  font-size: 0.82rem;
  line-height: 1.35;
  backdrop-filter: blur(13px);
}

.campaign-copy {
  min-height: 690px;
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.campaign-phase {
  display: block;
  min-height: 1.35em;
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.campaign-copy h3 {
  min-height: 2.06em;
  margin: 16px 0 18px;
  color: var(--green);
  font-size: clamp(2.45rem, 4vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.campaign-copy > p {
  min-height: 5.1em;
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.campaign-points {
  border-top: 1px solid var(--line);
}

.campaign-points > div {
  min-height: 82px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.campaign-points > div > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 154, 27, 0.18);
  color: var(--brown);
  font-size: 0.66rem;
  font-weight: 700;
}

.campaign-points p {
  margin: 0;
}

.campaign-points strong,
.campaign-points small {
  display: block;
}

.campaign-points strong {
  color: var(--ink);
  font-size: 0.87rem;
}

.campaign-points small {
  min-height: 2.7em;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.campaign-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.campaign-actions .btn,
.share-campaign,
#campaign-panel-live .btn {
  min-width: 180px;
}

.share-campaign {
  min-height: 54px;
  padding: 0 19px;
  border: 1px solid rgba(104, 52, 18, 0.28);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.share-campaign:hover {
  background: rgba(244, 154, 27, 0.13);
}

#campaign-panel-live .btn {
  align-self: flex-start;
  margin-top: 24px;
}

.result-copy {
  background: var(--deep-green);
  color: white;
}

.result-copy .campaign-phase {
  color: var(--yellow);
}

.result-copy h3 {
  color: white;
}

.result-copy > p {
  color: #c9d9d4;
}

.result-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.result-feature,
.winner-list {
  min-height: 206px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.06);
}

.result-feature {
  display: flex;
  flex-direction: column;
}

.result-feature small,
.winner-list > small {
  color: var(--yellow);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.result-feature strong {
  min-height: 2.5em;
  margin: 19px 0 8px;
  font-size: 1.15rem;
  line-height: 1.24;
}

.result-feature > span {
  color: #bfd0ca;
  font-size: 0.72rem;
}

.result-loading {
  margin-top: auto;
  display: flex;
  gap: 5px;
}

.result-loading i {
  width: 28%;
  height: 5px;
  border-radius: 999px;
  background: var(--orange);
}

.result-loading i:nth-child(2) {
  width: 18%;
  opacity: 0.65;
}

.result-loading i:nth-child(3) {
  width: 12%;
  opacity: 0.35;
}

.winner-list p {
  min-height: 45px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
}

.winner-list p:last-child {
  border-bottom: 0;
}

.winner-list p > span {
  color: #d6e3df;
}

.winner-list p > strong {
  color: var(--yellow);
  font-size: 0.65rem;
  white-space: nowrap;
}

.dark-share {
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.dark-share:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Register */
.register {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 20%),
    var(--orange);
}

.register-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(42px, 5.5vw, 72px);
  border-radius: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(44px, 8vw, 110px);
  background: var(--green);
  color: white;
  box-shadow: 13px 13px 0 var(--brown);
}

.register-shell::after {
  content: "✦";
  position: absolute;
  right: 40%;
  bottom: -110px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 17rem;
  line-height: 1;
}

.register h2 {
  color: white;
}

.register-copy > p {
  min-height: 3.3em;
  max-width: 500px;
  color: #d6e4df;
  font-size: 1rem;
  line-height: 1.62;
}

.mini-location {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 16px;
}

.mini-location > span {
  min-width: 70px;
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mini-location p {
  margin: 0;
  font-size: 0.84rem;
}

.register-form {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(1, 25, 19, 0.14);
}

.register-form label {
  min-width: 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.register-form input,
.register-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #b9ad9c;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.register-form input:focus,
.register-form select:focus {
  border-color: var(--red);
  box-shadow: 0 2px 0 var(--red);
}

.register-form .consent,
.register-form .btn,
.register-form .form-note {
  grid-column: 1 / -1;
}

.register-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.register-form .consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
}

.form-note {
  margin: 0;
  color: #6b6c66;
  font-size: 0.72rem;
  text-align: center;
}

.register-form.success .form-note {
  color: var(--green);
  font-weight: 700;
}

/* Footer */
footer {
  padding: 58px var(--page-pad) 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 60px;
  background:
    radial-gradient(circle at 15% -10%, rgba(244, 154, 27, 0.08), transparent 29%),
    #143b32;
  color: white;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  position: relative;
  width: 220px;
  height: 90px;
  overflow: hidden;
  border-radius: 14px;
}

.footer-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 304px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.footer-brand p {
  margin: 12px 0 0;
  color: #bdcec8;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #a9bbb5;
  font-size: 0.68rem;
}

/* Dialog */
.vote-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 36px;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(30, 21, 13, 0.38);
}

.vote-dialog::backdrop {
  background: rgba(13, 42, 34, 0.68);
  backdrop-filter: blur(7px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 17px;
  border: 0;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 2rem;
}

.dialog-badge {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.vote-dialog h2 {
  margin: 17px 35px 13px 0;
  color: var(--green);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.vote-dialog > p {
  color: var(--muted);
}

.vote-form {
  margin-top: 24px;
  display: grid;
  gap: 17px;
}

.vote-form > label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vote-form select {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #c9bda8;
  border-radius: 12px;
  background: white;
}

.vote-form fieldset {
  margin: 0;
  padding: 15px;
  border: 1px solid #c9bda8;
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vote-form legend {
  padding: 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vote-form fieldset label {
  padding: 8px 10px;
  border-radius: 999px;
  background: white;
}

.vote-success {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #e3efe9;
}

.vote-success strong {
  color: var(--green);
  font-size: 1.2rem;
}

.vote-success p {
  margin: 4px 0 0;
}

.mobile-dock {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

html.lang-switching *,
html.lang-switching *::before,
html.lang-switching *::after {
  transition: none !important;
}

html.lang-switching {
  scroll-behavior: auto;
  overflow-anchor: none;
}

html.lang-switching body,
html.lang-switching main {
  overflow-anchor: none;
}

html.lang-switching .lang-switch {
  pointer-events: none;
}

*:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 96px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(-2deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.985);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1280px) {
  :root {
    --page-pad: max(4vw, 30px);
  }

  .site-header {
    grid-template-columns: 176px minmax(390px, 1fr) 82px 154px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .header-cta {
    width: 154px;
  }

  .hero {
    grid-template-columns: minmax(300px, 0.86fr) minmax(430px, 1.14fr);
  }

  .hero-copy {
    max-width: 480px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .sun-disc {
    width: min(48vw, 540px);
  }

  .hero-banhmi {
    width: min(57vw, 650px);
  }

  .festival-ticket {
    position: absolute;
    z-index: 6;
    right: var(--page-pad);
    bottom: 118px;
    width: 280px;
  }

  .quick-path {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.7fr);
    gap: 30px;
  }

  .quick-path-cta {
    grid-column: 1 / -1;
    width: max-content;
  }

  .journey-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-photo {
    height: 250px;
  }
}

@media (max-width: 1100px) {
  :root {
    --page-pad: 26px;
  }

  .site-header {
    top: 4px;
    width: calc(100% - 20px);
    height: 72px;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    padding: 4px 7px 4px 14px;
    border-radius: 20px;
  }

  .site-header.compact {
    height: 72px;
  }

  .brand {
    width: 168px;
    height: 58px;
  }

  .brand img {
    width: 198px;
  }

  .site-header.compact .brand {
    height: 58px;
  }

  .site-header.compact .brand img {
    width: 198px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .lang-switch {
    width: 78px;
    height: 44px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 15px;
    display: grid;
    place-content: center;
    gap: 7px;
    background: var(--green);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    padding: 16px;
    border: 1px solid rgba(104, 52, 18, 0.14);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 248, 236, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: 0.24s ease;
  }

  .mobile-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
  }

  .mobile-nav a:last-child {
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: white;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 106px var(--page-pad) 30px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .hero-copy {
    max-width: 650px;
    padding: 12px 0 0;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(4.2rem, 12vw, 6.7rem);
  }

  .hero-visual {
    min-height: 520px;
  }

  .sun-disc {
    width: min(72vw, 520px);
  }

  .hero-banhmi {
    width: min(84vw, 620px);
  }

  .festival-ticket {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .ticket-row {
    grid-template-columns: 90px 1fr;
  }

  .countdown {
    grid-column: auto;
  }

  .quick-path {
    grid-template-columns: 1fr;
  }

  .quick-path-head {
    max-width: 460px;
  }

  .quick-path-cta {
    grid-column: auto;
  }

  .story-grid,
  .section-head,
  .taste-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-head {
    align-items: start;
  }

  .section-head > p,
  .story-copy > p {
    max-width: 720px;
  }

  .story-gallery {
    height: 590px;
    grid-template-columns: 1fr 1fr;
  }

  .story-gallery .photo-large {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .story-gallery figure:nth-child(2) {
    margin-top: 0;
  }

  .story-gallery .cutout {
    margin: 0;
  }

  .venue-panel {
    grid-template-columns: 1fr;
  }

  .venue-photo {
    min-height: 420px;
  }

  .taste-intro .section-kicker,
  .taste-filter {
    grid-column: auto;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-cards {
    grid-template-columns: 1fr;
  }

  .campaign-panel {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  }

  .campaign-copy {
    padding: 40px 34px;
  }

  .result-board {
    grid-template-columns: 1fr;
  }

  .result-feature,
  .winner-list {
    min-height: 175px;
  }

  .game-card {
    min-height: 500px;
  }

  .game-card h3 {
    max-width: 500px;
  }

  .games-title {
    grid-template-columns: 1fr;
  }

  .register-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 18px;
    --radius-xl: 26px;
    --radius-lg: 22px;
  }

  body {
    font-size: 15px;
  }

  .paper-noise {
    display: none;
  }

  .site-header {
    width: calc(100% - 16px);
  }

  .brand {
    width: 148px;
  }

  .brand img {
    width: 194px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    margin: 22px 0;
    font-size: clamp(3.55rem, 17vw, 5.2rem);
    line-height: 0.86;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-bike {
    width: 88px;
  }

  .scribble,
  .burst-two {
    display: none;
  }

  .burst-one {
    font-size: 3.2rem;
  }

  .countdown {
    align-items: flex-start;
    flex-direction: column;
  }

  .countdown-units {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .countdown-units div {
    min-width: 0;
    flex-direction: column;
    gap: 0;
  }

  .countdown-units strong {
    font-size: 1.45rem;
  }

  .ticker-track {
    font-size: 0.85rem;
  }

  .quick-path {
    padding-top: 36px;
    padding-bottom: 36px;
    gap: 22px;
  }

  .quick-path-head {
    min-height: 0;
  }

  .quick-path-steps {
    grid-template-columns: 1fr;
  }

  .quick-path-steps li {
    min-height: 80px;
  }

  .section-head h2,
  .section-head > p,
  .story-copy > p {
    min-height: 0;
  }

  .quick-path-cta {
    width: 100%;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .story-title h2,
  .section-head h2,
  .taste-intro h2,
  .games-title h2,
  .register h2 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
    line-height: 1;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .story-values {
    grid-template-columns: 1fr;
  }

  .story-values div {
    display: grid;
    grid-template-columns: 65px 1fr;
    align-items: center;
  }

  .story-values span {
    margin-top: 0;
  }

  .story-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .story-gallery figure,
  .story-gallery .photo-large {
    height: 285px;
  }

  .story-gallery .cutout {
    display: none;
  }

  .venue-tabs {
    grid-template-columns: 1fr;
  }

  .venue-tab {
    min-height: 94px;
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .venue-info h3,
  .venue-info > p {
    min-height: 0;
  }

  .venue-tab .tab-date {
    font-size: 1.05rem;
  }

  .venue-panel {
    border-radius: 22px;
  }

  .venue-photo {
    min-height: 285px;
  }

  .venue-info {
    padding: 28px 22px;
  }

  .venue-info h3 {
    font-size: 2.15rem;
  }

  .venue-info dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .venue-info .btn {
    width: 100%;
  }

  .taste-filter {
    width: 100%;
  }

  .taste-filter button {
    flex: 1;
    padding: 0 10px;
  }

  .menu-grid,
  .journey-line {
    grid-template-columns: 1fr;
  }

  .food-image,
  .journey-photo {
    height: 245px;
  }

  .food-copy h3,
  .food-copy p,
  .journey-line h3,
  .journey-line p,
  .game-card h3,
  .game-card p {
    min-height: 0;
  }

  .saved-flavours {
    bottom: 84px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }

  .saved-flavours button {
    margin-left: 2px;
  }

  .game-card {
    min-height: 470px;
    padding: 24px;
  }

  .game-card h3 {
    font-size: 2.15rem;
  }

  .campaign-tabs {
    padding: 5px;
    border-radius: 20px;
    grid-template-columns: 1fr;
  }

  .campaign-tabs button {
    min-height: 78px;
    padding: 12px 14px 12px 68px;
  }

  .campaign-tabs button > span {
    left: 15px;
  }

  .campaign-tabs small {
    min-height: 0;
  }

  .campaign-panels,
  .campaign-panel,
  .campaign-visual,
  .campaign-copy {
    min-height: 0;
  }

  .campaign-panel {
    grid-template-columns: 1fr;
  }

  .campaign-visual {
    min-height: 360px;
  }

  .campaign-copy {
    padding: 34px 22px;
  }

  .campaign-copy h3,
  .campaign-copy > p,
  .campaign-points small {
    min-height: 0;
  }

  .campaign-copy h3 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .campaign-actions,
  .campaign-actions .btn,
  .share-campaign,
  #campaign-panel-live .btn {
    width: 100%;
  }

  .result-board {
    grid-template-columns: 1fr;
  }

  .winner-list p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .register {
    padding-right: 12px;
    padding-left: 12px;
  }

  .register-shell {
    padding: 32px 20px;
    border-radius: 25px;
    box-shadow: 7px 7px 0 var(--brown);
  }

  .register-form {
    padding: 21px;
    grid-template-columns: 1fr;
  }

  .register-form .consent,
  .register-form .btn,
  .register-form .form-note {
    grid-column: auto;
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 120;
    padding: 6px;
    border: 1px solid rgba(104, 52, 18, 0.15);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.12fr;
    gap: 5px;
    background: rgba(255, 248, 236, 0.95);
    box-shadow: 0 12px 36px rgba(48, 29, 16, 0.22);
    backdrop-filter: blur(16px);
  }

  .mobile-dock a {
    min-height: 52px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: var(--brown);
    font-size: 0.61rem;
    font-weight: 700;
  }

  .mobile-dock a span {
    font-size: 1.05rem;
    line-height: 1;
  }

  .mobile-dock .mobile-dock-primary {
    background: var(--green);
    color: white;
  }

  footer {
    padding: 46px 22px 105px;
  }

  .footer-logo {
    width: 195px;
    height: 82px;
  }

  .footer-logo img {
    width: 278px;
  }

  .footer-links {
    gap: 18px;
  }

  .vote-dialog {
    padding: 30px 21px;
  }

  .vote-form fieldset {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
