/* Hallmark · custom · Little Red Oven · tomato poster, checked takeaway liner */
/* Critique: The offset food print and red shopfront carry the first screen. */
@font-face {
  font-family: "ARCH";
  src: url("./fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DMS";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fff3db;
  --ink: #261e19;
  --line: #caad8c;
  --focus: #2754b8;
  --cta: #9c251f;
  --cta-ink: #fff5df;
  --display: "ARCH", Impact, sans-serif;
  --body: "DMS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 1.5rem;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: var(--heading-weight, 400);
  line-height: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  max-width: 65ch;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: -7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  width: min(91%, 81rem);
  margin-inline: auto;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
}
.site-head nav {
  display: flex;
  gap: clamp(0.7rem, 2.1vw, 2.4rem);
  align-items: center;
  flex-wrap: wrap;
}
.site-head nav a {
  text-decoration: none;
  font-size: 0.9rem;
}
.site-head nav a:hover {
  text-decoration: underline;
}
.wordmark {
  color: inherit;
  font-family: var(--display);
  text-decoration: none;
  line-height: 1;
}
.site-foot {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.site-foot p {
  font-size: 0.83rem;
}
.site-foot a {
  white-space: nowrap;
}
.jump,
.action {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid currentColor;
  color: var(--cta-ink);
  background: var(--cta);
  font-weight: 650;
}
.jump:hover,
.action:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section {
  padding-block: clamp(3.4rem, 7vw, 7.5rem);
}
.section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  margin-bottom: 1rem;
}
.section h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 1rem 0 1.2rem;
}
.choices button,
.stepper button {
  padding: 0.55rem 0.9rem;
  min-height: 2.75rem;
  border: 1px solid currentColor;
}
.choices button[aria-pressed="true"],
.stepper button:hover {
  background: var(--cta);
  color: var(--cta-ink);
}
form,
fieldset {
  min-width: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend,
label {
  font-weight: 650;
}
select {
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  border: 1px solid currentColor;
  background: var(--control, var(--paper));
  border-radius: 0;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.stepper button {
  min-width: 2.75rem;
  padding-inline: 0.5rem;
}
.stepper button:disabled {
  background: var(--paper);
  color: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}
.stepper output {
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: center;
}
.note {
  font-size: 0.82rem;
  line-height: 1.45;
}
.section p + p {
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .site-head {
    min-height: 4.25rem;
    gap: 0.8rem;
  }
  .site-head nav {
    gap: 0.8rem;
  }
  .site-head nav a {
    font-size: 0.825rem;
  }
  .site-foot .wrap {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --red: #9c251f;
  --tomato: #b32d24;
  --cream: #fff3db;
  --dark: #261e19;
  --gold: #ffd172;
}
.site-head {
  color: var(--red);
}
.wordmark {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: -0.07em;
}
.wrap {
  max-width: 77rem;
}
.checker {
  height: 0.8rem;
  background: repeating-conic-gradient(var(--red) 0 25%, var(--cream) 0 50%) 0
    0 / 1.6rem 1.6rem;
}
.hero {
  background: var(--tomato);
  color: var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 7%;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.hero h1 {
  font-size: clamp(4rem, 8.2vw, 8.9rem);
  letter-spacing: -0.085em;
  text-transform: uppercase;
  line-height: 1;
}
.hero p {
  font-size: 1.12rem;
  max-width: 34ch;
  margin: 1.45rem 0;
}
.jump {
  background: var(--cream);
  color: var(--red);
  border-color: var(--cream);
  border-radius: 2rem;
}
.pie-photo {
  position: relative;
  margin-right: 2%;
  transform: rotate(2deg);
  background: var(--cream);
  padding: 0.55rem;
  box-shadow: 8px 8px 0 var(--dark);
}
.pie-photo img {
  height: clamp(21rem, 32vw, 33rem);
  width: 100%;
  object-fit: cover;
}
.pie-photo figcaption {
  color: var(--dark);
  font-size: 0.85rem;
  padding: 0.45rem 0.4rem 0.05rem;
}
.menu {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8%;
}
.menu h2,
.visit h2 {
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--red);
}
.ticket {
  padding: clamp(1.1rem, 3vw, 2.3rem);
  border: 2px solid var(--red);
  box-shadow: 0.45rem 0.45rem 0 var(--gold);
  background: var(--cream);
}
.ticket select {
  width: 100%;
  margin: 0.4rem 0 1.15rem;
}
.ticket .choices button {
  border-radius: 2rem;
}
.summary {
  padding: 0.8rem 0 0.2rem;
  border-top: 2px dashed var(--line);
  margin-top: 0.7rem;
}
.summary strong {
  font-size: 1.28rem;
}
.visit {
  border-top: 2px solid var(--red);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 7%;
  align-items: center;
}
.visit img {
  height: clamp(15rem, 25vw, 23rem);
}
.visit address {
  font-style: normal;
  font-weight: 650;
  margin-top: 1rem;
}
@media (max-width: 700px) {
  .hero-inner,
  .menu,
  .visit {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 15vw, 6.3rem);
  }
  .hero-inner {
    padding-block: 2rem 2.5rem;
  }
  .pie-photo {
    width: 94%;
    margin-inline: auto;
  }
  .pie-photo img {
    height: min(63vw, 23rem);
  }
  .site-head nav {
    gap: 0.7rem;
  }
}

button,
a {
  touch-action: manipulation;
}
button:enabled:active,
.jump:active {
  transform: translateY(1px);
}
.choices button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:where(img) {
  height: auto;
}

.chapter {
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
}
.chapter .chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.chapter-intro h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 1.15rem;
}
.chapter-intro > p {
  max-width: 39ch;
}
.chapter-tool {
  min-width: 0;
}
.chapter-tool h3 {
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  margin-bottom: 0.6rem;
}
.chapter-tool h4 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.chapter-tool .small {
  font-size: 0.88rem;
}
.chapter-tool button,
.chapter-tool input,
.chapter-tool select {
  max-width: 100%;
}
.chapter-tool .work-button {
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.chapter-tool .work-button:hover {
  text-decoration: underline;
}
.chapter-tool .work-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chapter-tool .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1rem;
}
.chapter-link {
  display: inline-block;
  font-size: 0.95rem;
  text-underline-offset: 0.3em;
  padding: 0.7rem 0.4rem;
  margin-left: 0.6rem;
}
.chapter-intro details {
  border-block-start: 1px solid currentColor;
  margin-top: 1.3rem;
  padding-block: 0.8rem;
}
.chapter-intro summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 2.3rem;
}
.chapter-intro details p {
  max-width: 40ch;
}
@media (max-width: 730px) {
  .chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .chapter-link {
    margin-left: 0.15rem;
  }
  .chapter-intro h2 {
    max-width: 16ch;
  }
}

.table-ticket-chapter {
  background: var(--gold);
  border-block: 2px solid var(--red);
}
.table-ticket-chapter h2 {
  color: var(--red);
  text-transform: uppercase;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  letter-spacing: -0.075em;
}
.group-bill {
  border: 2px solid var(--red);
  background: var(--cream);
  box-shadow: 0.4rem 0.4rem 0 var(--red);
  padding: clamp(1rem, 2.4vw, 2.4rem);
}
.bill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed var(--red);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
  color: var(--red);
}
.bill-head strong {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.055em;
}
.group-bill .actions {
  align-items: center;
}
.group-bill .actions button {
  background: var(--red);
  color: var(--cream);
  border-radius: 2rem;
}
.pie-lines {
  list-style: none;
  padding: 0;
}
.pie-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
.pie-lines small {
  display: block;
}
.pie-lines button {
  min-width: 2.8rem;
}
.empty-ticket {
  padding: 1rem;
  border: 1px dashed var(--red);
}
.bill-total,
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bill-total {
  border-block: 2px solid var(--red);
  padding: 0.6rem 0;
  margin: 1rem 0;
}
.bill-total strong {
  font-size: 1.65rem;
  color: var(--red);
}
.split-result {
  font-weight: 700;
  margin: 0.7rem 0;
}
.group-bill .small {
  border-top: 1px dashed var(--line);
  padding-top: 0.7rem;
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Oven pass and ticket rail */

.pass-wall {
  background: var(--tomato);
  color: var(--cream);
}
.pizza-poster {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4%;
  padding-block: clamp(1.4rem, 3vw, 3.2rem);
  align-items: center;
}
.oven-name h1 {
  font-size: clamp(3.7rem, 7.6vw, 8rem);
  line-height: 0.87;
  text-transform: uppercase;
  letter-spacing: -0.075em;
}
.oven-name p {
  max-width: 32ch;
  margin: 1rem 0;
}
.oven-name .jump {
  background: var(--cream);
  color: var(--red);
  border-radius: 0;
}
.pizza-poster figure {
  position: relative;
  background: var(--dark);
  border: 6px solid var(--dark);
  border-bottom: 14px solid var(--dark);
}
.pizza-poster img {
  width: 100%;
  height: clamp(14rem, 24vw, 25rem);
  object-fit: cover;
}
.pizza-poster figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--dark);
  background: var(--cream);
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}
.kitchen-rail-wrap {
  background: var(--gold);
  color: var(--dark);
  border-block: 3px solid var(--dark);
  padding: 1rem 0;
}
.oven-rail {
  display: grid;
  grid-template-columns: minmax(11rem, 0.6fr) minmax(0, 1.4fr);
  gap: 0.5rem 3%;
}
.rail-action h2 {
  font-size: clamp(1.55rem, 3vw, 3.2rem);
  letter-spacing: -0.065em;
  color: var(--red);
  text-transform: uppercase;
}
.rail-action p {
  font-size: 0.9rem;
}
.rail-action :is(button, .front-key),
.hung-paper button {
  min-height: 2.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--dark);
  color: var(--dark);
}
.rail-action :is(button, .front-key) {
  background: var(--red);
  color: var(--cream);
  margin: 0.4rem 0.55rem 0 0;
}
.rail-action a {
  font-size: 0.86rem;
}
.steel-bar {
  position: relative;
  padding-top: 5px;
  border-top: 8px double var(--dark);
  min-width: 0;
}
.hung-dockets {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  overflow-x: auto;
  padding: 0.4rem 0 0.45rem;
}
.hung-paper {
  background: var(--cream);
  border: 1px solid var(--dark);
  border-top: 0;
  padding: 0.78rem 0.65rem 0.45rem;
  position: relative;
  flex: 0 0 clamp(9rem, 15vw, 13.5rem);
  line-height: 1.2;
  box-shadow: 2px 2px 0 #966d32;
}
.hung-paper:before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  width: 1.3rem;
  height: 0.75rem;
  background: var(--dark);
}
.hung-paper strong,
.hung-paper small,
.hung-paper b {
  display: block;
}
.hung-paper small {
  margin: 0.25rem 0;
}
.hung-paper button {
  border: 0;
  padding: 0;
  text-decoration: underline;
  font-size: 0.8rem;
}
.rail-total {
  grid-column: 2;
  font-size: 0.85rem;
}
.ticket .choices button {
  border-radius: 0;
}
@media (max-width: 700px) {
  .pizza-poster {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 0.7rem;
  }
  .oven-name h1 {
    font-size: clamp(2.2rem, 7.3vw, 4.4rem);
  }
  .oven-name p {
    font-size: 0.88rem;
  }
  .pizza-poster figure {
    border-width: 3px;
    border-bottom-width: 8px;
  }
  .pizza-poster img {
    height: clamp(12rem, 48vw, 19rem);
  }
  .pizza-poster figcaption {
    position: static;
    background: var(--cream);
    font-size: 0.72rem;
  }
  .oven-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }
  .rail-total {
    grid-column: 1;
  }
  .rail-action p {
    display: inline-block;
    margin-right: 0.65rem;
  }
  .hung-paper {
    flex-basis: 10.4rem;
  }
}

@media (max-width: 700px) {
}

@media (max-width: 440px) {
  .pizza-poster {
    grid-template-columns: minmax(0, 1fr);
  }
  .oven-name {
    position: relative;
    padding-right: 54px;
  }
  .oven-name h1 {
    font-size: clamp(2.8rem, 13vw, 3.9rem);
    overflow-wrap: normal;
  }
  .oven-name h1 br {
    display: none;
  }

  .pizza-poster figure img {
    width: 100%;
    height: clamp(155px, 50vw, 210px);
  }
}

/* The printed panel is available before the interactive controls load. */
#front-panel [data-front-preview] .front-key {
  cursor: default;
}
#front-panel [data-front-preview] a.front-key {
  cursor: pointer;
}
:where(.front-key, .front-value) {
  display: inline-block;
  box-sizing: border-box;
  font: inherit;
  line-height: inherit;
  text-align: center;
}

@media (max-width: 740px) {
}

.oven-name h1 {
  max-width: 9ch;
}
