:root {
  color-scheme: light;
  --paper: #ead8bf;
  --ink: #211813;
  --muted: #6b5b4f;
  --line: #cfb89e;
  --sand: #dcc3a5;
  --terracotta: #b5332d;
  --terracotta-dark: #731f1c;
  --sage: #1f6a46;
  --blue: #174b38;
  --gold: #c68b43;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 28px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand-mark,
.main-nav,
.hero-actions,
.category-tabs,
.contact-grid,
.site-footer {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.main-nav {
  justify-content: center;
  gap: 18px;
  font-size: 0.94rem;
}

.main-nav a,
.header-action {
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.header-action {
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.5)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 164px 0 146px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-weight: 850;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c27b;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 5.6rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 10px;
  font-size: 2.4rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--terracotta);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.hero-rail {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: min(980px, calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(12, 12, 12, 0.42);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-rail div {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-rail div:last-child {
  border-right: 0;
}

.hero-rail strong,
.hero-rail span {
  display: block;
}

.hero-rail span {
  color: rgba(255, 255, 255, 0.72);
}

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

.intro-band {
  background: linear-gradient(135deg, var(--sage), #113a2b);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: center;
  padding: 50px 0;
}

.large-statement {
  margin-bottom: 0;
  font-size: 1.7rem;
  line-height: 1.22;
  font-weight: 800;
}

.split p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.menu-section,
.gallery-section,
.location-section,
.contact-section {
  padding: 86px 0;
}

.gallery-section {
  background: #e4d0b4;
}

.location-section {
  background: #d8bd9d;
}

.contact-section {
  background: #143427;
  color: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading > p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
}

.contact-section .section-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.menu-tools {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff8ec;
  font: inherit;
}

.category-tabs {
  gap: 8px;
  flex-wrap: wrap;
}

.category-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--ink);
  background: #fff8ec;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.category-tabs button.is-active {
  color: var(--white);
  border-color: var(--sage);
  background: var(--sage);
}

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

.menu-card,
.media-card,
.contact-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff8ec;
}

.menu-card {
  display: grid;
  gap: 12px;
  min-height: 142px;
  padding: 18px;
}

.menu-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-card strong {
  align-self: end;
  color: var(--terracotta-dark);
  font-size: 1.05rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

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

.media-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background:
    radial-gradient(circle at 30% 25%, rgba(214, 155, 55, 0.34), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--ink) 54%, var(--sage));
}

.media-card div {
  padding: 16px;
}

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

.feature-card {
  border-color: rgba(63, 111, 90, 0.45);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.location-layout p {
  max-width: 530px;
  color: #524b44;
}

.map-panel {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(38, 58, 89, 0.22);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(31, 106, 70, 0.96), rgba(115, 31, 28, 0.9)),
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(255, 255, 255, 0.12) 26px 28px);
  color: var(--white);
  box-shadow: var(--shadow);
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
}

.map-panel::before {
  width: 74%;
  height: 2px;
  transform: rotate(-18deg);
}

.map-panel::after {
  width: 2px;
  height: 82%;
  transform: rotate(28deg);
}

.map-pin {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 16px solid var(--terracotta);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--white);
}

.map-panel strong,
.map-panel span:last-child {
  position: relative;
  z-index: 1;
}

.map-panel strong {
  font-size: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 18px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  align-self: end;
  font-size: 1.08rem;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  color: var(--white);
  background: var(--terracotta-dark);
}

.site-footer span:first-child {
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .menu-tools,
  .split,
  .location-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    font-size: 0.92rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .header-action {
    padding: 8px 10px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    width: min(100% - 28px, 760px);
    padding: 112px 0 320px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-copy,
  .large-statement {
    font-size: 1.12rem;
  }

  .button {
    width: 100%;
  }

  .hero-rail {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .hero-rail div {
    padding: 11px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .menu-section,
  .gallery-section,
  .location-section,
  .contact-section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 8px;
  }

  .menu-grid,
  .media-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 300px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
  }

  .site-footer span + span {
    margin-top: 8px;
  }
}

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