/* Pizza Shop: a warm pizzeria look taken from the game's red counters, cheese-gold pizzas,
   cream floor tiles and wood trim. Awning header, gingham tablecloth, paper tickets. */
:root {
  --tomato: #d23a28;
  --tomato-deep: #a3261a;
  --cheese: #f6b636;
  --cheese-soft: #ffe2a0;
  --crust: #9a5d2b;
  --kraft: #e8c48e;
  --espresso: #2b1a11;
  --espresso-2: #3a2418;
  --cream: #fff6e6;
  --paper: #fffdf8;
  --basil: #2e7440;
  --chalk: #1f2c25;
  --ink: #2a1a12;
  --muted: #6b5546;
  --line: rgba(43, 26, 17, 0.16);
  --radius: 18px;
  --display:
    "Rockwell", "Rockwell Nova", "Roboto Slab", "Arvo", "Courier New", Georgia,
    serif;
  --sans:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --wrap: 1160px;
  --gingham:
    repeating-linear-gradient(
      90deg,
      rgba(210, 58, 40, 0.55) 0 22px,
      transparent 22px 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(210, 58, 40, 0.55) 0 22px,
      transparent 22px 44px
    ),
    #fff7ef;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-wrap: break-word;
}

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

a {
  color: var(--tomato-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--tomato);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--espresso);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--cheese);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.3rem;
  border: 2px solid var(--espresso);
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--espresso);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--espresso);
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--espresso);
}

.button.ghost {
  background: var(--paper);
  color: var(--espresso);
}

.button.ghost:hover {
  color: var(--espresso);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.3rem;
  padding: 0.55rem 1.25rem 0.55rem 1rem;
  border-radius: 14px;
  background: var(--espresso);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--espresso);
  box-shadow: 0 4px 0 rgba(43, 26, 17, 0.35);
}

.store-button:hover {
  color: #fff;
  background: var(--espresso-2);
}

.store-button svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}

.store-button span {
  display: grid;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.1;
}

.store-button small {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ---------- Header with awning ---------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--paper);
  border-bottom: 2px solid var(--espresso);
}

.awning {
  position: relative;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--tomato) 0 36px,
    var(--paper) 36px 72px
  );
}

.awning::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background:
    radial-gradient(circle at 18px 0, var(--tomato) 17px, transparent 18px) 0
      0 / 72px 12px repeat-x,
    radial-gradient(circle at 54px 0, var(--paper) 17px, transparent 18px) 0 0 /
      72px 12px repeat-x;
  filter: drop-shadow(0 2px 0 rgba(43, 26, 17, 0.12));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem 0.85rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--espresso);
  text-decoration: none;
  min-width: 0;
}

.wordmark:hover {
  color: var(--espresso);
}

.wordmark img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--espresso);
  background: #9fe0f2;
  flex: none;
}

.wordmark span {
  display: grid;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
}

.wordmark small {
  margin-top: 0.25rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  color: var(--espresso);
  font-weight: 650;
  font-size: 0.97rem;
  text-decoration: none;
}

.header-nav a:not(.button):hover,
.header-nav a[aria-current="page"] {
  color: var(--tomato-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.header-nav .nav-play {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.header-nav .nav-play:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Hero: centered sign between two counter-top phones ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(circle at 50% 0, rgba(246, 182, 54, 0.28), transparent 55%),
    var(--cream);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.hero-sign {
  text-align: center;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.chef-badge {
  width: clamp(92px, 11vw, 128px);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 4px solid var(--espresso);
  background: #9fe0f2;
  box-shadow:
    0 0 0 8px var(--cheese),
    0 0 0 10px var(--espresso);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.85rem;
  border: 2px solid var(--espresso);
  border-radius: 999px;
  background: var(--cheese);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--tomato);
  text-shadow: 3px 3px 0 var(--espresso);
  margin-bottom: 0.35rem;
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.25;
  color: var(--espresso);
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.5rem;
}

.counter-phone {
  position: relative;
  margin: 0 0 -1.2rem;
  padding: 0.55rem;
  border-radius: 28px;
  background: var(--espresso);
  box-shadow: 0 18px 30px rgba(43, 26, 17, 0.28);
}

.counter-phone img {
  border-radius: 21px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
}

.counter-phone.left {
  transform: rotate(-5deg);
  transform-origin: bottom right;
}

.counter-phone.right {
  transform: rotate(5deg);
  transform-origin: bottom left;
}

.counter-phone figcaption {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  width: max-content;
  max-width: 88%;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: var(--paper);
  border: 2px solid var(--espresso);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.tablecloth {
  position: relative;
  height: clamp(70px, 9vw, 110px);
  background: var(--gingham);
  border-top: 3px solid var(--espresso);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}

.section-head p:last-child {
  color: var(--muted);
}

/* How it plays: four slices around one pizza */
.how {
  background: var(--paper);
}

.slice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) minmax(0, 1fr);
  grid-template-areas:
    "s1 pie s2"
    "s4 pie s3";
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.slice-layout > :nth-child(1) {
  grid-area: s1;
}
.slice-layout > :nth-child(2) {
  grid-area: s2;
}
.slice-layout > :nth-child(3) {
  grid-area: s3;
}
.slice-layout > :nth-child(4) {
  grid-area: s4;
}

.pie {
  grid-area: pie;
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  border: 3px solid var(--espresso);
  background:
    radial-gradient(circle at 34% 30%, #b8321f 0 7%, transparent 7.5%),
    radial-gradient(circle at 66% 36%, #b8321f 0 7%, transparent 7.5%),
    radial-gradient(circle at 40% 66%, #b8321f 0 7%, transparent 7.5%),
    radial-gradient(circle at 68% 68%, #b8321f 0 7%, transparent 7.5%),
    radial-gradient(circle at 52% 50%, #3d8a4b 0 3%, transparent 3.4%),
    radial-gradient(circle at 28% 50%, #3d8a4b 0 2.6%, transparent 3%),
    conic-gradient(
      from 45deg,
      transparent 0 89deg,
      var(--espresso) 89deg 91deg,
      transparent 91deg 179deg,
      var(--espresso) 179deg 181deg,
      transparent 181deg 269deg,
      var(--espresso) 269deg 271deg,
      transparent 271deg 359deg,
      var(--espresso) 359deg
    ),
    radial-gradient(
      circle,
      var(--cheese-soft) 0 52%,
      var(--cheese) 64%,
      #e9952e 74%,
      var(--crust) 76% 100%
    );
  box-shadow:
    0 0 0 12px var(--paper),
    0 0 0 14px var(--line),
    0 22px 40px rgba(43, 26, 17, 0.2);
}

.slice-card {
  position: relative;
  padding: 1.35rem 1.4rem 1.2rem;
  border: 2px solid var(--espresso);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--cheese);
}

.slice-card .step {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: var(--tomato);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  border: 2px solid var(--espresso);
}

.slice-card h3 {
  font-size: 1.45rem;
}

.slice-card p {
  margin: 0;
  color: var(--muted);
}

.slice-outcome {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 36rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.3;
}

/* Kitchen board: chalkboard with pinned order tickets */
.board {
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 40%
    ),
    var(--chalk);
  color: #f4efe6;
  border-block: 10px solid var(--crust);
}

.board .kicker {
  color: var(--cheese);
}

.board .section-head p:last-child {
  color: rgba(244, 239, 230, 0.78);
}

.tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket {
  position: relative;
  margin: 0;
  padding: 0.7rem 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.35);
}

.ticket::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 54px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(#c9ccd1, #8d9298);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.tickets li:nth-child(1) .ticket {
  transform: rotate(-1.6deg);
}
.tickets li:nth-child(2) .ticket {
  transform: rotate(1.2deg) translateY(1rem);
}
.tickets li:nth-child(3) .ticket {
  transform: rotate(-0.8deg);
}

.ticket img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
}

.ticket figcaption {
  padding: 0.8rem 0.3rem 0;
  border-top: 2px dashed var(--line);
  margin-top: 0.8rem;
}

.ticket figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}

.ticket figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Facts strip */
.facts {
  background: var(--kraft);
  border-bottom: 2px solid var(--espresso);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.fact-row div {
  padding: 1.4rem 1.2rem;
  border-left: 2px dashed rgba(43, 26, 17, 0.35);
}

.fact-row div:first-child {
  border-left: 0;
}

.fact-row dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}

.fact-row dd {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}

/* Questions at the counter */
.questions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.shop-callout {
  position: sticky;
  top: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 2px solid var(--espresso);
  background: var(--tomato);
  color: #fff;
  box-shadow: 8px 8px 0 var(--espresso);
}

.shop-callout h3 {
  font-size: 1.8rem;
}

.shop-callout p {
  color: rgba(255, 255, 255, 0.9);
}

.shop-callout .button {
  background: var(--cheese);
  color: var(--espresso);
}

.qa-list {
  display: grid;
  gap: 1rem;
}

.qa-list details {
  border: 2px solid var(--espresso);
  border-radius: 14px;
  background: var(--paper);
}

.qa-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 750;
}

.qa-list summary::-webkit-details-marker {
  display: none;
}

.qa-list summary::after {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--espresso), var(--espresso)) center / 10px 2px
      no-repeat,
    linear-gradient(var(--espresso), var(--espresso)) center / 2px 10px
      no-repeat,
    var(--cheese);
}

.qa-list details[open] summary::after {
  background:
    linear-gradient(var(--espresso), var(--espresso)) center / 10px 2px
      no-repeat,
    var(--cheese);
}

.qa-list details > div {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
}

.qa-list details > div p:last-child {
  margin: 0;
}

/* Download band */
.download {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5rem);
  background: var(--tomato);
  color: #fff;
  text-align: center;
}

.download::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 14px;
  background: radial-gradient(
      circle at 14px 0,
      var(--paper) 13px,
      transparent 14px
    )
    0 0 / 28px 14px repeat-x;
}

.download h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-shadow: 3px 3px 0 var(--espresso);
}

.download p {
  max-width: 32rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

.download .store-button {
  margin-top: 0.6rem;
  border-color: var(--espresso);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 3.2rem 0 2rem;
  background: var(--espresso);
  color: #f1e6da;
  border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(
      90deg,
      var(--tomato) 0 14px,
      var(--paper) 14px 28px
    )
    10;
}

.site-footer a {
  color: var(--cheese-soft);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .wordmark,
.site-footer .wordmark:hover {
  color: #fff;
}

.site-footer .wordmark small {
  color: var(--cheese);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.site-footer address {
  margin-top: 1.1rem;
  font-style: normal;
  line-height: 1.7;
  color: rgba(241, 230, 218, 0.88);
}

.site-footer address strong {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cheese);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-links a {
  width: fit-content;
}

.stripe-badge {
  width: fit-content;
  max-width: 100%;
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(241, 230, 218, 0.25);
  border-radius: 0.45rem;
  background: #1c110b;
}

.stripe-badge img {
  width: 7.85rem;
}

.payment-networks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.payment-networks li {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 2.3rem;
  border-radius: 0.4rem;
  background: #fff;
}

.payment-networks img {
  width: 3rem;
  max-height: 1.9rem;
  object-fit: contain;
}

.footer-note {
  margin: 2.2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(241, 230, 218, 0.18);
  color: rgba(241, 230, 218, 0.7);
  font-size: 0.86rem;
}

/* ---------- Policy pages: a paper menu card ---------- */
.policy-page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    var(--cream);
}

.policy {
  width: min(780px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border: 2px solid var(--espresso);
  border-top: 10px solid var(--tomato);
  border-radius: 6px 6px var(--radius) var(--radius);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--kraft);
}

.policy h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--tomato-deep);
}

.policy h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.policy-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-intro {
  font-size: 1.1rem;
}

.policy address {
  font-style: normal;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-stage {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  }
  .counter-phone figcaption {
    display: none;
  }
}

@media (max-width: 860px) {
  .section-link {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }
  .hero-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "sign sign"
      "left right";
  }
  .hero-sign {
    grid-area: sign;
    padding-bottom: 1rem;
  }
  .counter-phone.left {
    grid-area: left;
    justify-self: end;
  }
  .counter-phone.right {
    grid-area: right;
    justify-self: start;
  }
  .counter-phone {
    width: min(100%, 230px);
  }
  .slice-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "pie pie"
      "s1 s2"
      "s3 s4";
  }
  .pie {
    width: min(70%, 260px);
    margin-bottom: 1rem;
  }
  .fact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact-row div:nth-child(3) {
    border-left: 0;
  }
  .fact-row div:nth-child(n + 3) {
    border-top: 2px dashed rgba(43, 26, 17, 0.35);
  }
  .questions-layout {
    grid-template-columns: 1fr;
  }
  .shop-callout {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .wordmark small {
    display: none;
  }
  .header-nav {
    gap: 0.6rem;
  }
  .header-nav .nav-play {
    padding-inline: 0.8rem;
  }
  .slice-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pie"
      "s1"
      "s2"
      "s3"
      "s4";
  }
  .tickets {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
  .tickets li:nth-child(2) .ticket {
    transform: rotate(1.2deg);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .wrap {
    width: calc(100% - 1.6rem);
  }
  .header-inner {
    gap: 0.5rem;
  }
  .wordmark {
    gap: 0.45rem;
  }
  .wordmark span {
    font-size: 1.02rem;
    white-space: nowrap;
  }
  .wordmark img {
    width: 34px;
    height: 34px;
  }
  .header-nav {
    flex-wrap: nowrap;
    gap: 0.55rem;
  }
  .header-nav a {
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .header-nav .nav-play {
    min-height: 2.2rem;
    padding: 0.35rem 0.6rem;
  }
  .fact-row {
    grid-template-columns: 1fr;
  }
  .fact-row div {
    border-left: 0;
    border-top: 2px dashed rgba(43, 26, 17, 0.35);
  }
  .fact-row div:first-child {
    border-top: 0;
  }
  .counter-phone {
    padding: 0.4rem;
    border-radius: 20px;
  }
  .counter-phone img {
    border-radius: 15px;
  }
}

@media (max-width: 340px) {
  .wordmark {
    flex: none;
    gap: 0.35rem;
  }
  .wordmark img {
    width: 30px;
    height: 30px;
  }
  .wordmark span {
    font-size: 0.94rem;
  }
  .header-nav {
    gap: 0.45rem;
  }
  .header-nav a {
    font-size: 0.82rem;
  }
  .header-nav .nav-play {
    padding: 0.3rem 0.5rem;
  }
}
