/* Mr. Pizza. Colours from their logo: brown #664c33 (the one accent) and the logo's own
   background #ebebe1 (header and strip). Fonts are the shop's own stacks. */
:root {
  --brown: #664c33;
  --brown-dark: #4e3a27;
  --paper: #ebebe1;
  --ink: #241c15;
  --soft: #5e554c;
  --line: #d9d6cb;
  --head: "Archivo Black", arial, sans-serif;
  --body: "Times New Roman", times, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 19px/1.5 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }

/* header: the logo sits on its own background colour */
.top { background: var(--paper); }
.top__in { max-width: 1180px; margin: 0 auto; padding: 6px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__in > .top__logo { flex: none; }
.top__logo img { width: 60px; height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-family: var(--head); font-size: .84rem; color: var(--ink); text-decoration: none; padding: 0 5px; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 700px) {
  .top__logo img { width: 112px; }
  .nav a { font-size: .95rem; padding: 0 12px; }
}
.nav a:hover, .nav a[aria-current] { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }

/* hero: one full-width photo, the name and buttons on it (desktop) or right under it (phone) */
.hero { position: relative; background: #1b1511; color: #fff; }
.hero__img { width: 100%; height: clamp(230px, 56vw, 620px); object-fit: cover; object-position: 50% 55%; }
.hero__text { padding: 22px 20px 26px; background: #fff; color: var(--ink); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); letter-spacing: -.02em; }
.hero__line { font-family: var(--head); font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 8px 0 4px; color: var(--brown); }
.hero__what { margin: 0 0 14px; color: var(--soft); }
.today { margin: 0; font-family: var(--head); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.status { color: var(--brown); }
.today__hours { color: var(--soft); font-family: var(--body); font-size: 1.05rem; }
.today__cap { font-size: .95rem; }
.today-line:empty { display: none; }
.buttons { display: flex; gap: 10px; margin: 16px 0 0; }
.btn { flex: 1 1 0; max-width: 220px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; border-radius: 6px; background: var(--brown); color: #fff; border: 2px solid var(--brown);
  font-family: var(--head); font-size: 1.05rem; text-decoration: none; }
.btn:hover { background: var(--brown-dark); border-color: var(--brown-dark); }
.btn--line { background: #fff; color: var(--brown); }
.btn--line:hover { background: var(--paper); color: var(--brown-dark); }
.known { margin: 18px 0 0; font-size: 1.05rem; }
.known span { font-family: var(--head); font-size: .85rem; color: var(--brown); margin-right: 6px; }

@media (min-width: 900px) {
  .hero__img { height: min(78vh, 680px); }
  .hero__text { position: absolute; left: max(20px, calc((100% - 1180px) / 2 + 20px)); bottom: 40px; width: 520px;
    padding: 30px 32px 30px; border-radius: 4px; }
}

/* the strip: Where / Hours / Call */
.strip { background: var(--paper); display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 20px; }
.strip__cell { padding: 16px 0; border-bottom: 1px solid var(--line); }
.strip__cell:last-child { border-bottom: 0; }
.strip p { margin: 0; font-size: 1.05rem; }
.strip p.strip__label { font-family: var(--head); font-size: .8rem; color: var(--brown); margin: 0 0 4px; }
.strip__where a { display: block; width: fit-content; font-family: var(--head); font-size: .9rem; padding: 10px 0; }
.strip__call a { font-family: var(--head); font-size: 1.15rem; color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; }
@media (min-width: 760px) {
  .strip { grid-template-columns: 1.2fr 1.4fr .8fr; gap: 32px; padding: 22px max(20px, calc((100% - 1180px) / 2 + 20px)); }
  .strip__cell { border: 0; padding: 0; }
}

/* sections */
.gallery, .menu, .info { max-width: 1180px; margin: 0 auto; padding: 56px 20px 0; }
.gallery h2, .menu h2 { margin-bottom: 20px; }
.gallery__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.gallery figcaption { font-size: 1rem; color: var(--soft); padding-top: 6px; }
@media (min-width: 640px) { .gallery__grid { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* the menu: a plain printed list, like the board at the counter */
.menu__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.more { font-family: var(--head); font-size: .95rem; display: inline-flex; align-items: center; min-height: 44px; }
.menu__cols { display: grid; grid-template-columns: 1fr; gap: 8px 40px; border-top: 3px solid var(--ink); padding-top: 18px; }
.menu__group h3 { color: var(--brown); margin: 14px 0 6px; }
.menu__group h3:first-child { margin-top: 0; }
.items { list-style: none; padding: 0; margin: 0 0 12px; }
.items li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
@media (max-width: 759px) {
  .menu .items { columns: 2; column-gap: 18px; }
  .menu .items li { font-size: .98rem; break-inside: avoid; }
}
.items li[data-sold-out] { opacity: .6; }
.sold-out { display: block; font-size: .75rem; font-family: var(--head); color: var(--brown); }
.price { float: right; }
@media (min-width: 760px) {
  .menu__cols { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* hours, good to know and the questions side by side */
.info { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
.info h2 { margin-bottom: 16px; }
.rows { margin: 0 0 18px; }
.rows div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-family: var(--head); font-size: .9rem; padding-top: 2px; }
.rows dd { margin: 0; }
.closures { list-style: none; padding: 0; font-family: var(--head); color: var(--brown); }
.info__faq h3 { margin: 18px 0 4px; }
.info__faq h3:first-of-type { margin-top: 0; }
.info__faq p { margin: 0; }
@media (min-width: 900px) { .info { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* footer */
.foot { background: var(--paper); border-top: 3px solid var(--brown); }
.foot__in { max-width: 1180px; margin: 0 auto; padding: 32px 20px 40px; }
.foot p { margin: 0 0 6px; }
.foot__name { font-family: var(--head); font-size: 1.3rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__links a { margin-right: 18px; font-family: var(--head); font-size: .95rem; }

/* extra pages */
.page { max-width: 1180px; margin: 0 auto; padding: 44px 20px 64px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 12px; }
.page .lead { font-size: 1.2rem; max-width: 40rem; margin: 0 0 24px; }
.page h2 { margin: 40px 0 14px; }
.page p { max-width: 42rem; }
.note { color: var(--soft); margin: 4px 0 12px; }
.nowrap { white-space: nowrap; }
.photos { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
.photos figure { margin: 0; }
.photos img { width: 100%; border-radius: 4px; }
.photos figcaption { color: var(--soft); padding-top: 6px; }
.photos .wide img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 760px) {
  .photos { grid-template-columns: 1fr 1fr; }
  .photos .wide { grid-column: 1 / -1; }
  .photos--three { grid-template-columns: 1fr 1fr 1fr; }
}
.big-call { font-size: clamp(1.6rem, 6vw, 2.4rem); min-height: 64px; max-width: none; flex: 0 1 auto; }
.contact-list { display: grid; gap: 28px; margin-top: 28px; }
.contact-list h2 { margin: 0 0 6px; font-size: 1.3rem; }
.contact-list p { margin: 0; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.about { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.about img { width: 100%; border-radius: 4px; }
.about h2 { margin-top: 0; font-size: 1.5rem; }
.about h2 + p { margin-top: 0; }
.about p + h2 { margin-top: 28px; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1fr; gap: 48px; } }
