/* I Love Thai Fish — service-menu kitchen (itf-) */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;600;700;800&family=Karla:wght@400;500;600;700&display=swap");

:root {
  --ink: #1a2420;
  --paper: #f6f1e8;
  --teal: #0d5c63;
  --chili: #c23b22;
  --leaf: #2f6b4f;
  --muted: #5c675f;
  --rice: #ebe4d6;
  --chalk: #1e2a26;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.itf-body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(ellipse 640px 360px at 12% -8%, rgba(13, 92, 99, 0.09), transparent 60%),
    radial-gradient(ellipse 520px 280px at 92% 8%, rgba(194, 59, 34, 0.07), transparent 55%),
    linear-gradient(180deg, #faf7f1 0%, var(--paper) 48%, var(--rice) 100%);
}

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

a {
  color: var(--teal);
}

.itf-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.itf-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.65rem 1rem;
  background: var(--chili);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Persona S — decorative multilingual CMS lang strip */
.itf-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem clamp(1rem, 3vw, 2.5rem);
  background: var(--teal);
  color: #e8f4f4;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.itf-lang a {
  color: #e8f4f4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.itf-lang a[aria-current="true"] {
  border-bottom-color: #fff;
  font-weight: 600;
}

.itf-lang__note {
  opacity: 0.85;
}

.itf-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(246, 241, 232, 0.94);
  border-bottom: 1px solid rgba(13, 92, 99, 0.14);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.itf-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--teal);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.itf-wordmark span {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.itf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.itf-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.itf-nav a:hover {
  color: var(--chili);
}

.itf-index-form {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.itf-index-form input {
  border: 1px solid rgba(13, 92, 99, 0.28);
  background: #fff;
  padding: 0.4rem 0.65rem;
  font: inherit;
  min-width: 9rem;
}

.itf-index-form button {
  border: 0;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.itf-btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.itf-btn--chili {
  background: var(--chili);
  color: #fff;
}

.itf-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

.itf-btn--teal {
  background: var(--teal);
  color: #fff;
}

/* Homepage — one composition hero */
.itf-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.itf-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 92, 99, 0.25) 0%, rgba(26, 36, 32, 0.72) 55%, rgba(26, 36, 32, 0.88) 100%);
}

.itf-hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 3rem) clamp(2.2rem, 5vw, 3.5rem);
  max-width: 42rem;
}

.itf-hero__copy h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.itf-hero__headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin: 0 0 0.55rem;
  color: #ffe8e0;
}

.itf-hero__line {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Archetype 55 — vertical service menu spine */
.itf-menu-spine {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
  max-width: 920px;
  margin: 0 auto;
}

.itf-menu-spine h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
  color: var(--teal);
}

.itf-menu-spine > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 36rem;
}

.itf-spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--teal);
}

.itf-spine-list li {
  border-bottom: 1px solid rgba(13, 92, 99, 0.18);
}

.itf-spine-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 1rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.itf-spine-list a:hover {
  background: rgba(13, 92, 99, 0.06);
  padding-left: 0.45rem;
}

.itf-spine-list__code {
  font-family: var(--display);
  font-weight: 700;
  color: var(--chili);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.itf-spine-list__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.itf-spine-list__note {
  grid-column: 2 / 3;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: -0.35rem;
}

.itf-spine-list__arrow {
  color: var(--teal);
  font-weight: 700;
}

.itf-section {
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.itf-section h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.itf-lede {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}

.itf-notes-rail {
  list-style: none;
  margin: 0;
  padding: 0;
}

.itf-notes-rail li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(26, 36, 32, 0.12);
}

.itf-notes-rail time {
  font-size: 0.85rem;
  color: var(--muted);
}

.itf-notes-rail a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
}

.itf-notes-rail a:hover {
  color: var(--chili);
}

.itf-loadmore {
  margin-top: 1.25rem;
}

.itf-places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.itf-places a {
  font-weight: 600;
  text-decoration: none;
}

.itf-places a:hover {
  color: var(--chili);
}

/* Inner plate shell — course ticket strip (top) + single-column prose.
   Deliberately NOT a left docs-sidebar twin (hzg/hae/cbz guides pattern). */
.itf-plate {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.35rem clamp(1rem, 3vw, 2rem) 3.5rem;
}

.itf-plate > div {
  display: contents;
}

.itf-plate-rail {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.7rem 0.9rem;
  background:
    linear-gradient(90deg, rgba(30, 42, 38, 0.96) 0%, rgba(13, 92, 99, 0.92) 100%);
  color: #f3eee4;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -3px 0 var(--chili);
  position: static;
}

.itf-plate-rail__kicker {
  flex: 0 0 auto;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 228, 0.72);
  margin: 0;
  padding-right: 0.65rem;
  border-right: 1px solid rgba(243, 238, 228, 0.28);
}

.itf-plate-rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  flex: 1 1 auto;
}

.itf-plate-rail li {
  margin: 0;
}

.itf-plate-rail a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.itf-plate-rail a:hover {
  color: #ffd8cf;
  border-bottom-color: rgba(255, 216, 207, 0.7);
}

.itf-plate-rail .itf-btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.itf-plate-rail .itf-btn--chili {
  background: var(--chili);
  color: #fff;
  border: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.itf-plate-rail__addr {
  flex: 1 0 100%;
  font-size: 0.78rem;
  color: rgba(243, 238, 228, 0.65);
  margin: 0;
  line-height: 1.35;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(243, 238, 228, 0.18);
}

.itf-plate-mast {
  margin: 0.35rem 0 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(13, 92, 99, 0.28);
}

.itf-plate-mast .itf-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chili);
  font-weight: 600;
}

.itf-plate-mast h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 0.55rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.itf-plate-mast .itf-deck {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.itf-plate-body {
  font-size: 1.05rem;
}

.itf-plate-body p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

.itf-inline {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: 0 0 1rem;
}

.itf-form label {
  display: block;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
}

.itf-form input,
.itf-form textarea,
.itf-form select {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(13, 92, 99, 0.28);
  font: inherit;
  background: #fff;
}

.itf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.itf-ok {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(13, 92, 99, 0.12);
  border: 1px solid rgba(13, 92, 99, 0.2);
}

.itf-ok.is-on {
  display: block;
}

/* Unique kitchen index search */
.itf-kitchen-index {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 1rem;
}

.itf-kitchen-index__stamp {
  font-family: var(--display);
  font-weight: 700;
  color: var(--chili);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
}

.itf-kitchen-index h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.itf-kitchen-index__lede {
  color: var(--muted);
  max-width: 38rem;
}

.itf-kitchen-form {
  margin: 1.5rem 0;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(13, 92, 99, 0.18);
}

.itf-kitchen-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}

.itf-kitchen-form label {
  display: block;
  font-weight: 600;
  width: 100%;
  margin-bottom: 0.25rem;
}

.itf-kitchen-form input[type="search"] {
  flex: 1 1 14rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(13, 92, 99, 0.3);
  font: inherit;
}

.itf-kitchen-form button {
  border: 0;
  background: var(--chili);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.itf-code-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.itf-code-filters a {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(13, 92, 99, 0.25);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--paper);
}

.itf-code-filters a.is-on {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.itf-code-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.itf-code-list li {
  margin: 0 0 0.55rem;
}

.itf-code-hit {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--chili);
}

.itf-code-hit__code {
  font-family: var(--display);
  font-weight: 800;
  color: var(--chili);
  letter-spacing: 0.04em;
}

.itf-code-hit strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
}

.itf-code-hit span {
  color: var(--muted);
  font-size: 0.88rem;
}

.itf-kitchen-notes {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.itf-kitchen-notes p {
  max-width: 68ch;
}

/* Unique footer — chalk specials + horizontal menu codes */
.itf-footer {
  margin-top: 2rem;
  background: var(--chalk);
  color: #e7efe9;
}

.itf-chalk {
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px dashed rgba(231, 239, 233, 0.28);
  font-family: var(--display);
}

.itf-chalk__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9bb5ad;
  margin-bottom: 0.35rem;
}

.itf-chalk__line {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #fff;
}

.itf-chalk__line a {
  color: #ffd2c6;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 210, 198, 0.45);
}

.itf-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.35rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(231, 239, 233, 0.12);
}

.itf-codes a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(231, 239, 233, 0.28);
  color: #e7efe9;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.itf-codes a:hover {
  border-color: #ffd2c6;
  color: #ffd2c6;
}

.itf-foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  padding: 1.75rem clamp(1rem, 3vw, 2.5rem);
}

.itf-foot-grid h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin: 0 0 0.65rem;
  color: #fff;
}

.itf-foot-grid a {
  display: block;
  color: #c5d6cf;
  text-decoration: none;
  margin: 0.3rem 0;
  font-size: 0.92rem;
}

.itf-foot-grid a:hover {
  color: #ffd2c6;
}

.itf-foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 1.75rem;
  font-size: 0.85rem;
  color: #9bb5ad;
  border-top: 1px solid rgba(231, 239, 233, 0.1);
}

.itf-foot-legal a {
  color: #c5d6cf;
  text-decoration: none;
}

.itf-pull {
  margin: 1rem 0 2rem;
}

.itf-pull figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.itf-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.itf-gallery a {
  text-decoration: none;
  color: var(--ink);
}

.itf-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.4rem;
}

.itf-gallery h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

@media (max-width: 820px) {
  .itf-plate {
    max-width: none;
  }

  .itf-plate-rail {
    gap: 0.5rem 0.75rem;
  }

  .itf-plate-rail .itf-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .itf-plate-rail__addr br {
    display: none;
  }

  .itf-spine-list a {
    grid-template-columns: auto 1fr;
  }

  .itf-spine-list__arrow {
    display: none;
  }

  .itf-spine-list__note {
    grid-column: 1 / -1;
  }

  .itf-notes-rail li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .itf-btn--ghost {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

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

  .itf-spine-list a {
    transition: none;
  }
}
