/* ==========================================================================
   Salad Games: in-game item shop at a voxel salad bar
   ========================================================================== */

:root {
  /* ink + surfaces */
  --ink: #12160f;
  --slate-1: #3a4455;
  --slate-2: #272e3a;
  --slate-rim: #10151d;
  --slate-text: #eef2f8;
  --slate-muted: #b8c3d6;

  --wood-1: #8a5631;
  --wood-2: #74441f;
  --wood-seam: #3f230e;
  --wood-rim: #2c180a;
  --wood-text: #fff3e1;
  --wood-muted: #f2d6b3;

  --paper: #f6edd6;
  --paper-ink: #3a2a14;
  --chalk: #233229;
  --chalk-text: #f1f5ea;

  /* action colours */
  --green-hi: #a4ec62;
  --green: #55c22e;
  --green-edge: #2b7015;
  --green-rim: #173f0b;
  --green-ink: #0e2a06;

  --gold: #ffcf2e;
  --gold-lo: #e49400;
  --tomato: #ef4b33;
  --sky: #59b2ff;
  --discord: #5865f2;

  /* rarity */
  --common-1: #9aa3ae;  --common-2: #66707d;  --common-edge: #3e4651;
  --rare-1: #4f9cff;    --rare-2: #1f62c9;    --rare-edge: #133f85;
  --epic-1: #b061ff;    --epic-2: #6c25c9;    --epic-edge: #431581;
  --legend-1: #ffd84f;  --legend-2: #e59200;  --legend-edge: #95590a;
  --mythic-1: #ff7a6b;  --mythic-2: #d1203a;  --mythic-edge: #7d0f22;

  --font-display: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
  /* The HUD's real height: 64px logo + 10px padding top and bottom. The hero pulls up by
     exactly this much so its image starts at the very top of the page. */
  --hud-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);

  --wood-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.32' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.08 0 0 0 0 0.02 1.3 0 0 0 -0.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --stone-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset + browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hud-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--green) #161b22; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--slate-text);
  background-color: #2a4723;
  background-image:
    linear-gradient(180deg, rgba(14, 24, 12, .15), rgba(14, 24, 12, .65)),
    conic-gradient(from 90deg at 50% 50%, #2f5027 0 25%, #2a4823 0 50%, #2f5027 0 75%, #2a4823 0);
  background-size: 100% 100%, 64px 64px;
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 18, 10, .15), rgba(10, 18, 10, .5)), url("../assets/img/bg-voxel-garden.webp") center / cover no-repeat;
}
::selection { background: var(--green-hi); color: var(--green-ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #161b22; }
::-webkit-scrollbar-thumb { background: var(--green); border: 3px solid #161b22; border-radius: 8px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 10px; font-weight: 900; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.ico { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.ico--xl { width: 44px; height: 44px; }
.ico--gold { color: var(--gold); }
.ico--green { color: var(--green-hi); }
.ico--tomato { color: var(--tomato); }
.ico--sky { color: var(--sky); }
.ico--discord { color: #9aa3ff; }

/* ---------- outlined display text ---------- */
.o-text {
  --o: .055em;
  --c: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  text-shadow:
    var(--o) 0 0 var(--c), calc(var(--o) * -1) 0 0 var(--c),
    0 var(--o) 0 var(--c), 0 calc(var(--o) * -1) 0 var(--c),
    calc(var(--o) * .7) calc(var(--o) * .7) 0 var(--c), calc(var(--o) * -.7) calc(var(--o) * .7) 0 var(--c),
    calc(var(--o) * .7) calc(var(--o) * -.7) 0 var(--c), calc(var(--o) * -.7) calc(var(--o) * -.7) 0 var(--c),
    0 calc(var(--o) * 2.2) 0 var(--c),
    0 calc(var(--o) * 3.2) .25em rgba(0, 0, 0, .35);
}
.o-text--gold { color: var(--gold); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); --o: .06em; }

/* ---------- TBD markers (delete when real content lands) ---------- */
.tbd {
  display: inline-block;
  font: 900 .68rem/1 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: none;
  color: #241600;
  background: repeating-linear-gradient(-45deg, #ffd23f 0 7px, #f0b400 7px 14px);
  border: 2px solid #241600;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- materials ---------- */
.panel {
  position: relative;
  background:
    url("../assets/img/tex-slate.webp") center / 512px auto,
    var(--stone-noise),
    linear-gradient(180deg, var(--slate-1), var(--slate-2));
  border: 3px solid var(--slate-rim);
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .14),
    inset 0 -5px 0 rgba(0, 0, 0, .28),
    0 18px 40px rgba(0, 0, 0, .38);
}
.panel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(18px, 2.4vw, 26px); }
.panel__sub { margin-top: 12px; color: var(--slate-muted); max-width: 60ch; }
.panel__foot { margin-top: 22px; color: var(--slate-muted); font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.sign {
  position: relative;
  color: var(--wood-text);
  background-color: var(--wood-1);
  background-image:
    url("../assets/img/tex-wood-planks.webp"),
    var(--wood-grain),
    repeating-linear-gradient(180deg,
      transparent 0 58px,
      rgba(0, 0, 0, .12) 58px 60px,
      var(--wood-seam) 60px 63px,
      rgba(255, 210, 160, .14) 63px 65px,
      transparent 65px 124px),
    linear-gradient(180deg, var(--wood-1), var(--wood-2));
  background-size: 512px auto, 480px 240px, 100% 124px, 100% 100%;
  border: 4px solid var(--wood-rim);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow:
    inset 0 3px 0 rgba(255, 214, 160, .28),
    inset 0 -7px 0 rgba(0, 0, 0, .28),
    inset 0 0 0 3px rgba(0, 0, 0, .12),
    0 18px 36px rgba(0, 0, 0, .4);
}
.sign::before, .sign::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: radial-gradient(circle at 35% 35%, #e9d6b9 0 20%, #8d7a63 45%, #3a2a1a 80%);
  box-shadow: 0 calc(100% + 0px) 0 transparent;
}
.sign::before { left: 12px; }
.sign::after { right: 12px; }

.chalk {
  position: relative;
  font-family: var(--font-display);
  color: var(--chalk-text);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(ellipse at 80% 85%, rgba(255, 255, 255, .05), transparent 55%),
    var(--chalk);
  border: 10px solid var(--wood-2);
  outline: 3px solid var(--wood-rim);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .35), 0 16px 30px rgba(0, 0, 0, .4);
}

.note {
  position: relative;
  color: var(--paper-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 30%),
    var(--paper);
  border: 3px solid #4a3417;
  border-radius: 6px;
  padding: 24px 22px 20px;
  box-shadow: inset 0 -4px 0 rgba(120, 90, 40, .18), 0 14px 26px rgba(0, 0, 0, .35);
}
.note__pin {
  position: absolute;
  top: -9px; right: 18px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9b8a, var(--tomato) 45%, #8f1d0e 90%);
  border: 2px solid #4a120a;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .35);
}

/* ---------- buttons ---------- */
.btn {
  --b1: var(--green-hi); --b2: var(--green); --edge: var(--green-edge); --rim: var(--green-rim); --fg: var(--green-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(180deg, var(--b1), var(--b2));
  border: 3px solid var(--rim);
  border-radius: 12px;
  padding: .8em 1.25em .75em;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .45),
    inset 0 -4px 0 rgba(0, 0, 0, .16),
    0 5px 0 var(--edge),
    0 10px 18px rgba(0, 0, 0, .32);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), filter .14s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 1em; height: 1em; }
.btn:hover { filter: brightness(1.07) saturate(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .16), 0 1px 0 var(--edge), 0 4px 8px rgba(0, 0, 0, .3); }
.btn:disabled { cursor: not-allowed; filter: grayscale(.85) brightness(.85); transform: none; }
.btn--slate { --b1: #5c6a80; --b2: #3b4556; --edge: #1d232d; --rim: var(--slate-rim); --fg: #fff; }
.btn--discord { --b1: #7c87ff; --b2: #4954d6; --edge: #2c3494; --rim: #161a52; --fg: #fff; }
.btn--gold { --b1: #ffe066; --b2: #f2a900; --edge: #9a5f00; --rim: #3a2400; --fg: #2a1800; }
.btn--xs { font-size: .9rem; padding: .55em .95em .5em; border-radius: 10px; box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(0,0,0,.16), 0 4px 0 var(--edge), 0 6px 10px rgba(0,0,0,.25); }
.btn--sm { font-size: .95rem; padding: .65em 1em .6em; }
.btn--lg { font-size: clamp(1.1rem, 1.6vw, 1.3rem); padding: .85em 1.4em .8em; border-radius: 14px; }
.btn--xl { font-size: clamp(1.35rem, 2.2vw, 1.75rem); padding: .75em 1.2em .7em; border-radius: 16px; width: 100%; }

/* ---------- image placeholders ---------- */
.ph {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: rgba(255, 255, 255, .92);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .09) 0 10px, transparent 10px 20px),
    rgba(0, 0, 0, .22);
  border: 2px dashed rgba(255, 255, 255, .45);
}
.ph figcaption {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px;
  text-align: center;
  font-size: .72rem;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.ph figcaption .ico { width: 26px; height: 26px; opacity: .9; }
.ph figcaption b { font-weight: 900; letter-spacing: .02em; word-break: break-all; }
.ph figcaption span { font-weight: 700; opacity: .85; max-width: 32ch; }
.ph.is-loaded { background: none; border: 0; }
.ph.is-loaded figcaption { display: none; }
.ph > img { width: 100%; height: 100%; object-fit: contain; }
.ph--scene > img, .ph--thumb > img, .ph--avatar > img, .ph--step > img { object-fit: cover; }

/* ==========================================================================
   HUD
   ========================================================================== */
.hud {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0;
  transition: background .25s var(--ease-out), box-shadow .25s;
}
.hud.is-scrolled { background: rgba(22, 27, 35, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hud__inner {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo__img:not(.is-loaded) { display: none; }
.logo__img.is-loaded { width: 150px; height: 64px; }
.logo__img.is-loaded > img { width: 100%; height: 100%; object-fit: contain; }
.logo__img.is-loaded + .logo__text { display: none; }
.logo__text {
  display: grid;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .82;
  transform: rotate(-4deg);
  --c: var(--ink);
}
.logo__text span {
  --o: .07em;
  font-size: 1.75rem;
  text-shadow:
    var(--o) 0 0 var(--c), calc(var(--o) * -1) 0 0 var(--c), 0 var(--o) 0 var(--c), 0 calc(var(--o) * -1) 0 var(--c),
    calc(var(--o) * .7) calc(var(--o) * .7) 0 var(--c), calc(var(--o) * -.7) calc(var(--o) * .7) 0 var(--c),
    calc(var(--o) * .7) calc(var(--o) * -.7) 0 var(--c), calc(var(--o) * -.7) calc(var(--o) * -.7) 0 var(--c),
    0 calc(var(--o) * 2) 0 var(--c);
}
.logo__text span:first-child { color: var(--green-hi); }
.logo__text span:last-child { color: #ff9a1f; padding-left: .35em; }

.tabs {
  display: flex;
  gap: 4px;
  margin-inline: auto;
  padding: 5px;
  background: linear-gradient(180deg, #333c4b, #232a35);
  border: 3px solid var(--slate-rim);
  border-radius: 14px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), 0 8px 18px rgba(0, 0, 0, .3);
}
.tab {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #e6ebf3;
  padding: 9px 14px 8px;
  border-radius: 9px;
  border: 2px solid transparent;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.tab:hover { background: rgba(255, 255, 255, .08); }
.tab.is-active {
  color: var(--green-ink);
  background: linear-gradient(180deg, var(--green-hi), var(--green));
  border-color: var(--green-rim);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--green-edge);
}

.hud__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: #fff;
  background: linear-gradient(180deg, #4b566a, #2f3745);
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 4px 0 #1a2029;
  text-decoration: none;
}
.cart-btn .ico { width: 24px; height: 24px; }
.cart-btn__count {
  position: absolute;
  top: -9px; right: -9px;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  font: 900 .78rem/1 var(--font-body);
  color: #fff;
  background: var(--tomato);
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.cart-btn__count:empty, .cart-btn[data-count="0"] .cart-btn__count { display: none; }
.cart-btn.is-bump .cart-btn__count { animation: bump .45s var(--ease-pop); }
.hud__burger {
  display: none;
  width: 48px; height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #4b566a, #2f3745);
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 4px 0 #1a2029;
}
.hud__burger .ico { width: 24px; height: 24px; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  margin-top: calc(var(--hud-h) * -1);
  padding: calc(var(--hud-h) + 36px) 0 130px;
  min-height: min(820px, 100svh);
  display: grid;
  align-items: center;
  isolation: isolate;
}
.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(22, 34, 18, .85));
  pointer-events: none;
}
.ph--scene {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  border-bottom: 2px dashed rgba(255, 255, 255, .35);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 28px),
    radial-gradient(ellipse at 68% 45%, #6e8f3c 0%, #3d6131 45%, #253f22 100%);
  place-items: center end;
}
.ph--scene figcaption { margin-right: clamp(24px, 14vw, 220px); font-size: .85rem; }
.ph--scene figcaption .ico { width: 40px; height: 40px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 590px) 1fr;
  align-items: end;
  gap: 32px;
}
.hero__sign { transform: rotate(-1deg); animation: sign-drop .8s var(--ease-out) both; }
.hero__title {
  display: grid;
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin: 4px 0 22px;
}
.hero__title .o-text { --o: .055em; line-height: .92; }
.hero__kicker {
  margin-bottom: 12px;
  font: 900 clamp(.8rem, 1.1vw, .95rem)/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--wood-text); max-width: 42ch; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 26px 0 24px; }
.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--wood-muted);
}
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks .ico { width: 24px; height: 24px; }

.hero__chalk {
  justify-self: end;
  display: grid;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(4deg);
  margin-bottom: -20px;
}

/* ==========================================================================
   2. PROOF STRIP
   ========================================================================== */
.proof { position: relative; z-index: 2; margin-top: -84px; }
.proof__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 4px solid var(--wood-rim);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
}
.plank-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--wood-text);
  background-color: var(--wood-2);
  background-image: url("../assets/img/tex-wood-planks.webp"), var(--wood-grain), linear-gradient(180deg, #7d4a26, #5e3519);
  background-size: 512px auto, 480px 240px, 100% 100%;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, .2), inset 0 -5px 0 rgba(0, 0, 0, .25);
}
.plank-tile + .plank-tile { border-left: 3px solid var(--wood-rim); }
.plank-tile strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: #fff; text-shadow: 0 3px 0 var(--wood-rim); }
.plank-tile span { display: block; margin-top: 4px; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: var(--wood-muted); }
.tbd-val { opacity: .7; }


/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(28px, 4.5vw, 52px); }
.section__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 24px; }
.section__sub { flex-basis: 100%; color: #e3f0d6; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.sign .section__sub { color: var(--wood-muted); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #e6ebf3;
  background: linear-gradient(180deg, #2b323e, #1f252f);
  border: 2px solid #4f5b6e;
  border-radius: 10px;
  padding: 9px 14px 8px;
  box-shadow: 0 3px 0 #141920;
  transition: transform .12s var(--ease-out);
}
.chip:hover { border-color: #7b889c; }
.chip:active { transform: translateY(2px); }
.chip.is-on {
  color: var(--green-ink);
  background: linear-gradient(180deg, var(--green-hi), var(--green));
  border-color: var(--green-rim);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--green-edge);
}

/* ==========================================================================
   3. THE MENU (shop)
   ========================================================================== */
.shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 22px 16px;
}
.item {
  --r1: var(--common-1); --r2: var(--common-2); --r-edge: var(--common-edge);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 7px;
  padding-top: 14px;
  border: 3px solid var(--slate-rim);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(255, 255, 255, .35), transparent 55%),
    linear-gradient(180deg, var(--r1), var(--r2));
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .35),
    inset 0 0 0 2px rgba(255, 255, 255, .12),
    0 6px 0 var(--r-edge),
    0 14px 22px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  cursor: grab;
}
.item:hover { transform: translateY(-4px); }
.item:active { cursor: grabbing; }
.item[hidden] { display: none; }
.item.is-dragging { opacity: .5; }
.item--rare { --r1: var(--rare-1); --r2: var(--rare-2); --r-edge: var(--rare-edge); }
.item--epic { --r1: var(--epic-1); --r2: var(--epic-2); --r-edge: var(--epic-edge); }
.item--legendary { --r1: var(--legend-1); --r2: var(--legend-2); --r-edge: var(--legend-edge); }
.item--mythic { --r1: var(--mythic-1); --r2: var(--mythic-2); --r-edge: var(--mythic-edge); }
.item.is-added { box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 0 0 4px var(--green-hi), 0 6px 0 var(--r-edge), 0 14px 22px rgba(0,0,0,.35); }

.item__rarity {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--r2), var(--r-edge));
  border: 2px solid var(--slate-rim);
  border-radius: 8px;
  padding: 4px 12px 3px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
  white-space: nowrap;
}
.item--legendary .item__rarity { color: #2a1800; background: linear-gradient(180deg, #fff1a8, var(--legend-1)); text-shadow: none; }

.ph--bowl { aspect-ratio: 4 / 3; margin: 6px 4px 10px; border-color: rgba(255, 255, 255, .6); background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 10px, transparent 10px 20px), rgba(0, 0, 0, .14); }
.ph--bowl.is-loaded > img { filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }
/* Bottomless Bowl: four bowls, one for each game of the month */
.ph--quad.is-loaded { grid-template: 1fr 1fr / 1fr 1fr; place-items: stretch; gap: 0 2px; }
.ph--quad.is-loaded > img { min-height: 0; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }

.item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1c2330;
  background: linear-gradient(180deg, #ffffff, #eef1f6);
  border: 2px solid rgba(0, 0, 0, .25);
  border-radius: 11px;
  padding: 12px 12px 12px;
}
.item__body h3 { font-weight: 900; font-size: 1.12rem; line-height: 1.15; }
.item__svc { font-size: .88rem; line-height: 1.3; color: #3f4a5c; }
.item__ing { display: grid; gap: 3px; margin: 4px 0 8px; font-size: .8rem; color: #4a5568; }
.item__ing li { display: flex; gap: 8px; align-items: baseline; }
.item__ing li::before { content: ""; flex: none; width: 7px; height: 7px; translate: 0 -1px; background: var(--green); border: 1.5px solid var(--green-rim); border-radius: 1px; }
.item__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 1.28rem; color: #1c2330; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .ico { width: 24px; height: 24px; }
.price small { font-family: var(--font-body); font-weight: 900; font-size: .68rem; text-transform: uppercase; color: #5b6576; }
.add[aria-pressed="true"] { --b1: #ffe066; --b2: #f2a900; --edge: #9a5f00; --rim: #3a2400; --fg: #2a1800; }

/* ==========================================================================
   4. BUILD YOUR BOWL
   ========================================================================== */
.bowl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.bowl__board.is-over { outline: 4px dashed var(--green-hi); outline-offset: 6px; }
.bowl__sub { margin: 12px 0 20px; color: var(--wood-muted); max-width: 60ch; }

.tray {
  padding: 14px;
  background: linear-gradient(180deg, #2b313b, #3a414d);
  border: 3px solid var(--slate-rim);
  border-radius: 14px;
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, .45), 0 2px 0 rgba(255, 220, 170, .2);
}
.tray__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 6px;
  color: #1c2330;
  background: linear-gradient(180deg, #fafbfd, #e5e9f0);
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 4px 0 #161b22;
  animation: slot-pop .5s var(--ease-pop);
}
.slot .ph--bowl { margin: 0 0 6px; aspect-ratio: 4 / 3; color: #3f4a5c; border-color: #9aa5b5; background: repeating-linear-gradient(45deg, rgba(60, 80, 110, .12) 0 8px, transparent 8px 16px), #dfe5ee; text-shadow: none; }
.slot .ph--bowl figcaption { padding: 4px; text-shadow: none; }
.slot .ph--bowl.is-loaded { background: none; border: 0; }
.slot .ph--bowl figcaption b, .slot .ph--bowl figcaption span { display: none; }
.slot__name { font-weight: 900; font-size: .82rem; line-height: 1.15; }
.slot__x {
  position: absolute;
  top: -10px; right: -10px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 2px 0 var(--ink);
}
.slot__x .ico { width: 14px; height: 14px; }
.slot__x:hover { background: #ffd9d3; }
.slot--empty {
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: #c9d1de;
  background: rgba(255, 255, 255, .05);
  border: 3px dashed #7d8aa0;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  animation: none;
  text-decoration: none;
}
.slot--empty .ico { width: 34px; height: 34px; color: #aab5c7; }
.slot--empty:hover { color: #fff; border-color: var(--green-hi); }

.picker, .sizes { margin-top: 24px; }
.picker legend, .sizes legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 var(--wood-rim);
  margin-bottom: 12px;
  padding: 0;
}
.sizes legend span { font-family: var(--font-body); font-weight: 800; font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--wood-muted); text-shadow: none; }
.picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.pick > span, .size > span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 10px 12px;
  background: rgba(30, 14, 4, .42);
  border: 2px solid rgba(255, 220, 170, .22);
  border-radius: 11px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3);
  transition: background .15s, border-color .15s;
}
.pick__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border: 3px solid var(--wood-rim);
  border-radius: 6px;
  background: var(--paper);
  color: transparent;
}
.pick__box .ico { width: 15px; height: 15px; }
.pick__txt { display: grid; line-height: 1.2; }
.pick__txt b { font-weight: 900; font-size: .95rem; color: #fff; }
.pick__txt small { font-weight: 700; font-size: .78rem; color: var(--wood-muted); }
.pick:hover > span, .size:hover > span { border-color: rgba(255, 220, 170, .5); }
.pick input:checked + span { background: rgba(60, 140, 30, .5); border-color: var(--green-hi); }
.pick input:checked + span .pick__box { background: var(--green-hi); border-color: var(--green-rim); color: var(--green-ink); }
.pick input:focus-visible + span, .size input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.sizes__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size > span { flex-direction: column; align-items: flex-start; gap: 2px; }
.size b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.size small { font-size: .8rem; color: var(--wood-muted); }
.size input:checked + span { background: rgba(255, 200, 40, .28); border-color: var(--gold); box-shadow: inset 0 0 0 2px rgba(255, 207, 46, .4); }

.bowl__side { display: grid; gap: 22px; position: sticky; top: calc(var(--hud-h) + 20px); }
.bowl__side .note { transform: rotate(-1.5deg); }
.note__count { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; color: #5a4628; }
.note__total { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.55rem, 2.1vw, 2rem); white-space: nowrap; line-height: 1.05; color: #2a1d0c; font-variant-numeric: tabular-nums; }
.note__total .ico { width: 34px; height: 34px; }
.note__monthly { margin-top: 2px; font-weight: 900; color: #6a4f24; }
.note__hint { margin: 10px 0 12px; font-size: .9rem; color: #6a5636; }
.checkout:not(:disabled) { animation: none; }
.ph--chef { aspect-ratio: 1 / 1; max-width: 300px; justify-self: center; width: 100%; }

/* ==========================================================================
   5. HOW IT'S MADE (quest line)
   ========================================================================== */
.quest {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: q;
}
.quest::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 62px;
  border-top: 5px dotted rgba(255, 207, 46, .55);
  z-index: 0;
}
.quest__step { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; align-content: start; }
.ph--step {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 10px, transparent 10px 20px), #455063;
  border: 3px solid var(--slate-rim);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.15), 0 5px 0 #1a2029;
}
.ph--step figcaption { font-size: .62rem; }
.ph--step figcaption .ico { width: 22px; height: 22px; }
.quest__num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-top: -20px;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #2a1800;
  background: radial-gradient(circle at 40% 35%, #fff1a8, var(--gold) 50%, var(--gold-lo));
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--ink);
}
.quest__step h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.quest__step p { margin-top: 4px; font-size: .88rem; line-height: 1.35; color: var(--slate-muted); max-width: 22ch; }

/* ==========================================================================
   6. DISHES (portfolio)
   ========================================================================== */
.dishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, var(--slate-1), var(--slate-2));
  border: 3px solid var(--slate-rim);
  border-radius: 16px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 6px 0 #161b22, 0 16px 28px rgba(0,0,0,.35);
}
.ph--thumb { aspect-ratio: 16 / 9; border-radius: 0; border: 0; border-bottom: 3px solid var(--slate-rim); background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 12px, transparent 12px 24px), #3d5a35; }
.dish__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 20px; }
.dish__top { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.dish__genre { font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); white-space: nowrap; }
.dish__body > p { color: var(--slate-muted); font-size: .95rem; }
.dish__cooked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; }
.dish__cooked b { color: #fff; margin-right: 2px; }
.tag { padding: 3px 9px; font-size: .78rem; font-weight: 900; color: var(--green-ink); background: var(--green-hi); border: 2px solid var(--green-rim); border-radius: 7px; }
.dish .btn { margin-top: auto; }

/* ==========================================================================
   7. CHEFS (character select)
   ========================================================================== */
.chefs .section__head { margin-bottom: 26px; }
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin-inline: auto; }
.chef {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, #3b4658, #252c38);
  border: 3px solid var(--slate-rim);
  border-radius: 16px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.14), 0 6px 0 #161b22;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.chef:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: inset 0 2px 0 rgba(255,255,255,.14), 0 0 0 4px var(--green-hi), 0 10px 0 #161b22; }
.ph--avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px), radial-gradient(circle at 50% 40%, #4f9cff, #1d4f9e);
}
.chef h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; color: #fff; }
.chef__role { margin-top: 6px; padding: 3px 10px; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #2a1800; background: var(--gold); border: 2px solid var(--ink); border-radius: 7px; }
.chef__class { margin-top: 6px; font-size: .9rem; color: var(--slate-muted); }

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
.faq details {
  background: linear-gradient(180deg, #ffffff, #e9edf3);
  color: #1c2330;
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: 0 4px 0 #161b22;
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 18px; height: 18px; color: #2b3442; transition: transform .25s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 2px dashed #c7cfdb; }
.faq details p { padding: 12px 16px 16px; font-weight: 700; color: #3f4a5c; line-height: 1.55; }

/* ==========================================================================
   10. ORDER
   ========================================================================== */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.order__sub { margin: 12px 0 22px; color: var(--wood-muted); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 900; font-size: .92rem; color: var(--wood-text); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-weight: 700;
  color: #2a1d0c;
  background: var(--paper);
  border: 3px solid var(--wood-rim);
  border-radius: 10px;
  box-shadow: inset 0 3px 0 rgba(120, 90, 40, .18);
  caret-color: var(--green-edge);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #2a1d0c 50%), linear-gradient(135deg, #2a1d0c 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field ::placeholder { color: #8a7656; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-edge); box-shadow: inset 0 3px 0 rgba(120,90,40,.18), 0 0 0 4px var(--green-hi); }
.field__err { display: none; font-style: normal; font-weight: 900; font-size: .85rem; color: #fff; background: var(--tomato); border: 2px solid #5a1206; border-radius: 7px; padding: 3px 9px; justify-self: start; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3220f; box-shadow: inset 0 3px 0 rgba(120,90,40,.18), 0 0 0 3px rgba(239, 75, 51, .55); }
.field.is-invalid .field__err { display: block; }
.form .btn { justify-self: start; }
.btn.is-loading { pointer-events: none; filter: saturate(.6); }

.ticket {
  position: relative;
  margin-top: 6px;
  padding: 22px;
  color: #2a1d0c;
  background: #fffdf6;
  border: 3px solid var(--wood-rim);
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) top / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 22px 51% repeat-x;
          mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) top / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 22px 51% repeat-x;
}
.ticket:focus { outline: none; }
.ticket h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; }
.ticket > p { margin-top: 6px; color: #5a4628; }
.ticket pre { margin: 14px 0; padding: 14px; white-space: pre-wrap; font: 700 .88rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: #f3ead2; border: 2px dashed #b89c6a; border-radius: 8px; }
.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ticket__edit { background: none; border: 0; padding: 6px; font-weight: 900; color: #8a3a12; text-decoration: underline; text-underline-offset: .2em; }

.order__side { display: grid; gap: 18px; }
.order__or { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; text-align: center; color: #e3f0d6; font-size: .92rem; margin-top: -6px; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.order__or b { color: #fff; font-weight: 900; }
.order__copy { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: none; background: rgba(0, 0, 0, .35); border: 2px solid rgba(255, 255, 255, .35); border-radius: 8px; }
.order__copy:hover { border-color: var(--green-hi); }
.order__copy .ico { width: 14px; height: 14px; }
.howto { transform: rotate(2deg); display: grid; gap: 12px; }
.howto__title { font-size: 1.5rem; text-transform: uppercase; color: var(--gold); text-align: center; }
.howto ol { display: grid; gap: 10px; counter-reset: h; }
.howto li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-family: var(--font-body); font-weight: 800; font-size: .95rem; line-height: 1.35; counter-increment: h; }
.howto li::before { content: counter(h); display: grid; place-items: center; width: 30px; height: 30px; font-family: var(--font-display); font-size: 1.05rem; color: var(--chalk); background: var(--chalk-text); border-radius: 50%; }
.howto b { color: var(--green-hi); font-weight: 900; word-break: break-all; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.foot {
  margin-top: clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, #232a35, #161b22);
  border-top: 4px solid var(--slate-rim);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.08);
}
.foot__inner { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 32px; padding: 44px 0 28px; }
.foot__brand p { margin-top: 14px; color: var(--slate-muted); }
.foot__h { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); margin-bottom: 14px; }
.foot__hours p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--slate-text); }
.foot__hours .ico { width: 22px; height: 22px; }
.foot__links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.foot__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate-text); }
.foot__links a:hover { color: var(--green-hi); text-decoration: underline; }
.foot__links .ico { width: 22px; height: 22px; color: var(--slate-muted); }
.foot__legal { padding: 18px 0 28px; border-top: 2px solid rgba(255,255,255,.08); }
.foot__legal p { font-size: .82rem; color: #8f9bb0; }

/* Toast: confirms the Discord username was copied */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  translate: -50% 0;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #4b566a, #2f3745);
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 5px 0 #1a2029, 0 14px 26px rgba(0, 0, 0, .4);
  animation: toast-in .35s var(--ease-pop);
}
.toast b { color: var(--green-hi); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes slot-pop {
  0% { transform: scale(.4) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
@keyframes sign-drop {
  0% { transform: translateY(-24px) rotate(-4deg); }
  100% { transform: translateY(0) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .tab { padding-inline: 10px; font-size: .82rem; }
  .quest { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .quest::before { display: none; }
}

@media (max-width: 980px) {
  .hud__burger { display: grid; }
  .tabs {
    position: absolute;
    top: calc(100% + 4px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    padding: 8px;
  }
  .tabs.is-open { display: flex; }
  .tab { padding: 14px; font-size: 1rem; }
  .hud__actions { margin-left: auto; }

  .bowl, .order { grid-template-columns: 1fr; }
  .bowl__side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .bowl__side .note { grid-column: 1; }
  .bowl__side .checkout { grid-column: 1; }
  .bowl__chef { grid-column: 2; grid-row: 1 / span 2; }
  .order__side { grid-template-columns: 1fr 1fr; }
  .order__side > .btn, .order__or { grid-column: 1 / -1; }

  .proof__row { grid-template-columns: 1fr 1fr; }
  .plank-tile:nth-child(3) { border-left: 0; }
  .plank-tile:nth-child(n + 3) { border-top: 3px solid var(--wood-rim); }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__links { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; padding: var(--hud-h) 0 110px; align-items: start; }
  .hero__scene { position: relative; height: clamp(300px, 78vw, 460px); margin: 0 0 -44px; }
  .ph--scene > img { object-position: 74% 30%; }
  .hero__scene::after { display: none; }
  .ph--scene { place-items: center; }
  .ph--scene figcaption { margin: 0 0 40px; }
  .hero { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__chalk { display: none; }
}

@media (max-width: 640px) {
  .hud__actions { gap: 8px; }
  .hud__cta { padding-inline: .9em; }
  .hud__cta-long { display: none; }
  .logo__text span { font-size: 1.45rem; }
  .cart-btn, .hud__burger { width: 44px; height: 44px; }

  .hero__title { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero__ctas .btn { flex: 1 1 100%; }

  .shop { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .item { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; }
  .item .ph--bowl { margin: 6px 6px 0 0; aspect-ratio: 1; }
  .item .ph--bowl figcaption b, .item .ph--bowl figcaption .ico + b { display: none; }
  .item__body { min-width: 0; }
  .item__buy { flex-wrap: wrap; }

  .proof { margin-top: -70px; }
  .plank-tile { padding: 14px; gap: 10px; }
  .plank-tile .ico--xl { width: 34px; height: 34px; }
  .plank-tile strong { font-size: 1.5rem; }
  .plank-tile span { font-size: .7rem; }

  .sizes__row { grid-template-columns: 1fr; }
  .bowl__side, .order__side { grid-template-columns: 1fr; }
  .bowl__chef { grid-column: auto; grid-row: auto; max-width: 220px; }

  .quest { grid-template-columns: 1fr; gap: 14px; }
  .quest__step { grid-template-columns: 84px 1fr; justify-items: start; text-align: left; column-gap: 16px; align-items: center; }
  .quest__step .ph--step { grid-row: 1 / span 3; max-width: 84px; }
  .quest__step .ph--step figcaption b { display: none; }
  .quest__num { margin: 0; width: 32px; height: 32px; font-size: 1rem; }
  .quest__step h3 { margin-top: 4px; }

  .dishes, .roster { grid-template-columns: 1fr; }
  .roster { grid-template-columns: 1fr; max-width: 340px; }
  .chef h3 { font-size: 1.05rem; }
  .faq { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .foot__inner { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .logo__text span { font-size: 1.25rem; }
  .cart-btn { display: none; }
}

/* ==========================================================================
   Dish cards link to their game page (landing page)
   ========================================================================== */
.dish { position: relative; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.dish__link { text-decoration: none; }
.dish__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 13px; }
.dish__link:focus-visible { outline: none; }
.dish:has(.dish__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 4px; }
.dish:hover { transform: translateY(-5px); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 0 0 4px var(--green-hi), 0 10px 0 #161b22, 0 20px 30px rgba(0,0,0,.4); }
.dish:hover .dish__go { filter: brightness(1.07) saturate(1.05); }
.dish:active .dish__go { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .16), 0 1px 0 var(--edge), 0 4px 8px rgba(0, 0, 0, .3); }

/* ==========================================================================
   12. GAME PAGE (dish detail)
   ========================================================================== */
.ico--flip { rotate: 180deg; }
.dhero { padding-top: clamp(14px, 2.4vw, 26px); }
.dback { margin-bottom: 18px; }

.dhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 32px;
  transform: rotate(-.6deg);
  animation: sign-drop-soft .7s var(--ease-out) both;
}
.dhead__icon { flex: none; align-self: center; width: clamp(88px, 11vw, 132px); aspect-ratio: 1; border: 4px solid var(--wood-rim) !important; border-radius: 22px; box-shadow: 0 6px 0 rgba(0, 0, 0, .3); }
.dhead__text { flex: 1 1 420px; min-width: 0; }
.dhead__title { font-size: clamp(2.6rem, 6vw, 4.8rem); --o: .055em; line-height: .92; }
.dhead__lede { margin-top: 14px; max-width: 48ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--wood-text); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.dhead__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.dtag {
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--wood-muted);
  background: rgba(44, 24, 10, .55);
  border: 2px solid var(--wood-rim);
  border-radius: 7px;
}
.dhead__ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; }

/* How it plays: key art beside the game in four bites */
.section--first { padding-top: clamp(26px, 3.4vw, 40px); }
.taste { padding-bottom: calc(clamp(18px, 2.6vw, 30px) + 30px); }
.plays { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.plays__shot { border: 3px solid var(--slate-rim) !important; box-shadow: 0 6px 0 #161b22, 0 14px 22px rgba(0, 0, 0, .35); }
.plays__list { display: grid; gap: 10px; counter-reset: p; }
.play {
  position: relative;
  padding: 12px 14px 12px 58px;
  color: #1c2330;
  background: linear-gradient(180deg, #ffffff, #eef1f6);
  border: 3px solid var(--slate-rim);
  border-radius: 12px;
  box-shadow: 0 4px 0 #161b22;
  counter-increment: p;
}
.play::before {
  content: counter(p);
  position: absolute;
  left: 12px; top: 12px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #2a1800;
  background: radial-gradient(circle at 40% 35%, #fff1a8, var(--gold) 50%, var(--gold-lo));
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.play h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.play p { margin-top: 2px; font-size: .92rem; line-height: 1.4; color: #3f4a5c; }
.ph--plate { aspect-ratio: 16 / 9; border-radius: 10px; border-color: rgba(255, 255, 255, .55); background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 12px, transparent 12px 24px), #3d5a35; }
.ph--plate > img { object-fit: cover; }


.dstats { position: relative; z-index: 2; margin: -34px clamp(10px, 3vw, 36px) 0; }

/* What we cooked */
.cooked { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 28px; }
.cooked__items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); padding-top: 14px; }
.item--static { cursor: auto; }
.item--static:hover { transform: none; }
.item__part { margin-top: 6px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #5b6576; }
.item__part + .item__ing { margin-top: 0; }
.item__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-weight: 900; font-size: .88rem; color: #1f62c9; text-decoration-thickness: 2px; }
.item__more .ico { width: .9em; height: .9em; }
.item__more:hover { color: #133f85; }

.cooked__ticket { transform: rotate(1.4deg); margin-top: 14px; }
.cooked__ticket h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; color: #2a1d0c; }
.cooked__ticket dl { margin: 12px 0 14px; display: grid; }
.cooked__ticket dl > div { display: grid; gap: 1px; padding: 9px 0; border-top: 2px dashed #cdb98e; }
.cooked__ticket dt { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #8a6d3e; }
.cooked__ticket dd { margin: 0; font-weight: 800; color: #2a1d0c; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shots li:first-child { grid-column: span 2; grid-row: span 2; }
.ph--shot {
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--wood-rim);
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 12px, transparent 12px 24px), rgba(30, 16, 6, .45);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .35), 0 3px 0 rgba(255, 214, 160, .18);
}
.ph--shot.is-loaded { border: 3px solid var(--wood-rim); }
.ph--shot > img { object-fit: cover; }
.shots li:not(:first-child) .ph--shot figcaption span { display: none; }

/* Order */
.dfinal { display: grid; justify-items: center; }
.dorder { transform: rotate(1deg); display: grid; justify-items: start; gap: 12px; width: min(100%, 760px); padding: 26px 28px 28px; }
.dorder__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; color: var(--gold); }
.dorder__line { font-family: var(--font-body); font-weight: 800; max-width: 42ch; color: var(--chalk-text); }
.dorder__ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 8px; }

/* Previous / next dish */
.dnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dnav__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  text-decoration: none;
  color: var(--slate-text);
  background: linear-gradient(180deg, var(--slate-1), var(--slate-2));
  border: 3px solid var(--slate-rim);
  border-radius: 16px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 6px 0 #161b22, 0 14px 24px rgba(0,0,0,.35);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.dnav__link:hover { transform: translateY(-4px); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 0 0 4px var(--green-hi), 0 10px 0 #161b22, 0 18px 28px rgba(0,0,0,.4); }
.dnav__link--next { text-align: right; }
.dnav__link--next:only-child { grid-column: 2; }
.dnav__link--next .ph--nav { order: 1; }
.dnav__link--next .dnav__chev { order: 2; }
.ph--nav { flex: none; width: clamp(96px, 14vw, 150px); aspect-ratio: 16 / 9; border-radius: 9px; border-width: 2px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px), #3d5a35; }
.ph--nav > img { object-fit: cover; }
.ph--nav figcaption b { display: none; }
.dnav__txt { flex: 1; display: grid; min-width: 0; }
.dnav__dir { font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-muted); }
.dnav__txt b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.4rem); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.dnav__txt small { font-size: .82rem; color: var(--slate-muted); }
.dnav__chev { width: 26px; height: 26px; color: var(--green-hi); }
.dnav__link--prev .dnav__chev { rotate: 180deg; order: -1; }

@keyframes sign-drop-soft {
  0% { transform: translateY(-18px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(-.6deg); }
}


@media (max-width: 980px) {
  .cooked { grid-template-columns: minmax(0, 1fr); }
  .cooked__ticket { max-width: 420px; }
  .plays { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .dnav { grid-template-columns: 1fr; }
  .dnav__link--next:only-child { grid-column: auto; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots li:first-child { grid-row: auto; }
}

@media (max-width: 640px) {
  .dhead { transform: none; animation: none; }
  .dhead__ctas .btn, .dorder__ctas .btn { flex: 1 1 100%; }
  .dstats { margin-inline: 6px; }
  .dorder { padding: 20px; }
  .dorder { transform: none; }
  .ph--nav figcaption { display: none; }
  .cooked__items { grid-template-columns: minmax(0, 1fr); }
}
