/* ==========================================================================
   Page-level styles: home additions, sub-page heroes, menu page, booking,
   takeaway, visit, gallery. Loaded after styles.css. Mobile-first.
   ========================================================================== */

[hidden] { display: none !important; }

.section--flush-top { padding-top: 0; }

/* ---------- Active nav ---------- */
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav__list a[aria-current="page"] { color: var(--red); }
.header-book[aria-current="page"] { --pill-bg: var(--ink); --pill-border: var(--ink); }

/* ---------- Home: one-line hero title on phones ---------- */
@media (max-width: 767px) {
  .hero__title {
    /* "DA MICHELE" in Anton is ~4.35em wide: fill the content width exactly */
    font-size: calc((100vw - 2 * var(--gutter)) / 4.42);
    font-size: calc(100cqi / 4.42);
    white-space: nowrap;
  }
  .hero__title .line { display: inline-block; vertical-align: top; }
  /* the whitespace between the two inline-block lines is the word gap */
  .hero__star { display: none; }
}
.hero__takeaway { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }

/* ---------- Home: "Come hungry. Leave happy." ---------- */
.place__leave {
  margin-top: 0.12em;
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  font-size: 0.42em;
  line-height: 1.1;
  color: var(--ink);
}
.place__more { margin-top: clamp(24px, 5vw, 48px); }

/* ---------- Home: archive collage ---------- */
.archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.archive__main { grid-column: 1 / -1; }
.archive__main .ed-img__caption,
.heritage .ed-img__caption {
  color: rgba(245, 240, 227, 0.72);
  font-family: var(--font-serif); font-style: italic; font-size: 1rem;
}
.heritage__tagline {
  max-width: 30ch;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 4.4vw, 1.5rem);
  line-height: 1.3;
  color: rgba(245, 240, 227, 0.78);
}
.heritage__tagline em { color: var(--red-on-dark); }
.polaroid {
  position: relative; z-index: 2;
  padding: 8px 8px 12px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.polaroid .ed-img__frame { border-radius: 2px; }
.polaroid figcaption { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; line-height: 1.2; }
.polaroid--left { transform: rotate(-3deg); margin-top: -36px; }
.polaroid--right { transform: rotate(3deg); margin-top: 6px; }
.js .polaroid.a-fade.is-in.polaroid--left { transform: rotate(-3deg); }
.js .polaroid.a-fade.is-in.polaroid--right { transform: rotate(3deg); }

@media (min-width: 1024px) {
  .heritage__head { grid-column: 1 / 7; }
  /* "GENERATIONS." (~5em, unbreakable) must fit the 6-column head */
  .heritage__head > h2 { font-size: min(6.75rem, calc((var(--avail) / 2 - 12px) / 5.2)); }
  .archive { grid-column: 7 / 13; gap: 20px; }
  /* stay inside the collage column (no bleed into the headline) */
  .polaroid--left { margin: -64px 0 0 0; }
  .polaroid--right { margin-top: 20px; width: 78%; }
  /* the left polaroid overlaps the photo's bottom-left; keep the caption visible on the right */
  .archive__main .ed-img__caption { text-align: right; }
}

/* ---------- Sub-page hero ---------- */
.page-hero { padding-block: 24px 44px; overflow: clip; }
.page-hero__grid { position: relative; display: grid; gap: 16px; }
.page-hero__title { font-size: clamp(3.75rem, 20vw, 12rem); line-height: 0.86; }
.page-hero__title--long { font-size: clamp(3rem, 15.5vw, 9.5rem); }
.page-hero__intro {
  max-width: 24ch;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 5.4vw, 2rem);
  line-height: 1.2;
}
.page-hero__stamp { position: absolute; top: 34px; right: var(--gutter); --stamp-size: 84px; }
.page-hero--compact { padding-bottom: 36px; }
.page-hero--nostamp-mobile .page-hero__stamp { display: none; }

@media (min-width: 768px) {
  .page-hero { padding-block: 40px 64px; }
  .page-hero__stamp { --stamp-size: 120px; }
  .page-hero--nostamp-mobile .page-hero__stamp { display: block; }
}
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .page-hero__grid > .section-label { grid-column: 1 / -1; }
  .page-hero__title { grid-column: 1 / 9; font-size: min(15vw, 12rem); }
  .page-hero__title--long { font-size: min(10vw, 9.5rem); }
  /* margin-top keeps the bottom-aligned intro below the top-right stamp */
  .page-hero__intro { grid-column: 9 / 13; padding-bottom: 0.8rem; margin-top: 100px; font-size: clamp(1.35rem, 2vw, 2rem); }
  .page-hero__stamp { --stamp-size: 150px; top: 10px; }
}

/* ---------- Menu page: craft strip ---------- */
.craft__head { margin-bottom: clamp(24px, 5vw, 48px); }
.craft__steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.craft__steps::-webkit-scrollbar { display: none; }
.craft__step { scroll-snap-align: start; }
.craft__step p { margin-top: 12px; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.3; }
@media (min-width: 768px) {
  .craft__steps {
    grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0; padding: 0; overflow: visible; gap: clamp(14px, 2vw, 28px);
  }
}
.menu-board__head .section-label { margin-bottom: 14px; }

/* ---------- Band (cross-links) ---------- */
.band { background: var(--ink) var(--noise); color: var(--cream); padding-block: clamp(36px, 7vw, 72px); }
.band__inner { display: grid; gap: 20px; }
.band__text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 4.5rem);
  line-height: 0.92; text-transform: uppercase;
}
.band__text span {
  display: block; margin-bottom: 8px;
  font-family: var(--font-serif); font-style: italic; text-transform: none;
  font-size: 0.5em; color: var(--red-on-dark);
}
.band .pill { justify-self: start; }
.band :focus-visible { outline-color: var(--cream); }
@media (min-width: 768px) {
  .band__inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Forms ---------- */
.form-card {
  --form-pad: 20px;
  padding: var(--form-pad);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .form-card { --form-pad: 36px; } }

.field-group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.field-group legend {
  display: flex; align-items: center; gap: 12px;
  padding: 0; margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1; text-transform: uppercase;
}
.step {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border: 1.5px solid var(--red); border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--red);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chip { position: relative; display: block; }
.chip--wide { grid-column: span 1; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: 14px;
  background: transparent;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; user-select: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover > span { border-color: var(--red); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }

.chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-inline: calc(var(--form-pad) * -1);
  padding: 4px var(--form-pad) 6px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--form-pad);
  scrollbar-width: none;
}
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { flex: none; scroll-snap-align: start; }
.date-chip > span { min-width: 66px; min-height: 78px; padding: 6px 10px; gap: 2px; border-radius: 16px; }
.date-chip small { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.date-chip b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.time-group + .time-group { margin-top: 14px; }
.time-group__label {
  margin-bottom: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.time-group .chip > span { min-height: 46px; border-radius: 999px; font-variant-numeric: tabular-nums; }

.fields { display: grid; gap: 14px; }
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.field > span small { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-sans);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { padding: 12px 16px; min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(191, 67, 33, 0.22);
}
.field__error { display: none; font-style: normal; font-size: 0.85rem; color: var(--red); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .field__error { display: block; }
.field--inline { margin-top: 14px; }
.field-note { margin-top: 12px; font-size: 0.92rem; line-height: 1.4; }
.field-group.is-invalid legend .step { background: var(--red); color: var(--white); }

.no-js .booking-form__submit { padding-top: 22px; border-top: 2px solid var(--ink); }
.booking-summary { margin-bottom: 14px; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.3; }
.form-status { margin-top: 12px; font-size: 0.92rem; color: var(--red); }
.form-status:empty { display: none; }

/* ---------- Booking layout ---------- */
.booking__grid { display: grid; gap: 20px; }
.booking__aside { display: grid; gap: 14px; align-content: start; }
.booking__external { margin-bottom: 20px; }
.booking__external p { margin-bottom: 12px; font-family: var(--font-serif); font-size: 1.25rem; }
@media (min-width: 1024px) {
  .booking__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .booking__main { grid-column: 1 / 8; }
  .booking__aside { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 16px); }
}

.info-card {
  display: grid; gap: 14px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-decoration: none;
}
.info-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.info-card .text-link { justify-self: start; }
.info-card--red {
  background: var(--red) var(--noise); color: var(--cream); border-color: var(--red);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.info-card--red:hover { transform: translateY(-3px); box-shadow: 0 5px 0 var(--ink); }
.info-card__kicker { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; }
.info-card__big { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1; text-transform: uppercase; }

.info-list { display: grid; gap: 12px; }
.info-list > div { padding-top: 10px; border-top: 1.5px solid var(--line); }
.info-list dt { margin-bottom: 2px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.info-list dd { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.35; }
.info-list--large dd { font-size: 1.3rem; }

.booking-done { display: grid; gap: 14px; justify-items: start; }
.booking-done:focus { outline: none; }
.booking-done__summary { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.3; }
.booking-done__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Sticky bottom bar (mobile summaries) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 253, 246, 0.97);
  border-top: 2px solid var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sticky-bar[hidden] { display: none; }
.sticky-bar__text { font-size: 0.9rem; font-weight: 600; line-height: 1.3; min-width: 0; }
@media (min-width: 1024px) { .sticky-bar { display: none !important; } }

/* ---------- Takeaway ---------- */
.page-hero--takeaway .page-hero__grid { padding-bottom: 8px; }
.pizza-box {
  position: relative;
  justify-self: end;
  width: min(250px, 66%);
  margin-top: 4px;
  transform: rotate(-4deg);
}
.js .pizza-box.a-fade.is-in { transform: rotate(-4deg); }
.pizza-box__lid {
  position: relative; z-index: 1;
  display: grid; place-items: center; align-content: center; gap: 10px;
  aspect-ratio: 1;
  padding: 26px 16px 16px;
  background: var(--white) var(--noise);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}
.pizza-box__lid checker-divider { position: absolute; top: 0; left: 0; right: 0; }
.pizza-box__lid img { width: 82%; height: auto; }
.pizza-box__line { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pizza-box__front {
  height: 18px; margin: -4px 6px 0;
  background: #e8dcc0; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 8px 8px;
}
.pizza-box__stamp { position: absolute; z-index: 2; left: -34px; bottom: -6px; }
@media (min-width: 1024px) {
  .page-hero--takeaway .page-hero__intro { grid-column: 1 / 8; grid-row: 3; padding-bottom: 0; margin-top: 0; }
  .page-hero--takeaway .page-hero__title { grid-row: 2; }
  .pizza-box { grid-column: 9 / 13; grid-row: 1 / 4; width: min(340px, 100%); justify-self: center; align-self: center; }
  .pizza-box__stamp { --stamp-size: 120px !important; left: -60px; }
}

.steps { display: grid; gap: 10px; }
.step-card {
  display: grid; gap: 4px;
  padding: 20px 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.step-card--red { background: var(--red) var(--noise); border-color: var(--red); color: var(--cream); }
.step-card--ink { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.step-card__n { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.06em; opacity: 0.75; }
.step-card__title { font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.step-card__text { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.3; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.steps-section { padding-bottom: clamp(48px, 9vw, 96px); }

.order__grid { display: grid; gap: 24px; }
.order__head { margin-bottom: 6px; }
.order__sub { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.order-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 18px 0;
  border-bottom: 1.5px dashed var(--line);
}
.order-item__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.order-item__ing { margin-top: 4px; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.order-item__price { display: inline-block; margin-top: 6px; font-family: var(--font-display); color: var(--red); font-size: 1.2rem; }
.order-item__price.is-placeholder { font-size: 0.75rem; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.stepper button:hover { background: var(--ink); color: var(--cream); }
.stepper button[data-inc] { background: var(--red); border-color: var(--red); color: var(--white); }
.stepper button[data-inc]:hover { background: var(--red-dark); border-color: var(--red-dark); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; color: var(--ink); }
.stepper output { min-width: 32px; text-align: center; font-family: var(--font-display); font-size: 1.6rem; }
.order-item.has-qty .order-item__name { color: var(--red); }

.order__summary-title { margin-bottom: 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-family: var(--font-serif); font-size: 1.15rem; }
.summary-empty { font-family: var(--font-serif); font-style: italic; color: var(--muted); }
.summary-empty[hidden] { display: none; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 12px 0 22px; padding-top: 12px; border-top: 2px solid var(--ink);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.summary-total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; letter-spacing: 0; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 14px; }
@media (min-width: 1024px) {
  .order__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .order__menu { grid-column: 1 / 8; }
  .order__summary { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 16px); }
}

.partners { padding-bottom: clamp(56px, 10vw, 110px); }
.partners__inner { display: grid; gap: 14px; padding-top: 28px; border-top: 2px solid var(--ink); }
.partners__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 8vw, 3rem); text-transform: uppercase; line-height: 1; }
.partners__list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 768px) { .partners__inner { grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; } }

/* ---------- Visit ---------- */
.getting { padding-top: var(--section); }
.getting__grid { display: grid; gap: 28px; }
.getting__info { display: grid; gap: 24px; align-content: start; }
.getting__contact { display: grid; gap: 12px; }
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: conic-gradient(var(--red) 25%, var(--cream) 0 50%, var(--red) 0 75%, var(--cream) 0) 0 0 / 48px 48px;
}
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute; inset: 14% 10%;
  display: grid; place-items: center; align-content: center; gap: 10px;
  padding: 20px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  text-align: center;
}
.map__pin svg { width: 26px; height: 34px; fill: var(--red); }
.map__title { font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); text-transform: uppercase; line-height: 1; }
@media (min-width: 1024px) {
  .getting__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .getting__info { grid-column: 1 / 6; }
  .map { grid-column: 6 / 13; aspect-ratio: auto; min-height: 520px; }
  /* the location section above already ends with a full section gap */
  .getting { padding-top: 0; }
}

/* ---------- Gallery extras ---------- */
.g-card--ink { background: var(--ink) var(--noise); color: var(--cream); }
.g-card--ink .g-card__title { font-size: clamp(1.4rem, 6.4vw, 2.6rem); }

/* Grid children default to min-width:auto; let horizontal scrollers shrink. */
.booking__main, .booking__aside, .order__menu, .order__summary, .getting__info { min-width: 0; }
@media (min-width: 1024px) {
  .heritage__year { font-size: min(24vw, 22rem); }
}

@media (min-width: 1024px) {
  .page-hero--takeaway .page-hero__grid > .section-label { grid-column: 1 / 9; grid-row: 1; }
}

/* ==========================================================================
   Two-line fitted headlines
   Each long line is sized to exactly fill the available width, using the
   measured Anton width of that line (in em) + ~3% safety:
     "KUALA LUMPUR." 5.82em · "COME HUNGRY." 5.46em · "READY FOR" 3.91em
   ========================================================================== */
:root { --avail: calc(min(100vw, 1560px) - 2 * var(--gutter)); }
/* Prefer the real container width (see .wrap) where container units exist. */
@supports (width: 1cqi) { :root { --avail: 100cqi; } }
.is-red { color: var(--red); }

/* Story: cycles "Naples. / Since 1870." → "Now in / Kuala Lumpur." — sized for "SINCE 1870." (4.35em) */
.story__title { font-size: min(calc(var(--avail) / 4.48), 10rem); line-height: 0.9; }

/* Cycles "Come hungry." → "Leave happy." — sized for "COME HUNGRY." (5.46em) */
.place__title { font-size: min(calc(var(--avail) / 5.62), 13rem); line-height: 0.9; }

/* Ready for / pizza? */
.final { --final-fs: min(calc(var(--avail) / 4.03), 17rem); }

@media (min-width: 1024px) {
  .story__intro > .story__title {
    grid-column: 1 / 8;
    font-size: min(calc((var(--avail) * 7 / 12 - 24px) / 4.48), 10rem);
  }
  .story__intro > .lede { grid-column: 8 / 13; }


  .final { --final-fs: min(calc((var(--avail) * 7 / 12 - 24px) / 4.03), 17rem); }
}

/* ---------- Delivery partner badges ---------- */
.partner {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 22px;
  border-radius: 999px;
  background: var(--partner);
  color: #fff;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
a.partner:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.partner__name { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.partner--logo { background: #fff; border: 2px solid var(--partner); }
.partner--logo img { height: 28px; width: auto; }
.partner__soon {
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.partner--logo .partner__soon { background: var(--partner); color: #fff; }
.partner__arrow { font-weight: 700; transition: transform var(--t-fast) var(--ease-out); }
a.partner:hover .partner__arrow { transform: translateX(3px); }

/* Mobile hero: lock the single column to the container so no item can stretch it.
   Scoped below 768px so it can't override the 12-column desktop grid. */
@media (max-width: 767px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* Size the photo so the CTA buttons land above the fold: whatever height is left
     after the header, title, meta and buttons (~332px + 34.3cqi, measured), capped
     just under square (88cqi) and floored so short phones don't get a sliver. */
  .hero .ed-img--hero .ed-img__frame {
    aspect-ratio: auto;
    height: clamp(64cqi, calc(100vh - 332px - 34.3cqi), 88cqi);
    height: clamp(64cqi, calc(100svh - 332px - 34.3cqi), 88cqi);
  }
}
.hero__grid > * { min-width: 0; }

/* ---------- Language cycle (final CTA headline) ---------- */
.lang-cycle { display: grid; }
.lang-cycle__phrase {
  grid-area: 1 / 1;
  align-self: end;
  font-size: calc(1em * var(--fit, 1));
}
.lc-line { display: block; overflow: hidden; padding-block: 0.04em; margin-block: -0.04em; white-space: nowrap; }
.lc-line > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 0.3s cubic-bezier(0.22, 0.8, 0.24, 1),
    opacity 0.22s ease,
    filter 0.25s ease;
}
.lc-line + .lc-line > span { transition-delay: 0.035s; }
.is-active .lc-line > span { transform: none; opacity: 1; filter: none; }
.is-leaving .lc-line > span { transform: translateY(-105%); opacity: 0; filter: blur(8px); }
.is-reset .lc-line > span { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .lang-cycle__phrase:not(.is-active) { display: none; }
}

/* Final CTA stamp on phones: sits beside the "Kuala Lumpur" line, clear of the 2-line headline. */
@media (max-width: 1023px) {
  .final__stamp {
    top: calc(clamp(56px, 12vw, 150px) + var(--final-fs) * 1.68 + 2px);
    right: var(--gutter);
    --stamp-size: clamp(78px, 21vw, 112px) !important;
  }
}
/* Small desktops: the CTA buttons wrap and the side column grows tall enough to
   reach the stamp, so tuck a smaller stamp into the top padding. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .final__stamp { --stamp-size: 104px !important; top: 28px; }
}

/* ---------- FAQ ---------- */
.faq__list { max-width: 64rem; border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1.5px dashed var(--line); }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 6.6vw, 2.6rem); line-height: 1.02; text-transform: uppercase;
  transition: color var(--t-fast);
}
.faq__btn:hover { color: var(--red); }
.faq__icon {
  position: relative; flex: none;
  width: 44px; height: 44px;
  border: 2px solid var(--ink); border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 11px; right: 11px; top: 19px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-fast) var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] { color: var(--red); }
.faq__btn[aria-expanded="true"] .faq__icon { background: var(--red); border-color: var(--red); color: var(--white); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__a { max-width: 60ch; padding: 0 0 26px; }
.faq__a p { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.4; }
.faq__a p + p { margin-top: 10px; }
.faq__more { margin-top: 28px; font-family: var(--font-serif); font-size: 1.2rem; }

/* ---------- Newsletter + gift card forms ---------- */
.signup__grid { display: grid; gap: 20px; }
.signup__main, .signup__aside { min-width: 0; }
.signup .field-group:last-of-type { margin-bottom: 24px; }
.signup__list { display: grid; gap: 10px; }
.signup__list li {
  padding-top: 10px; border-top: 1.5px solid var(--line);
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3;
}
.check { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin-top: 18px; cursor: pointer; }
.check input {
  appearance: none; margin: 2px 0 0;
  width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 6px;
  background: var(--cream); cursor: pointer;
  display: grid; place-items: center;
}
.check input::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border: solid var(--cream); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) scale(0);
  transition: transform var(--t-fast) var(--ease-out);
}
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.check > span { font-size: 0.95rem; line-height: 1.45; }
.check .field__error { grid-column: 2; }
.check.is-invalid input { border-color: var(--red); }
.check.is-invalid .field__error { display: block; }
.form-done { display: grid; gap: 12px; }
.form-done:focus { outline: none; }
.form-done__title { font-family: var(--font-display); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 0.95; text-transform: uppercase; color: var(--red); }
.form-done__text { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.3; }
@media (min-width: 1024px) {
  .signup__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .signup__main { grid-column: 1 / 8; }
  .signup__aside { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 16px); }
}

/* ---------- Multi-step forms (gift cards, takeaway, booking) ---------- */
.form-progress {
  display: flex; gap: 6px;
  margin-bottom: 22px;
  counter-reset: none;
}
.form-progress li {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 3px solid var(--line);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.form-progress li span {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.66rem; letter-spacing: 0;
}
.form-progress li.is-done { border-color: var(--ink); color: var(--ink); }
.form-progress li[aria-current="step"] { border-color: var(--red); color: var(--red); }
.form-progress li[aria-current="step"] span { background: var(--red); border-color: var(--red); color: var(--white); }
.no-js .form-progress { display: none; }

.form-step__title {
  margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 8vw, 2.8rem); line-height: 1; text-transform: uppercase;
}
.form-step__title:focus { outline: none; }
.no-js .form-step + .form-step { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
.form-step .field-group:last-of-type { margin-bottom: 0; }
.form-step__nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 24px; padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.form-step__nav [data-step-next]:only-child,
.form-step__nav [type="submit"]:only-child { margin-left: auto; }
.no-js .form-step__nav [type="button"] { display: none; }
.form-step .form-status:not(:empty) { margin-top: 16px; }
@media (max-width: 599px) {
  .form-step__nav .pill { flex: 1 1 auto; padding-inline: 18px; }
}

.chips--pay .chip { flex: 1 1 auto; }
.chips--pay .chip > span { padding: 0 18px; font-size: 0.9rem; }
.pay-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 22px; padding-top: 12px; border-top: 1.5px dashed var(--line);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.pay-total strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: 0; color: var(--red); }

.review { margin-top: 18px; }
.review dd { overflow-wrap: anywhere; }
.field-group legend.field-group__label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; line-height: 1.4; margin-bottom: 10px;
}

/* ---------- History (long read) ---------- */
.history__grid { display: grid; gap: 28px; }
.history__rail { min-width: 0; }
.history__dates {
  display: flex; gap: 8px;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  overflow-x: auto; scrollbar-width: none;
}
.history__dates::-webkit-scrollbar { display: none; }
.history__dates a {
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 10px 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.history__dates b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: var(--red); }
.history__dates a:hover { background: var(--ink); color: var(--cream); }
.history__dates a:hover b { color: var(--red-on-dark); }

.history__article { min-width: 0; max-width: 46rem; }
.history__article p { font-family: var(--font-serif); font-size: clamp(1.1rem, 4.2vw, 1.3rem); line-height: 1.55; }
.history__article p + p { margin-top: 1em; }
.history__article strong { font-weight: 400; color: var(--red); }
.history__lede { font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important; line-height: 1.35 !important; }
.history__h {
  margin: clamp(48px, 9vw, 80px) 0 18px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 0.95; text-transform: uppercase;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.history__h:first-child { margin-top: 0; }
.history__pull {
  margin: clamp(28px, 5vw, 44px) 0 !important;
  padding-left: 20px; border-left: 4px solid var(--red);
  font-family: var(--font-display) !important; font-size: clamp(1.7rem, 7vw, 2.6rem) !important;
  line-height: 1 !important; text-transform: uppercase;
}
.history__sign {
  margin-top: 36px !important;
  font-family: var(--font-display) !important; font-size: clamp(2rem, 9vw, 3.4rem) !important;
  line-height: 1 !important; text-transform: uppercase; color: var(--red);
}
.history__figure { display: block; margin: clamp(28px, 5vw, 44px) 0; }
.history__figure--portrait { max-width: 22rem; }
@media (min-width: 768px) {
  .history__figure--portrait { float: left; width: 42%; margin: 8px 32px 20px 0; }
  .history__figure--right { float: right; margin: 8px 0 20px 32px; }
  .history__h { clear: both; }
}
@media (min-width: 1024px) {
  .history__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .history__article { grid-column: 1 / 9; }
  .history__rail { grid-column: 10 / 13; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
  .history__dates { display: grid; gap: 0; margin: 0; padding: 0; overflow: visible; border-top: 2px solid var(--ink); }
  .history__dates a {
    border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
    padding: 14px 0; white-space: normal;
  }
  .history__dates b { min-width: 3.2em; font-size: 1.5rem; }
  .history__dates a:hover { background: none; color: var(--red); }
}

/* ---------- 05 Recognition: swipeable 3:4 portrait cards ---------- */
/* On History it follows the article directly: one section gap, not two */
.history { padding-bottom: 0; }
.history + .recognition { padding-top: clamp(56px, 9vw, 96px); }
.recognition { padding-bottom: clamp(72px, 12vw, 140px); }
.recognition__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 6vw, 56px); }
.recognition__lede { max-width: 32ch; font-family: var(--font-serif); font-size: clamp(1.25rem, 4.8vw, 1.75rem); line-height: 1.25; }
.recognition__also { margin-top: 18px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.recognition__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 330px);
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.recognition__grid::-webkit-scrollbar { display: none; }
.recognition__nav { display: none; }

.award-card {
  position: relative; isolation: isolate;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  display: flex; flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.12);
}
.award-card--red { background: var(--red) var(--noise); border-color: var(--red); color: var(--cream); }
.award-card--ink { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.award-card__body {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
}
/* photo cards: image fills the card, text sits on a dark fade at the bottom */
.award-card__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
}
.award-card--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.94) 0%, rgba(23, 23, 23, 0.78) 34%, rgba(23, 23, 23, 0.1) 66%, rgba(23, 23, 23, 0) 100%);
}
.award-card--photo .award-card__body { justify-content: flex-end; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.award-card--photo .award-card__logo { display: none; }
/* Certificate: it already names the award, so only "1st 2025" sits on a fade over its sponsor logos */
.award-card--cert .award-card__bg { object-position: 50% 0%; }
.award-card--cert::after { background: linear-gradient(to top, rgba(23, 23, 23, 0.95) 0%, rgba(23, 23, 23, 0.85) 24%, rgba(23, 23, 23, 0) 42%); }

/* Source link: top-right corner of every card, opens in a new tab */
.award-card__source {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.92); color: var(--ink);
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.18);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.award-card__source svg { width: 18px; height: 18px; }
.award-card__source:hover { background: var(--red); color: var(--white); transform: translate(1px, -1px); }
.award-card--white .award-card__source { background: var(--ink); color: var(--cream); }
.award-card--white .award-card__source:hover { background: var(--red); }
.award-card__source:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.award-card__body > :first-child:not(.award-card__logo), .award-card__kicker { padding-right: 44px; }
.recognition__also a { text-underline-offset: 3px; }
.recognition__also a:hover { color: var(--red); }
.award-card__logo { width: 52px; height: 52px; border-radius: 8px; }
.award-card__kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.award-card--white .award-card__kicker { color: var(--muted); }
.award-card--ink:not(.award-card--photo) .award-card__kicker, .award-card--photo .award-card__kicker { color: var(--red-on-dark); }
.award-card__big {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 0.95; text-transform: uppercase;
  overflow-wrap: anywhere;
}
.award-card:not(.award-card--photo) .award-card__big,
.award-card:not(.award-card--photo) .award-card__rank { margin-top: auto; }
.award-card__rank {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 2.8rem); line-height: 1;
}
.award-card__rank span { color: var(--red); font-size: 1.5em; }
.award-card--photo .award-card__rank span { color: var(--red-on-dark); }
.award-card__rank sup { font-size: 0.4em; vertical-align: 0.9em; margin-left: 2px; }
.award-card__note { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.3; }
.award-card__src { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; opacity: 0.75; }

@media (min-width: 600px) {
  .recognition__grid { grid-auto-columns: calc((100% - 2 * var(--gutter) - 12px) / 2.3); }
}
@media (min-width: 1024px) {
  .recognition__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .recognition__head > .section-label { grid-column: 1 / -1; }
  .recognition__head > h2 { grid-column: 1 / 8; }
  .recognition__lede { grid-column: 9 / 13; padding-bottom: 0.6rem; }
  /* four cards in view; arrows for mouse users */
  .recognition__grid { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .award-card__body { padding: 24px; }
  .award-card__big { font-size: clamp(1.8rem, 2.3vw, 2.5rem); }
  .recognition__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
  .recognition__btn {
    display: grid; place-items: center;
    width: 48px; height: 48px; padding: 0;
    border: 2px solid var(--ink); border-radius: 50%;
    background: transparent; font-size: 1.1rem; cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
  }
  .recognition__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
  .recognition__btn:disabled { opacity: 0.3; cursor: default; }
}
/* Forbes badge: shown whole at the top of a card matching its black */
.award-card--forbes { background: #040707; border-color: #040707; color: var(--cream); }
.award-card--forbes .award-card__bg { object-fit: contain; object-position: 50% 0%; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 66%); mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 66%); }
.award-card--forbes::after { display: none; }
.award-card--forbes .award-card__body { text-shadow: none; }
.award-card--forbes .award-card__kicker { color: #c9a44c; }

/* 50 Top Pizza certificate cards (2022, 2021), laid out like the real 2025 certificate */
.award-card--certificate { background: #fff; border-color: var(--ink); color: var(--ink); container: cert / inline-size; }
.award-card--certificate::before {
  content: ""; position: absolute; inset: 10px; z-index: 0; pointer-events: none;
  border: 1.5px solid #e5332a; border-radius: calc(var(--radius-lg) - 8px); opacity: 0.55;
}
.award-card--certificate .award-card__source { background: var(--ink); color: var(--cream); }
.award-card--certificate .award-card__source:hover { background: var(--red); }
.cert { align-items: center; justify-content: space-between; text-align: center; padding: 9cqi 9cqi 8cqi; gap: 0; }
.cert__top { align-self: stretch; display: flex; align-items: center; gap: 3cqi; text-align: left; padding-right: 13cqi; }
.cert__logo { width: 15cqi; height: auto; border-radius: 4px; flex: none; }
.cert__guide { font-size: clamp(0.5rem, 3.3cqi, 0.66rem); font-weight: 700; letter-spacing: 0.04em; line-height: 1.25; text-transform: uppercase; color: #5d574c; }
.cert__title {
  font-family: var(--font-sans); font-weight: 800; color: #7a756c;
  font-size: clamp(0.8rem, 6cqi, 1.2rem); line-height: 1.12; text-transform: uppercase; letter-spacing: 0.01em;
}
.cert__place { display: flex; align-items: center; justify-content: center; gap: 5cqi; width: 100%; color: #e5332a; }
.cert__rule { flex: 0 1 14cqi; height: 2px; background: currentColor; }
.cert__rank { display: grid; justify-items: center; line-height: 0.9; font-family: var(--font-display); font-size: clamp(3rem, 26cqi, 5.6rem); }
.cert__num { white-space: nowrap; }
.cert__rank sup { font-size: 0.34em; vertical-align: 1.5em; margin-left: 2px; font-family: var(--font-sans); font-weight: 700; }
.cert__rank small { margin-top: 1.5cqi; font-family: var(--font-sans); font-weight: 800; font-size: clamp(0.6rem, 4cqi, 0.82rem); letter-spacing: 0.08em; text-transform: uppercase; }
.cert__year { display: block; margin-top: 1cqi; font-family: var(--font-display); font-weight: 400; font-size: 2.2em; line-height: 1; letter-spacing: 0; color: var(--ink); }
.cert__name { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.2rem, 9.5cqi, 2rem); line-height: 1; color: var(--ink); }
.cert__note { font-family: var(--font-serif); font-size: clamp(0.8rem, 4.6cqi, 1rem); line-height: 1.25; color: var(--muted); }

/* Pizza Awards Italia 2025: same certificate layout, dark with the white logo */
.award-card--pa { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.award-card--pa::before { border-color: #c9a44c; opacity: 0.6; }
.award-card--pa .award-card__source { background: rgba(255, 253, 246, 0.92); color: var(--ink); }
.award-card--pa .award-card__source:hover { background: var(--red); color: var(--white); }
.cert__pa-logo { width: 62cqi; height: auto; margin-top: 2cqi; }
.award-card--pa .cert__title { color: #c9a44c; }
.cert__sub { display: block; margin-top: 1.5cqi; font-size: 0.72em; font-weight: 600; letter-spacing: 0.08em; color: rgba(245, 240, 227, 0.65); }
.award-card--pa .cert__place { color: var(--red-on-dark); }
.award-card--pa .cert__name { color: var(--cream); }
.award-card--pa .cert__note { color: rgba(245, 240, 227, 0.6); font-family: var(--font-sans); font-size: clamp(0.62rem, 3.6cqi, 0.74rem); font-weight: 600; letter-spacing: 0.06em; }

/* Desktop fixes */
@media (min-width: 1024px) {
  /* "THE WORLD'S BEST" (6.8em in Anton) stays on one line in its 7 columns */
  .recognition__head > h2 { font-size: min(6.75rem, calc((var(--avail) * 7 / 12 - 24px) / 7.05)); }
  /* room inside the scroller so card shadows aren't clipped into a strip */
  .recognition__grid {
    margin: -12px -16px -28px; padding: 12px 16px 28px;
    scroll-padding-inline: 16px;
  }
  .recognition__nav { margin-top: 4px; }
  /* type scales with the card, so small desktop cards don't crowd */
  .award-card { container: award / inline-size; }
  .award-card__body { padding: 7.5cqi; gap: 2.6cqi; }
  .award-card__kicker { font-size: clamp(0.62rem, 3.6cqi, 0.72rem); }
  .award-card__big { font-size: clamp(1.5rem, 12cqi, 2.6rem); }
  .award-card__rank { font-size: clamp(1.7rem, 13cqi, 2.8rem); }
  .award-card__note { font-size: clamp(0.88rem, 5.4cqi, 1.1rem); }
  .award-card__logo { width: clamp(40px, 16cqi, 56px); height: auto; }
  .award-card__source { top: 4cqi; right: 4cqi; }
  /* certificate: only "1st 2025" over the sponsor strip; the note drops on narrow cards */
  .award-card--cert::after { background: linear-gradient(to top, rgba(23, 23, 23, 0.97) 0%, rgba(23, 23, 23, 0.9) 27%, rgba(23, 23, 23, 0.55) 34%, rgba(23, 23, 23, 0) 42%); }
}
@container award (max-width: 300px) {
  .award-card--cert .award-card__note { display: none; }
}

