:root {
  color-scheme: dark;
  --bg: #080705;
  --surface: #11100d;
  --surface-2: #17140f;
  --text: #fff8ea;
  --muted: #bdb2a0;
  --soft: #817665;
  --gold: #e8c56f;
  --gold-2: #ffe7a3;
  --line: rgba(232, 197, 111, 0.22);
  --danger: #dc806b;
  --ok: #96c18b;
  --blue: #8eb6cf;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(232, 197, 111, 0.13), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(142, 182, 207, 0.12), transparent 30%),
    linear-gradient(135deg, #080705 0%, #11100d 52%, #070604 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.light {
  color-scheme: light;
  --bg: #fbf7ee;
  --surface: #fffaf0;
  --surface-2: #f3ead9;
  --text: #16120b;
  --muted: #655d50;
  --soft: #8d806d;
  --line: rgba(117, 86, 31, 0.18);
  background: linear-gradient(135deg, #fbf7ee, #f2eadc 56%, #fffaf0);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 5, 0.88);
  backdrop-filter: blur(18px);
}

.light .site-header {
  background: rgba(251, 247, 238, 0.9);
}

.nav {
  display: flex;
  width: min(1200px, calc(100% - 32px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(232, 197, 111, 0.62);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-links a {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: rgba(232, 197, 111, 0.1);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 197, 111, 0.7);
  border-radius: 999px;
  padding: 0 17px;
  background: rgba(232, 197, 111, 0.14);
  color: var(--gold-2);
  font-weight: 850;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: 54px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: center;
}

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

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

h1,
.display {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 197, 111, 0.68);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(232, 197, 111, 0.12);
  color: var(--gold-2);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.btn.primary,
button.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #17120a;
}

.btn.dark {
  border-color: rgba(255, 248, 234, 0.16);
  background: rgba(255, 248, 234, 0.07);
  color: var(--text);
}

.hero-card,
.panel,
.card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 13, 0.86);
  box-shadow: var(--shadow);
}

.light .hero-card,
.light .panel,
.light .card,
.light .admin-card {
  background: rgba(255, 250, 240, 0.88);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.hero-card-body {
  padding: 22px;
}

.chef-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.avatar {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

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

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 248, 234, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.section-head p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  color: var(--gold-2);
  font-weight: 900;
}

.page-hero {
  padding: 78px 0 34px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.48fr);
  gap: 22px;
  align-items: start;
}

.profile-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.quote-box,
.form-box,
.admin-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 13, 0.78);
  padding: 22px;
}

.light .quote-box,
.light .form-box,
.light .admin-shell {
  background: rgba(255, 250, 240, 0.88);
}

.quote-box {
  position: sticky;
  top: 96px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 248, 234, 0.05);
  color: var(--text);
  font: inherit;
}

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

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

.full {
  grid-column: 1 / -1;
}

.notice {
  border: 1px solid rgba(150, 193, 139, 0.42);
  border-radius: 8px;
  padding: 14px;
  background: rgba(150, 193, 139, 0.12);
  color: #dff5d8;
  line-height: 1.55;
}

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

.side {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 13, 0.78);
  padding: 14px;
}

.side a {
  display: block;
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font-weight: 800;
}

.side a[aria-current="page"],
.side a:hover {
  background: rgba(232, 197, 111, 0.11);
  color: var(--text);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-card {
  padding: 18px;
}

.admin-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.row:last-child {
  border-bottom: 0;
}

.row.header {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(150, 193, 139, 0.14);
  color: #dff5d8;
  font-size: 0.78rem;
  font-weight: 850;
}

.status.warn {
  background: rgba(232, 197, 111, 0.14);
  color: var(--gold-2);
}

.status.danger {
  background: rgba(220, 128, 107, 0.14);
  color: #ffd7ce;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 960px) {
  .nav {
    align-items: start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
  }

  .hero-grid,
  .profile-layout,
  .admin-layout,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }

  .quote-box,
  .side {
    position: static;
  }
}

@media (max-width: 620px) {
  .wrap,
  .nav {
    width: min(100% - 24px, 1200px);
  }

  .hero {
    min-height: auto;
    padding: 42px 0;
  }

  h1,
  .display {
    font-size: clamp(2.55rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .hero-card img,
  .profile-photo img {
    height: 330px;
  }

  .card img {
    height: 220px;
  }

  .form-grid,
  .stat-row,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .row.header {
    display: none;
  }

  .footer .wrap {
    display: block;
  }
}
