/* ==========================================================================
   Scarface Pizzeria — 371A High St, Northcote
   ========================================================================== */

:root {
  --yellow:     #facf57;
  --yellow-dk:  #f0bd33;
  --red:        #db4230;
  --red-dk:     #b73023;
  --green:      #1c8a42;
  --green-dk:   #156c33;
  --orange:     #ed7342;
  --orange-dk:  #d85c2c;
  --ink:        #111111;
  --ink-soft:   #4a4542;
  --white:      #ffffff;

  --shell:   min(1180px, 100% - 2.5rem);
  --display: "Bangers", "Impact", "Haettenschweiler", sans-serif;
  --body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: .92;
  margin: 0;
}
h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p  { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.shell { width: var(--shell); margin-inline: auto; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.26rem); max-width: 60ch; }
.centred { text-align: center; }
.centred .lede { margin-inline: auto; }

.kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin: 0 0 .5rem;
}

/* two brush-ish dashes either side of a centred heading */
.swash { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.swash::before, .swash::after {
  content: "";
  width: clamp(30px, 6vw, 80px); height: 7px;
  background: currentColor; border-radius: 4px;
  transform: skewX(-22deg);
  opacity: .9;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1;
  padding: .95rem 2.1rem;
  border: 3px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .12s;
}
.btn:active { transform: translateY(2px); }
.btn--green  { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: var(--green-dk); border-color: var(--green-dk); }
.btn--red    { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover { background: var(--red-dk); border-color: var(--red-dk); }
.btn--white  { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--ghost  { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--red); }
.btn--sm { padding: .55rem 1.2rem; font-size: 1.1rem; border-width: 2px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.centred .btn-row { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--yellow);
  border-bottom: 4px solid var(--red);
}
.site-head .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .5rem 0;
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 74px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--red);
  padding: .2rem 0;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a.is-active { color: var(--green); border-bottom-color: var(--green); }
.nav a.btn { color: var(--white); border-bottom-color: var(--green); }
.nav a.btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); border: 0; color: var(--white);
  place-items: center; cursor: pointer;
}
.nav-toggle svg { display: block; }

/* ==========================================================================
   Colour blocks
   ========================================================================== */
section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.sec--yellow { background: var(--yellow); color: var(--ink); }
.sec--white  { background: var(--white);  color: var(--ink); }
.sec--red    { background: var(--red);    color: var(--white); }
.sec--orange { background: var(--orange); color: var(--white); }
.sec--green  { background: var(--green);  color: var(--white); }

.sec--yellow h1, .sec--yellow h2 { color: var(--red); }
.sec--white h2 { color: var(--red); }
.sec--white .kicker { color: var(--green); }
.sec--yellow .kicker { color: var(--green); }
.sec--red h2, .sec--orange h2, .sec--green h2,
.sec--red h3, .sec--orange h3, .sec--green h3,
.sec--red .kicker, .sec--orange .kicker, .sec--green .kicker { color: var(--white); }

.sec--yellow a:not(.btn) { color: var(--red); }
.sec--white a:not(.btn)  { color: var(--red); }

/* full-bleed photo band between blocks */
.band { height: clamp(260px, 40vw, 520px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* lightning bolt divider */
.bolt { display: block; margin: 0 auto 1.4rem; width: clamp(52px, 8vw, 88px); height: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(3rem, 6vw, 4.8rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 5px solid var(--ink);
  box-shadow: 16px 16px 0 var(--red);
}
.hero h1 { max-width: 13ch; }
.hero p { max-width: 48ch; margin-top: 1.4rem; font-size: clamp(1.1rem, 1.8vw, 1.32rem); }
.hero__label {
  font-family: var(--display); text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.25rem;
  color: var(--green); margin: 2.2rem 0 .7rem;
}

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem 2rem;
  margin-top: 2.6rem; padding-top: 1.8rem;
  border-top: 4px solid var(--red);
}
.fact b {
  display: block; font-family: var(--display); color: var(--red);
  font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: .02em;
}
.fact span { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.fact .stars { color: var(--orange); letter-spacing: .06em; }

/* ==========================================================================
   Feature block
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 5px solid var(--white); }
.sec--white .feature__media img, .sec--yellow .feature__media img { border-color: var(--ink); }
.price-line {
  font-family: var(--display); letter-spacing: .035em;
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .3rem 0 1rem;
}

/* ==========================================================================
   Deal cards
   ========================================================================== */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.deal {
  background: var(--white); color: var(--ink);
  border: 4px solid var(--ink);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  box-shadow: 8px 8px 0 rgba(17,17,17,.16);
  transition: transform .15s, box-shadow .15s;
}
.deal:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 rgba(17,17,17,.22); }
.deal__tag {
  font-family: var(--display); letter-spacing: .05em;
  font-size: 1.1rem; color: var(--green); margin: 0 0 .25rem;
}
.deal h3 { color: var(--red); margin-bottom: .85rem; }
.deal ul { list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: 1rem; }
.deal ul li { padding-left: 1.3rem; position: relative; margin-bottom: .2rem; }
.deal ul li::before { content: "+"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.deal__price {
  margin-top: auto; font-family: var(--display);
  font-size: 2.5rem; line-height: 1; color: var(--ink); letter-spacing: .02em;
}
.deal__price small { display: block; font-size: .95rem; letter-spacing: .06em; color: var(--green); }
.deal--hot { background: var(--yellow); }

.note-line { margin-top: 1.8rem; font-size: 1rem; font-weight: 600; }

/* ==========================================================================
   Menu category cards
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.cat { text-decoration: none; display: block; color: inherit; }
.cat__shot { display: block; overflow: hidden; border: 4px solid var(--ink); aspect-ratio: 4/3; }
.cat__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.cat:hover .cat__shot img { transform: scale(1.08); }
.cat h3 { margin: .9rem 0 .15rem; color: var(--red); transition: color .15s; }
.cat:hover h3 { color: var(--green); }
.cat p { font-size: .98rem; color: var(--ink-soft); margin: 0; font-weight: 600; }

/* ==========================================================================
   Stat row
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.8rem; margin-top: 2.4rem; }
.stats div { border-top: 5px solid var(--white); padding-top: .9rem; }
.stats b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.3rem); line-height: 1; letter-spacing: .02em; }
.stats span { font-weight: 600; font-size: 1rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.score-badge {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--white); border: 4px solid var(--ink);
  padding: .8rem 1.3rem; margin-bottom: 2.4rem;
  box-shadow: 7px 7px 0 rgba(17,17,17,.16);
  text-align: left;
}
.score-badge b { font-family: var(--display); font-size: 2.5rem; line-height: .9; color: var(--red); letter-spacing: .02em; }
.score-badge .stars { color: var(--orange); font-size: 1.05rem; letter-spacing: .1em; display: block; }
.score-badge small { font-weight: 700; font-size: .88rem; color: var(--ink-soft); }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; align-items: start; text-align: left; }
.review {
  background: var(--white); color: var(--ink);
  border: 4px solid var(--ink); padding: 1.5rem 1.4rem;
  box-shadow: 8px 8px 0 rgba(17,17,17,.14);
}
.review .stars { color: var(--orange); font-size: 1.05rem; letter-spacing: .12em; }
.review blockquote { margin: .6rem 0 1.2rem; font-size: 1.05rem; }
.review blockquote::before { content: "\201C"; }
.review blockquote::after  { content: "\201D"; }
.review footer { display: flex; align-items: center; gap: .75rem; }
.review .avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em;
}
.review cite { font-style: normal; font-weight: 800; display: block; line-height: 1.2; }
.review time { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }

/* ==========================================================================
   Find us
   ========================================================================== */
.shopcard {
  background: var(--white); color: var(--ink);
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(17,17,17,.18);
  max-width: 760px; margin-inline: auto;
}
.shopcard > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 5px solid var(--ink); }
.shopcard__body { padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center; }
.shopcard h2 { color: var(--green); }
.shopcard .addr { font-size: 1.2rem; font-weight: 600; margin-top: .9rem; }
.shopcard .addr a { color: var(--red); font-weight: 800; }

.block-label {
  font-family: var(--display); letter-spacing: .07em;
  font-size: 1.25rem; color: var(--red);
  margin: 1.8rem 0 .3rem;
}
.hours { list-style: none; margin: 0 auto; padding: 0; max-width: 380px; text-align: left; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 2px dotted rgba(17,17,17,.25);
  font-weight: 600;
}
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: var(--red); font-weight: 800; }
.hours li.is-today span:first-child::after { content: " · today"; font-weight: 600; font-size: .85em; }

.map-wrap { margin: 2.4rem auto 0; border: 5px solid var(--ink); box-shadow: 10px 10px 0 rgba(17,17,17,.18); max-width: 760px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

.suburbs { max-width: 820px; margin: 2.8rem auto 0; text-align: center; }
.suburbs p { font-size: 1rem; line-height: 1.85; font-weight: 600; }

/* ==========================================================================
   Menu page
   ========================================================================== */
.page-head { background: var(--yellow); padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3rem); text-align: center; }
.page-head h1 { color: var(--red); }
.page-head .kicker { color: var(--green); }
.page-head .lede { margin: 1rem auto 0; }

.menu-nav {
  position: sticky; top: 92px; z-index: 40;
  background: var(--red);
  border-bottom: 4px solid var(--ink);
}
.menu-nav__inner { display: flex; gap: .45rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: none; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none; text-decoration: none; white-space: nowrap;
  font-family: var(--display); letter-spacing: .04em; font-size: 1.12rem;
  color: var(--white); padding: .35rem .9rem;
  border: 2px solid rgba(255,255,255,.5);
  transition: .15s;
}
.menu-nav a:hover { border-color: var(--white); }
.menu-nav a.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--red); }

.course { padding: clamp(2.6rem, 5vw, 4rem) 0; scroll-margin-top: 160px; }
.course:nth-of-type(even) { background: var(--yellow); }
.course__head { margin-bottom: 1.9rem; }
.course__head h2 { color: var(--red); }
.course__head p { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin: .5rem 0 0; }
.size-key {
  display: flex; gap: 1.6rem; margin-top: .7rem;
  font-family: var(--display); letter-spacing: .05em; font-size: 1.05rem; color: var(--green);
}

.dishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 3rem; }
.dish { padding: .95rem 0; border-bottom: 2px dotted rgba(17,17,17,.3); }
.dish__top { display: flex; align-items: baseline; gap: .7rem; }
.dish__name { font-family: var(--display); letter-spacing: .035em; font-size: 1.35rem; color: var(--ink); }
.dish__dots { flex: 1; border-bottom: 2px dotted rgba(17,17,17,.3); transform: translateY(-5px); min-width: 12px; }
.dish__price { font-family: var(--display); font-size: 1.35rem; color: var(--red); letter-spacing: .03em; white-space: nowrap; }
.dish__prices { display: flex; gap: 1rem; white-space: nowrap; }
.dish__prices span { font-family: var(--display); font-size: 1.2rem; min-width: 62px; text-align: right; letter-spacing: .03em; color: var(--red); }
.dish__prices span:nth-child(2) { color: var(--orange); }
.dish__prices span:nth-child(3) { color: var(--green); }
.dish__desc { font-size: .97rem; margin: .15rem 0 0; max-width: 54ch; color: var(--ink-soft); }
.tag {
  display: inline-block; font-family: var(--display);
  font-size: .8rem; letter-spacing: .08em;
  padding: .1rem .45rem; margin-left: .4rem;
  color: var(--white); vertical-align: middle;
}
.tag--v   { background: var(--green); }
.tag--gf  { background: var(--orange); }
.tag--hot { background: var(--red); }

.allergy-note {
  background: var(--white); border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(17,17,17,.14);
  padding: 1.5rem 1.6rem; font-size: 1rem;
}
.allergy-note b { font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; color: var(--red); display: block; margin-bottom: .3rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--yellow); color: var(--red); padding: 3.6rem 0 2rem; text-align: center; }
.site-foot img.mark { width: 160px; height: auto; margin: 0 auto 1.6rem; }
.foot-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem;
  list-style: none; margin: 0 0 1.8rem; padding: 0;
}
.foot-links a {
  font-family: var(--display); letter-spacing: .05em; font-size: 1.25rem;
  color: var(--red); text-decoration: none;
}
.foot-links a:hover { color: var(--green); }
.foot-info { font-weight: 600; color: var(--ink); margin-bottom: 1.6rem; }
.foot-info a { color: var(--red); font-weight: 800; }
.socials { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.socials a { color: var(--red); transition: color .15s, transform .15s; display: block; }
.socials a:hover { color: var(--green); transform: translateY(-2px); }
.foot-base { font-size: .92rem; font-weight: 600; color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1040px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .deal-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .review:nth-child(3n+2) { margin-top: 1.8rem; }
}

@media (min-width: 600px) and (max-width: 1039px) {
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__media img { aspect-ratio: 16/10; box-shadow: 10px 10px 0 var(--red); }
}

@media (max-width: 820px) {
  :root { --shell: min(1180px, 100% - 2rem); }
  html { scroll-padding-top: 86px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6rem 1.5rem 2rem;
    background: var(--yellow);
    border-bottom: 4px solid var(--red);
    transform: translateY(-105%);
    transition: transform .3s cubic-bezier(.3,.8,.3,1);
  }
  .nav.is-open { transform: none; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav a { font-size: 2rem; padding: .6rem 0; border-bottom: 2px solid rgba(219,66,48,.3); }
  .nav a.btn { margin-top: 1.2rem; border: 3px solid var(--green); }
  .brand img { width: 62px; }
  .menu-nav { top: 78px; }
  .course { scroll-margin-top: 140px; }
  .dishes { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .cats, .deal-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-wrap iframe { height: 300px; }
  .dish__prices span { min-width: 54px; }
}
