:root {
  --ink: #211714;
  --muted: #6f625d;
  --paper: #fbf7ef;
  --cream: #f4eadb;
  --ember: #b84a2a;
  --gold: #c99b45;
  --leaf: #315747;
  --charcoal: #181311;
  --line: rgba(33, 23, 20, 0.14);
  --shadow: 0 22px 70px rgba(24, 19, 17, 0.16);
  --soft-shadow: 0 16px 42px rgba(24, 19, 17, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.admin-header {
  position: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.admin-header {
  position: sticky;
  color: var(--ink);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links,
.button-row,
.menu-toolbar,
.panel-heading,
.search-box,
.checkbox-line {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 5px 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.header-actions,
.button-row {
  gap: 10px;
}

.header-actions {
  margin-left: auto;
}

.solid-button,
.ghost-button,
.filter-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.solid-button {
  color: #fff;
  background: linear-gradient(135deg, #c95733, #a93b20);
  box-shadow: 0 12px 28px rgba(184, 74, 42, 0.28);
}

.ghost-button,
.filter-button {
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border-color: currentColor;
}

.admin-header .ghost-button,
.admin-header .filter-button,
.admin-body .ghost-button {
  background: #fff;
}

.solid-button:hover,
.ghost-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.large {
  min-height: 52px;
  padding-inline: 24px;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg,
.search-box svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 44%),
    var(--bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 7000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 96vh;
  max-width: 700px;
  flex-direction: column;
  justify-content: center;
  padding: 132px clamp(22px, 7vw, 92px) 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.admin-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-status {
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 6vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid rgba(33, 23, 20, 0.08);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1;
}

.intro-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.text-link {
  color: var(--ember);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.signature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.signature-strip article {
  display: grid;
  min-height: 210px;
  place-items: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--charcoal);
}

.signature-strip img {
  width: min(118px, 36vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.signature-strip span {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-section {
  background:
    linear-gradient(180deg, #fff, #fbf7ef);
}

.section-heading {
  max-width: 820px;
}

.menu-toolbar {
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
}

.filter-button {
  border-color: var(--line);
  background: #fff;
}

.filter-button.active {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

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

.menu-card,
.editor-panel,
.table-panel,
.request-panel,
.hours-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.menu-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 20px;
  border-left: 3px solid rgba(201, 155, 69, 0.65);
}

.menu-card h3,
.hours-panel h3,
.panel-heading h2 {
  margin: 0;
  font-size: 1.1rem;
}

.menu-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

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

.badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: #27493b;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
    var(--cream);
}

.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  background: var(--paper);
}

.image-panel img,
.hours-panel {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.image-panel img {
  object-position: left center;
}

.form-panel,
.hours-panel {
  padding: clamp(24px, 4vw, 44px);
}

.form-panel {
  border-top: 3px solid var(--gold);
}

.stacked-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

.form-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(184, 74, 42, 0.14);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--leaf);
  font-weight: 900;
}

.hours-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(140deg, rgba(49, 87, 71, 0.36), rgba(184, 74, 42, 0.08)),
    var(--charcoal);
  color: #fff;
}

.hours-panel dl {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}

.hours-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 12px;
}

.hours-panel dt {
  font-weight: 900;
}

.hours-panel dd {
  margin: 0;
  color: #f1d9a9;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 48px clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(49, 87, 71, 0.28), rgba(184, 74, 42, 0.08)),
    var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer address {
  color: #e7d9ce;
  font-style: normal;
  line-height: 1.8;
}

.footer p {
  color: #e7d9ce;
}

.footer-brand {
  margin-bottom: 12px;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: #f1d9a9;
  font-weight: 900;
}

.social-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  stroke: currentColor;
  fill: currentColor;
}

.social-icon[aria-label="Instagram"] svg {
  fill: none;
  stroke-width: 2;
}

.admin-body {
  background: #f6f1e8;
}

.admin-body.locked {
  min-height: 100vh;
  overflow: hidden;
}

.admin-gate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.35)),
    url("assets/thefox-hero.png") center / cover;
}

.gate-panel {
  display: grid;
  width: min(100%, 440px);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  background: rgba(24, 19, 17, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.gate-brand {
  margin-bottom: 12px;
}

.gate-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 4.3rem);
  line-height: 0.95;
}

.gate-panel label {
  color: #f4eadb;
}

.gate-error {
  color: #f1d9a9;
}

.admin-shell {
  padding: 34px clamp(16px, 4vw, 54px) 64px;
}

.admin-title {
  max-width: 940px;
  margin-bottom: 28px;
}

.admin-title h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
}

.admin-layout,
.requests-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.requests-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.editor-panel,
.table-panel,
.request-panel {
  padding: 20px;
}

.editor-panel {
  display: grid;
  gap: 15px;
  position: sticky;
  top: 94px;
}

.panel-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.search-box {
  min-width: min(100%, 260px);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
}

.search-box input {
  min-height: 40px;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.mini-button.danger {
  color: #a8321c;
}

.checkbox-line {
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.checkbox-line input {
  min-height: 18px;
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffaf2;
}

.request-item strong {
  display: block;
  margin-bottom: 6px;
}

.request-item span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 12px;
    background: rgba(24, 19, 17, 0.86);
    backdrop-filter: blur(18px);
  }

  .site-header > * {
    min-width: 0;
  }

  .header-actions {
    display: none;
  }

  .nav-links {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .intro,
  .split,
  .reverse,
  .admin-layout,
  .requests-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .editor-panel {
    position: static;
  }

  .hero,
  .hero-content {
    min-height: 860px;
  }

  .hero-slide {
    background-position: 42% center;
  }

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

@media (max-width: 640px) {
  .site-header,
  .admin-header {
    min-height: 70px;
    padding: 12px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
  }

  .brand {
    font-size: 1.05rem;
    max-width: calc(100% - 92px);
  }

  .brand-mark {
    width: 50px;
    height: 36px;
  }

  .solid-button,
  .ghost-button,
  .filter-button {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 296px);
    max-width: 296px;
    gap: 7px;
    overflow-x: visible;
    font-size: 0.61rem;
    margin-top: 4px;
    padding-right: 0;
  }

  .nav-links a {
    min-width: 0;
    padding: 8px 6px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-links a[href="#contact"] {
    display: none;
  }

  .nav-links a[href="#events"] {
    display: none;
  }

  .nav-links a[href="#reservations"] {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    justify-content: flex-end;
    padding: 138px 18px 56px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 18vw, 5rem);
    line-height: 0.92;
  }

  .hero p:not(.eyebrow) {
    margin: 18px 0 22px;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 22rem;
  }

  .button-row,
  .form-row,
  .form-row.three {
    grid-template-columns: 1fr;
  }

  .button-row {
    display: grid;
    align-items: stretch;
  }

  .band {
    padding: 52px 16px;
  }

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

  .menu-card {
    grid-template-columns: 1fr;
  }

  .price {
    justify-self: start;
  }

  .signature-strip article {
    min-height: 168px;
    padding: 22px 12px;
  }

  .signature-strip img {
    width: 92px;
  }

  .signature-strip span {
    max-width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .signature-strip {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .signature-strip::-webkit-scrollbar {
    display: none;
  }

  .signature-strip article {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .image-panel img,
  .hours-panel {
    min-height: 300px;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .signature-strip article {
    min-height: 150px;
  }
}
