@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("dm-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
  src: url("fraunces-italic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --cream: #fff9ed;
  --paper: #fffdf7;
  --sand: #f4ead5;
  --ink: #3d211c;
  --muted: #654840;
  --red: #a33b24;
  --dark-red: #7e291b;
  --butter: #ffdf76;
  --line: #e7d8bd;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

a:focus-visible {
  outline: 3px solid #235755;
  outline-offset: 4px;
}

[id] { scroll-margin-top: 1.25rem; }

.wrap {
  width: min(100% - 5rem, 73.75rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  transform: translateY(-175%);
  padding: .65rem .95rem;
  background: var(--paper);
  border: 1px solid currentColor;
  border-radius: .5rem;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 5.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  min-height: 2.75rem;
}

.brand img { width: 8.5rem; height: auto; }

.main-nav { display: flex; flex-wrap: wrap; gap: clamp(.9rem, 3.75vw, 3.6rem); }

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--red); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.button:hover { background: var(--dark-red); }
.button-small { min-height: 2.75rem; padding-inline: 1rem; font-size: .88rem; }
.header-order { justify-self: end; }

.button-outline { border-color: #bc8b7d; background: transparent; color: var(--red); }
.button-outline:hover { background: #fae8d8; }

.hero {
  display: grid;
  grid-template-columns: .97fr 1.03fr;
  align-items: center;
  gap: clamp(2rem, 4.2vw, 4rem);
  padding-block: clamp(2.5rem, 5.1vw, 5rem);
}

.eyebrow {
  color: var(--red);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-block: .8rem 1.3rem;
  font: 750 clamp(3.4rem, 7.45vw, 7rem)/.93 var(--display);
  letter-spacing: -.073em;
  text-wrap: initial;
}

.hero h1 em { display: block; color: var(--red); font-weight: 720; }

.hero-lede {
  max-width: 23rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.18;
  border-radius: clamp(1.2rem, 3.3vw, 2.8rem);
  background: var(--butter);
}

.hero-art::before, .hero-art::after {
  position: absolute;
  z-index: -1;
  inset: 14% auto auto -16%;
  width: 101%;
  aspect-ratio: 1;
  border: 1px solid #b26a33;
  border-radius: 50%;
  opacity: .35;
  content: "";
}

.hero-art::after { inset: 9% auto auto -21%; width: 111%; }

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: clamp(3px, .6vw, 7px) solid var(--paper);
  border-radius: clamp(.85rem, 2.1vw, 1.8rem);
  background: var(--paper);
  box-shadow: 0 .7rem 1.6rem #74391940;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: .33rem .7rem .25rem .55rem;
  border-radius: 0 .7rem 0 0;
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-photo-laksa { inset: 10% 30% 13% 13%; transform: rotate(-8deg); }
.hero-photo-laksa img { object-position: 47% 51%; }
.hero-photo-mee { inset: 53% 8% 10% 57%; transform: rotate(9deg); }
.hero-photo-mee img { object-position: 56% 50%; }

.hero-rays { position: absolute; top: 14%; right: 12%; width: 17%; height: 26%; }

.hero-rays i {
  position: absolute;
  display: block;
  width: 52%;
  height: 11%;
  border-radius: 75% 40%;
  background: #b74726;
}

.hero-rays i:nth-child(1) { top: 18%; left: 0; transform: rotate(-66deg); }
.hero-rays i:nth-child(2) { top: 42%; left: 33%; transform: rotate(-29deg); }
.hero-rays i:nth-child(3) { top: 72%; left: 34%; transform: rotate(16deg); }

.menu-section { border-block: 1px solid var(--line); background: var(--sand); padding-block: clamp(2.8rem, 5vw, 4.5rem); }
.section-intro { margin-bottom: 1.7rem; text-align: center; }

h2 {
  margin-top: .45rem;
  font: 720 clamp(2.1rem, 4.7vw, 3.75rem)/1.01 var(--display);
  letter-spacing: -.048em;
}

.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.dish-card {
  display: grid;
  grid-template-columns: 43% 1fr;
  overflow: hidden;
  min-width: 0;
  min-height: 14rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--paper);
}

.dish-image { position: relative; min-height: 100%; }
.dish-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.dish-laksa img { object-position: 45% 50%; }
.dish-mee img { object-position: 53% 50%; }

.dish-copy { align-self: center; padding: 1.25rem clamp(1rem, 2.2vw, 1.65rem); }
.dish-copy h3 { font: 700 clamp(1.6rem, 3vw, 2rem)/1.03 var(--display); letter-spacing: -.04em; }
.dish-copy p { margin-top: .55rem; color: var(--muted); line-height: 1.5; }
.dish-link, .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--red); font-weight: 800; text-underline-offset: .24em; }
.dish-link { margin-top: .6rem; }
.dish-link:hover, .text-link:hover { color: var(--dark-red); text-decoration-thickness: 2px; }

.stall-section {
  display: grid;
  grid-template-columns: 1fr .87fr;
  align-items: center;
  gap: clamp(2rem, 6.5vw, 7rem);
  padding-block: clamp(3.5rem, 7vw, 6.2rem);
}

.stall-photo { position: relative; padding: 0 0 1.25rem 1.25rem; }
.stall-photo > img:first-child { width: 100%; height: auto; aspect-ratio: 1.55; border-radius: 1.6rem; object-fit: cover; }

.stall-photo .stall-artwork {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(6rem, 24%, 8.4rem);
  height: auto;
  padding: .42rem;
  transform: rotate(-7deg);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: white;
  box-shadow: 0 .4rem 1rem #3d211c25;
}

.stall-copy p:not(.eyebrow) { max-width: 29rem; margin-top: 1rem; color: var(--muted); }
.stall-copy .text-link { margin-top: .5rem; }

.order-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border-radius: clamp(1.35rem, 3vw, 2.3rem);
  background: var(--dark-red);
  color: var(--cream);
}

.order-panel h2 { margin: 0; }
.order-panel p { max-width: 35rem; margin-top: .55rem; }
.button-yellow { flex-shrink: 0; background: var(--butter); color: var(--ink); }
.button-yellow:hover { background: #ffedaa; }
.button-yellow:focus-visible { outline-color: white; }

.site-footer {
  min-height: 6.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer .brand img { width: 7.15rem; }
.footer-phone { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; text-underline-offset: .24em; }

@media (max-width: 58rem) {
  .wrap { width: min(100% - 3rem, 73.75rem); }
  .hero { gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.9rem, 7.38vw, 5.2rem); }
  .dish-card { grid-template-columns: 39% 1fr; }
}

@media (max-width: 44rem) {
  .wrap { width: min(100% - 2rem, 35rem); }
  .site-header { grid-template-columns: 1fr auto; min-height: 4.35rem; gap: .65rem; }
  .brand img { width: 7rem; }
  .header-order { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.25rem 2.5rem; }
  .hero h1 { font-size: clamp(3.4rem, 12vw, 5.1rem); margin-block: .55rem .95rem; }
  .hero-actions { margin-top: 1.25rem; }
  .hero-art { aspect-ratio: 1.23; }
  .menu-grid { grid-template-columns: 1fr; gap: .8rem; }
  .dish-card { grid-template-columns: 41% 1fr; min-height: 11.5rem; }
  .stall-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .stall-copy { grid-row: 1; }
  .order-panel { flex-direction: column; align-items: flex-start; }
  .site-footer { min-height: 5.25rem; }
}

@media (max-width: 24rem) {
  .main-nav { gap: .75rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-photo figcaption { padding-inline: .37rem .48rem; }
  .dish-card { grid-template-columns: 36% 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
