/* ============================================================
   WOODFIRE PIZZA — LAYOUT WIREFRAME
   Fonts: Archivo Black (display) / Inter (body)
   Palette: shared wireframe greys only — #ededed page,
   #e2e2e2 / #dcdcdc surfaces, #c6c6c6 hairlines,
   #333333 / #777777 / #9a9a9a text. Accent mapped to --pop.
   ============================================================ */

:root {
  --bg: #ededed;
  --surface: #e2e2e2;
  --surface-2: #dcdcdc;
  --line: #c6c6c6;
  --dash: #a8a8a8;
  --text: #333333;
  --muted: #777777;
  --faint: #9a9a9a;
  --accent: var(--pop);
  --accent-ink: var(--pop-ink);
  --accent-dark: color-mix(in srgb, var(--pop) 86%, #000000);
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius: 14px;
  --header-h: 72px;
  --speed: .35s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* the hidden attribute must always win over author display rules */
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* ============ REVEAL ON SCROLL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============ PLACEHOLDER BOXES ============ */
.ph {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--dash);
  color: var(--muted);
  font: 500 11px/1.5 ui-monospace, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.ph--hero { aspect-ratio: 4 / 3.4; border-radius: 6px; }
.ph--map { aspect-ratio: 4 / 2.9; border-radius: 6px; }

/* ============ EYEBROW / SECTION HEADS ============ */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow__tick {
  width: 30px; height: 2px; background: var(--accent);
  border-radius: 2px; flex: none;
}

.section { padding: 104px 0; }
.section--tint { background: var(--surface); }

.section-head { max-width: 660px; margin-bottom: 54px; }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 30px;
}
.section-title { font-size: clamp(28px, 3.6vw, 44px); }
.section-sub { color: var(--muted); margin: 18px 0 0; max-width: 56ch; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar__inner {
  display: flex; align-items: center; gap: 30px;
  min-height: 38px; padding: 6px 0;
}
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item svg { width: 13px; height: 13px; color: var(--faint); flex: none; }
.topbar__item--phone { margin-left: auto; color: var(--text); font-weight: 500; }
.topbar__item--phone a { transition: color var(--speed) ease; }
.topbar__item--phone a:hover { color: var(--accent); }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237, 237, 237, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--speed) ease;
}
.header.is-scrolled { border-bottom-color: var(--dash); }
.header__inner {
  display: flex; align-items: center; gap: 34px;
  height: var(--header-h);
  transition: height var(--speed) ease;
}
.header.is-scrolled .header__inner { height: 60px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 44px; height: 34px; border-radius: 6px; font-size: 7px; letter-spacing: .1em; }
.logo__text {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1;
  text-transform: uppercase;
  display: flex; flex-direction: column;
}
.logo__text span {
  font-family: var(--font-body);
  font-size: 8.5px; font-weight: 600;
  letter-spacing: .32em; color: var(--faint);
  margin-top: 5px;
}

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav__link {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  position: relative;
  transition: color var(--speed) ease, background var(--speed) ease;
}
.nav__link:hover { color: var(--text); background: var(--surface); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
  width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--speed) ease, opacity var(--speed) ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: 120px 32px 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 28px; line-height: 1.2;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--speed) ease;
}
.mobile-menu__link::after { content: '→'; font-family: var(--font-body); color: var(--faint); font-size: 22px; }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__cta { margin-top: 28px; align-self: flex-start; }
.mobile-menu__meta { margin-top: auto; color: var(--muted); font-size: 13px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease, transform var(--speed) ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--text); }
.btn--small { padding: 11px 20px; font-size: 12.5px; }

/* ============ HERO ============ */
.hero { padding: 88px 0 96px; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5.2vw, 64px);
  margin: 0 0 24px;
}
.hero__lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__facts {
  list-style: none; margin: 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  font-size: 13.5px; color: var(--muted);
}
.hero__facts li { display: flex; align-items: center; gap: 9px; }
.hero__facts li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none;
}

.hero__art { position: relative; }
.hero__ticket {
  position: absolute; top: -20px; right: 22px;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px;
  border-radius: 6px;
  transform: rotate(-1.5deg);
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  display: flex; flex-direction: column; gap: 4px;
}
.hero__ticket span {
  font-family: var(--font-body);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .22em;
  opacity: .8;
}

/* ============ DEALS STRIP ============ */
.deals {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.deal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 26px 22px;
  position: relative;
  transition: border-color var(--speed) ease;
}
.deal:hover { border-color: var(--faint); }
.deal__label {
  margin: 0 0 16px;
  font: 500 10.5px/1 ui-monospace, monospace;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint);
}
.deal__name { font-size: 19px; margin: 0 0 10px; }
.deal__desc { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.deal__price {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 22px;
}

/* ============ MENU ============ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  font-size: 13px; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 22px;
  border-radius: 6px;
  transition: background var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease;
}
.tab:hover { color: var(--text); border-color: var(--faint); }
.tab.is-active {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

.menu-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 44px 28px;
}

.menu-panel { display: none; }
.menu-panel.is-active { display: block; }
.menu-panel.is-active.fade-in { animation: panelFade .45s ease; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.menu-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 56px;
}
.menu-item__row {
  display: flex; align-items: baseline; gap: 12px;
}
.menu-item__name {
  font-size: 15.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.menu-item__badge {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: 4px 8px; border-radius: 4px;
  line-height: 1;
}
.menu-item__leader {
  flex: 1; min-width: 24px;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
}
.menu-item__price {
  font-family: var(--font-display);
  font-size: 16px;
  flex: none;
}
.menu-item__desc {
  margin: 6px 0 0;
  font-size: 13.5px; color: var(--muted);
}

.menu-note {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--muted);
}

/* ============ DELIVERY CHECKER ============ */
.delivery__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.zone { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.zone__label {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted);
}
.zone__chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.zone__chips li {
  font-size: 12.5px; font-weight: 500;
  color: var(--muted);
  border: 1px dashed var(--dash);
  border-radius: 999px;
  padding: 7px 14px;
}

.checker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 38px 40px 30px;
}
.checker__form { display: grid; gap: 10px; }
.checker__label {
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted);
}
.checker__row { display: flex; gap: 12px; }
.checker__row input {
  flex: 1; min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit; font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 16px;
  transition: border-color var(--speed) ease;
}
.checker__row input::placeholder { color: var(--faint); }
.checker__row input:hover { border-color: var(--faint); }
.checker__row input:focus { border-color: var(--muted); outline: 2px solid var(--accent); outline-offset: 2px; }
.checker__row input.is-invalid { border-color: var(--text); }
.checker__btn { flex: none; }

.field-error {
  margin: 0;
  font-size: 13px; font-weight: 500;
  color: var(--text);
  display: flex; align-items: center; gap: 7px;
}
.field-error::before {
  content: '!';
  width: 16px; height: 16px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--text); border-radius: 50%;
  font-size: 10px; font-weight: 700;
}

.checker-result {
  margin-top: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg);
  border: 1px dashed var(--dash);
  border-radius: 8px;
  padding: 20px 22px;
}
.checker-result.is-in { animation: panelFade .4s ease; }
.checker-result__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
}
.checker-result--yes .checker-result__icon {
  background: var(--accent);
  color: var(--accent-ink);
}
.checker-result__svg { width: 20px; height: 20px; display: none; }
.checker-result--yes .checker-result__svg--yes { display: block; }
.checker-result--no .checker-result__svg--no { display: block; }
.checker-result__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1.2;
}
.checker-result__text { margin: 0; font-size: 14px; color: var(--muted); }

.checker__meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.checker__meta-label {
  display: block;
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--faint);
  margin-bottom: 6px;
}
.checker__meta-value {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
}

/* ============ OPTIONS BAND ============ */
.options__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.option {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px 26px;
  position: relative;
}
.option__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
}
.option__icon svg { width: 24px; height: 24px; color: var(--text); }
.option__num {
  position: absolute; top: 26px; right: 26px;
  margin: 0;
  font: 500 11px/1 ui-monospace, monospace;
  letter-spacing: .2em;
  color: var(--faint);
}
.option__title { font-size: 19px; margin: 0 0 12px; }
.option__text { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.option__meta {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}

/* ============ REVIEWS ============ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.stars { display: flex; gap: 4px; }
.star { width: 16px; height: 16px; }
.star--on { fill: var(--accent); }
.star--off { fill: var(--line); }
.review p { font-size: 15px; line-height: 1.7; margin: 18px 0 22px; color: var(--text); }
.review footer { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.review footer strong { font-size: 14.5px; display: block; }
.review footer span { color: var(--muted); font-size: 12.5px; }

/* ============ FOOTER ============ */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr 1fr 1.1fr;
  gap: 48px;
  padding: 68px 0 52px;
}
.footer__col h3 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text);
}
.footer__col p, .footer__col address {
  font-style: normal;
  color: var(--muted); font-size: 14.5px;
  margin: 0;
}
.footer__col address { line-height: 1.9; }
.footer__col address a { transition: color var(--speed) ease; }
.footer__col address a:hover { color: var(--accent); }
.footer__col--brand p { margin-top: 20px; }

.hours { border-collapse: collapse; font-size: 14px; color: var(--muted); width: 100%; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child { text-align: right; color: var(--text); }

.footer__bar { border-top: 1px solid var(--line); padding: 18px 0; }
.footer__bar-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--muted);
}
.footer__bar p { margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding: 64px 0 88px; }
  .hero__art { max-width: 640px; }
  .delivery__inner { grid-template-columns: 1fr; gap: 48px; }
  .deals, .options__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .header__actions { margin-left: auto; }
  .section { padding: 76px 0; }
  .topbar__item--address { display: none; }
  .topbar__item--phone { margin-left: auto; }
  .menu-list { grid-template-columns: 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .tab { flex: none; }
  .reviews__grid, .deals, .options__grid { grid-template-columns: 1fr; }
  .menu-card { padding: 28px 22px 20px; }
  .checker { padding: 26px 22px 22px; }
  .hero__ticket { top: -14px; right: 10px; font-size: 14px; padding: 10px 14px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .topbar__item--phone { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { padding: 52px 0 80px; }
  .hero__title { font-size: clamp(34px, 10vw, 44px); }
  .checker__row { flex-direction: column; }
  .checker__btn { width: 100%; }
  .checker__meta { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .ph--map { aspect-ratio: 16 / 9; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* COLOUR OPTION — accent is re-themed by the corner widget; default is wireframe grey */
:root { --pop: #9a9a9a; --pop-ink: #ffffff; }
