:root {
    --red: #c0301a;
    --red-deep: #9c2412;
    --amber: #ffb000;
    --amber-deep: #e99b00;
    --sand: #f4ebda;
    --green: #5c8a28;
    --brown: #5b2b17;
    --ink: #221a15;
    --white: #fffdf9;
    --muted: #6d6152;
    --line: #e4d8c3;
    --display: "Anton", Impact, "Arial Narrow", sans-serif;
    --script: "Caveat Brush", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font: 400 17px/1.55 "Public Sans", Arial, sans-serif;
    overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: .01em;
}
h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.btn {
    display: inline-block;
    padding: 11px 26px;
    background: var(--amber);
    border: 2px solid var(--amber);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--plain { background: transparent; color: #fff; border-color: #fff; }
.btn--plain:hover { background: #fff; color: var(--red); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }

/* Torn paper edge: sits at the bottom of a section in the next section's colour */
.torn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    height: clamp(30px, 5.5vw, 78px);
    background: var(--torn, var(--sand));
    -webkit-mask: url(../img/torn.svg) center / 100% 100% no-repeat;
    mask: url(../img/torn.svg) center / 100% 100% no-repeat;
}
.torn--flip { transform: scaleX(-1); }

/* Hand-drawn underline for section titles */
.swoosh::after {
    content: "";
    display: block;
    width: 74px;
    height: 12px;
    margin: 6px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 12'%3E%3Cpath d='M2 3c20 9 50 9 70-1' fill='none' stroke='%23ffb000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.swoosh--left::after { margin-left: 0; }

/* Status strip */
.status-strip { background: var(--amber); color: var(--ink); font-size: .9rem; font-weight: 600; }
.status-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 6px 0; }
.status-strip a { color: inherit; font-weight: 700; }
.status-strip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.status-strip--open { background: var(--green); color: #fff; }
.status-strip--open .status-strip-dot { background: #d8f5a2; }
.status-strip--closed { background: var(--brown); color: #fff; }
.status-strip--closed .status-strip-dot { background: #ff7a5c; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--red); color: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand {
    margin-right: auto;
    font-family: var(--display);
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}
.brand img { max-height: 58px; width: auto; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { font-weight: 600; text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--amber); }

/* Hero */
.hero { position: relative; z-index: 2; background: var(--red); color: #fff; overflow-x: clip; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; }
.hero-text { position: relative; z-index: 4; align-self: center; padding: 34px 0 110px; }
.hero-kicker { display: block; font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; color: var(--amber); transform: rotate(-2deg); transform-origin: left; margin-bottom: 8px; }
.hero h1 { text-shadow: 3px 4px 0 var(--red-deep); }
.hero-price { display: block; margin-top: 12px; font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; min-height: 1.1em; }
.hero-text p { max-width: 29em; margin: 12px 0 26px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-splat { position: absolute; z-index: 0; width: 112%; max-width: none; top: -40px; left: -2%; }
.hero-pizza {
    position: absolute;
    z-index: 3;
    width: min(640px, 112%);
    max-width: none;
    right: -70px;
    bottom: -62px;
    filter: drop-shadow(0 18px 18px rgba(50, 12, 0, .45));
}
.hero-wrap-food {
    position: absolute;
    z-index: 4;
    width: 41%;
    left: -40px;
    bottom: -36px;
    transform: rotate(-20deg);
    filter: drop-shadow(0 12px 12px rgba(50, 12, 0, .4));
}

/* Home: menu intro */
.menu-intro { position: relative; padding: 112px 0 104px; }
.section-title { text-align: center; color: var(--red); margin-bottom: 30px; }

.cat-tiles { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 12px; min-height: 180px; }
.cat-tiles a { display: block; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--red); color: #fff; text-decoration: none; transition: transform .15s; }
.cat-tiles a:hover { transform: translateY(-3px); }
.cat-tiles li:nth-child(4n+2) a { background: var(--amber); color: var(--ink); }
.cat-tiles li:nth-child(4n+3) a { background: var(--green); }
.cat-tiles li:nth-child(4n+4) a { background: var(--brown); }
.cat-tiles strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.15; letter-spacing: .02em; }
.cat-tiles span { font-size: .9rem; }

/* Home: colour tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-height: 290px;
    padding: 26px;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
}
.tile h3 { position: relative; z-index: 2; font-size: clamp(2rem, 3.2vw, 2.8rem); max-width: 52%; }
.tile p { position: relative; z-index: 2; margin: 6px 0 12px; max-width: 48%; font-size: .98rem; line-height: 1.35; }
.tile-price { position: relative; z-index: 2; margin-top: auto; padding: 3px 15px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--script); font-size: 1.35rem; line-height: 1.25; }
.tile-price:empty { display: none; }
.tile--wide { grid-column: span 7; }
.tile--mid { grid-column: span 5; }
.tile--third { grid-column: span 4; min-height: 400px; }
.tile--third h3, .tile--third p { max-width: none; }
.tile--amber { background: var(--amber); color: var(--ink); }
.tile--amber .tile-price { background: var(--red); color: #fff; }
.tile--brown { background: var(--brown); }
.tile--cream { background: var(--white); color: var(--ink); }
.tile--cream h3 { color: var(--red); }
.tile--green { background: var(--green); }
.tile-photo-side { position: absolute; top: 0; right: 0; width: 56%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.tile-pizza { position: absolute; width: 330px; max-width: none; right: -36px; bottom: -66px; filter: drop-shadow(0 10px 12px rgba(80, 40, 0, .35)); transition: transform .4s; }
.tile:hover .tile-pizza { transform: rotate(12deg); }
.tile-photo-low { width: calc(100% + 52px); max-width: none; height: 230px; margin: auto -26px -26px; object-fit: cover; order: 5; }
.tile--third .tile-price { position: absolute; bottom: 18px; right: 18px; margin: 0; }

/* Home: souvlaki band */
.souv { position: relative; z-index: 1; padding: 74px 0 130px; background: var(--ink); color: #fff; }
.souv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.souv .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.souv h2 { color: var(--amber); }
.souv-kicker { display: block; font-family: var(--script); font-size: 1.7rem; line-height: 1; transform: rotate(-2deg); transform-origin: left; margin-bottom: 4px; }
.souv .item { border-bottom-color: #4b4038; background: none; padding-inline: 0; }
.souv .item h3 { color: #fff; }
.souv .item p, .souv .item .item-choice { color: #e2d9cc; }
.souv .item-price, .souv .price-line small { color: var(--amber); }
.souv .btn { margin-top: 20px; }
.souv-art { position: relative; }
.souv-art::before { content: ""; position: absolute; inset: 7% 10%; border-radius: 50%; background: var(--red); }
.souv-art img { position: relative; width: 100%; max-width: 540px; margin-inline: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); }

/* Home: pizza list */
.pizza-feature { position: relative; padding: 76px 0 136px; }
.pizza-feature .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: center; }
.pizza-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; transform: rotate(-2deg); box-shadow: 14px 14px 0 var(--amber); }
.pizza-feature h2 { color: var(--red); margin-bottom: 10px; }
.pizza-feature .btn { margin-top: 22px; }

/* Find us */
.visit { position: relative; padding: 64px 0 124px; background: var(--amber); }
.visit .wrap { position: relative; z-index: 2; display: flex; gap: 56px; align-items: center; }
.visit .wrap > div { flex: 1; }
.visit h2 { margin-bottom: 18px; }
.visit .wrap > .visit-photo { flex: 0 0 390px; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; border: 8px solid var(--white); border-radius: 6px; transform: rotate(2.5deg); }
.detail { margin: 0 0 18px; }
.detail b { display: block; font-size: .85rem; font-weight: 600; }
.detail a { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: .01em; text-decoration: none; }
.detail a:hover { text-decoration: underline; }
.shop-photo img { width: 100%; border-radius: 12px; }

/* Hours */
.hours { width: 100%; max-width: 440px; border-collapse: collapse; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid rgba(34, 26, 21, .25); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours .today th, .hours .today td { font-weight: 700; }

/* Page heading */
.page-head { position: relative; padding: 42px 0 92px; background: var(--red); color: #fff; }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { text-shadow: 3px 4px 0 var(--red-deep); font-size: clamp(3rem, 7vw, 5rem); }
.page-kicker { display: block; font-family: var(--script); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; color: var(--amber); transform: rotate(-2deg); transform-origin: left; margin-bottom: 4px; }

/* Menu page */
.menu-nav-bar { position: sticky; top: 76px; z-index: 20; background: var(--amber); }
#menu-nav { display: flex; gap: 6px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; position: relative; }
#menu-nav::-webkit-scrollbar { display: none; }
#menu-nav a { flex: none; padding: 5px 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; letter-spacing: .03em; text-decoration: none; }
#menu-nav a:hover { background: rgba(255, 255, 255, .55); }
#menu-nav a.current { background: var(--red); color: #fff; }
#menu-status { padding: 40px 0 200px; color: var(--muted); }
.menu-section { padding: 42px 0 6px; }
.menu-section h2 { color: var(--red); font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.menu-section h2::after { content: ""; display: block; width: 74px; height: 12px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 12'%3E%3Cpath d='M2 3c20 9 50 9 70-1' fill='none' stroke='%23ffb000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left / contain no-repeat; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu-end { padding: 44px 0 72px; text-align: center; }

.item { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 15px 18px; border-radius: 12px; background: var(--white); }
.item--photo { grid-template-columns: 92px 1fr auto; }
.item-photo { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; }
.item h3 { font-size: 1.32rem; }
.item p { margin: 5px 0 0; font-size: .94rem; color: var(--muted); line-height: 1.42; }
.item .item-choice { color: var(--green); font-weight: 600; }
.item-price { text-align: right; font-weight: 700; color: var(--red); white-space: nowrap; }
.price-line { display: block; }
.price-line small { font-weight: 500; color: var(--muted); font-size: .82rem; margin-right: 4px; }
.pizza-feature .items, .souv .items { grid-template-columns: 1fr; }
.pizza-feature .items { gap: 10px; }
.souv .items { gap: 0; }

/* Contact page */
.contact { padding: 56px 0 76px; }
.contact .wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 36px; align-items: start; }
.contact-side .detail { padding: 18px 22px; border-radius: 14px; background: var(--amber); }
.contact-side .detail + .detail { background: var(--red); color: #fff; }
.contact-hours { padding: 20px 22px; border-radius: 14px; background: var(--white); }
.contact-hours h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--red); }
.contact-map { width: 100%; height: 460px; border: 0; border-radius: 14px; background: var(--white); }

/* Footer */
.site-foot { background: var(--ink); color: #e2d9cc; padding: 34px 0 22px; font-size: .95rem; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-name { font-family: var(--display); font-size: 1.6rem; color: var(--amber); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.site-foot p { margin: 0 0 3px; }
.site-foot a { text-underline-offset: 3px; }
.foot-links { display: flex; gap: 22px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid #4b4038; font-size: .85rem; color: #b5aa9a; }

@media (max-width: 860px) {
    html { scroll-padding-top: 170px; }
    .site-head .wrap { flex-wrap: wrap; gap: 2px 12px; padding: 9px 0 5px; min-height: 0; }
    .site-nav { order: 3; width: 100%; }
    .brand { font-size: 1.18rem; }
    .site-head .btn { padding: 6px 14px; font-size: .8rem; }
    .menu-nav-bar { top: 88px; }

    .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
    .hero-text { padding: 32px 0 6px; }
    .hero-art { height: 310px; }
    .hero-splat { width: 420px; left: 50%; margin-left: -210px; top: -30px; }
    .hero-pizza { width: 380px; right: -60px; bottom: -44px; }
    .hero-wrap-food { width: 148px; left: -6px; bottom: -22px; }

    .menu-intro { padding: 86px 0 76px; }
    .cat-tiles { grid-template-columns: 1fr 1fr; }
    .tile--wide, .tile--mid, .tile--third { grid-column: 1 / -1; }
    .tile--third { min-height: 370px; }
    .tile p { max-width: 56%; }
    .tile--third p { max-width: none; }
    .tile-pizza { width: 226px; right: -52px; bottom: -58px; }

    .souv { padding: 40px 0 92px; }
    .souv .wrap, .pizza-feature .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 30px; }
    .visit .wrap { flex-direction: column; align-items: stretch; gap: 30px; }
    .visit .wrap > .visit-photo { flex: none; max-width: 340px; }
    .souv-art { order: -1; }
    .souv-art img { max-width: 330px; }
    .pizza-feature { padding: 44px 0 92px; }
    .visit { padding: 40px 0 84px; }
    .items { grid-template-columns: 1fr; }
    .contact-map { height: 320px; }
    .page-head { padding: 28px 0 66px; }
}
