/* Maz's Burger Rush: the Maz's Burgers counter inside the shared editorial shell.
   Palette is the Maz's Burgers brand (ink, paper, red, deep red, mustard). Hard edges and hard
   offset shadows only: no blur, no glow. --u is the size of one frame pixel on screen, so the
   watch art always scales by a whole number. */
.burgerrush {
  --ink-0:#161414;
  --ink-1:#0c0a0a;
  --grill:#221d1b;
  --steel:#4a423c;
  --paper:#F4EADA;
  --paper-dk:#E8DCC5;
  --red:#D42C2C;
  --red-deep:#A51E1E;
  --mustard:#E8B53A;
  --mustard-deep:#C9981F;
  --body-dark:#e3d8c6;
  --dim-dark:#b9ad9c;
  --ink:var(--ink-0);
  --ink-dim:#3a332c;
  --ink-mute:#5c5248;
  --rule:#d6c6a8;
  --u:3px;
  --pixel:'Silkscreen',var(--mono);
  /* Notched pixel corners with a hard red offset, like the tickets on the rail. */
  --panel:
    inset 4px 4px 0 var(--steel),
    inset -4px -4px 0 var(--ink-1),
    -4px 0 0 var(--ink-1),
    4px 0 0 var(--ink-1),
    0 -4px 0 var(--ink-1),
    0 4px 0 var(--ink-1),
    8px 8px 0 var(--red-deep)
}

@media(max-width:479px),(min-width:1001px) and (max-width:1239px) {
  .burgerrush {
    --u:2px
  }
}

.icon-sprite {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

/* Pixel icons: 12 x 12 bitmaps, always at a whole-number scale. */
.icon {
  width:24px;
  height:24px;
  flex:none;
  fill:currentColor;
  shape-rendering:crispEdges
}

.burgerrush a {
  text-decoration-thickness:2px
}

.wrap {
  max-width:1400px;
  margin:auto;
  padding:0 var(--gutter)
}

.split {
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,6fr);
  gap:clamp(32px,6vw,96px);
  align-items:center
}

.burgerrush h2 {
  font:900 clamp(32px,4vw,56px)/1.02 var(--display);
  letter-spacing:-.04em;
  margin:0;
  max-width:17ch;
  text-wrap:balance;
  text-shadow:3px 3px 0 var(--mustard)
}

.recipes h2,.get h2,.versions h2 {
  text-shadow:3px 3px 0 var(--red-deep)
}

.burgerrush h3 {
  font:900 20px/1.25 var(--display);
  letter-spacing:-.03em;
  margin:0 0 6px
}

.lead {
  font-size:clamp(17px,1.4vw,20px);
  line-height:1.6;
  color:var(--ink-dim);
  margin:20px 0 0;
  max-width:46ch
}

/* Buttons: square, 52px, hard offset shadow that presses in. */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:14px 22px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  border:2px solid var(--ink-1)
}

.btn-line {
  background:var(--grill);
  color:var(--paper);
  box-shadow:inset 2px 2px 0 var(--steel),4px 4px 0 var(--red-deep)
}

.burgerrush .btn-line:hover {
  background:var(--paper);
  color:var(--ink-0);
  box-shadow:4px 4px 0 var(--mustard)
}

.burgerrush .btn-line:active {
  transform:translate(2px,2px);
  box-shadow:2px 2px 0 var(--mustard)
}

/* Dark sections use the mustard for focus. */
.br-hero :focus-visible,.recipes :focus-visible,.get :focus-visible,.versions :focus-visible {
  outline:3px solid var(--mustard);
  outline-offset:3px
}

/* Hero: the dark counter of the game. */
.br-hero {
  background:var(--ink-0);
  color:var(--paper)
}

/* Maz's wrapping paper: a red and paper check, two chunky rows. */
.br-hero::after,.recipes::before,.versions::before {
  content:"";
  display:block;
  height:24px;
  background:repeating-conic-gradient(var(--red) 0 25%,var(--paper) 0 50%) 0 0/24px 24px
}

.recipes::before,.versions::before {
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:12px;
  background-size:12px 12px
}

.hero-inner {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:clamp(32px,5vw,80px);
  align-items:center;
  padding:clamp(40px,6vw,88px) var(--gutter) clamp(40px,6vw,80px);
  max-width:1800px;
  margin:auto
}

.app-icon {
  display:block;
  width:96px;
  height:96px;
  margin:0 0 28px;
  box-shadow:-4px 0 0 var(--ink-1),4px 0 0 var(--ink-1),0 -4px 0 var(--ink-1),0 4px 0 var(--ink-1),8px 8px 0 var(--red-deep)
}

.app-icon img {
  display:block;
  width:96px;
  height:96px
}

/* Title: "Maz's" in the display face over the game's red ribbon in Silkscreen. */
.br-hero h1 {
  margin:0 0 28px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px
}

.title-maz {
  font:900 clamp(30px,3.4vw,44px)/1 var(--display);
  letter-spacing:-.03em;
  color:var(--paper)
}

.title-banner {
  display:inline-block;
  padding:10px 18px 8px;
  font:400 clamp(32px,4.6vw,64px)/1 var(--pixel);
  text-transform:uppercase;
  -webkit-font-smoothing:none;
  color:var(--paper);
  background:var(--red);
  box-shadow:inset 0 4px 0 #e85050,inset 0 -4px 0 var(--red-deep),-4px 0 0 var(--ink-1),4px 0 0 var(--ink-1),0 -4px 0 var(--ink-1),0 4px 0 var(--ink-1),8px 8px 0 var(--mustard-deep);
  margin:4px 8px 8px 4px
}

.hero-lede {
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.55;
  color:var(--body-dark);
  max-width:38ch;
  margin:0 0 36px
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:12px 16px;
  margin-bottom:44px
}

.soon {
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:52px;
  margin:0;
  padding:12px 22px 12px 18px;
  border:2px solid var(--ink-1);
  background:var(--mustard);
  color:var(--ink-1);
  font-size:16px;
  font-weight:700;
  box-shadow:inset 2px 2px 0 #f5d27a,inset -2px -2px 0 var(--mustard-deep),4px 4px 0 var(--red-deep)
}

.hero-facts {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0 8px 8px 0;
  max-width:720px;
  background:var(--grill);
  box-shadow:var(--panel)
}

.hero-facts div {
  padding:16px 14px
}

.hero-facts div + div {
  box-shadow:inset 2px 0 0 var(--steel)
}

.hero-facts dt {
  font:400 16px/1.5 var(--pixel);
  text-transform:uppercase;
  -webkit-font-smoothing:none;
  color:var(--mustard)
}

.hero-facts dd {
  margin:4px 0 0;
  font:900 clamp(16px,1.3vw,19px)/1.2 var(--display);
  letter-spacing:-.02em;
  white-space:nowrap;
  color:var(--paper)
}

.hero-demo {
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0
}

.demo-bar {
  width:min(100%,456px);
  margin-top:20px;
  padding-top:12px;
  border-top:2px solid var(--steel);
  font:400 12px/1.5 var(--mono);
  color:var(--dim-dark)
}

/* Watch: the frame shows at a whole number of device pixels, and the case art (watch.webp, 152 x 188
   with a stepped-circle hole) sits over it with the display at (12, 30). */
.watch {
  position:relative;
  flex:none;
  width:calc(var(--u)*152);
  height:calc(var(--u)*188);
  margin-inline:calc((100% - var(--u)*152)/2)
}

.watch::after {
  content:"";
  position:absolute;
  inset:0;
  background:url(/burgerrush/watch.webp) center/100% 100% no-repeat;
  image-rendering:pixelated;
  pointer-events:none
}

.watch-face {
  position:absolute;
  left:calc(var(--u)*12);
  top:calc(var(--u)*30);
  width:calc(var(--u)*128);
  height:calc(var(--u)*128);
  overflow:hidden;
  clip-path:circle(calc(var(--u)*67));
  background:var(--ink-0)
}

.watch-face img {
  display:block;
  width:100%;
  height:100%;
  image-rendering:pixelated
}

/* How it plays: paper with dark ticket panels. */
.how {
  padding:clamp(64px,8vw,112px) 0;
  background:var(--paper);
  border-bottom:4px solid var(--ink-1)
}

.steps {
  list-style:none;
  margin:52px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:clamp(24px,3vw,48px);
  row-gap:32px
}

.steps li {
  padding:24px 22px;
  background:var(--ink-0);
  color:var(--paper);
  box-shadow:var(--panel)
}

.steps .icon {
  width:36px;
  height:36px;
  color:var(--mustard);
  margin-bottom:18px
}

.steps p {
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:var(--body-dark)
}

/* The words on the big label, in the game's own font. */
.say {
  font:400 16px/1 var(--pixel);
  -webkit-font-smoothing:none;
  color:var(--mustard);
  white-space:nowrap
}

/* Recipes and pay: the dark counter again. */
.recipes {
  position:relative;
  background:var(--grill);
  color:var(--paper);
  padding:clamp(64px,8vw,112px) 0
}

.recipes .lead {
  color:var(--body-dark)
}

.recipe-split {
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:clamp(32px,5vw,72px);
  align-items:start;
  margin-top:52px
}

.items {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:24px
}

.items li {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px clamp(18px,3vw,40px);
  align-items:center;
  padding:22px 24px;
  background:var(--ink-0);
  box-shadow:var(--panel)
}

.items h3 {
  font-size:clamp(20px,2vw,26px)
}

.items p {
  margin:0;
  max-width:52ch;
  font-size:16px;
  line-height:1.6;
  color:var(--body-dark)
}

.toppings {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none
}

.items .toppings li {
  display:block;
  padding:6px 10px 5px;
  background:var(--paper);
  color:var(--ink-1);
  box-shadow:3px 3px 0 var(--red-deep);
  font:400 14px/1 var(--pixel);
  text-transform:uppercase;
  -webkit-font-smoothing:none
}

/* The pay, printed as a receipt like the one at the end of a shift. */
.receipt {
  margin:0;
  padding:24px 24px 28px;
  background:var(--paper);
  color:var(--ink-1);
  font:400 15px/1.5 var(--mono);
  box-shadow:-4px 0 0 var(--ink-1),4px 0 0 var(--ink-1),0 -4px 0 var(--ink-1),0 4px 0 var(--ink-1),8px 8px 0 var(--red-deep)
}

.receipt h3 {
  margin:0;
  font:400 20px/1.2 var(--pixel);
  text-transform:uppercase;
  -webkit-font-smoothing:none;
  color:var(--red);
  text-align:center
}

.receipt .sub {
  margin:4px 0 14px;
  text-align:center;
  font:400 14px/1.2 var(--pixel);
  -webkit-font-smoothing:none;
  color:var(--ink-dim)
}

.receipt dl {
  margin:0;
  border-top:2px dashed var(--ink-mute)
}

.receipt dl div {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:2px dashed var(--rule)
}

.receipt dt {
  min-width:0
}

.receipt dd {
  margin:0;
  font-weight:700;
  white-space:nowrap
}

.receipt .note {
  margin:16px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-mute)
}

/* A shift in frames: three frames at 2x on paper. */
.shift {
  background:var(--paper);
  padding:clamp(64px,8vw,112px) 0;
  border-bottom:4px solid var(--ink-1)
}

.frame-grid {
  list-style:none;
  margin:52px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(24px,3vw,48px)
}

.frame-grid img {
  display:block;
  width:256px;
  max-width:100%;
  height:auto;
  aspect-ratio:1;
  image-rendering:pixelated;
  margin-bottom:22px;
  box-shadow:-4px 0 0 var(--ink-1),4px 0 0 var(--ink-1),0 -4px 0 var(--ink-1),0 4px 0 var(--ink-1),8px 8px 0 var(--red-deep)
}

.frame-grid p {
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-dim);
  max-width:38ch
}

/* Built for the watch */
.built {
  background:var(--paper-dk);
  padding:clamp(64px,8vw,112px) 0
}

.shot {
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0
}

.shot-more {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px
}

.shot-more img {
  display:block;
  width:256px;
  height:256px;
  image-rendering:pixelated;
  filter:drop-shadow(4px 4px 0 var(--red-deep))
}

.shot figcaption {
  width:min(100%,456px);
  margin:20px auto 0;
  padding-top:12px;
  border-top:2px solid var(--ink-1);
  font:400 12px/1.6 var(--mono);
  color:var(--ink-mute)
}

.facts {
  list-style:none;
  margin:40px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(24px,3vw,40px)
}

.facts li {
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:20px 0;
  border-top:4px solid var(--rule);
  font-size:16px;
  line-height:1.5;
  color:var(--ink-dim)
}

.facts li:nth-child(-n+2) {
  border-top-color:var(--ink-1)
}

.facts strong {
  display:block;
  font:900 18px/1.3 var(--display);
  letter-spacing:-.02em;
  color:var(--ink-1);
  margin-bottom:2px
}

.facts .icon {
  color:var(--red-deep)
}

.facts a {
  color:var(--ink-1)
}

/* Coming soon to Google Play */
.get {
  background:var(--ink-0);
  color:var(--paper);
  padding:clamp(64px,8vw,112px) 0
}

.get .lead {
  color:var(--body-dark);
  max-width:52ch
}

.get .soon {
  margin-top:32px
}

.get a {
  color:var(--paper)
}

.get-note {
  margin:28px 0 0;
  font-size:16px;
  line-height:1.6;
  color:var(--body-dark)
}

/* Version history: native disclosure rows as panels. */
.versions {
  position:relative;
  background:var(--grill);
  color:var(--paper);
  padding:clamp(64px,8vw,112px) 0
}

.versions .lead {
  color:var(--body-dark)
}

.vlist {
  margin:52px 0 0;
  display:grid;
  gap:20px
}

.vlist details {
  background:var(--ink-0);
  box-shadow:var(--panel)
}

.vlist summary {
  display:flex;
  align-items:baseline;
  gap:8px 20px;
  min-height:44px;
  padding:20px 22px;
  cursor:pointer;
  list-style:none
}

.vlist summary::-webkit-details-marker {
  display:none
}

.vlist summary::after {
  content:"";
  flex:none;
  align-self:center;
  width:14px;
  height:14px;
  background:
    linear-gradient(var(--mustard),var(--mustard)) center/14px 4px no-repeat,
    linear-gradient(var(--mustard),var(--mustard)) center/4px 14px no-repeat
}

.vlist details[open] > summary::after {
  background:linear-gradient(var(--mustard),var(--mustard)) center/14px 4px no-repeat
}

.vlist summary:hover .v-title {
  color:var(--mustard)
}

.v-num {
  flex:none;
  min-width:32px;
  font:600 14px/1.4 var(--mono);
  color:var(--mustard)
}

.v-title {
  flex:1 1 auto;
  min-width:0;
  font:900 clamp(20px,2vw,26px)/1.25 var(--display);
  letter-spacing:-.03em
}

.v-date {
  flex:none;
  font:400 12px/1.4 var(--mono);
  color:var(--dim-dark)
}

.vlist ul {
  margin:0;
  padding:0 22px 28px 74px;
  list-style:none;
  max-width:78ch
}

.vlist li {
  position:relative;
  padding-left:18px;
  font-size:16px;
  line-height:1.6;
  color:var(--body-dark)
}

.vlist li + li {
  margin-top:6px
}

.vlist li::before {
  content:"";
  position:absolute;
  left:0;
  top:.6em;
  width:8px;
  height:8px;
  background:var(--red)
}

/* The footer sits outside .burgerrush, so it takes literal colours. */
.site-footer {
  background:#0c0a0a;
  border-top-color:#0c0a0a
}

@media(max-width:1000px) {
  .hero-inner,.split,.recipe-split {
    grid-template-columns:1fr
  }

  /* Narrow screens: the watch leads, above the title and pitch. */
  .hero-demo {
    order:-1
  }

  .steps {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .frame-grid {
    grid-template-columns:1fr
  }

  .receipt {
    max-width:460px
  }
}

@media(max-width:600px) {
  .steps,.facts {
    grid-template-columns:1fr
  }

  .facts li:nth-child(2) {
    border-top-color:var(--rule)
  }

  .hero-facts {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .hero-facts div:nth-child(3) {
    box-shadow:none
  }

  .hero-facts div:nth-child(n+3) {
    border-top:2px solid var(--steel)
  }

  .hero-actions > * {
    flex:1 1 100%;
    justify-content:center
  }

  .items li {
    grid-template-columns:1fr;
    padding:18px 16px
  }

  .toppings {
    justify-content:flex-start
  }

  .shot-more img {
    width:min(256px,100%);
    height:auto;
    aspect-ratio:1
  }

  .vlist summary {
    gap:12px;
    padding:18px 16px
  }

  .v-title {
    font-size:18px
  }

  .vlist ul {
    padding:0 16px 24px
  }
}

@media(max-width:400px) {
  .vlist summary {
    gap:10px;
    padding:16px 14px
  }

  .v-num {
    min-width:24px;
    font-size:13px
  }

  .v-title {
    font-size:16px;
    letter-spacing:-.02em
  }

  .v-date {
    font-size:11px
  }

  .receipt {
    padding:20px 16px 24px;
    font-size:14px
  }
}
