/* Mo Shaol. Built for phones first, wider screens come at the bottom. */

@font-face { font-family: "Anton"; src: url(../fonts/anton.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url(../fonts/archivo-narrow.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --mustard: #eeaf1c;
  --tomato: #c52f19;
  --espresso: #25130a;
  --paper: #f7efe0;
  --side: 16px;
  --bar: 54px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; background: var(--espresso); overflow-x: clip; }
body { font-family: var(--text); font-size: 18px; line-height: 1.35; color: var(--espresso); overflow-x: clip; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--mustard) url(../img/speck.png);
}

.hero-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px var(--side) 0;
}
.wm { width: 150px; height: auto; color: var(--espresso); }

.lang { min-height: 44px; min-width: 44px; padding: 0 2px; font-weight: 700; font-size: 16px; }
.lang span { opacity: .62; }
.lang span.is-on { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.hero h1 {
  position: relative;
  z-index: 2;
  padding: 2px var(--side) 0;
  font: 400 min(20.5vw, 12.6svh) / 1.16 var(--display);
  text-transform: uppercase;
}
.hero-sub {
  position: relative;
  z-index: 2;
  padding: 0 var(--side);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.2;
}

.gent {
  position: absolute;
  z-index: 1;
  right: -21%;
  bottom: 28px;
  width: min(116vw, 67svh);
  aspect-ratio: 1;
}
.gent svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gent-red { color: var(--tomato); transform: translate(-1.7%, 1.1%); }
.gent-ink { color: var(--espresso); }

.sticker {
  position: absolute;
  z-index: 3;
  left: var(--side);
  bottom: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: inset 0 0 0 4px var(--tomato), inset 0 0 0 6px var(--paper);
  color: var(--paper);
  font: 400 18px / 1.12 var(--display);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-10deg);
}

.hero-cta {
  position: relative;
  z-index: 3;
  display: flex;
  margin-top: auto;
}
.hero-cta a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 0 var(--side);
  font: 400 24px / 1.1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.cta-menu { flex: 1; justify-content: space-between; gap: 10px; background: var(--espresso); color: var(--paper); }
.cta-find { flex: none; background: var(--tomato); color: var(--paper); }
.cta-menu:active { background: #000; }
.cta-find:active { background: #9c2412; }

/* Short phones, or a phone with the browser bars showing: two lines instead of three. */
@media (max-width: 699px) and (min-aspect-ratio: 55/100) {
  .hero h1 { font-size: 16.6vw; }
  .hero h1 br:first-of-type { display: none; }
  .gent { right: -27%; bottom: 24px; width: min(112vw, 64svh); }
  .sticker { width: 88px; height: 88px; font-size: 16px; bottom: 80px; }
}

/* Tall phones: he can be bigger. */
@media (max-width: 699px) and (max-aspect-ratio: 47/100) {
  .gent { right: -24%; width: min(130vw, 56svh); }
}

@media (max-width: 340px) {
  .hero-sub { font-size: 15px; }
  .wm { width: 128px; }
  .hero-cta a { font-size: 21px; }
}

/* ---------- sticky menu bar ---------- */

.page { position: relative; }

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: var(--bar);
  background: var(--espresso);
  color: var(--paper);
  border-bottom: 2px solid var(--paper);
}
.bar-links {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bar-links::-webkit-scrollbar { display: none; }
.bar-links a {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font: 400 18px / 1 var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.bar-links a.is-on { background: var(--mustard); color: var(--espresso); }
.lang-mini {
  flex: none;
  width: 52px;
  font-weight: 700;
  font-size: 16px;
  border-left: 2px solid rgba(247, 239, 224, .3);
}

/* ---------- menu blocks ---------- */

.block { background-color: var(--bg); background-image: url(../img/speck.png); color: var(--fg); scroll-margin-top: var(--bar); }
.t-esp { --bg: var(--espresso); --fg: var(--paper); --accent: var(--mustard); --line: rgba(247, 239, 224, .26); }
.t-tom { --bg: var(--tomato); --fg: var(--paper); --accent: var(--paper); --line: rgba(247, 239, 224, .4); }
.t-mus { --bg: var(--mustard); --fg: var(--espresso); --accent: var(--espresso); --line: rgba(37, 19, 10, .32); }
.t-pap { --bg: var(--paper); --fg: var(--espresso); --accent: var(--tomato); --line: rgba(37, 19, 10, .2); }

.inner { padding: 22px var(--side) 34px; }
.block h2 {
  font: 400 clamp(58px, 18.5vw, 120px) / 1.14 var(--display);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.banner { position: relative; overflow: hidden; }
.banner img { width: 100%; height: auto; }
.banner + .inner h2 { display: inline-block; margin-top: -.92em; position: relative; padding: .12em .16em 0 0; background: var(--bg); box-shadow: calc(var(--side) * -1) 0 0 var(--bg); }

.note-price { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

.group + .group { margin-top: 26px; }
.group h3 { font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }

.rows { list-style: none; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 14px;
  align-items: baseline;
  padding: 9px 0 8px;
  border-top: 2px solid var(--line);
}
.row .n, .row .p { font: 400 21px / 1.2 var(--display); text-transform: uppercase; letter-spacing: .012em; }
.row .p { color: var(--accent); font-variant-numeric: tabular-nums; }
.row .d { grid-column: 1 / -1; font-size: 17px; line-height: 1.25; margin-top: 1px; opacity: .88; }

/* plates: full width photo, name, price */
.plates { list-style: none; margin: 0 calc(var(--side) * -1); }
.plate + .plate { margin-top: 22px; }
.plate img { width: 100%; height: auto; }
.plate-text { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: baseline; padding: 10px var(--side) 0; }
.plate-text .n, .plate-text .p { font: 400 32px / 1.16 var(--display); text-transform: uppercase; }
.plate-text .d { grid-column: 1 / -1; font-size: 18px; line-height: 1.25; }

/* features: small photo next to the text */
.features { list-style: none; margin-bottom: 24px; }
.feature { display: grid; grid-template-columns: 39% 1fr; gap: 12px; align-items: start; }
.feature + .feature { margin-top: 16px; }
.feature img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.feature .n, .feature .p { font: 400 24px / 1.16 var(--display); text-transform: uppercase; }
.feature .p { color: var(--accent); }
.feature .d { font-size: 17px; line-height: 1.22; margin-top: 3px; }

.note { margin-top: 24px; padding: 14px 14px 15px; background: var(--espresso); color: var(--paper); }
.note h3 { font: 400 26px / 1.16 var(--display); text-transform: uppercase; color: var(--mustard); margin-bottom: 3px; }

/* ---------- where we are ---------- */

.find { border-top: 2px solid var(--espresso); }
.places { margin-top: 6px; }
.place { padding: 16px 0 22px; border-top: 3px solid var(--espresso); }
.place h3 { display: flex; align-items: center; gap: 10px; font: 400 36px / 1.16 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.place h3 span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tomato); color: var(--paper); font-size: 24px; line-height: 1; }
.place .addr { font-weight: 700; font-size: 20px; line-height: 1.2; }
.place .hours { margin-top: 8px; font-weight: 600; }
.place .tel { margin-top: 8px; font-size: 16px; }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 10px;
  background: var(--espresso);
  color: var(--paper);
  font: 400 22px / 1.1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.btn-alt { background: var(--tomato); }
.btn:active { background: #000; }

/* ---------- footer ---------- */

.foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 210px; padding: 22px 0 0 var(--side); overflow: hidden; background: var(--espresso); color: var(--paper); }
.foot-text { padding-bottom: 24px; }
.foot-name { font: 400 34px / 1.16 var(--display); text-transform: uppercase; color: var(--mustard); }
.foot a { display: inline-block; padding: 11px 0; font-weight: 700; text-underline-offset: 3px; }
.foot-gent { order: 2; flex: none; width: 210px; margin: 0 -34px -18px 0; color: var(--mustard); }
.foot-gent svg { width: 100%; height: auto; }

.noscript { padding: 24px var(--side); background: var(--paper); color: var(--espresso); }

/* ---------- wider screens ---------- */

@media (min-width: 700px) {
  :root { --side: 32px; }
  .block h2 { font-size: 104px; }
  .inner { padding: 34px var(--side) 52px; }
  .rows { columns: 2; column-gap: 48px; }
  .row { break-inside: avoid; }
  .plates { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .plate + .plate { margin-top: 0; }
  .plate img { aspect-ratio: 4 / 3; object-fit: cover; }
  .features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .feature + .feature { margin-top: 0; }
  .places { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .banner { max-height: 62vh; }
  .banner img { height: 62vh; object-fit: cover; }
  .wm { width: 190px; }
  .hero-sub { font-size: 22px; }
  .sticker { width: 124px; height: 124px; font-size: 23px; bottom: 96px; left: var(--side); }
  .gent { right: -6%; width: min(82vw, 88svh); bottom: 18px; }
  .hero h1 { font-size: min(14vw, 21svh); }
  .bar-links { justify-content: center; }
  .bar-links a { padding: 0 18px; font-size: 20px; }
  .foot-gent { width: 300px; }
}

@media (min-width: 1100px) {
  :root { --side: max(32px, calc((100vw - 1180px) / 2)); }
  .inner { max-width: 1180px; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .banner + .inner h2 { box-shadow: -40px 0 0 var(--bg); }
  .plates { margin: 0; gap: 34px 28px; }
  .plate-text { padding: 10px 0 0; }
  .gent { right: 2%; width: min(60vw, 92svh); }
  .hero h1 { font-size: min(10vw, 19.5svh); }
  .sticker { left: calc(var(--side) + 30vw); bottom: 110px; }
}
