:root {
  --bg: #080808;
  --panel: #14120f;
  --panel-2: #1d1710;
  --text: #fbf7ed;
  --muted: #d2c3a8;
  --line: #3d2d18;
  --accent: #d6ad5b;
  --accent-2: #8f1f1b;
  --accent-dark: #9b6a2e;
  --good: #22c55e;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.info-box a,
.card a,
.site-footer a {
  overflow-wrap: anywhere;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(8, 8, 8, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 68vw;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  font-size: 1.05rem;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img,
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
}

.brand img {
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(214, 173, 91, .58);
  box-shadow: 0 0 0 2px rgba(214, 173, 91, .1);
}

.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #b77c32);
  color: #080604;
  letter-spacing: 0;
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #111;
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.site-nav {
  display: none;
  position: absolute;
  top: 69px;
  left: 16px;
  right: 16px;
  padding: 10px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: grid;
}

.site-nav a {
  padding: 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.site-nav a.active,
.site-nav a:hover {
  background: #271b0d;
  color: var(--text);
}

.section {
  padding: clamp(42px, 8vw, 86px) clamp(16px, 4vw, 56px);
}

.section.narrow {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  max-width: 780px;
  margin: 0 0 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 2.35rem;
  max-width: 930px;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  color: #f1e7dd;
  font-size: 1.08rem;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  padding: clamp(18px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.hero .photo-placeholder {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}

.hero::after,
.hero .photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, .22), rgba(8, 8, 8, .9));
}

.hero .photo-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 36px 0 8vh;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  max-width: 100%;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #090704;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

.button.secondary {
  background: #f8f0df;
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button.danger {
  background: var(--accent-2);
  color: #fff;
}

.quick-grid,
.card-grid,
.gallery-grid,
.admin-grid {
  display: grid;
  gap: 14px;
}

.quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  max-width: 100%;
}

.quick-item,
.card,
.info-box,
.admin-card,
.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick-item {
  padding: 15px;
  color: #f8f4ee;
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card {
  padding: 20px;
}

.card p,
.info-box p {
  margin-bottom: 0;
}

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

.photo-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
  color: #f9e9d3;
  background: linear-gradient(135deg, #111 0%, #20170d 52%, #12100d 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.photo-placeholder span {
  max-width: 520px;
  color: #f4dfc4;
  font-weight: 800;
}

.site-photo {
  overflow: hidden;
  min-height: 280px;
  background: #151515;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hero .site-photo {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.hero .site-photo img {
  min-height: 100%;
  height: 100%;
}

.feature-photo {
  aspect-ratio: 4 / 3;
}

.feature-photo.tall {
  aspect-ratio: 3 / 4;
}

.split {
  display: grid;
  gap: 24px;
  align-items: center;
}

.info-box {
  padding: 20px;
}

.hours {
  white-space: pre-line;
}

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

.gallery-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div {
  padding: 14px;
}

.map-box {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111, #2b1e0f);
}

.file-preview {
  display: grid;
  gap: 12px;
}

.file-preview img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.menu-alert {
  display: grid;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid rgba(214, 173, 91, .55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(214, 173, 91, .16), rgba(20, 18, 15, .98));
}

.menu-alert strong {
  color: var(--text);
  font-size: 1.15rem;
}

.menu-alert span,
.menu-note {
  color: var(--muted);
}

.digital-menu-grid {
  display: grid;
  gap: 14px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.menu-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.menu-panel.featured {
  border-color: rgba(214, 173, 91, .62);
  background: linear-gradient(135deg, rgba(214, 173, 91, .12), var(--panel));
}

.menu-panel h2 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(61, 45, 24, .72);
}

.menu-row:first-of-type {
  border-top: 0;
}

.menu-row strong {
  display: block;
  color: var(--text);
}

.menu-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .9rem;
}

.menu-row b {
  color: var(--accent);
  white-space: nowrap;
}

.menu-note {
  max-width: 1120px;
  margin: 16px auto 0;
  font-size: .92rem;
}

.menu-actions {
  max-width: 1120px;
  margin: 22px auto 0;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 30px clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #0d0d0d;
}

.footer-main p {
  margin: 8px 0 0;
}

.footer-credit a {
  color: var(--text);
  font-weight: 850;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.small {
  font-size: .88rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Admin */
.admin-body {
  background: #0b0b0b;
}

.admin-shell {
  min-height: 100vh;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(16px, 4vw, 44px);
  background: #111;
  border-bottom: 1px solid var(--line);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav a {
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.admin-nav a.active {
  color: var(--text);
  border-color: var(--accent);
}

.admin-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

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

.admin-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  text-decoration: none;
}

.admin-card strong {
  font-size: 1.2rem;
}

.form-panel {
  padding: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #efe5d8;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--text);
  background: #101010;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.table-list {
  display: grid;
  gap: 10px;
}

.list-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.list-row img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 6px;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #192719;
  color: #bbf7d0;
  font-size: .82rem;
  font-weight: 850;
}

.status.off {
  background: #2b1515;
  color: #fecaca;
}

.flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #142417;
  color: #c7f9d2;
  border: 1px solid #24562c;
}

.flash.error {
  background: #2c1414;
  color: #fecaca;
  border-color: #7f1d1d;
}

.login-panel {
  width: min(460px, calc(100vw - 32px));
  margin: 8vh auto;
}

@media (min-width: 900px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .lead {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .brand {
    max-width: none;
  }

  .quick-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .menu-panel.wide {
    grid-column: span 2;
  }

  .split {
    grid-template-columns: 1.05fr .95fr;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-actions {
    justify-content: flex-end;
  }

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

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

  .list-row {
    grid-template-columns: 150px 1fr auto;
    align-items: center;
  }
}

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

  .menu-toggle {
    flex: 0 0 auto;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding: 42vh 20px 36px;
  }

  .hero-content {
    width: auto;
    max-width: 100%;
    padding: 0;
  }

  h1 {
    font-size: 2.1rem;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .actions .button,
  .footer-actions .button {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .quick-item {
    padding: 13px 14px;
    font-size: .94rem;
    line-height: 1.25;
  }
}
