/* 1rem = 100px at the 1536px reference width: design px / 100 = rem */
html { font-size: calc(100vw / 15.36); }
* { box-sizing: border-box; }

:root { --navy: #1b3049; --red: #c23b2c; --cream: #f5efe4; }

body {
  margin: 0;
  display: flow-root;
  height: 8.64rem;
  overflow: hidden;
  color: var(--navy);
  background: var(--cream) url("assets/plate.jpg") left top / 100% 100% no-repeat;
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.logo {
  position: absolute;
  left: 0.50rem;
  top: 0.27rem;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.meta {
  position: absolute;
  left: 12.92rem;
  top: 0.22rem;
  font-size: 0.19rem;
  line-height: 0.26rem;
}
.meta p { margin: 0; }

.kicker {
  position: absolute;
  left: 0.60rem;
  top: 1.20rem;
  margin: 0;
  font-size: 0.355rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.headline {
  position: absolute;
  left: 0.54rem;
  top: 1.52rem;
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 92%;
  font-size: 1.30rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.sub {
  position: absolute;
  left: 0.60rem;
  top: 2.75rem;
  margin: 0;
  font-size: 0.275rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.aisles {
  position: absolute;
  left: 0.86rem;
  top: 3.46rem;
  width: 6.42rem;
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.16rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aisles span { width: 1.60rem; text-align: center; }

.grid {
  position: absolute;
  left: 0.84rem;
  top: 3.95rem;
  width: 6.45rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 0.02rem;
  row-gap: 0.55rem;
  font-size: 0.148rem;
  line-height: 1.22;
}
.cell { color: var(--navy); }
.cell b { display: block; font-weight: 500; letter-spacing: 0.02em; }
.cell.key { color: var(--red); }

.dim {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.135rem;
  color: var(--navy);
}
.dim--h { left: 0.28rem; top: 5.15rem; transform: rotate(-90deg); }
.dim--w { left: 5.65rem; top: 7.78rem; }
.entrance {
  position: absolute;
  left: 5.45rem;
  top: 8.10rem;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.135rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.card-label {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.145rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.l1 { left: 11.76rem; top: 2.62rem; }
.l2 { left: 13.60rem; top: 2.62rem; }
.l3 { left: 11.76rem; top: 4.22rem; }
.l4 { left: 13.60rem; top: 4.22rem; }

.ticket {
  position: absolute;
  left: 11.75rem;
  top: 6.36rem;
  width: 3.30rem;
  height: 0.82rem;
  border: 0.04rem solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.315rem;
  font-weight: 700;
  text-decoration: none;
}

.list {
  position: absolute;
  left: 11.70rem;
  top: 7.37rem;
  font-size: 0.29rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.06rem;
}

@media (max-width: 900px) {
  html { font-size: 16px; }
  body {
    height: auto; min-height: 100vh; overflow-x: hidden; overflow-y: auto;
    background: var(--cream); padding: 0 0 32px;
  }
  .logo { position: static; padding: 18px 20px 0; font-size: 40px; }
  .meta { position: static; padding: 8px 20px 0; font-size: 13px; line-height: 1.5; }
  .kicker { position: static; padding: 20px 20px 0; font-size: 17px; }
  .headline {
    position: static; margin: 8px 20px 0; font-size: clamp(40px, 13vw, 76px);
    font-stretch: 100%;
  }
  .sub { position: static; margin: 10px 20px 0; font-size: 15px; line-height: 1.45; white-space: normal; }
  .aisles { display: none; }
  .grid {
    position: static; width: auto; margin: 22px 20px 0;
    grid-template-columns: repeat(2, 1fr); gap: 14px 16px; font-size: 13px;
  }
  .dim, .entrance, .cards, .ticket, .list { position: static; }
  .dim { display: none; }
  .entrance { padding: 16px 20px 0; }
  .cards { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 20px 0; }
  .card-label { position: static; font-size: 12px; }
  .ticket {
    display: flex; width: fit-content; margin: 22px 20px 0; min-height: 48px;
    padding: 0 22px; font-size: 18px;
  }
  .list { display: block; margin: 18px 20px 0; font-size: 16px; }
}
