/* Mobile-first styles: base targets ~360px, enhancements in min-width queries. */

:root {
  --espresso: #2b1a12;
  --espresso-soft: #3d271c;
  --cream: #fbf5ec;
  --cream-deep: #f3e7d6;
  --copper: #9a4f1c; /* 5.5:1 on cream */
  --copper-light: #e0a36b; /* 7.6:1 on espresso */
  --text: #2b1a12;
  --text-muted: #5c4a3e;
  --border: #e2d2bd;
  --radius: 0.75rem;
  --space: clamp(1rem, 4vw, 2rem);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-display-rich: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --amber: #f0c08a; /* CTA gradient end; espresso label is 7.7:1+ across copper-light → amber */
  --copper-glow: rgba(224, 163, 107, 0.12); /* kept low so copper-light eyebrow stays ≥4.5:1 */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--copper);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--espresso);
}

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

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

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--cream);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--espresso);
  color: var(--cream);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.6rem;
}

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

.site-header a:hover {
  color: var(--copper-light);
}

.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--copper-light);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-list a {
  display: inline-block;
  padding-block: 0.35rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 15%, var(--copper-glow) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 110%, rgba(224, 163, 107, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--espresso) 0%, var(--espresso-soft) 100%);
  color: var(--cream);
  padding-block: 3.5rem;
}

.hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display-rich);
  font-size: clamp(2.4rem, 10.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
  text-wrap: balance;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--copper-light);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero .eyebrow::before {
  content: '';
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.hero__tagline {
  font-family: var(--font-display-rich);
  font-style: italic;
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  line-height: 1.5;
  color: var(--cream-deep);
  max-width: 32rem;
}

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

.hero__art {
  width: min(60vw, 14rem);
  height: auto;
  justify-self: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 100%;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 2px solid var(--copper-light);
  border-radius: 999px;
  background: var(--copper-light);
  color: var(--espresso);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--espresso);
}

.button--primary {
  min-height: 52px;
  padding-inline: 2rem;
  border-color: transparent;
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--amber) 100%);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 192, 138, 0.25);
}

.button--primary:hover {
  background: var(--cream);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 245, 236, 0.4);
}

.hero .button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  border-radius: 999px;
}

.button--ghost {
  border-color: rgba(251, 245, 236, 0.45);
  background: transparent;
  color: var(--cream);
}

.button--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--espresso);
}

@media (prefers-reduced-motion: no-preference) {
  .button--primary:hover {
    transform: translateY(-1px);
  }
}

/* Sections */
.section {
  padding-block: 3rem;
}

.section--alt {
  background: var(--cream-deep);
}

.section__intro {
  color: var(--text-muted);
}

/* Menu */
.menu-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.menu-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.menu-card h3 {
  margin: 0 0 0.4rem;
}

.menu-card p {
  margin: 0;
  color: var(--text-muted);
}

.price {
  font-weight: 700;
  color: var(--copper);
  white-space: nowrap;
}

/* Hours */
.split {
  display: grid;
  gap: 3rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table tbody tr:last-child th,
.hours-table tbody tr:last-child td {
  border-bottom: 0;
}

.hours-table td {
  text-align: right;
  white-space: nowrap;
}

.hours-table th {
  font-weight: 600;
}

.hours-table tr.is-today {
  background: var(--espresso);
  color: var(--cream);
}

.today-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--copper-light);
  color: var(--espresso);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Contact */
.contact-card {
  font-style: normal;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

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

.contact-list li {
  display: grid;
  gap: 0.1rem;
}

.contact-list__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding-block: 1.5rem;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--copper-light);
}

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

/* Enhancements */
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-block: 5.5rem;
  }

  .hero__actions .button {
    flex: 0 0 auto;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .hero__art {
    width: 100%;
    max-width: 18rem;
  }

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

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .nav-list {
    font-size: 1rem;
    gap: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
