@import url('../fonts/fonts.css');

/* ---------------------------------------------------------------
   Karahi Spot — mobile-first stylesheet
   Base styles target a 360px viewport. Enhancements are layered on
   at 640px and 1024px only.
   --------------------------------------------------------------- */

:root {
  /* Sampled from the logo: brass lettering on weathered near-black metal. */
  --coal-900: #0f0e0c;
  --coal-800: #1a1915;
  --coal-700: #26241e;
  --coal-600: #39352c;
  --gold: #cfa052;
  --gold-soft: #e7cb90;
  /* The logo's own shadow tone. Bright brass only clears 2.3:1 on cream, so
     light surfaces borrow this instead; dark surfaces re-point it below. */
  --gold-ink: #835f30;
  --gold-accent: var(--gold-ink);
  --cream: #fff8ec;
  --cream-dim: #f3e9d7;
  --ink: #1f1d18;
  --muted: #6d6a60;
  --line: rgba(255, 248, 236, 0.14);
  --line-dark: rgba(26, 25, 21, 0.12);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 14, 12, 0.16);
  --shadow-lg: 0 18px 50px rgba(15, 14, 12, 0.26);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --header-h: 60px;
  --bottombar-h: 62px;
  /* The menu page's sticky toolbar, which in-page anchors have to clear.
     Taller on phones because the category chips sit under the search box. */
  --toolbar-h: 126px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--toolbar-h));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  /* room for the mobile sticky call bar */
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  display: block;
  /* Images carry width/height attributes so the browser can reserve space,
     but those make the box definite and cancel any CSS aspect-ratio. */
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 200;
  background: var(--gold);
  color: var(--coal-900);
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  translate: -50% 0;
}

/* ------------------------------ header ------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--coal-900);
  color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  /* Not a fixed height: the open mobile nav adds a second row. */
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}

/* The KS monogram crop. The full emblem's wordmark is illegible this small,
   so the header pairs the monogram with live text instead. */
.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--coal-800);
  box-shadow: inset 0 0 0 1px rgba(207, 160, 82, 0.55);
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-top: 3px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__close {
  display: block;
}

.site-nav {
  display: none;
  /* Full basis so opening the nav wraps it onto its own row under the brand
     rather than squeezing it in beside the toggle. */
  flex: 0 0 100%;
  width: 100%;
  padding-bottom: 1rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  color: var(--cream);
}

.site-nav a[aria-current='page'] {
  color: var(--gold-accent);
}

.site-nav a:hover {
  background: rgba(255, 248, 236, 0.08);
}

.site-nav .nav-cta {
  margin-top: 0.5rem;
  justify-content: center;
  background: var(--gold);
  color: var(--coal-900);
  font-weight: 700;
}

/* ------------------------------ buttons ------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--coal-900);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--cream);
}

.btn--outline:hover {
  background: rgba(255, 248, 236, 0.1);
}

.btn--dark {
  background: var(--coal-800);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--coal-700);
}

/* ------------------------------ hero --------------------------- */

.hero {
  position: relative;
  background: var(--coal-800);
  color: var(--cream);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 248, 236, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 9vw, 5rem);
  display: grid;
  gap: 2rem;
}

/* Emblem crest above the headline. Sized so the wordmark inside it stays
   readable, which is what makes it worth showing over the monogram. */
.hero__logo {
  width: clamp(124px, 30vw, 152px);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(207, 160, 82, 0.35);
  margin-bottom: 1.1rem;
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  border: 1px solid rgba(207, 160, 82, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 11vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0.8rem 0 0.4rem;
}

.hero h1 span {
  display: block;
  color: var(--gold-accent);
}

.hero__lede {
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  color: var(--cream-dim);
  max-width: 48ch;
}

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

.hero__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-lg);
}

.hero__media img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

/* status pill ---------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.1);
  border: 1px solid var(--line);
}

.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}

.status.is-open .status__dot {
  background: #46d17f;
  box-shadow: 0 0 0 4px rgba(70, 209, 127, 0.22);
}

.status.is-closed .status__dot {
  background: #ff7a6b;
  box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.2);
}

/* Dark surfaces get the full-strength brass. */
.site-header,
.hero,
.section--dark,
.package,
.site-footer,
.callbar {
  --gold-accent: var(--gold);
}

/* ------------------------------ sections ----------------------- */

.section {
  padding-block: clamp(2.5rem, 8vw, 4.5rem);
}

.section--dark {
  background: var(--coal-800);
  color: var(--cream);
}

.section--tint {
  background: var(--cream-dim);
}

.section__head {
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.section__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-size: clamp(1.9rem, 7vw, 3rem);
  text-transform: uppercase;
}

.section__head p {
  margin-top: 0.7rem;
  max-width: 60ch;
  color: var(--muted);
}

.section--dark .section__head p {
  color: var(--cream-dim);
}

/* ------------------------------ cards -------------------------- */

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--cream-dim);
}

.card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.card h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card__meta {
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--coal-600);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem 1.5rem;
}

.feature-card h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.45rem;
}

.feature-card p {
  color: var(--muted);
}

.feature-card__stat {
  font-size: clamp(3rem, 10vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--gold-ink);
  margin: 0 0 0.4rem;
}

.feature-card .btn {
  margin-top: 1rem;
}

/* ------------------------------ info grid ---------------------- */

.info-grid {
  display: grid;
  gap: 1.25rem;
}

.info-card {
  background: rgba(255, 248, 236, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.info-card h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.8rem;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours li.is-today {
  color: var(--gold-accent);
  font-weight: 700;
}

.hours__day {
  letter-spacing: 0.04em;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--gold-accent);
}

.contact-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold-accent);
}

.map-embed {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--coal-700);
}

.map-embed iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  display: block;
}

.map-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--coal-800, #1a1814);
  color: var(--cream, #f3ead8);
  font-size: 0.95rem;
}

/* ------------------------------ menu page ---------------------- */

.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  padding-block: 0.6rem;
}

.menu-search {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-search svg {
  position: absolute;
  left: 0.9rem;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.menu-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 2.6rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.menu-search input::placeholder {
  color: var(--muted);
}

.menu-search__clear {
  position: absolute;
  right: 0.35rem;
  width: 38px;
  height: 38px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream-dim);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.menu-search.has-value .menu-search__clear {
  display: grid;
}

/* horizontally scrolling category chips on phones */
.cat-chips {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* bleed to the screen edges so the row looks scrollable */
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-bottom: 2px;
}

.cat-chips::-webkit-scrollbar {
  display: none;
}

.cat-chips a {
  scroll-snap-align: start;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-dark);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}

.cat-chips a.is-active {
  background: var(--coal-800);
  border-color: var(--coal-800);
  color: var(--cream);
}

.menu-layout {
  display: block;
}

.menu-sidebar {
  display: none;
}

.menu-group {
  padding-top: clamp(2rem, 6vw, 3rem);
}

.menu-group__head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--coal-800);
}

.menu-group__head h2 {
  font-size: clamp(1.7rem, 6.5vw, 2.5rem);
  text-transform: uppercase;
  color: var(--coal-800);
}

.menu-group__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.menu-group__note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: -0.4rem 0 1rem;
}

.menu-list {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.6rem;
  box-shadow: 0 2px 10px rgba(15, 14, 12, 0.08);
}

/* Platters list what's in them, so the card runs tall and a centred photo
   would drift away from the dish name it belongs to. */
.menu-item:has(.menu-item__includes) {
  align-items: start;
}

.menu-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream-dim);
  flex: none;
}

.menu-item__body {
  min-width: 0;
}

.menu-item__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.menu-item__desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
  line-height: 1.45;
}

.menu-item__tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coal-600);
  background: rgba(131, 95, 48, 0.12);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-top: 0.35rem;
}

.menu-item__prices {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--coal-800);
  white-space: nowrap;
}

.price--dual {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  background: var(--cream);
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  padding: 0.3rem 0.55rem;
}

.price--dual small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-item__includes {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.menu-item__includes li::before {
  content: '• ';
  color: var(--gold-accent);
  font-weight: 700;
}

.menu-item.is-hidden,
.menu-group.is-hidden {
  display: none;
}

.menu-empty {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.menu-empty.is-visible {
  display: block;
}

/* ------------------------------ catering ----------------------- */

.package {
  background: var(--coal-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(207, 160, 82, 0.35);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.package__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.package__head h2 {
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  text-transform: uppercase;
  color: var(--gold-accent);
}

.package__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  font-weight: 700;
  margin-left: auto;
}

.package__price small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: block;
  text-align: right;
}

.package__rule {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 1rem;
}

.package__cols {
  display: grid;
  gap: 1.1rem;
}

.package__col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
}

.package__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.92rem;
}

.package__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--cream-dim);
}

/* ------------------------------ credits ------------------------ */

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.credits-table th,
.credits-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

.credits-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.credits-table td:first-child {
  font-weight: 600;
}

/* on phones the table reflows into stacked rows */
@media (max-width: 639px) {
  .credits-table thead {
    display: none;
  }

  .credits-table tr {
    display: grid;
    gap: 0.15rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .credits-table td {
    border: 0;
    padding: 0;
  }

  .credits-table td::before {
    content: attr(data-label) ': ';
    font-weight: 700;
    color: var(--muted);
  }

  .credits-table td:first-child::before {
    content: '';
  }
}

/* ------------------------------ footer ------------------------- */

.site-footer {
  background: var(--coal-900);
  color: var(--cream-dim);
  padding-block: 2.5rem 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.site-footer__logo {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(207, 160, 82, 0.3);
  margin-bottom: 1rem;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: var(--cream-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-accent);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: rgba(255, 248, 236, 0.55);
  display: grid;
  gap: 0.4rem;
}

/* --------------------- mobile sticky call bar ------------------ */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--coal-900);
  border-top: 1px solid var(--line);
}

.callbar .btn {
  min-height: 46px;
  font-size: 0.9rem;
}

/* ------------------------------ 640px -------------------------- */

@media (min-width: 640px) {
  .hero__media {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__media img:first-child {
    grid-column: span 3;
    aspect-ratio: 21 / 9;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

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

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .package__cols {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ------------------------------ 1024px ------------------------- */

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
    --bottombar-h: 0px;
    /* The chip row is replaced by the sidebar, so the toolbar is just search. */
    --toolbar-h: 73px;
  }

  body {
    padding-bottom: 0;
  }

  .callbar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    flex: 0 1 auto;
    padding-bottom: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav a {
    min-height: 44px;
    padding-inline: 0.9rem;
  }

  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding-inline: 1.2rem;
  }

  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }

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

  .hero__media img:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  /* sticky category sidebar replaces the chip row */
  .menu-toolbar .cat-chips {
    display: none;
  }

  .menu-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .menu-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 84px);
  }

  .menu-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1px;
  }

  .menu-sidebar a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
  }

  .menu-sidebar a:hover {
    color: var(--coal-800);
  }

  .menu-sidebar a.is-active {
    color: var(--coal-800);
    border-left-color: var(--gold);
    background: rgba(207, 160, 82, 0.1);
  }

  .menu-group:first-child {
    padding-top: 0.5rem;
  }

  .menu-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Cards with two price chips or an item list need more room than a third
     of the grid gives. */
  .menu-list--dual {
    grid-template-columns: repeat(2, 1fr);
  }

  /* roomier cards with a larger photo once there is space */
  .menu-item {
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 0.75rem;
  }

  .menu-item__thumb {
    width: 96px;
    height: 96px;
  }

  .menu-item__name {
    font-size: 1.08rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .menu-sidebar {
    position: sticky;
  }
}

/* ------------------------- reduced motion ---------------------- */

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

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

@media print {
  .site-header,
  .callbar,
  .menu-toolbar,
  .menu-sidebar,
  .site-footer {
    display: none !important;
  }

  .menu-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
