/* ==========================================================================
   Express Pizzeria — Norton, Stockton-on-Tees
   Theme: Green / Red / White
   ========================================================================== */

:root {
  --green: #0b7a3b;
  --green-dark: #075a2b;
  --green-soft: #e6f4ea;
  --red: #c8102e;
  --red-dark: #a10c25;
  --red-soft: #fdecef;
  --cream: #fbf7ee;
  --white: #ffffff;
  --ink: #1b1b1b;
  --ink-soft: #4a4a4a;
  --muted: #6b6b6b;
  --line: #e8e3d8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(27, 27, 27, 0.10);
  --shadow-sm: 0 4px 14px rgba(27, 27, 27, 0.08);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
strong { font-weight: 700; }
address { font-style: normal; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section--green .eyebrow { color: #ffd6dc; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.section--green .lede { color: rgba(255,255,255,0.85); }

.visually-hidden {
  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-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--red); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 8px 22px rgba(200, 16, 46, 0.32); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); box-shadow: 0 12px 26px rgba(200, 16, 46, 0.38); }
.btn--green { background: var(--green); color: var(--white); box-shadow: 0 8px 22px rgba(11, 122, 59, 0.28); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--cream); color: var(--green-dark); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: var(--white); color: var(--green); }
.btn--lg { font-size: 1.1rem; padding: 1em 2em; }

/* App badges */
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-badge { display: inline-block; border-radius: 7px; transition: transform 0.18s ease, opacity 0.18s ease; }
.app-badge img { height: 48px; width: auto; }
.app-badge:hover { transform: translateY(-2px); opacity: 0.92; }
.app-badge:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header::before {
  content: ""; display: block; height: 5px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--white) 33.33% 66.66%, var(--red) 66.66% 100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform 0.2s ease, background-color 0.2s ease; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, top 0.2s ease; }
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.site-nav a:not(.btn):hover { background: var(--green-soft); color: var(--green-dark); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--green); background: var(--green-soft); }
.site-nav li.nav-cta { margin-left: 8px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a:not(.btn) { display: block; padding: 14px 16px; font-size: 1.05rem; }
  .site-nav li.nav-cta { margin: 10px 0 0; }
  .site-nav li.nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: min(88vh, 780px); display: flex; align-items: center;
  padding-block: clamp(64px, 10vw, 120px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg picture { width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 12, 0.88) 0%, rgba(8, 20, 12, 0.72) 45%, rgba(8, 20, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
}
.hero__content { max-width: 640px; }
.hero__logo { width: min(320px, 70vw); margin-bottom: 24px; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45)); }
.hero h1 { color: var(--white); text-wrap: balance; }
.hero h1 em { font-style: italic; color: #ffd166; }
.hero .lede { color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.hero__apps { margin-top: 28px; }
.hero__apps-label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero__pills li {
  font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Feature strip
   -------------------------------------------------------------------------- */
.features { background: var(--cream); border-block: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-block: 28px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--white); color: var(--green); box-shadow: var(--shadow-sm);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 2px; }
.feature p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Two-column blocks
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--collage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.split__media--collage img { aspect-ratio: 3 / 4; }
.split__media--collage img:last-child { margin-top: 40px; aspect-ratio: 3 / 4; }
.split__badge {
  position: absolute; left: -10px; bottom: 24px;
  background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 800;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); line-height: 1.15; transform: rotate(-3deg);
}
.split__badge small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }

/* --------------------------------------------------------------------------
   Menu cards
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 6px; }
.card__body p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 16px; flex: 1; }
.card__link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.card__link:hover { color: var(--red-dark); text-decoration: underline; }
.card__link svg { width: 18px; height: 18px; }
.card--accent { background: var(--green); color: var(--white); border-color: var(--green); justify-content: center; text-align: center; padding: 36px 26px; }
.card--accent h3, .card--accent p { color: var(--white); }
.card--accent .card__body { padding: 0; }
.card--accent .card__body p { color: rgba(255,255,255,0.86); flex: initial; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 16px; box-shadow: 0 6px 14px rgba(200,16,46,0.3);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 14px 12px; color: var(--white); font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
}
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 150px; } }

/* --------------------------------------------------------------------------
   App section
   -------------------------------------------------------------------------- */
.app-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .app-cta { grid-template-columns: 1fr; } }
.app-cta .app-badges { margin-top: 22px; }
.app-cta__art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.app-cta__art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.app-cta__art::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 4px rgba(255,255,255,0.35); }
.section--green .checklist svg { color: #8ef0b0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 6px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--green-dark); }
.faq summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; border-radius: 6px; }
.faq .faq__answer { padding: 0 4px 22px; color: var(--ink-soft); max-width: 720px; }
.faq .faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Find us / Contact
   -------------------------------------------------------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 { margin-bottom: 6px; }
.info-card p, .info-card address { color: var(--ink-soft); margin-bottom: 10px; }
.info-card .btn { margin-top: 6px; }
.phone { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--cream); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; }
.quick-facts div { background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--line); }
.quick-facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.quick-facts dd { margin: 0; font-weight: 600; }

.page-hero { background: var(--green); color: var(--white); padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.88); max-width: 640px; }
.page-hero .eyebrow { color: #ffd6dc; }
.breadcrumb { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--red); color: var(--white); text-align: center; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 620px; margin-inline: auto; }
.cta-band .btn--white { color: var(--red); }
.cta-band .btn--white:hover { color: var(--red-dark); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.82); padding-block: 56px 28px; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffd166; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.08); transition: background-color 0.18s ease; }
.social a:hover { background: var(--red); color: var(--white); }
.social svg { width: 20px; height: 20px; }
.footer-apps .app-badge img { height: 40px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.88rem; }
.powered-by { display: inline-flex; align-items: center; gap: 10px; }
.powered-by img { height: 30px; width: auto; }

/* --------------------------------------------------------------------------
   Reveal animation (progressive enhancement)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery img, .app-badge { transition: none; }
}

/* 404 */
.error-page { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.error-page h1 { font-size: clamp(3rem, 12vw, 7rem); color: var(--red); margin-bottom: 0.2em; }
