:root {
  /*
   * The Figma header is 156px tall on a 2048 x 1323 canvas. Scale it with
   * either viewport axis so the complete composition retains that ratio on
   * larger displays instead of stopping at the source canvas size.
   */
  --nav-height: max(82px, min(11.79dvh, 7.6172vw));
  --scene-render-width: 100vw;
  --scene-render-height: calc(100dvh - var(--nav-height));
  --scene-scale: 1;
  --ink: #141414;
  --cream: #fffdf8;
  --green: #214f42;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #6bc3d7;
  color: var(--ink);
  font-family: "VT323", "Courier New", monospace;
}

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

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

button,
a {
  font: inherit;
}

.pixel-art,
.sprite {
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 8px 12px;
  background: #111;
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: var(--cream);
}

.pixel-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  padding: 10px max(26px, 3.25vw);
}


.nav-group {
  display: flex;
  align-items: center;
  z-index: 2;
}

.nav-left {
  gap: max(19px, 2.1vw);
}

.nav-right {
  gap: max(8px, 1.2vw);
}

.nav-text {
  font-size: max(25px, 1.68vw);
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.brand img {
  width: max(64px, 5.4vw);
  height: auto;
}

.icon-link,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.nav-icon {
  width: max(48px, 3.8vw);
  height: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.sound-icon,
.cart-icon {
  width: max(53px, 4.3vw);
}

.nav-text,
.icon-link,
.icon-button,
.brand {
  transition: transform 160ms ease, filter 160ms ease;
}

.nav-text:hover,
.icon-link:hover,
.icon-button:hover {
  transform: translateY(-3px);
}

.brand:hover {
  transform: translate(-50%, calc(-50% - 3px));
}

:focus-visible {
  outline: 4px solid rgba(33, 79, 66, 0.58);
  outline-offset: 5px;
}

/*
 * Homepage viewport shell
 *
 * The header and scene are locked to the visible viewport. The artwork is
 * composed in a single 2048 x 1167 coordinate system and the whole stage is
 * fitted proportionally by main.js. No scene object is positioned relative
 * to the browser body.
 */
.home-body {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: var(--nav-height) minmax(0, 1fr);
}

.home-body .site-header {
  height: var(--nav-height);
  min-height: 0;
}

.home-page {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.world {
  position: relative;
  display: grid;
  place-items: start center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #6bc3d7 0%,
    #6bc3d7 54%,
    #6cb44b 54%,
    #6cb44b 76%,
    #4e9748 100%
  );
}

.world-stage {
  position: relative;
  flex: none;
  width: var(--scene-render-width);
  height: var(--scene-render-height);
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #6bc3d7;
}

.mobile-village {
  display: none;
}

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

.home-body .menu-toggle,
.home-body .mobile-cart,
.home-body .mobile-menu {
  display: none;
}

.world-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

.scene-asset,
.sun,
.character {
  position: absolute;
}

.scene-asset > img,
.interactive-asset > img {
  width: 100%;
  height: auto;
  max-width: none;
}

/* Positions measured from the supplied 2048 x 1167 Figma scene. */
.banner {
  left: 1.855469%;
  top: 0;
  z-index: 8;
  width: 21.728516%;
}

.banner-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: help;
}

.banner-trigger > img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-trigger:focus-visible {
  outline: 4px solid #fff7b0;
  outline-offset: 5px;
}

.banner-popover {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  display: block;
  box-sizing: border-box;
  width: 135%;
  padding: 4% 5%;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 5px 6px 0 rgba(64, 39, 29, 0.28);
  color: #17120e;
  font-family: "Google Sans Code", "Courier New", monospace;
  font-size: clamp(7px, 0.62vw, 12px);
  font-weight: 400;
  line-height: 1.38;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.banner-popover::before {
  position: absolute;
  bottom: 100%;
  left: 43%;
  width: 12px;
  height: 12px;
  background: #fffdf8;
  content: "";
  transform: translate(-50%, 7px) rotate(45deg);
}

.banner-trigger:hover .banner-popover,
.banner-trigger:focus .banner-popover,
.banner-trigger:focus-visible .banner-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sun {
  left: 55.224609%;
  top: 20.479863%;
  z-index: 4;
  width: 8.740234%;
  height: 14.224507%;
}

.process-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.process-trigger:hover {
  filter: brightness(1.1) drop-shadow(0 5px 0 rgba(77, 49, 25, 0.2));
  transform: translateY(-5px) scale(1.035);
}

.process-trigger:focus-visible {
  border-radius: 50%;
  outline-color: #fff7d8;
  outline-offset: 10px;
}

.delivery-zone-trigger {
  left: 73%;
  top: 7.5%;
  z-index: 5;
  min-width: 220px;
  min-height: 70px;
  border: 0;
  padding: 8px 18px;
  background: transparent;
  box-shadow: none;
  color: #e9fbff;
  font-family: "Pixelify Sans", "VT323", monospace;
  font-size: 43px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    3px 0 #327c91,
    -3px 0 #327c91,
    0 3px #327c91,
    0 -3px #327c91;
  transform: rotate(-5deg);
  white-space: nowrap;
  cursor: pointer;
  animation: none;
}

.delivery-zone-trigger:hover,
.delivery-zone-trigger:focus-visible {
  color: #fff;
  filter: brightness(1.08);
}

.delivery-zone-trigger:focus-visible {
  border-radius: 8px;
  outline: 5px solid #513427;
  outline-offset: 5px;
}

.mobile-delivery-zone-trigger {
  display: none;
}

.sun-questions {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  transform-origin: 50% 50%;
  animation: orbit 24s linear infinite;
}

.sun-circle {
  position: absolute;
  left: 25.139665%;
  top: 27.108434%;
  width: 46.368715%;
  height: auto;
  max-width: none;
}

.community-building {
  left: 1.367188%;
  top: 29.477292%;
  z-index: 7;
  width: 39.599609%;
}

.bench {
  left: 16.552734%;
  top: 70.779777%;
  z-index: 10;
  width: 9.277344%;
}

.cow-tree {
  left: 39.404297%;
  top: 34.018852%;
  z-index: 6;
  width: 14.599609%;
}

.signpost-art {
  left: 41.064453%;
  top: 65.809769%;
  z-index: 9;
  width: 5.126953%;
}

.order-sign {
  left: 3.710938%;
  top: 58.269066%;
  z-index: 14;
  width: 14.453125%;
}

.menu-shack {
  left: 58.007812%;
  top: 36.932305%;
  z-index: 7;
  width: 34.179688%;
}

.bush {
  left: 0;
  top: 84.404456%;
  z-index: 16;
  width: 10.351562%;
}

.truck {
  left: 82.568359%;
  top: 51.413882%;
  z-index: 15;
  width: 17.236328%;
}

.hotspot {
  position: absolute;
  z-index: 4;
  border-radius: 3px;
}

.community-hotspot {
  left: 9.3%;
  top: 34.8%;
  width: 23%;
  height: 22.8%;
}

.story-hotspot {
  left: 81.5%;
  top: 47.1%;
  width: 12.6%;
  height: 21.8%;
}

.intake-hotspot {
  left: 8%;
  top: 36.2%;
  width: 80%;
  height: 17.2%;
}

.order-hotspot {
  left: 14.4%;
  top: 54.7%;
  width: 73.5%;
  height: 14.8%;
}

.hotspot:hover,
.hotspot:focus-visible,
.interactive-asset:hover,
.interactive-asset:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.72);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/*
 * Front-facing idle frames only. Each character stays fixed in place; only
 * the sprite-sheet background position changes between two standing frames.
 */
.sprite {
  z-index: 9;
  width: 7.03125%;
  height: 16.452442%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 800% 500%;
  background-position: 0 50%;
}

.character-woman {
  left: 17.822266%;
  top: 57.669237%;
  z-index: 12;
  background-image: url("../assets/images/character-woman-6x.png");
  animation: woman-idle 3.4s steps(1, end) infinite;
}

.character-older-woman {
  left: 52.392578%;
  top: 62.039417%;
  z-index: 11;
  background-image: url("../assets/images/character-older-woman-6x.png");
  animation: older-woman-idle 3.8s steps(1, end) 0.35s infinite;
}

.sound-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  margin: 0;
  padding: 7px 12px;
  border: 3px solid rgba(33, 79, 66, 0.7);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--green);
  font-size: 22px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sound-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.icon-button.is-playing .sound-icon {
  animation: sound-bounce 0.85s steps(2, end) infinite;
}

.site-sound-status {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 200;
}

.mobile-site-sound {
  min-height: 52px;
  border: 0;
  border-top: 2px dashed rgba(83, 58, 46, 0.28);
  padding: 10px 14px;
  background: transparent;
  color: #254636;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mobile-site-sound[aria-pressed="true"] {
  color: #8a472f;
}

.mobile-site-sound:focus-visible {
  outline: 4px solid #254636;
  outline-offset: 2px;
}

.page-shell {
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: url("../assets/images/bg-world.png") center bottom / cover;
}

.pixel-card {
  width: min(720px, 92vw);
  padding: clamp(28px, 5vw, 56px);
  border: 6px solid #533a2e;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.18);
  text-align: center;
}

.pixel-card h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 72px);
}

.pixel-card p {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}

/* Homepage process dialog */
.process-dialog {
  width: min(94vw, 1540px);
  max-width: none;
  max-height: 92svh;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff9e9;
  overflow: visible;
}

.process-dialog::backdrop {
  background: rgba(25, 35, 32, 0.52);
  backdrop-filter: blur(5px);
}

.delivery-dialog {
  width: min(92vw, 860px);
  max-width: none;
  max-height: 92svh;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f251d;
  overflow: visible;
}

.delivery-dialog::backdrop {
  background: rgba(25, 35, 32, 0.52);
  backdrop-filter: blur(5px);
}

.delivery-panel {
  position: relative;
  max-height: 88svh;
  overflow: auto;
  border: 7px solid #52372a;
  border-radius: 14px;
  padding: clamp(58px, 6vw, 68px) clamp(20px, 4vw, 40px) clamp(24px, 4vw, 36px);
  background: #ffe3ad;
  box-shadow:
    inset 0 0 0 5px #e8c47d,
    10px 12px 0 rgba(33, 24, 31, 0.34);
}

.delivery-heading {
  max-width: 650px;
  margin: 0 auto 18px;
  text-align: center;
}

.delivery-heading > p:first-child {
  margin: 0 0 5px;
  color: #9a4d38;
  font-family: "Google Sans Code", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-heading h2 {
  margin: 0 0 7px;
  color: #23483c;
  font-family: "Pixelify Sans", "VT323", monospace;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.delivery-heading > p:last-child,
.delivery-map-note {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.delivery-map {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 5px solid #5d4031;
  border-radius: 10px;
  background:
    linear-gradient(27deg, transparent 47%, rgba(255, 255, 255, 0.72) 48% 52%, transparent 53%),
    linear-gradient(98deg, transparent 47%, rgba(255, 255, 255, 0.58) 48% 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(79, 126, 97, 0.18) 48px 51px),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(79, 126, 97, 0.18) 65px 68px),
    #b8d7a2;
  box-shadow: inset 0 0 0 5px #e6d69a;
}

.map-line {
  position: absolute;
  height: 14px;
  border: 3px solid #fff6d8;
  background: #bf7252;
  box-shadow: 0 0 0 3px #76513d;
  transform-origin: left center;
}

.map-line-one {
  top: 64%;
  left: 8%;
  width: 82%;
  transform: rotate(-17deg);
}

.map-line-two {
  top: 13%;
  left: 70%;
  width: 52%;
  transform: rotate(83deg);
}

.delivery-pin {
  position: absolute;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 5px solid #4c2f25;
  border-radius: 50% 50% 50% 0;
  background: #e94e36;
  box-shadow: 4px 5px 0 rgba(66, 46, 35, 0.25);
  transform: rotate(-45deg);
}

.delivery-pin::after {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff3ce;
  content: "";
}

.delivery-pin-one {
  top: 34%;
  left: 21%;
}

.delivery-pin-two {
  right: 17%;
  bottom: 20%;
}

.map-label {
  position: absolute;
  z-index: 3;
  max-width: 205px;
  border: 3px solid #51372b;
  padding: 7px 9px;
  background: #fff5d8;
  color: #2e241d;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.map-label-one {
  top: 13%;
  left: 8%;
}

.map-label-two {
  right: 5%;
  bottom: 6%;
}

.delivery-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
  padding: 0;
  list-style: none;
}

.delivery-locations li {
  min-height: 52px;
  border: 3px solid #6a4937;
  padding: 11px 13px;
  background: #fff3cf;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.delivery-map-note {
  color: #55483f;
  font-size: 15px;
}

.delivery-intake-link {
  display: grid;
  width: fit-content;
  min-height: 48px;
  place-items: center;
  margin: 22px auto 0;
  border: 4px solid #53372c;
  border-radius: 6px;
  padding: 8px 18px;
  background: #a75f40;
  box-shadow: 4px 5px 0 rgba(58, 39, 29, 0.3);
  color: #fff8df;
  font-family: "Google Sans Code", "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
}

.postal-checker {
  max-width: 560px;
  margin: 0 auto 18px;
  font-family: "Google Sans Code", "Courier New", monospace;
}

.postal-checker label {
  display: block;
  margin-bottom: 6px;
  color: #3d2d24;
  font-size: 14px;
  font-weight: 700;
}

.postal-checker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.postal-checker input {
  min-width: 0;
  min-height: 46px;
  border: 3px solid #5d4031;
  border-radius: 5px;
  padding: 8px 12px;
  background: #fffaf0;
  color: #2f251d;
  font: 600 17px/1.2 "Google Sans Code", "Courier New", monospace;
  text-transform: uppercase;
}

.postal-checker button {
  min-width: 94px;
  min-height: 46px;
  border: 3px solid #53372c;
  border-radius: 5px;
  padding: 7px 14px;
  background: #a75f40;
  box-shadow: 3px 3px 0 rgba(58, 39, 29, 0.28);
  color: #fff8df;
  font: 700 17px/1 "Google Sans Code", "Courier New", monospace;
  cursor: pointer;
}

.postal-checker input:focus-visible,
.postal-checker button:focus-visible,
.delivery-map-link:focus-visible {
  outline: 4px solid #23483c;
  outline-offset: 3px;
}

.postal-check-result {
  min-height: 22px;
  margin: 8px 0 0;
  color: #604d3f;
  font: 600 14px/1.4 "Google Sans Code", "Courier New", monospace;
}

.postal-check-result[data-status="success"] {
  color: #1d6439;
}

.postal-check-result[data-status="error"],
.postal-check-result[data-status="outside"] {
  color: #7c3328;
}

.postal-check-result a,
.delivery-map-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.delivery-map-link {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: #23483c;
  font: 700 14px/1.4 "Google Sans Code", "Courier New", monospace;
}

.process-panel {
  position: relative;
  max-height: 88svh;
  overflow: auto;
  border: 8px solid #29243a;
  border-radius: 16px;
  padding: clamp(38px, 4.5vw, 72px) clamp(28px, 4.5vw, 70px) clamp(32px, 4vw, 58px);
  background: #995a3f;
  box-shadow:
    inset 0 0 0 5px #e2b729,
    inset 0 0 0 10px #4f332f,
    10px 12px 0 rgba(33, 24, 31, 0.42);
}

.process-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border: 4px solid #512f25;
  padding: 0;
  background: #ae613f;
  box-shadow: 4px 4px 0 rgba(36, 23, 17, 0.3);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.process-close::before,
.process-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 5px;
  background: #fff8e7;
  content: "";
}

.process-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.process-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.process-close:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.process-heading {
  max-width: 820px;
  margin: 0 auto clamp(34px, 4vw, 54px);
  padding-inline: 44px;
  text-align: center;
}

.process-kicker {
  margin: 0 0 7px !important;
  color: #ffe894;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.process-heading h2 {
  margin: 0 0 12px;
  font-family: "Pixelify Sans", "VT323", monospace;
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 600;
  line-height: 1;
}

.process-heading > p:last-child {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.4;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0 0 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #ffe894 rgba(47, 34, 42, 0.35);
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
  list-style: none;
}

.process-steps > li {
  scroll-snap-align: start;
}

.process-step-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  border: 3px solid transparent;
  border-radius: 10px;
  padding: 15px 12px 18px;
  color: inherit;
  text-align: center;
}

a.process-step-card {
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

a.process-step-card:hover {
  border-color: rgba(255, 235, 161, 0.62);
  background: rgba(255, 244, 205, 0.08);
  transform: translateY(-4px);
}

.process-step-card img {
  width: auto;
  height: clamp(98px, 9vw, 148px);
  margin: 0 auto 18px;
  object-fit: contain;
}

.process-step-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.process-step-number {
  display: block;
  margin-bottom: 6px;
  color: #ffe894;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step-card h3 {
  margin: 0 0 12px;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.18;
}

.process-step-card p {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.35;
}

.process-step-link {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  color: #ffe894;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .process-steps {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
  }
}

@media (max-width: 680px) {
  .process-dialog {
    width: calc(100vw - 12px);
    max-height: 92svh;
  }

  .process-panel {
    display: flex;
    height: min(86svh, 510px);
    max-height: 90svh;
    flex-direction: column;
    overflow: hidden;
    border-width: 5px;
    padding: 14px 10px 14px;
  }

  .process-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .process-heading {
    max-width: none;
    margin: 0 48px 10px 8px;
    padding: 0;
    text-align: left;
  }

  .process-heading h2 {
    margin: 0;
    font-size: 1.5rem;
  }

  .process-heading .process-kicker,
  .process-heading > p:last-child {
    display: none;
  }

  .process-steps {
    min-height: 0;
    flex: 1;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: min-content;
    gap: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 0 4px 6px 0;
    scroll-snap-type: y proximity;
  }

  .process-steps > li {
    min-width: 0;
  }

  .process-steps:focus-visible {
    outline: 3px solid #ffe894;
    outline-offset: -3px;
  }

  .process-step-card {
    min-height: 82px;
    flex-direction: row;
    gap: 12px;
    padding: 6px 8px;
    text-align: left;
  }

  .process-step-card img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin: 0;
  }

  .process-step-card > div {
    min-width: 0;
    align-items: flex-start;
  }

  .process-step-number {
    margin-bottom: 5px;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }

  .process-step-card h3 {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.2;
  }

  a.process-step-card h3 {
    text-decoration: underline;
    text-decoration-color: #ffe894;
    text-underline-offset: 3px;
  }

  .process-step-card p,
  .process-step-link {
    display: none;
  }
}

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

@keyframes woman-idle {
  0%,
  44%,
  100% {
    background-position: 0 50%;
  }
  45%,
  55% {
    background-position: 0 75%;
  }
}

@keyframes older-woman-idle {
  0%,
  42%,
  100% {
    background-position: 0 50%;
  }
  43%,
  56% {
    background-position: 0 75%;
  }
}

@keyframes sound-bounce {
  50% {
    transform: translateY(-4px) rotate(-2deg);
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 88px;
  }

  .pixel-nav {
    padding-inline: 14px;
  }

  .brand {
    display: none;
  }

  .nav-left {
    gap: 13px;
  }

  .nav-text {
    font-size: 25px;
  }

  .nav-icon {
    width: 45px;
  }

  .sound-icon,
  .cart-icon {
    width: 49px;
  }

  .hotspot {
    min-width: 44px;
    min-height: 44px;
  }

}

@media (max-width: 560px) {
  :root {
    --nav-height: 80px;
  }

  .pixel-nav {
    padding: 7px 9px;
  }

  .nav-left {
    gap: 8px;
  }

  .nav-text {
    font-size: 20px;
  }

  .nav-right {
    gap: 3px;
  }

  .nav-icon {
    width: 40px;
  }

  .sound-icon,
  .cart-icon {
    width: 43px;
  }

  .sound-status {
    right: 8px;
    bottom: 8px;
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .home-body .nav-right .icon-button {
    display: inline-grid;
  }
}

/*
 * The desktop artwork is a single fixed composition. On phones and smaller
 * tablets, switch to a content-led village trail so artwork stays large and
 * every destination has a comfortable, clearly labelled touch target.
 */
@media (max-width: 900px) {
  :root {
    --nav-height: 84px;
  }

  .home-body {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-body .site-header {
    position: sticky;
    top: 0;
    height: var(--nav-height);
  }

  .home-body .pixel-nav {
    padding-inline: clamp(10px, 3vw, 22px);
  }

  .home-body .brand {
    display: none;
  }

  .home-body .nav-left {
    gap: clamp(8px, 2.1vw, 16px);
  }

  .home-body .nav-text {
    font-size: clamp(20px, 3.4vw, 26px);
  }

  .home-body .nav-icon {
    width: clamp(42px, 7vw, 50px);
  }

  .home-body .sound-icon,
  .home-body .cart-icon {
    width: clamp(46px, 7.5vw, 54px);
  }

  .home-page,
  .world {
    height: auto;
    overflow: visible;
  }

  .world {
    display: block;
    background: #6bc3d7;
  }

  .world-stage {
    display: none;
  }

  .mobile-village {
    position: relative;
    display: block;
    min-height: calc(100dvh - var(--nav-height));
    overflow: hidden;
    padding: clamp(24px, 6vw, 48px) clamp(14px, 4vw, 28px) 72px;
    background:
      linear-gradient(to bottom, transparent 0 22rem, rgba(109, 180, 75, 0.08) 31rem),
      url("../assets/images/bg-world.png") center top / auto 700px no-repeat,
      linear-gradient(to bottom, #6bc3d7 0 510px, #83bf5b 510px 100%);
  }

  .mobile-village::before {
    position: absolute;
    z-index: 0;
    top: 430px;
    bottom: 0;
    left: 50%;
    width: clamp(100px, 28vw, 190px);
    background: #d8b57a;
    clip-path: polygon(36% 0, 75% 10%, 45% 23%, 72% 37%, 31% 51%, 65% 68%, 39% 83%, 58% 100%, 10% 100%, 24% 82%, 4% 66%, 28% 49%, 8% 35%, 36% 20%, 16% 8%);
    content: "";
    opacity: 0.72;
    transform: translateX(-50%);
  }

  .mobile-village-intro,
  .mobile-process-sun,
  .mobile-delivery-zone-trigger,
  .mobile-village-route {
    position: relative;
    z-index: 1;
  }

  .mobile-village-intro {
    width: min(100%, 640px);
    margin: 0 auto clamp(18px, 4vw, 28px);
    text-align: center;
  }

  .mobile-banner {
    position: relative;
    display: block;
    width: min(74vw, 390px);
    min-height: 44px;
    margin: 0 auto clamp(24px, 7vw, 44px);
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-banner > img {
    width: 100%;
    height: auto;
  }

  .mobile-banner-message {
    position: absolute;
    z-index: 6;
    top: 100%;
    left: 50%;
    display: block;
    width: min(92vw, 520px);
    margin-top: 12px;
    border: 3px solid #6a4934;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff8df;
    box-shadow: 5px 5px 0 rgba(73, 49, 34, 0.22);
    color: #1e352d;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.42;
    opacity: 0;
    transform: translate(-50%, -5px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-banner:hover .mobile-banner-message,
  .mobile-banner:focus .mobile-banner-message,
  .mobile-banner:focus-visible .mobile-banner-message {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
  }

  .mobile-village-intro h1 {
    margin: 0;
    color: #173d33;
    font-family: "Pixelify Sans", "VT323", monospace;
    font-size: clamp(40px, 11vw, 62px);
    font-weight: 600;
    line-height: 0.95;
    text-shadow: 2px 3px 0 rgba(255, 248, 223, 0.82);
  }

  .mobile-village-guide {
    width: fit-content;
    margin: 16px auto 0;
    border-radius: 6px;
    padding: 10px 14px;
    background: rgba(255, 253, 248, 0.92);
    color: #243d34;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
  }

  .mobile-village-route {
    display: grid;
    width: min(100%, 620px);
    gap: clamp(28px, 8vw, 52px);
    margin: 0 auto;
  }

  .mobile-process-sun {
    display: block;
    width: 148px;
    min-width: 148px;
    height: 148px;
    margin: 0 auto clamp(30px, 7vw, 48px);
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: filter 160ms ease, transform 160ms ease;
  }

  .mobile-process-sun:hover,
  .mobile-process-sun:focus-visible {
    filter: brightness(1.08) drop-shadow(0 6px 0 rgba(76, 48, 27, 0.2));
    transform: translateY(-5px) scale(1.035);
  }

  .mobile-delivery-zone-trigger {
    display: grid;
    width: min(92%, 430px);
    min-height: 54px;
    place-items: center;
    margin: -20px auto clamp(30px, 7vw, 48px);
    border: 3px solid #356f80;
    border-radius: 999px;
    padding: 9px 18px;
    background: rgba(236, 251, 255, 0.94);
    box-shadow: none;
    color: #204e5d;
    font-family: "Pixelify Sans", "VT323", monospace;
    font-size: clamp(25px, 6vw, 34px);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-delivery-zone-trigger:hover,
  .mobile-delivery-zone-trigger:focus-visible {
    background: #fff;
    transform: none;
  }

  .mobile-destination {
    position: relative;
  }

  .mobile-destination-link {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 176px;
    place-items: center;
    border: 4px solid #5d3d2d;
    border-radius: 10px;
    padding: 18px 16px 16px;
    background: rgba(255, 245, 211, 0.95);
    box-shadow: 7px 8px 0 rgba(57, 43, 31, 0.28);
    color: #172f28;
    cursor: pointer;
    text-align: center;
    transition: transform 150ms ease, filter 150ms ease;
  }

  .mobile-destination-link:hover,
  .mobile-destination-link:focus-visible {
    filter: brightness(1.035);
    transform: translateY(-4px);
  }

  .mobile-building-art,
  .mobile-sign-art {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .mobile-community-art {
    width: min(92%, 470px);
  }

  .mobile-story-art {
    width: min(94%, 500px);
  }

  .mobile-menu-art {
    width: min(86%, 430px);
  }

  .mobile-sign-art {
    width: min(35%, 150px);
    margin-block: 6px;
  }

  .mobile-sun-art {
    position: relative;
    display: block;
    width: 116px;
    height: 116px;
    margin: 16px auto;
  }

  .mobile-sun-art img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: orbit 24s linear infinite;
  }

  .mobile-sun-art img:last-child {
    position: absolute;
    top: 27%;
    left: 25%;
    width: 47%;
  }

  .mobile-destination-copy {
    display: block;
    width: min(100%, 480px);
    margin: 10px auto 0;
  }

  .mobile-destination-copy strong {
    display: block;
    color: #173d33;
    font-family: "Pixelify Sans", "VT323", monospace;
    font-size: clamp(30px, 7vw, 42px);
    font-weight: 600;
    line-height: 1;
  }

  .mobile-destination-copy > span {
    display: block;
    margin-top: 9px;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
  }

  .mobile-action {
    display: inline-grid;
    min-height: 44px;
    place-items: center;
    margin-top: 14px;
    border: 3px solid #5e3e2f;
    border-radius: 5px;
    padding: 7px 15px;
    background: #a75f40;
    box-shadow: 3px 3px 0 rgba(58, 39, 29, 0.28);
    color: #fff8df;
    font-family: "Google Sans Code", "Courier New", monospace;
    font-size: 17px;
    font-weight: 700;
  }
}

@media (max-width: 560px) {
  .mobile-village {
    padding-inline: 12px;
  }

  .mobile-destination-link {
    padding-inline: 12px;
  }

  .delivery-dialog {
    width: calc(100vw - 18px);
    max-height: 96svh;
  }

  .delivery-panel {
    max-height: 94svh;
    border-width: 5px;
    padding: 66px 14px 22px;
  }

  .delivery-heading h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .delivery-heading > p:last-child {
    font-size: 15px;
  }

  .delivery-map {
    min-height: 205px;
  }

  .map-label {
    max-width: 155px;
    font-size: 13px;
  }

  .delivery-locations {
    grid-template-columns: 1fr;
  }

  .postal-checker-row {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .postal-checker input,
  .postal-checker button {
    font-size: 16px;
  }
}

@media (max-aspect-ratio: 1 / 1) {
  .world {
    place-items: center;
  }
}

/* On small screens the existing village art becomes the navigation itself. */
@media (max-width: 900px) {
  :root {
    --nav-height: clamp(64px, 20vw, 82px);
  }

  .home-body .site-header {
    position: sticky;
    top: 0;
  }

  .home-body .pixel-nav {
    padding-inline: clamp(18px, 5vw, 26px);
  }

  .home-body .brand {
    display: grid;
  }

  .home-body .brand img {
    width: clamp(50px, 14vw, 72px);
  }

  .home-body .nav-left,
  .home-body .nav-right {
    display: none;
  }

  .home-body .menu-toggle {
    position: absolute;
    left: clamp(12px, 4vw, 22px);
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    place-content: center;
    gap: 4px;
    border: 4px solid #17120e;
    border-radius: 5px;
    background: #c17a3d;
    box-shadow: inset 4px 0 #95532f, inset -4px 0 #f6c328, 3px 3px 0 #17120e;
    cursor: pointer;
  }

  .home-body .menu-toggle span {
    width: 22px;
    height: 3px;
    background: #62311e;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .home-body .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .home-body .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .home-body .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .home-body .mobile-cart {
    position: absolute;
    right: clamp(12px, 4vw, 22px);
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    place-items: center;
  }

  .home-body .mobile-cart img {
    width: 46px;
    image-rendering: pixelated;
  }

  .home-body .mobile-menu {
    position: absolute;
    z-index: 90;
    top: 100%;
    left: 0;
    display: grid;
    width: 100%;
    border-top: 4px solid #17120e;
    border-bottom: 4px solid #17120e;
    padding: 10px 18px 18px;
    background: #fffdf8;
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.14);
    font-family: "Pixelify Sans", "VT323", monospace;
    font-size: 1.5rem;
  }

  .home-body .mobile-menu[hidden] {
    display: none;
  }

  .home-body .mobile-menu a {
    padding: 8px 12px;
  }

  .home-body .mobile-menu a + a {
    border-top: 2px dashed rgba(83, 58, 46, 0.28);
  }

  .mobile-village {
    container-type: inline-size;
    width: min(100%, 540px, 57dvh);
    height: calc(100dvh - var(--nav-height));
    min-height: 0;
    aspect-ratio: auto;
    margin-inline: auto;
    padding: 0;
    isolation: isolate;
    background: linear-gradient(to bottom, #60b5cd 0 72cqw, #80bd58 72cqw 100%);
  }

  .mobile-village::before {
    top: 72cqw;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: url("../assets/images/bg-world.png") right top -284cqw / auto 416cqw no-repeat;
    clip-path: none;
    opacity: 1;
    transform: none;
  }

  .mobile-village::after {
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: 72cqw;
    background: linear-gradient(to bottom, #60b5cd 0%, #60b5cd 88%, rgba(96, 181, 205, 0) 100%);
    content: "";
    pointer-events: none;
  }

  .mobile-process-sun,
  .mobile-delivery-zone-trigger,
  .mobile-community-building,
  .mobile-bench,
  .mobile-character,
  .mobile-order-sign,
  .mobile-menu-shack {
    position: absolute;
    z-index: 1;
  }

  .mobile-process-sun {
    top: 9cqw;
    right: 5cqw;
    width: 29cqw;
    min-width: 0;
    height: 29cqw;
    margin: 0;
  }

  .mobile-sun-art {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .mobile-delivery-zone-trigger {
    top: 7cqw;
    left: 4cqw;
    display: block;
    width: auto;
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 4px 6px;
    background: transparent;
    box-shadow: none;
    color: #e9fbff;
    font-family: "Pixelify Sans", "VT323", monospace;
    font-size: clamp(27px, 7.5cqw, 36px);
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    color: #e9fbff;
    text-shadow:
      2px 0 #327c91,
      -2px 0 #327c91,
      0 2px #327c91,
      0 -2px #327c91;
    transform: rotate(-5deg);
    white-space: nowrap;
    animation: none;
  }

  .mobile-delivery-zone-trigger:hover,
  .mobile-delivery-zone-trigger:focus-visible {
    background: transparent;
    color: #fff;
    transform: rotate(-5deg);
  }

  .mobile-community-building {
    top: 23cqw;
    left: -5cqw;
    width: 76cqw;
    z-index: 3;
  }

  .mobile-community-building > img,
  .mobile-order-sign > img,
  .mobile-menu-shack > img {
    width: 100%;
    height: auto;
    max-width: none;
  }

  .mobile-scene-hotspot {
    position: absolute;
    z-index: 2;
    display: block;
    border-radius: 4px;
  }

  .mobile-scene-hotspot:hover,
  .mobile-scene-hotspot:focus-visible,
  .mobile-menu-shack:hover,
  .mobile-menu-shack:focus-visible {
    outline: 4px solid #fff8cf;
    outline-offset: 2px;
  }

  .mobile-community-hotspot {
    top: 35%;
    left: 6%;
    width: 32%;
    height: 38%;
  }

  .mobile-story-hotspot {
    top: 46%;
    right: 2%;
    width: 20%;
    height: 32%;
  }

  .mobile-bench {
    top: 73cqw;
    left: 18cqw;
    width: 22cqw;
  }

  .mobile-character {
    top: 66cqw;
    left: 25cqw;
    width: 14cqw;
    height: 21cqw;
    background-image: url("../assets/images/character-woman.png");
    background-size: 800% 500%;
    background-position: 0 0;
  }

  .mobile-order-sign {
    top: 47cqw;
    right: 4cqw;
    width: 28cqw;
    z-index: 1;
  }

  .mobile-intake-hotspot {
    top: 21%;
    left: 4%;
    width: 92%;
    height: 16%;
  }

  .mobile-order-hotspot {
    top: 40%;
    left: 4%;
    width: 92%;
    height: 16%;
  }

  .mobile-menu-shack {
    top: 78cqw;
    right: -10cqw;
    width: 92cqw;
    z-index: 2;
  }
}

@media (max-width: 700px) {
  .home-body {
    --nav-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
