/* Asian Food Trip
   Palette from the logo badge (Philippine flag colours) */
:root {
  --black: #000;
  --ink: #1e1e1e;
  --muted: #5b5b5b;
  --line: #e4e2dc;
  --paper: #fff;
  --mango: #FCD116;
  --mango-soft: #FFF6CC;
  --sili: #CE1126;
  --sili-dark: #A50E1F;
  --flag-blue: #0038A8;

  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 3.5rem; /* room for mobile call bar */
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 .6em;
  color: var(--black);
}
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.05rem; margin: 0 0 .5rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--flag-blue); text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--flag-blue); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.25rem;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer;
}
.btn-call { background: var(--sili); color: #fff; }
.btn-call:hover { background: var(--sili-dark); }
.btn-ghost { border-color: var(--black); color: var(--black); background: transparent; }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-app { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--sili); }
.btn-app:hover { background: var(--mango); }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
  background: var(--black); color: #fff;
}
.wordmark {
  font-family: var(--display); font-size: 1.35rem; line-height: 1;
  color: var(--sili); text-decoration: none; margin: 0;
  text-shadow: 0 0 0 transparent;
}
.top .wordmark { color: var(--mango); display: inline-flex; align-items: center; gap: .6rem; }
.top .wordmark img { width: 2.75rem; height: 2.75rem; }
.top-nav { display: none; gap: 1.5rem; }
.top-nav a { color: #fff; text-decoration: none; font-weight: 500; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--mango); }
.top-call { display: none; min-height: 2.5rem; padding: .5rem 1rem; }

/* Hero: the one loud moment */
.hero {
  background: var(--mango);
  padding: 2rem var(--gutter) 2.5rem;
  display: grid; gap: 2rem;
}
.hero h1 {
  font-size: clamp(3rem, 13vw, 6.5rem);
  letter-spacing: -.01em;
  margin-bottom: .3em;
}
.hero-sub { font-size: 1.15rem; max-width: 34ch; }
.hero-facts { margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.hero-facts div { display: flex; gap: .75rem; align-items: baseline; }
.hero-facts dt {
  font-weight: 600; min-width: 4.5rem; color: var(--black);
}
.hero-facts dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.hero-facts a { color: var(--black); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero photo: a round plate echoing the logo badge */
.hero-photo { margin: 0; justify-self: center; width: min(100%, 26rem); }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: .6rem solid var(--black);
}

/* Favourite dishes photo grid */
.fav-photos {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.fav-photos a { display: grid; gap: .45rem; color: var(--black); text-decoration: none; font-weight: 600; font-size: .95rem; }
.fav-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; }
.fav-photos a span:first-of-type { line-height: 1.3; }
.fav-price { color: var(--muted); font-weight: 500; margin-top: -.3rem; }
.fav-photos a:hover span:first-of-type { text-decoration: underline; }
.menu-teaser .fav-photos { margin-bottom: 2rem; }

/* Section rhythm */
.menu, .menu-teaser, .order, .catering, .about, .visit {
  padding: 3.5rem var(--gutter);
}
.menu { padding-top: 0; }

/* Menu page header */
.page-head { background: var(--mango); padding: 2rem var(--gutter) 2.25rem; }
.page-head h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); margin-bottom: .25em; }
.page-head p { max-width: 40rem; font-size: 1.1rem; }
.section-head { max-width: 40rem; margin-bottom: 1.5rem; }
.section-head p { color: var(--muted); }

/* Menu */
.menu-jump {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: .5rem; overflow-x: auto;
  margin: 0 calc(var(--gutter) * -1) 1.5rem; padding: .75rem var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.menu-jump::-webkit-scrollbar { display: none; }
.menu-jump a {
  flex: none; padding: .45rem .9rem; border-radius: 999px;
  background: var(--mango-soft); color: var(--black);
  text-decoration: none; font-weight: 500; font-size: .95rem;
}
.menu-jump a:hover { background: var(--mango); }

.menu-cat { padding: 1.25rem 0 1.75rem; border-top: 3px solid var(--black); }
.menu-cat h3 { margin-bottom: .35rem; }
.cat-note { color: var(--muted); margin-bottom: .5rem; }
.dishes, .drink-list { list-style: none; margin: 0; padding: 0; }
.dishes { display: grid; }
.dishes li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.dish-line {
  display: flex; align-items: baseline; gap: 1rem; margin: 0;
  font-weight: 600; font-size: 1.08rem;
}
.dish-name { flex: 1; }
.dish-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.dish-desc { margin: .2rem 0 0; color: var(--muted); font-size: .97rem; max-width: 60ch; }
.fav {
  display: inline-block; vertical-align: .15em; margin-left: .4rem;
  padding: .1rem .5rem; border-radius: 999px;
  background: var(--sili); color: #fff; font-size: .72rem; font-weight: 600;
}

.drink-grid { display: grid; gap: 1.75rem; margin-top: 1rem; }
.flavour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.flavour-list li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .75rem; }
.flavour-list .dish-price { color: var(--sili); }
.drink-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .35rem 0; border-bottom: 1px dotted var(--line);
}

/* Order band */
.order { background: var(--black); color: #fff; }
.order h2 { color: #fff; }
.order-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Catering */
.catering { display: grid; gap: 2.5rem; }
.catering-text p { max-width: 40rem; }
.enquiry {
  display: grid; gap: 1rem; align-content: start;
  padding: 1.5rem; border: 3px solid var(--black); border-radius: 1.25rem;
  background: var(--paper);
}
.enquiry h3 { margin-bottom: 0; }
.enquiry label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: .7rem .8rem; min-height: 3rem;
  border: 1.5px solid #9a9a9a; border-radius: .6rem; background: #fff; width: 100%;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus {
  outline: 3px solid var(--mango); outline-offset: 0; border-color: var(--black);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry .btn { justify-self: start; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* About */
.about { display: grid; gap: 2.5rem; border-top: 3px solid var(--black); }
.about-text p { max-width: 38rem; }
.quotes { display: grid; gap: 1.25rem; align-content: start; }
.quotes blockquote {
  margin: 0; padding: 1.25rem 1.25rem 1rem;
  border-left: 6px solid var(--sili); background: #fafafa;
}
.quotes blockquote p { font-size: 1.1rem; margin-bottom: .5rem; }
.quotes footer { color: var(--muted); font-size: .92rem; }

/* Visit */
.visit { display: grid; gap: 2rem; border-top: 3px solid var(--black); }
.visit dl { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.visit dt { font-weight: 600; }
.visit dd { margin: 0; font-size: 1.1rem; }
.map { width: 100%; min-height: 20rem; border: 0; border-radius: 1.25rem; background: var(--line); }

/* Footer */
.site-foot {
  background: var(--black); color: #bbb;
  padding: 2rem var(--gutter);
  border-top: 6px solid var(--mango);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--display); font-size: 1.4rem; color: var(--mango); text-decoration: none;
}
.foot-brand img { width: 3rem; height: 3rem; }
.foot-small { margin: 0; width: 100%; font-size: .9rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem; min-height: 3rem;
  border: 2px solid #fff; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600;
}
.socials a:hover { background: var(--mango); border-color: var(--mango); color: var(--black); }
.socials svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

/* Mobile quick-action bar */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 10;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--black); border-top: 2px solid var(--mango);
}
.callbar a {
  padding: 1rem .5rem; text-align: center; min-height: 3.5rem;
  color: #fff; text-decoration: none; font-weight: 600;
}
.callbar a:first-child { background: var(--sili); }

/* Wider screens */
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .top-call { display: inline-flex; }
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding-block: 3.5rem; }
  .fav-photos { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .drink-grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .catering { grid-template-columns: 1fr 1fr; align-items: start; }
  .about { grid-template-columns: 1.2fr 1fr; }
  .visit { grid-template-columns: 1fr 1.5fr; align-items: start; }
  .map { min-height: 26rem; }
}
@media (min-width: 64rem) {
  .top-nav { display: flex; }
  .drink-grid { grid-template-columns: repeat(3, 1fr); }
  .fav-photos { grid-template-columns: repeat(6, 1fr); }
  .menu, .menu-teaser, .page-head, .order, .catering, .about, .visit, .hero, .top, .site-foot {
    padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  }
  .menu-jump { margin-inline: calc(max(var(--gutter), (100vw - var(--max)) / 2) * -1); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
}
