:root {
  color-scheme: light;
  --ink: #382414;
  --cream: #fff2d8;
  --gold: #ffd581;
  --wood: #663714;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Chivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.landing {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background: #342013;
  isolation: isolate;
}
.kitchen-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #6a4a2c;
}
.kitchen-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/kitchen-panorama.webp") center / cover no-repeat;
  transform: scale(1.09);
}
.kitchen-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(25 16 10 / .44), transparent 28%, rgb(24 16 10 / .34) 55%, rgb(20 14 9 / .88) 100%);
}
.site-header {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.small-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.1rem/1.2 var(--display); text-shadow: 0 2px 6px #1f1007; }
.small-brand img { display: block; object-fit: contain; filter: drop-shadow(0 3px 4px #1f100770); }
.lang { flex: none; display: inline-flex; padding: 4px; border: 1px solid #c99c5c88; border-radius: 13px; background: #28180cdb; box-shadow: inset 0 1px #ffe6b126, 0 3px 12px #20100530; }
.lang button { min-height: 40px; padding: 6px 15px; border: 0; border-radius: 8px; background: transparent; color: #f4dfbb; font: 700 .9rem/1 var(--display); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #f0c47a; color: #3c250f; box-shadow: inset 0 1px #fff1c6; }
.lang button:hover { color: white; }
.lang button[aria-pressed="true"]:hover { color: #3c250f; background: #ffdb96; }
.lang button:focus-visible { outline-offset: 0; }

.hero { position: relative; width: 100%; max-width: 1440px; margin: auto; padding: 0 24px 40px; text-align: center; }
.hero-brand { margin: -38px auto 0; width: min(460px, 78vw); }
/* The master retains its square canvas; omit only the empty area below the plaque. */
.hero-logo, .policy-logo img { aspect-ratio: 1254 / 950; object-fit: cover; object-position: top; }
.hero-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 15px 18px #24100080); animation: arrive .7s ease-out both; }
.hero-copy { position: relative; }
.tagline { margin: 0; font: 800 clamp(1.9rem, 4vw, 2.65rem)/1.16 var(--display); text-shadow: 0 2px 1px #281407, 0 3px 20px #1c1009; text-wrap: balance; }
.blurb { max-width: 36ch; margin: 12px auto 0; font-size: 1.0625rem; line-height: 1.5; text-wrap: balance; color: #fff5e4; text-shadow: 0 1px 8px #000; }
.download-area { margin-top: 16px; }
.store-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-width: 280px; min-height: 106px; padding: 17px 45px 23px; color: #fff1d0; text-decoration: none; background: url("assets/button-oak.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 8px 8px #1f100768); text-align: left; text-shadow: 0 2px 1px #482203; transition: transform .16s ease, filter .16s ease; }
.store-button:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 12px #1f100780) brightness(1.08); }
.store-button:active { transform: translateY(2px); }
.store-button .apple { width: 33px; height: 37px; flex: none; }
.store-button > span { display: flex; flex-direction: column; }
.store-eyebrow { font-size: .875rem; line-height: 1.3; }
.store-name { font: 800 1.9rem/1.1 var(--display); }
.game-facts { margin: 6px 0 0; color: #fff1d8; font: 600 1rem/1.5 var(--display); text-shadow: 0 1px 8px #1c1108; }
.platform { margin: 5px 0 0; color: #e0ccac; font-size: .8125rem; }
.qr-ticket { position: absolute; bottom: 46px; right: clamp(24px, 5vw, 80px); width: 154px; margin: 0; padding: 13px 13px 14px; border: 1px solid #d2b68a; border-radius: 7px; background: #faf1dc; color: #54371e; box-shadow: 0 6px 0 #b19060, 0 12px 28px #1e100b55; transform: rotate(4deg); }
.qr-ticket img { display: block; width: 100%; height: auto; }
.qr-ticket figcaption { margin-top: 5px; font: 700 .8125rem/1.3 var(--display); text-align: center; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(24px, 4vw, 64px); color: #dfc7a8; font-size: .875rem; border-top: 1px solid #f0cca320; background: #21150c70; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer a { color: #fcebd0; text-decoration: none; }
.site-footer a:hover { color: #ffd581; text-decoration: underline; }

/* A readable document resting in the same kitchen as the landing. */
.privacy { position: relative; isolation: isolate; min-height: 100svh; color: var(--cream); background: #342013; }
.privacy .kitchen-scene { position: fixed; }
.privacy .kitchen-scene::after { background: #21140894; }
.policy-sheet { width: min(880px, calc(100% - 48px)); margin: 26px auto 64px; padding: 0 clamp(24px, 5vw, 64px) 32px; color: var(--ink); background: linear-gradient(110deg, #fff9ec, #f8ecd5); border: 6px solid #84502a; border-radius: 22px; box-shadow: 0 5px 0 #41220e, inset 0 0 0 2px #d7b77e, 0 16px 44px #160c0990; }
.policy-heading { text-align: center; padding-bottom: 24px; border-bottom: 2px solid #dcc5a0; }
.policy-logo { display: block; width: 182px; margin: -39px auto 8px; }
.policy-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 5px #532b1733); }
.policy-heading h1 { margin: 0; font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.12 var(--display); text-wrap: balance; }
.stamp { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 20px; margin: 14px 0 0; color: #765737; font-size: .875rem; }
.policy-prose { counter-reset: policy-section; font-size: 1rem; line-height: 1.75; }
.policy-prose h2 { counter-increment: policy-section; position: relative; padding-top: 25px; margin: 24px 0 10px; border-top: 1px solid #ddc9a7; font: 800 clamp(1.25rem, 2.3vw, 1.5rem)/1.25 var(--display); text-wrap: balance; }
.policy-prose h2:first-child { border-top: 0; margin-top: 8px; }
.policy-prose p { margin: 10px 0 18px; }
.policy-prose ul { margin: 12px 0 18px; padding-left: 22px; }
.policy-prose li { padding-left: 5px; margin: 5px 0; }
.policy-prose li::marker { color: #a96828; }
.scroller { overflow-x: auto; margin: 22px 0; border: 1px solid #d4b688; border-radius: 10px; }
.scroller:focus-visible { outline-color: #80531c; }
.policy-prose table { border-collapse: collapse; width: 100%; min-width: 470px; font-size: .9375rem; line-height: 1.5; }
.policy-prose th, .policy-prose td { padding: 14px 16px; text-align: left; vertical-align: top; }
.policy-prose thead { background: #613817; color: #fff0d2; }
.policy-prose thead th { font: 700 1rem/1.4 var(--display); }
.policy-prose tbody th { font-size: .875rem; font-weight: 600; }
.policy-prose tbody tr { background: #fffdf6; }
.policy-prose tbody tr:nth-child(even) { background: #f3e7d3; }
.policy-prose tbody tr + tr { border-top: 1px solid #e3d2b4; }
.flag { white-space: nowrap; }
.yes { color: #923419; font-weight: 700; }
.no { color: #635038; }
.back-button { display: flex; width: fit-content; min-height: 80px; align-items: center; justify-content: center; gap: 10px; margin: 35px auto 0; padding: 18px 36px 22px; background: url("assets/button-walnut.webp") center / 100% 100% no-repeat; color: #fff0d2; text-decoration: none; font: 700 1rem/1.3 var(--display); }
.back-button:hover { filter: brightness(1.12); }
.back-button:focus-visible { outline-color: #80531c; }

@keyframes arrive { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) { .hero-brand { width: 520px; } }
@media (max-width: 850px) {
  .site-header { padding: 18px 22px; }
  .small-brand span { display: none; }
  .hero { padding-bottom: 32px; }
  .hero-brand { margin-top: -22px; }
  .qr-ticket { position: static; width: 126px; margin: 26px auto 0; transform: rotate(2deg); padding: 9px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer nav { justify-content: center; }
  .kitchen-scene::before { background-image: url("assets/kitchen-portrait.webp"); background-position: center top; transform: none; }
}
@media (max-width: 520px) {
  .kitchen-scene::after { background: linear-gradient(180deg, #21160a40, #21160a08 22%, #21160a85 47%, #21160aed 100%); }
  .hero { padding: 0 18px 34px; }
  .hero-brand { width: min(400px, 100%); margin-top: -10px; }
  .tagline { font-size: 2rem; }
  .blurb { max-width: 30ch; }
  .download-area { margin-top: 14px; }
  .store-button { min-width: 265px; min-height: 102px; }
  .game-facts { font-size: .9375rem; }
  .platform { max-width: 28ch; margin: 8px auto 0; }
  .qr-ticket { margin-top: 24px; }
  .site-footer { gap: 10px; padding: 20px 20px 26px; }
  .site-footer > span { order: 2; width: 100%; }
  .policy-sheet { width: calc(100% - 24px); margin-top: 26px; margin-bottom: 32px; padding: 0 18px 24px; border-width: 4px; border-radius: 16px; }
  .policy-logo { width: 155px; }
  .stamp { flex-direction: column; }
  .policy-prose th, .policy-prose td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .privacy { background: white; color: black; }
  .kitchen-scene, .site-header, .site-footer, .policy-logo, .back-button { display: none; }
  .policy-sheet { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: white; box-shadow: none; }
  .policy-heading { padding-top: 0; }
  .policy-prose h2 { break-after: avoid; }
  .policy-prose table { min-width: 0; font-size: 10pt; }
  .policy-prose tr { break-inside: avoid; }
  .scroller { overflow: visible; }
}
