/* Delicious Game Developers — shared site styles */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/baloo2-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/spacegrotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/spacemono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/spacemono-700.woff2") format("woff2");
}

:root {
  --cream: #F5E6C8;
  --cream-deep: #EBD7AE;
  --peach: #E8826B;
  --peach-deep: #B8432E;
  --peach-ink: #8E3828;
  --bamboo: #8A5E32;
  --bamboo-dark: #5C3D20;
  --gold: #F2C14E;
  --gold-deep: #E2B13A;
  --ink: #241A12;
  --ink-soft: #3A2C22;
  --paper: #FBF4E6;
  --white: #FFFBF3;
  --lacquer: #211309;
  --lacquer-2: #3A2412;
  --line: rgba(92, 61, 32, 0.16);
  --maxw: 1120px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 0 18px 40px rgba(92, 61, 32, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 193, 78, 0.18), transparent 34%),
    radial-gradient(circle at 100% 80%, rgba(232, 130, 107, 0.1), transparent 36%),
    var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, .display {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--bamboo-dark);
}
::selection { background: var(--gold); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--peach-ink);
  outline-offset: 3px;
}
.stage :focus-visible,
.band :focus-visible,
.footer :focus-visible,
.demo :focus-visible {
  outline-color: var(--gold);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 244, 230, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 20px;
  color: var(--bamboo-dark);
  letter-spacing: -0.02em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--peach-ink); background: rgba(142, 56, 40, 0.06); }
.nav-links a.active { color: var(--ink); background: rgba(242, 193, 78, 0.45); }
.burger {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger-lines::before, .burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
body.nav-open .burger-lines { background: transparent; }
body.nav-open .burger-lines::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger-lines::after { top: 0; transform: rotate(-45deg); }

/* buttons */
.btn {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn-gold {
  background: linear-gradient(180deg, #F6D56A, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 4px 0 var(--bamboo-dark);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--bamboo-dark); }
.btn-gold:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--bamboo-dark); }
.btn-solid {
  background: linear-gradient(180deg, #B8432E, #8E3224);
  color: #fff;
  box-shadow: 0 4px 0 #5C2418;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #5C2418; }
.btn-solid:active { transform: translateY(1px); box-shadow: 0 2px 0 #5C2418; }
.btn-line {
  background: transparent;
  color: var(--bamboo-dark);
  border: 1.5px solid rgba(92, 61, 32, 0.38);
  box-shadow: none;
}
.btn-line:hover { background: rgba(255, 251, 243, 0.7); border-color: var(--bamboo-dark); transform: translateY(-2px); }
.btn-line.on-dark { color: var(--cream); border-color: rgba(245, 230, 200, 0.45); }
.btn-line.on-dark:hover { background: rgba(245, 230, 200, 0.08); border-color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* type helpers */
.eyebrow {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach-ink);
  margin-bottom: 14px;
  display: inline-block;
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 38em;
}
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 9vw, 112px) 28px; }
.sec-head { max-width: 40rem; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 16px; }
.sec-head p { font-size: 18px; color: var(--ink-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--bamboo-dark);
  background: rgba(255, 251, 243, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
}

/* hero */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 28px 36px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 80px);
  max-width: 12em;
  margin: 18px auto 18px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--peach-ink);
}
.hero .lede { margin: 0 auto 28px; }
.hero-logo {
  width: min(560px, 92%);
  margin: 0 auto;
  filter: drop-shadow(0 16px 24px rgba(92, 61, 32, 0.28));
}
.float {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(92, 61, 32, 0.22));
}
.float.cart { width: 168px; aspect-ratio: 360 / 393; left: 0; bottom: 8px; animation: floaty 7s ease-in-out infinite; }
.float.cat { width: 112px; aspect-ratio: 240 / 321; right: 8px; top: 18%; animation: floaty 6s ease-in-out infinite reverse; }
@media (min-width: 981px) {
  .float.cart { background: url("/assets/opt/cart.webp") center / contain no-repeat; }
  .float.cat { background: url("/assets/opt/cat.webp") center / contain no-repeat; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rise {
  from { transform: translateY(10px); }
  to { transform: none; }
}
.hero-logo, .hero h1, .hero .lede, .hero .actions { animation: rise .7s var(--ease) both; }
.hero h1 { animation-delay: .08s; }
.hero .lede { animation-delay: .16s; }
.hero .actions { animation-delay: .24s; justify-content: center; }

.strip {
  margin-top: 28px;
  background: var(--lacquer);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.strip .run { display: inline-block; animation: ticker 32s linear infinite; }
.strip span { margin: 0 22px; }
.strip .dot { color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(92, 61, 32, 0.12); }
.pillar img { height: 92px; width: auto; object-fit: contain; margin-bottom: 16px; }
.pillar h3 {
  font-family: "Baloo 2", cursive;
  font-size: 24px;
  font-weight: 700;
  color: var(--bamboo-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pillar p { color: var(--ink-soft); font-size: 15.5px; }

/* game cards */
.gcards { display: grid; gap: 22px; }
.gcard {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) 1.14fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(92, 61, 32, 0.12); }
.gcard.flip .gcard-media { order: 2; }
.gcard-media {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 48px 32px 32px;
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(242, 193, 78, 0.28), transparent 58%),
    linear-gradient(165deg, var(--lacquer-2), var(--lacquer));
}
.gcard-media img {
  width: min(100%, 380px);
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
  transition: transform .6s var(--ease);
}
.gcard:hover .gcard-media img { transform: scale(1.04); }
.gcard-media .badge { position: absolute; top: 18px; left: 18px; z-index: 2; }
.gcard-media.poster { padding: 0; min-height: 360px; }
.gcard-media.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}
.gcard-media.sky {
  background: radial-gradient(circle at 50% 40%, #e9f7ff, #7ec4ea 70%);
}
.gcard-media.sky > img {
  width: min(74%, 250px);
  max-height: 250px;
  filter: none;
}
img.pixel {
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
}
.badge img {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 4px;
}
.gcard-body { padding: 40px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.gcard-body .eyebrow { margin-bottom: 10px; }
.gcard-body h2, .gcard-body h3 {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.gcard-body h2 a, .gcard-body h3 a { color: var(--bamboo-dark); text-decoration: none; }
.gcard-body h2 a:hover, .gcard-body h3 a:hover { color: var(--peach-ink); }
.gcard-body p { color: var(--ink-soft); margin-bottom: 18px; }
.gcard-body .chips { margin-bottom: 22px; }
.gcard-body .fine { font-size: 14px; color: var(--bamboo-dark); margin: 12px 0 0; }

/* studio strip */
.studio {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px clamp(80px, 10vw, 120px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
}
.studio img { width: 160px; filter: drop-shadow(0 12px 16px rgba(92, 61, 32, 0.22)); }
.studio h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.studio p { color: var(--ink-soft); max-width: 38em; margin-bottom: 20px; }

/* page intro */
.page-intro { max-width: var(--maxw); margin: 0 auto; padding: 72px 28px 12px; }
.page-intro h1 { font-size: clamp(48px, 7vw, 84px); margin-bottom: 14px; }
.crumb { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; color: var(--bamboo-dark); }
.crumb a { color: var(--peach-ink); text-underline-offset: 3px; }
.stage .crumb, .stage .crumb a { color: #E7D3B0; }

/* stage (game heroes) */
.stage {
  background: linear-gradient(165deg, var(--lacquer-2), var(--lacquer));
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 193, 78, 0.18), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(232, 130, 107, 0.12), transparent 40%);
  pointer-events: none;
}
.stage-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 28px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.stage h1 {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  color: #fff;
  font-size: clamp(46px, 5.6vw, 76px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 12px 0 8px;
}
.stage .sub {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 560;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--gold);
  margin-bottom: 16px;
}
.stage p { color: #E7D3B0; font-size: 18px; max-width: 36em; margin-bottom: 22px; }
.stage .logo-hero { width: min(520px, 100%); margin-bottom: 8px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.4)); }
.stage-art { display: grid; place-items: center; }
.stage-art img { width: min(100%, 560px); border-radius: 22px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
.sec-head h2, .mode h3, .stage h1 { text-wrap: balance; }
.lede, .sec-head p { text-wrap: pretty; }
.stage .fine { color: #D5C6AB; font-size: 14px; margin-top: 14px; }

/* steps, cast, dishes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step, .cast article, .dish, .feature, .mode, .course {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(92, 61, 32, 0.05);
}
.step, .feature, .mode {
  padding: 24px 20px 22px;
  transition: transform .3s var(--ease);
}
.step:hover, .feature:hover, .mode:hover, .cast article:hover, .dish:hover, .course:hover {
  transform: translateY(-5px);
}
.step .n, .mode .n {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--peach-ink);
  margin-bottom: 10px;
}
.step img { height: 84px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.step, .mode { text-align: left; }
.step h3, .mode h3, .feature h3, .dish h3, .cast h3, .course h3 {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  color: var(--bamboo-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.step p, .mode p, .feature p, .dish p, .cast p { color: var(--ink-soft); font-size: 15px; }
.cast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cast article, .dish { padding: 18px 12px 16px; text-align: center; }
.cast img, .dish img { height: 112px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.cast p, .dish p { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; }
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature .ic { font-size: 26px; margin-bottom: 10px; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { min-height: 148px; }
.mode h3 { font-size: 26px; line-height: 1.1; }
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.legal h2 .num { font-family: "Space Mono", ui-monospace, monospace; font-size: 14px; color: var(--peach-ink); margin-right: 10px; font-weight: 400; }
.course { overflow: hidden; }
.course img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.course h3 { font-size: 20px; padding: 10px 16px 14px; margin: 0; }

.stage-banner { background: #e8c98a; position: relative; }
.stage-banner .banner { position: relative; max-width: 1180px; margin: 0 auto; }
.stage-banner .banner-art { width: 100%; height: auto; display: block; }
.stage-banner .stage-copy {
  position: absolute;
  top: 6%;
  left: 4.5%;
  width: min(17rem, 24%);
}
.stage-banner h1 {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(28px, 3.1vw, 48px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 8px 0 4px;
}
.stage-banner .sub { color: var(--bamboo-dark); font-size: clamp(16px, 1.4vw, 22px); margin: 0 0 8px; }
.stage-banner .stage-copy p { color: var(--ink); font-size: 14.5px; margin: 0 0 12px; max-width: 16rem; }
.stage-banner .crumb, .stage-banner .crumb a { color: var(--bamboo-dark); }
@media (max-width: 860px) {
  .stage-banner { background: var(--paper); }
  .stage-banner .banner { display: flex; flex-direction: column; }
  .stage-banner .banner-art { order: -1; }
  .stage-banner .stage-copy { position: static; width: auto; padding: 22px 18px 4px; }
  .stage-banner h1 { font-size: clamp(36px, 10vw, 48px); }
  .stage-banner .stage-copy p { max-width: 36rem; font-size: 16px; }
}

.band {
  background: linear-gradient(165deg, var(--lacquer-2), #140c07);
  color: var(--cream);
}
.band .sec-head h2, .band h2 { color: #fff; }
.band .sec-head p, .band p { color: #E7D3B0; }
.band .eyebrow { color: var(--gold); }
.band-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 9vw, 112px) 28px; }
.rare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rare article {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(245, 230, 200, 0.16);
  border-radius: 22px;
  padding: 22px;
}
.rare img { width: 120px; height: auto; }
.rare h3 { font-family: "Baloo 2", cursive; color: #fff; font-size: 24px; margin-bottom: 6px; }
.rare .tier { font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.rare .plat { color: #D5E6FF; }

.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}
.js .city {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.js .city.in { opacity: 1; transform: none; }
.city .order { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; color: var(--bamboo-dark); }
.city .flag { font-size: 28px; margin: 6px 0; }
.city h3 { font-family: "Baloo 2", cursive; color: var(--bamboo-dark); font-size: 22px; }
.city .state { font-family: "Space Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bamboo-dark); }
.city .state.here { color: var(--peach-ink); }

.panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  margin-top: 8px;
}
.panel img, .slot img { width: 100%; border-radius: 24px; }
.slot { margin: 0; }
.panel h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }

.close {
  text-align: center;
  padding: 28px 0 8px;
}
.close h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }

/* legal + support */
.mast {
  background: linear-gradient(165deg, var(--lacquer-2), var(--lacquer));
  color: var(--cream);
  padding: 64px 28px 52px;
}
.mast-inner { max-width: 760px; margin: 0 auto; }
.mast .eyebrow { color: var(--gold); }
.mast h1 { color: #fff; font-size: clamp(40px, 5vw, 64px); margin-bottom: 10px; }
.mast p, .mast .updated { color: #E7D3B0; }
.updated { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; }
.legal, .help { max-width: 760px; margin: 0 auto; padding: 48px 28px 100px; }
.legal .intro, .help .intro { font-size: 18px; color: var(--ink-soft); margin-bottom: 28px; }
.legal h2 { font-size: 28px; margin: 36px 0 12px; scroll-margin-top: 96px; }
.legal h3 { font-family: "Baloo 2", cursive; font-size: 20px; color: var(--bamboo-dark); margin: 22px 0 8px; }
.legal p, .legal li, .help p, .help li { color: var(--ink-soft); }
.legal p, .help p { margin-bottom: 14px; }
.legal ul, .help ul { margin: 0 0 16px 1.2em; }
.legal li, .help li { margin-bottom: 8px; }
.legal a, .help a { color: var(--peach-ink); text-underline-offset: 3px; }
.legal strong, .help strong { color: var(--ink); }
.callout, .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 20px rgba(92, 61, 32, 0.05);
}
.callout { border-left: 4px solid var(--gold); margin: 18px 0; }
.callout p:last-child { margin-bottom: 0; }
.toc { margin-bottom: 28px; }
.toc h2 { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bamboo-dark); font-weight: 400; margin: 0 0 12px; }
.toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.2em; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--peach-ink); text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 16px 0 20px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--white); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "Space Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bamboo-dark); background: rgba(92, 61, 32, 0.05); }
td { color: var(--ink-soft); font-size: 15px; }
.help .card { margin-bottom: 16px; }
.help .card h2 { font-family: "Baloo 2", cursive; font-size: 26px; margin-bottom: 8px; }
.help-grid { display: grid; gap: 16px; }

/* contact */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 28px 100px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact h1 { font-size: clamp(48px, 6vw, 76px); margin-bottom: 12px; }
.contact-block { margin-top: 22px; }
.contact-block h2 {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--bamboo-dark);
  margin-bottom: 4px;
}
.contact-block a, .contact-block p { font-size: 18px; color: var(--bamboo-dark); }
.contact-block a { color: var(--peach-ink); }
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.hp { display: none; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bamboo-dark);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid rgba(92, 61, 32, 0.24);
  border-radius: 14px;
  background: var(--paper);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--peach-ink); outline-offset: 1px; border-color: transparent; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--peach-ink); }

/* footer */
.footer { background: var(--lacquer); color: #E7D3B0; padding: 64px 28px 28px; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 12px;
}
.fbrand img { width: 40px; height: 40px; object-fit: contain; }
.footer p { max-width: 28em; font-size: 15px; }
.footer h2 {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer a { display: block; color: #E7D3B0; text-decoration: none; margin-bottom: 8px; min-height: 28px; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 230, 200, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #D5C6AB;
}

@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 18px 16px;
    background: rgba(251, 244, 230, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(36, 26, 18, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; padding: 14px 8px; border-radius: 12px; }
  .float { display: none; }
  .pillars, .steps, .steps.three, .features, .modes, .courses, .dishes { grid-template-columns: 1fr 1fr; }
  .cast { grid-template-columns: repeat(3, 1fr); }
  .cities { grid-template-columns: 1fr 1fr; }
  .gcard, .gcard.flip { grid-template-columns: 1fr; }
  .gcard.flip .gcard-media { order: 0; }
  .stage-inner, .studio, .contact, .panel, .rare { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 640px) {
  .nav-inner, .section, .page-intro, .stage-inner, .band-inner, .studio { padding-left: 18px; padding-right: 18px; }
  .pillars, .steps, .steps.three, .features, .modes, .courses, .dishes, .cast, .cities, .footer-inner { grid-template-columns: 1fr; }
  .gcard-body { padding: 24px 20px 22px; }
  .hero { padding-top: 36px; }
  .contact { padding-left: 18px; padding-right: 18px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .city { opacity: 1; transform: none; }
}
