/* Paolos Pizza 2.0, v2: classic, simple, Italian. Black, white, green and red.
   Kaushan Script (like the logo) for headings, Pompiere (like their menu board) for menu
   items and labels, Josefin Sans for reading text. Barely any motion. */

@font-face { font-family: 'Kaushan Script'; src: url('../fonts/kaushan.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pompiere'; src: url('../fonts/pompiere.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Josefin Sans'; src: url('../fonts/josefin.woff2') format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'Josefin Sans'; src: url('../fonts/josefin-italic.woff2') format('woff2'); font-weight: 100 700; font-style: italic; font-display: swap; }

:root {
  --bg: #000;
  --bg-2: #0e0e0e;
  --text: #fff;
  --muted: #c4c4c4;
  --line: rgba(255, 255, 255, 0.16);
  --green: #12a14b;
  --red: #d42a33;
  --f-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --f-menu: 'Pompiere', 'Arial Narrow', sans-serif;
  --f-body: 'Josefin Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
img[style*='background-image'] { background-size: cover; background-position: center; }
a { color: inherit; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul[role='list'] { list-style: none; padding: 0; }
strong, b { font-weight: 600; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ───────── Type ───────── */
.script { font-family: var(--f-script); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.h1 { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.08; }
.h2 { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; }
.label {
  font-family: var(--f-menu); font-style: italic; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 1.3rem; line-height: 1.2; color: var(--muted);
}
.label--line { display: inline-flex; align-items: center; gap: 12px; }
.label--line::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--green) 33%, #fff 33% 66%, var(--red) 66%); }
.lead { font-size: clamp(1.125rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 36em; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); max-width: 38em; }
.center { text-align: center; }
.center .lead, .center .prose p { margin-inline: auto; }

/* Italian flag stripe */
.tricolore { display: flex; height: 4px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--green); }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: var(--red); }

/* ───────── Buttons & links ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 4px; border: 1px solid transparent;
  font: 400 1.4rem/1 var(--f-menu); font-style: italic; text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #b81f28; }
.btn--line { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--s { min-height: 42px; padding: 10px 16px; font-size: 1.2rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btns { justify-content: center; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font: italic 400 1.35rem/1.2 var(--f-menu); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .2s;
}
.link:hover { border-color: #fff; }
.link svg { width: 16px; height: 16px; }

/* ───────── Header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand__name { font-family: var(--f-script); font-size: 1.6rem; line-height: 1; }
.brand__name span { font-family: var(--f-menu); font-style: italic; font-size: 1.2rem; color: var(--muted); }
.nav ul { display: flex; gap: 30px; }
.nav a { font: italic 400 1.4rem/1 var(--f-menu); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; border-bottom-color: var(--red); }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .site-header__bar { min-height: 66px; gap: 12px; }
  .brand img { width: 44px; height: 44px; }
  .header-order { min-height: 44px; padding: 8px 14px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 4px; color: #fff; cursor: pointer; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #000; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { display: block; font-size: 1.8rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { border-bottom-color: var(--line); color: #fff; }
}

/* ───────── Sections ───────── */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .label { margin-bottom: 14px; }
.section__head .lead { margin-top: 18px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--section); }
.hero__grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .label { margin-bottom: 20px; }
.hero .lead { margin-top: 24px; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
.hero__photo figcaption { margin-top: 12px; font: italic 1.2rem/1.3 var(--f-menu); color: var(--muted); }
/* Tablets: the stacked photo goes landscape so it doesn't fill a whole screen. */
@media (min-width: 600px) and (max-width: 899px) {
  .hero__photo img { aspect-ratio: 4 / 3; max-height: 62svh; object-position: 50% 35%; }
}
/* Desktop: text and photo side by side, and the whole hero fits the first screen
   whatever the window height (maximised windows with toolbars are often only ~550-750px tall). */
@media (min-width: 900px) {
  .hero { padding-block: clamp(24px, 5svh, 72px) var(--section); }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero .h1 { font-size: clamp(2.4rem, min(6.4vw, 8.6svh), 4.75rem); }
  .hero .label { margin-bottom: clamp(10px, 2svh, 20px); }
  .hero .lead { margin-top: clamp(12px, 2.6svh, 24px); }
  .hero .btns { margin-top: clamp(16px, 3.4svh, 32px); }
  .hero__photo img { max-height: clamp(300px, calc(100svh - 76px - 2 * clamp(24px, 5svh, 72px)), 640px); }
}

/* Pop-up dates */
.dates { display: grid; border-top: 1px solid var(--line); }
.date { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.date__day { font: italic 1.7rem/1.1 var(--f-menu); text-transform: uppercase; letter-spacing: .04em; }
.date__day span { display: block; font-size: 1.1rem; color: var(--muted); }
.date__venue { font: 400 1.25rem/1.35 var(--f-body); }
.date__venue span { color: var(--muted); }
.date__example { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; font: italic 0.95rem/1.3 var(--f-menu); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); vertical-align: 2px; }
.date__time { color: var(--muted); margin-top: 2px; }
.date__map { font: italic 1.2rem/1 var(--f-menu); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.date__map:hover { border-color: #fff; }
.dates__empty { color: var(--muted); }
.dates-note { margin-top: 24px; color: var(--muted); }
.dates-note a { color: #fff; }
@media (max-width: 599px) {
  .date { grid-template-columns: 1fr auto; }
  .date__day { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .date__day span { display: inline; }
}

/* Photos */
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.photo figcaption { margin-top: 10px; font: italic 1.35rem/1.2 var(--f-menu); text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 900px) { .photos { grid-template-columns: repeat(4, 1fr); } }
.photos + .btns { margin-top: 40px; }

/* Pop-up band */
.band { background: var(--bg-2); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__photo { order: 2; } }
.split .h2 + .lead { margin-top: 18px; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.ticks li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); transform: translateY(-2px); }
.ticks li:nth-child(3n+2)::before { background: #fff; }
.ticks li:nth-child(3n)::before { background: var(--red); }

/* ───────── Menu board (like their printed menu) ───────── */
.menu-page { text-align: center; padding-top: clamp(32px, 5vw, 64px); }
.menu-page .btns { justify-content: center; }
.menu-page .h1 { margin-top: 4px; }
.menu-page .form-card { text-align: left; }
.board-section { margin-top: clamp(48px, 7vw, 80px); }
.board-title {
  display: inline-block; font: italic 400 clamp(2.4rem, 5vw, 3.2rem)/1 var(--f-menu); text-transform: uppercase; letter-spacing: .04em;
  padding-bottom: 6px; border-bottom: 3px solid #fff; margin-bottom: 28px;
}
.board { display: grid; gap: 14px; }
.board__name { font: italic 400 clamp(1.7rem, 3.4vw, 2.1rem)/1.15 var(--f-menu); text-transform: uppercase; letter-spacing: .03em; }
.board__top { font: italic 400 clamp(1.3rem, 2.4vw, 1.5rem)/1.3 var(--f-menu); color: var(--muted); margin-top: 2px; }
.board-note { margin-top: clamp(48px, 7vw, 72px); font: italic 1.5rem/1.35 var(--f-menu); color: var(--muted); }
.menu-logo { width: 120px; height: 120px; margin: 0 auto; }

/* ───────── Pre-order ───────── */
.po-group { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.po-legend { font: italic 400 1.9rem/1 var(--f-menu); text-transform: uppercase; letter-spacing: .04em; padding: 0 0 6px; border-bottom: 2px solid #fff; margin-bottom: 8px; }
.order-list { display: grid; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-row__text { display: grid; min-width: 0; }
.order-row__name { font: italic 400 1.45rem/1.15 var(--f-menu); text-transform: uppercase; letter-spacing: .03em; }
.order-row__top { font: italic 400 1.15rem/1.25 var(--f-menu); color: var(--muted); }
.order-row.is-picked .order-row__name { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.stepper { display: inline-flex; align-items: center; flex: none; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 4px; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, 0.08); }
.stepper button svg { width: 16px; height: 16px; }
.stepper input { width: 40px; height: 44px; text-align: center; background: transparent; border: 0; border-inline: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font: 600 1rem/1 var(--f-body); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order-row.is-picked .stepper { border-color: var(--green); }
.po-count { color: var(--muted); padding: 4px 0 8px; }
.po-count.is-over { color: #ff8a90; }
.po-total { display: block; margin-top: 8px; color: #fff; font: italic 400 1.9rem/1.1 var(--f-menu); text-transform: uppercase; letter-spacing: .04em; }
.po-total small { font-size: 1.05rem; color: var(--muted); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.order-row__price { color: var(--muted); font-size: .9em; margin-left: 4px; }
.po-rules { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.po-rules a { color: #fff; }
.po-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.ff-submit-error { margin-bottom: 14px; }
.po-done-wa { margin-top: 18px; }
.btn--wa { background: #1f8f4e; color: #fff; }
.btn--wa:hover { background: #18773f; }
.po-items.ff-el-is-error .po-count { color: #ff8a90; }

/* ───────── Story ───────── */
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 6px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline__when { font: italic 1.45rem/1.2 var(--f-menu); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.timeline h3 { font: 400 1.25rem/1.35 var(--f-body); margin-bottom: 4px; }
.timeline p { color: var(--muted); }
@media (max-width: 599px) { .timeline li { grid-template-columns: 1fr; } }
.quote { font-family: var(--f-script); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.3; max-width: 26em; margin-inline: auto; }
.quote-by { margin-top: 16px; color: var(--muted); }

/* ───────── Forms (Fluent Forms markup) ───────── */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 4vw, 40px); }
.ff-t-container { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .ff-t-container { grid-template-columns: 1fr 1fr; } }
.ff-el-group { margin-bottom: 20px; }
.ff-el-input--label label { display: inline-block; margin-bottom: 8px; font-weight: 400; }
.ff-el-is-required.asterisk-right label::after { content: ' *'; color: var(--red); }
.ff-el-form-control {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: #000; color: #fff; font: 400 1rem/1.4 var(--f-body);
}
.ff-el-form-control:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
select.ff-el-form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea.ff-el-form-control { min-height: 120px; resize: vertical; }
input[type='date'].ff-el-form-control { color-scheme: dark; }
.ff-el-help-message { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.ff-el-is-error .ff-el-form-control { border-color: #ff6b72; }
.error.text-danger { margin-top: 6px; color: #ff8a90; font-size: .92rem; }
.ff-btn-submit { width: 100%; }
@media (min-width: 640px) { .ff-btn-submit { width: auto; } }
.ff-working { opacity: .6; pointer-events: none; }
.ff-message-success { padding: 24px; border: 1px solid var(--green); border-radius: 6px; font-size: 1.1rem; }
.ff-message-success strong { font-family: var(--f-script); font-weight: 400; font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* ───────── Footer ───────── */
.site-footer { background: var(--bg); margin-top: 0; }
.site-footer__grid { display: grid; gap: 40px; padding-block: 64px 40px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer__brand img { width: 88px; height: 88px; margin-bottom: 16px; }
.site-footer__brand p { color: var(--muted); max-width: 26em; }
.site-footer__h { font: italic 400 1.5rem/1 var(--f-menu); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.site-footer__bottom a { color: var(--muted); }
.site-footer__bottom a:hover { color: #fff; }

/* ───────── Plain pages (privacy, 404) ───────── */
.plain .prose h2 { font: italic 1.7rem/1.2 var(--f-menu); text-transform: uppercase; letter-spacing: .04em; margin: 32px 0 8px; }

/* ───────── The only motion: a soft fade-up as sections arrive ───────── */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* WordPress: items Becky marks out of stock */
.order-row.is-sold-out .order-row__name, .order-row.is-sold-out .order-row__top { opacity: .45; }
.order-row__sold { flex: none; font: italic 400 1.2rem/1 var(--f-menu); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Delivery nights (10 Nov 2026): home page row, address block, postcode check, drinks, opt-in */
.date__areas { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.po-legend small, .order-row__only { font: italic 400 1rem/1 var(--f-menu); color: var(--muted); letter-spacing: .04em; margin-left: 8px; }
.order-row.is-off .order-row__name, .order-row.is-off .order-row__top { opacity: .45; }
.po-min { display: block; margin-top: 6px; color: #ff8a90; font-size: .95rem; }
.po-address { margin-bottom: 4px; }
.po-address__note { margin-bottom: 18px; color: var(--muted); font-size: .95rem; }
.po-pc-msg { margin: -10px 0 20px; font-size: .95rem; color: var(--muted); }
.po-pc-msg:empty { display: none; }
.po-pc-msg.is-ok { color: #8fe3a5; }
.po-pc-msg.is-bad { color: #ff8a90; }
.po-check { display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.po-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
