:root {
  color-scheme: dark;
  --page: #070606;
  --surface: #171010;
  --surface-soft: #0f0b0c;
  --ink: #fff8e5;
  --muted: #d8c6a5;
  --faint: #f0c25b;
  --accent: #cf0a57;
  --accent-strong: #f0c25b;
  --gold: #f0c25b;
  --gold-soft: rgba(240, 194, 91, 0.18);
  --magenta-soft: rgba(207, 10, 87, 0.18);
  --line: rgba(240, 194, 91, 0.22);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #070606;
    --surface: #171010;
    --surface-soft: #0f0b0c;
    --ink: #fff8e5;
    --muted: #d8c6a5;
    --faint: #009DE0;
    --accent: #cf0a57;
    --accent-strong: #009DE0;
    --line: rgba(240, 194, 91, 0.22);
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-optical-sizing: auto;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

figure {
  margin: 0;
}

.site-shell {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(207, 10, 87, 0.22), transparent 34rem),
    linear-gradient(180deg, transparent 58%, rgba(240, 194, 91, 0.08)),
    var(--page);
}

.nav {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  color: #fffdf8;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240, 194, 91, 0.58);
  border-radius: 8px;
  background: rgba(24, 23, 22, 0.58);
  box-shadow: 0 12px 32px rgba(207, 10, 87, 0.34);
  object-fit: cover;
}

.nav-links {
  gap: clamp(0.9rem, 2vw, 1.4rem);
  font-size: 0.95rem;
  font-weight: 760;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-links a:focus-visible,
.language-toggle:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(240, 194, 91, 0.88);
  outline-offset: 4px;
}

.language-toggle {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(240, 194, 91, 0.62);
  border-radius: 50%;
  padding: 0;
  background: #012169;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.language-toggle:hover {
  border-color: rgba(240, 194, 91, 0.88);
  background: rgba(207, 10, 87, 0.28);
  transform: translateY(-2px);
}

.language-toggle:active {
  transform: translateY(0) scale(0.95);
}

.flag-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-icon[hidden] {
  display: none;
}

.nav-order {
  border: 1px solid rgba(240, 194, 91, 0.48);
  border-radius: 999px;
  padding: 0 1rem;
  background: rgba(207, 10, 87, 0.22);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  overflow: hidden;
  height: min(100dvh, 782px);
  min-height: 640px;
  max-height: 782px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 78% 36%, rgba(207, 10, 87, 0.42), transparent 34rem),
    linear-gradient(90deg, rgba(7, 6, 6, 0.98), rgba(7, 6, 6, 0.92) 46%, rgba(7, 6, 6, 0.74)),
    #070606;
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 92px;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 64px;
  width: min(38vw, 430px);
  min-height: 520px;
  content: "";
  border: 1px solid rgba(240, 194, 91, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 6, 6, 0.02), rgba(7, 6, 6, 0.18)),
    url("assets/yummy-thai-poster-hero.png") center center / cover no-repeat;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.46),
    0 0 0 10px rgba(207, 10, 87, 0.08);
  opacity: 0.94;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  content: "";
  background: linear-gradient(180deg, transparent, var(--page));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  min-height: 0;
  max-height: 782px;
  margin: 0 auto;
  padding: 96px 0 72px;
}

.hero-copy {
  max-width: 620px;
}

.hero-brand {
  position: relative;
  width: clamp(190px, 20vw, 250px);
  max-width: none;
  margin: 0 0 1.35rem;
  padding: 3px;
  border: 1px solid rgba(240, 194, 91, 0.62);
  border-radius: 8px;
  background: #cf0a57;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.46),
    8px 8px 0 rgba(207, 10, 87, 0.16),
    0 0 28px rgba(240, 194, 91, 0.08);
  line-height: 1;
}

.hero-brand::after {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(255, 225, 145, 0.28);
  border-radius: 4px;
  pointer-events: none;
}

.big-brand-mark {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
}

.brand-line {
  margin: 0 0 1.1rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 {
  max-width: 8.5ch;
  margin-bottom: 1.35rem;
  font-size: clamp(4.1rem, 10vw, 8.2rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 5.1rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-copy p:not(.brand-line) {
  max-width: 520px;
  margin-bottom: 1.8rem;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: #fff8e5;
  box-shadow: 0 18px 44px rgba(207, 10, 87, 0.36);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(240, 194, 91, 0.48);
  color: #fffdf8;
  background: rgba(240, 194, 91, 0.08);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
}

.service-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(207, 10, 87, 0.12), rgba(240, 194, 91, 0.07)),
    var(--surface);
  box-shadow: var(--shadow);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.45fr) 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child {
  padding-top: 0;
}

.service-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-row span:first-child {

  font-weight: 850;
}

.service-row span:last-child {
  font-weight: 760;
}

.menu-band {
  background:
    linear-gradient(180deg, rgba(207, 10, 87, 0.14), rgba(7, 6, 6, 0) 30%),
    #070606;
  color: #fffdf8;
}

.menu-band .section {
  padding-top: 92px;
  padding-bottom: 96px;
}

.menu-layout {
  display: block;
}

.menu-copy {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  width: 100%;
}

.menu-intro,
.dish {
  border: 1px solid rgba(240, 194, 91, 0.22);
  border-radius: var(--radius);
  background: rgba(23, 16, 16, 0.82);
}

.menu-intro {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.menu-intro p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

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

.dish {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dish::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 194, 91, 0.34), transparent 40%),
    linear-gradient(135deg, rgba(207, 10, 87, 0.62), rgba(207, 10, 87, 0.08) 62%);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dish:hover,
.dish:focus-visible,
.dish:focus-within,
.dish[data-selected="true"] {
  border-color: rgba(240, 194, 91, 0.56);
  box-shadow: 0 18px 48px rgba(207, 10, 87, 0.18);
  transform: translateY(-3px);
}

.dish:hover::before,
.dish:focus-visible::before,
.dish:focus-within::before,
.dish[data-selected="true"]::before {
  opacity: 1;
  transform: scale(1);
}

.dish:focus-visible {
  outline: 3px solid rgba(240, 194, 91, 0.88);
  outline-offset: 4px;
}

.dish-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #2b2622;
}

.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 260ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dish:hover .dish-image img,
.dish:focus-visible .dish-image img,
.dish:focus-within .dish-image img,
.dish[data-selected="true"] .dish-image img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.dish-copy {
  padding: 1.05rem;
}

.dish p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

.dish .dish-allergens {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dish-allergens strong {
  color: var(--ink);
  font-weight: 850;
}

.variant-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem;
  margin-top: 1rem;
  border: 1px solid rgba(240, 194, 91, 0.22);
  border-radius: 999px;
  padding: 0.25rem;
  background: rgba(7, 6, 6, 0.32);
}

.variant-option {
  min-width: 0;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 0.35rem;
  background: transparent;
  color: rgba(255, 253, 248, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 840;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.variant-option:hover,
.variant-option:focus-visible,
.variant-option[aria-pressed="true"] {
  background: var(--accent);
  color: #fff8e5;
}

.variant-option:focus-visible {
  outline: 2px solid rgba(240, 194, 91, 0.9);
  outline-offset: 2px;
}

.nutrition-panel {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 1fr);
  gap: 1rem;
  min-height: 150px;
  align-items: center;
  border: 1px solid rgba(240, 194, 91, 0.3);
  border-radius: var(--radius);
  padding: 1.15rem;
  background:
    linear-gradient(135deg, rgba(207, 10, 87, 0.22), rgba(240, 194, 91, 0.09)),
    rgba(23, 16, 16, 0.9);
}

.nutrition-panel p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.7);
}

.nutrition-title {
  margin-bottom: 0.35rem;
}

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

.nutrition-stat {
  border: 1px solid rgba(240, 194, 91, 0.18);
  border-radius: 8px;
  padding: 0.8rem;
  background: rgba(7, 6, 6, 0.44);
}

.nutrition-stat span:first-child {
  display: block;
  color: rgba(240, 194, 91, 0.72);
  font-size: 0.78rem;
  font-weight: 760;
}

.nutrition-stat span:last-child {
  display: block;
  margin-top: 0.25rem;
  color: #fffdf8;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.visit {
  background:
    linear-gradient(180deg, rgba(207, 10, 87, 0.16), transparent 48%),
    linear-gradient(180deg, transparent, rgba(240, 194, 91, 0.07)),
    var(--surface-soft);
}

.visit .section {
  padding-top: 92px;
  padding-bottom: 96px;
}

.visit-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.visit-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.visit-card {
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

.visit-card p,
.visit-card a {
  color: var(--muted);
}

.visit-card a {
  color: var(--gold);
  font-weight: 850;
}

.contact-card > a {
  overflow-wrap: anywhere;
}

.social-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(240, 194, 91, 0.14);
  padding-top: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  border-color: rgba(240, 194, 91, 0.5);
  color: var(--gold);
}

.social-list a:focus-visible {
  outline: 2px solid rgba(240, 194, 91, 0.88);
  outline-offset: 4px;
}

.social-list span {
  color: rgba(240, 194, 91, 0.66);
  font-size: 0.9rem;
}

footer {
  padding: 30px 20px;
  background: #080505;
  color: rgba(240, 194, 91, 0.74);
  text-align: center;
}

@media (max-width: 940px) {
  .nav,
  .hero-inner,
  .section {
    width: min(100% - 32px, 1180px);
  }

  .nav-links a:not(.nav-order) {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    background:
      linear-gradient(90deg, rgba(7, 6, 6, 0.97), rgba(7, 6, 6, 0.8)),
      radial-gradient(circle at 82% 24%, rgba(207, 10, 87, 0.35), transparent 24rem),
      #070606;
  }

  .hero-inner {
    height: auto;
    min-height: 100dvh;
    max-height: none;
  }

  .hero::before {
    top: 86px;
    right: 16px;
    bottom: 42px;
    width: min(40vw, 280px);
    min-height: 420px;
    opacity: 0.42;
  }

  .hero-copy {
    max-width: min(500px, calc(100% - 220px));
  }

  .hero-brand {
    width: clamp(190px, 27vw, 230px);
  }

  .intro,
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    display: none;
  }

  .nav {
    min-height: 64px;
  }

  .nav-order {
    min-height: 38px;
    padding: 0 0.85rem;
    font-size: 0.9rem;
  }

  .hero-inner {
    align-items: end;
    padding: 78px 0 38px;
  }

  .hero::before {
    inset: 0;
    width: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background-color: #260911;
    background-position: center, center top;
    background-repeat: no-repeat;
    background-size: cover, auto 78%;
    box-shadow: none;
    opacity: 1;
  }

  .hero::after {
    z-index: 1;
    inset: 0;
    height: auto;
    background:
      linear-gradient(180deg, rgba(7, 6, 6, 0.2) 0%, rgba(7, 6, 6, 0.28) 32%, rgba(7, 6, 6, 0.76) 62%, rgba(7, 6, 6, 0.97) 100%),
      linear-gradient(90deg, rgba(7, 6, 6, 0.22), transparent 52%, rgba(7, 6, 6, 0.16));
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-brand {
    width: clamp(175px, 52vw, 210px);
    margin-bottom: 1.1rem;
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.46),
      8px 8px 0 rgba(207, 10, 87, 0.18);
  }

  .brand-line {
    margin-bottom: 0.8rem;
    font-size: 0.94rem;
  }

  h1 {
    max-width: 7.1ch;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 15.5vw, 4.75rem);
  }

  .hero-copy p:not(.brand-line) {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  h2 {
    font-size: clamp(2.05rem, 12vw, 3.4rem);
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .section,
  .menu-band .section,
  .visit .section {
    padding: 62px 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .dish-grid {
    grid-template-columns: 1fr;
  }

  .nutrition-panel {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nutrition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
