﻿:root {
  --brand-primary: #7c3f26;
  --brand-secondary: #d0a56c;
  --brand-accent: #29433c;
  --brand-surface: #f7efe5;
  --brand-dark: #17120f;
  --brand-radius: 30px;
  --shell: min(1200px, calc(100vw - 32px));
  --shadow-soft: 0 30px 90px rgba(23, 18, 15, 0.12);
  --shadow-card: 0 18px 50px rgba(23, 18, 15, 0.08);
  --line-soft: rgba(255, 255, 255, 0.54);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--brand-dark);
  background:
    radial-gradient(circle at top left, rgba(208, 165, 108, 0.24), transparent 24%),
    radial-gradient(circle at 90% 16%, rgba(41, 67, 60, 0.18), transparent 16%),
    linear-gradient(180deg, #fbf6ef 0%, #f2e6d7 52%, #f7f0e6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 70px,
      rgba(124, 63, 38, 0.03) 70px,
      rgba(124, 63, 38, 0.03) 71px
    );
  z-index: 0;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.42;
  z-index: 0;
}

.ambient-one {
  top: -140px;
  left: -110px;
  background: rgba(208, 165, 108, 0.56);
}

.ambient-two {
  top: 260px;
  right: -140px;
  background: rgba(41, 67, 60, 0.18);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.announcement {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 24px;
  text-align: center;
  color: #fff9f3;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  backdrop-filter: blur(16px);
}

.site-nav {
  position: sticky;
  top: 50px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.035em;
}

.brand small {
  display: block;
  color: rgba(23, 18, 15, 0.68);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 26% 26%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(145deg, var(--brand-secondary), var(--brand-primary));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 14px 28px rgba(124, 63, 38, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 10px;
}

.nav-links a {
  color: rgba(23, 18, 15, 0.72);
}

.nav-links a:hover {
  color: var(--brand-primary);
}

.button,
.cart-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--brand-primary), #572716);
  box-shadow: 0 18px 36px rgba(124, 63, 38, 0.24);
}

.button-primary:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.light-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ghost-button {
  padding: 12px 18px;
  background: rgba(23, 18, 15, 0.08);
  color: var(--brand-dark);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #fffaf2;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-accent));
  box-shadow: var(--shadow-card);
}

.cart-button span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.full-width {
  width: 100%;
}

.surface-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--brand-radius) + 4px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.surface-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 40%);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 22px;
  padding: 26px 0 34px;
}

.hero-copy,
.hero-floating,
.hero-visual,
.statement-card,
.reservation-copy,
.reservation-form,
.cart-summary {
  padding: 32px;
}

.hero-copy {
  min-height: 640px;
  display: grid;
  align-content: start;
  background:
    radial-gradient(circle at top left, rgba(208, 165, 108, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.9), rgba(247, 239, 229, 0.78));
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(41, 67, 60, 0.18), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, rgba(208, 165, 108, 0.26), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.eyebrow,
.section-label,
.panel-title {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: rgba(23, 18, 15, 0.56);
}

.hero-badge,
.spotlight-badge {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(41, 67, 60, 0.1);
  color: var(--brand-accent);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.92;
}

.hero-subtitle,
.section-copy,
.muted,
.highlight-item p,
.gallery-copy p,
.testimonial-card span,
.spotlight-copy p,
.spotlight-mini p,
.spotlight-note p,
.empty-panel p {
  color: rgba(23, 18, 15, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 28px;
}

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

.metric-card,
.stack-stat,
.empty-panel {
  padding: 16px 18px;
  border-radius: calc(var(--brand-radius) - 8px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.menu-grid > .empty-panel,
.promo-grid > .empty-panel,
.gallery-grid > .empty-panel,
.testimonial-grid > .empty-panel,
.faq-list > .empty-panel {
  grid-column: 1 / -1;
}

.metric-card strong,
.stack-stat strong,
.empty-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.34rem;
}

.hero-panel {
  display: grid;
  gap: 22px;
}

.hero-floating {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.86), rgba(255, 250, 245, 0.72));
}

.highlight-list {
  display: grid;
  gap: 14px;
}

.highlight-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: calc(var(--brand-radius) - 8px);
  background: rgba(255, 255, 255, 0.68);
}

.highlight-item span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(124, 63, 38, 0.08);
  color: var(--brand-primary);
}

.hero-visual {
  background:
    radial-gradient(circle at 20% 10%, rgba(208, 165, 108, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(242, 230, 215, 0.88));
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(23, 18, 15, 0.54);
}

.visual-stack {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.floating-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: calc(var(--brand-radius) - 2px);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.floating-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 45%);
}

.floating-card span,
.floating-card small {
  position: relative;
  opacity: 0.82;
}

.floating-card strong {
  position: relative;
  display: block;
  margin: 8px 0;
  font-size: 2rem;
}

.dark-card {
  background: linear-gradient(135deg, #231813, #5a2d1d);
}

.accent-card {
  background: linear-gradient(135deg, var(--brand-accent), #3b6056);
}

.sand-card {
  color: var(--brand-dark);
  background: linear-gradient(135deg, #ecd7bf, #fff5e7);
}

.section {
  position: relative;
  z-index: 1;
  padding: 22px 0 72px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 22px;
}

.statement-card h2,
.section-head h2,
.reservation-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.about-side {
  display: grid;
  gap: 18px;
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.signature-box {
  padding: 24px 26px;
  border-radius: calc(var(--brand-radius) - 6px);
  background: linear-gradient(135deg, var(--brand-accent), #35534c);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.signature-box span {
  display: block;
  margin-top: 4px;
  opacity: 0.76;
}

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

.spotlight-shell {
  padding-top: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.spotlight-stage,
.spotlight-mini,
.spotlight-note {
  border-radius: calc(var(--brand-radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-card);
}

.spotlight-stage {
  overflow: hidden;
  background: rgba(255, 251, 246, 0.76);
}

.spotlight-visual {
  min-height: 250px;
  padding: 26px;
  display: grid;
  align-content: space-between;
  color: #fff;
}

.spotlight-visual p {
  margin: 0;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.82);
}

.spotlight-copy {
  padding: 28px;
}

.spotlight-copy-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.spotlight-copy h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.spotlight-copy-head strong {
  font-size: 1.4rem;
  white-space: nowrap;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.spotlight-stack {
  display: grid;
  gap: 16px;
}

.spotlight-mini {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.spotlight-mini-visual {
  min-height: 108px;
  border-radius: calc(var(--brand-radius) - 12px);
}

.spotlight-mini strong,
.spotlight-note strong {
  display: block;
  margin-bottom: 6px;
}

.spotlight-mini small {
  color: var(--brand-primary);
}

.spotlight-note {
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.spotlight-note span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(41, 67, 60, 0.1);
  color: var(--brand-accent);
}

.accent-note {
  background: linear-gradient(145deg, rgba(41, 67, 60, 0.96), rgba(61, 95, 86, 0.96));
  color: #fff;
}

.accent-note p,
.accent-note span {
  color: rgba(255, 255, 255, 0.78);
}

.accent-note span {
  background: rgba(255, 255, 255, 0.12);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.pill {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(23, 18, 15, 0.7);
  box-shadow: var(--shadow-card);
}

.pill.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), #5a2d1d);
}

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

.product-card,
.gallery-card,
.testimonial-card {
  overflow: hidden;
  border-radius: calc(var(--brand-radius) + 2px);
  background: rgba(255, 252, 248, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover,
.gallery-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(23, 18, 15, 0.12);
}

.product-card-muted {
  opacity: 0.72;
}

.product-visual,
.gallery-visual {
  min-height: 186px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.product-copy,
.gallery-copy,
.testimonial-card {
  padding: 22px;
}

.product-header,
.product-footer,
.summary-row,
.cart-head,
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-header p,
.price-block small {
  margin: 0;
  color: rgba(23, 18, 15, 0.56);
}

.chip-featured,
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(41, 67, 60, 0.1);
  color: var(--brand-accent);
}

.subtle-chip {
  opacity: 0.72;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.price-block {
  display: grid;
  gap: 4px;
}

.price-block strong {
  font-size: 1.3rem;
}

.price-block small {
  text-decoration: line-through;
}

.stock-note,
.drawer-note {
  color: rgba(23, 18, 15, 0.62);
}

.stock-note {
  font-size: 0.9rem;
}

.drawer-note {
  margin: 0;
  line-height: 1.5;
}

.promo-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 250px;
  padding: 26px;
  border-radius: calc(var(--brand-radius) + 4px);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 45%);
}

.promo-card > * {
  position: relative;
}

.promo-card p,
.promo-meta {
  margin: 0;
  opacity: 0.88;
}

.promo-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.gallery-card {
  display: grid;
}

.gallery-copy h3,
.testimonial-card strong {
  margin: 0 0 8px;
}

.testimonial-card {
  display: grid;
  gap: 12px;
}

.rating-row {
  display: flex;
  gap: 4px;
  color: var(--brand-secondary);
}

.reservation-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.reservation-copy {
  background:
    radial-gradient(circle at top left, rgba(208, 165, 108, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.88), rgba(247, 239, 229, 0.78));
}

.info-pairs {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.info-pairs div,
.cart-item,
.summary-line,
.faq-item,
.empty-state {
  padding: 16px 18px;
  border-radius: calc(var(--brand-radius) - 10px);
  background: rgba(255, 255, 255, 0.72);
}

.info-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.reservation-form,
.checkout-sheet {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: calc(var(--brand-radius) - 12px);
  border: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(124, 63, 38, 0.12);
  border-color: rgba(124, 63, 38, 0.28);
}

textarea {
  resize: vertical;
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item[open] {
  box-shadow: var(--shadow-card);
}

.faq-item p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 26px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 22px;
  padding: 30px;
  border-radius: calc(var(--brand-radius) + 8px);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(208, 165, 108, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(23, 18, 15, 0.97), rgba(58, 39, 31, 0.94));
  box-shadow: var(--shadow-soft);
}

.footer-brand small,
.footer-grid .muted {
  color: rgba(255, 255, 255, 0.68);
}

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

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(247, 239, 229, 0.98));
  box-shadow: -20px 0 60px rgba(23, 18, 15, 0.16);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 220ms ease;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  border: 0;
  background: rgba(23, 18, 15, 0.26);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-items {
  overflow: auto;
  display: grid;
  gap: 12px;
}

.empty-state,
.empty-panel {
  color: rgba(23, 18, 15, 0.64);
}

.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(41, 67, 60, 0.1);
}

.checkout-modal {
  width: min(720px, calc(100vw - 24px));
  border: 0;
  border-radius: calc(var(--brand-radius) + 8px);
  padding: 0;
  background: transparent;
}

.checkout-modal::backdrop {
  background: rgba(14, 10, 8, 0.54);
  backdrop-filter: blur(6px);
}

.checkout-sheet {
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(208, 165, 108, 0.2), transparent 28%),
    linear-gradient(180deg, #fffbf7, #f6ece1);
  border-radius: calc(var(--brand-radius) + 8px);
  box-shadow: var(--shadow-soft);
}

.summary-line {
  background: rgba(255, 255, 255, 0.82);
}

.summary-line.total {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), #60301b);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120%);
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 18, 15, 0.94);
  box-shadow: var(--shadow-card);
  z-index: 120;
  transition: transform 180ms ease;
}

.toast[data-tone="error"] {
  background: #8e2f38;
}

.toast.visible {
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .spotlight-grid,
  .reservation-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid,
  .promo-grid,
  .gallery-grid,
  .testimonial-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    top: 48px;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-links {
    width: 100%;
    overflow: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero-copy,
  .hero-floating,
  .hero-visual,
  .statement-card,
  .reservation-copy,
  .reservation-form,
  .checkout-sheet,
  .cart-summary {
    padding: 24px;
  }

  .menu-grid,
  .promo-grid,
  .gallery-grid,
  .testimonial-grid,
  .metric-grid,
  .dual-field,
  .spotlight-mini {
    grid-template-columns: 1fr;
  }

  .section-head,
  .spotlight-copy-head,
  .product-footer,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

/* PREMIUM MOTION SYSTEM */
:root {
  --pointer-x: 50vw;
  --pointer-y: 18vh;
  --reveal-distance: 26px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --surface-glow: rgba(255, 255, 255, 0.2);
}

body {
  overflow-x: hidden;
  font-family: "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
}

body::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 18% 18%, rgba(208, 165, 108, 0.2), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(41, 67, 60, 0.14), transparent 22%),
    radial-gradient(circle at 50% 88%, rgba(124, 63, 38, 0.12), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: 0;
  animation: pageGlowDrift 18s ease-in-out infinite alternate;
}

main {
  overflow: clip;
}

.ambient {
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

.ambient-one {
  animation-duration: 20s;
}

.ambient-two {
  animation-name: ambientFloatAlt;
  animation-duration: 24s;
}

.announcement {
  box-shadow: 0 12px 28px rgba(23, 18, 15, 0.14);
}

.site-nav {
  transition:
    transform 260ms var(--motion-ease),
    box-shadow 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.site-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(23, 18, 15, 0.12);
}

.nav-links a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.button-primary,
.cart-button {
  position: relative;
  overflow: hidden;
}

.button-primary::after,
.cart-button::after {
  content: "";
  position: absolute;
  inset: -2px auto -2px -34%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0;
  transition: transform 360ms ease, opacity 360ms ease;
}

.button-primary:hover::after,
.cart-button:hover::after {
  opacity: 1;
  transform: translateX(220%) skewX(-18deg);
}

.surface-card,
.product-card,
.promo-card,
.gallery-card,
.testimonial-card,
.faq-item,
.spotlight-mini,
.spotlight-note,
.stack-stat,
.highlight-item,
.summary-line,
.cart-item,
.footer-grid {
  transition:
    transform 320ms var(--motion-ease),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background 320ms ease;
  will-change: transform, opacity;
}

.surface-card:hover,
.product-card:hover,
.promo-card:hover,
.gallery-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.spotlight-mini:hover,
.spotlight-note:hover,
.stack-stat:hover,
.highlight-item:hover,
.summary-line:hover,
.cart-item:hover {
  box-shadow: 0 28px 72px rgba(23, 18, 15, 0.16);
}

.hero-copy {
  animation: heroBreath 10s ease-in-out infinite alternate;
}

.hero-copy::before {
  animation: floatBadge 7s ease-in-out infinite;
}

.hero-badge,
.spotlight-badge {
  box-shadow: inset 0 0 0 1px rgba(41, 67, 60, 0.08);
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(var(--lift-x, 0px), calc(var(--reveal-distance) + var(--lift-y, 0px)), 0)
    scale(0.985) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition:
    opacity 720ms var(--motion-ease),
    transform 720ms var(--motion-ease),
    box-shadow 320ms ease,
    border-color 320ms ease;
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
}

.motion-reveal.motion-in {
  opacity: 1;
  transform: translate3d(var(--lift-x, 0px), var(--lift-y, 0px), 0)
    scale(1) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.motion-depth {
  transform-style: preserve-3d;
  transform-origin: center;
}

.motion-depth.motion-in:hover,
.motion-depth.is-tilting {
  box-shadow: 0 30px 82px rgba(23, 18, 15, 0.18);
}

.cart-item,
.summary-line {
  border-radius: calc(var(--brand-radius) - 14px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 239, 229, 0.84));
}

.cart-drawer {
  transition: transform 320ms var(--motion-ease);
}

.cart-backdrop {
  transition: opacity 240ms ease;
}

.checkout-modal[open] .checkout-sheet {
  animation: modalLift 420ms var(--motion-ease);
}

.toast.visible {
  animation: toastLift 260ms ease;
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(26px, 34px, 0) scale(1.1);
  }
}

@keyframes ambientFloatAlt {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-34px, -18px, 0) scale(1.08);
  }
}

@keyframes pageGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes heroBreath {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(3deg);
  }
}

@keyframes modalLift {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastLift {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

/* MOBILE FLEX PATCH */
html {
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 900px) {
  .site-nav {
    align-items: stretch;
  }

  .brand,
  .brand span {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow-wrap: anywhere;
  }

  .cart-button {
    flex-shrink: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 24px, 1200px);
    --brand-radius: 24px;
  }

  .announcement {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .site-nav {
    padding: 14px;
    gap: 12px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 0 0 1px rgba(23, 18, 15, 0.06);
  }

  .nav-links a::after {
    bottom: 6px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .cart-button {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
  }

  .hero,
  .split-section,
  .spotlight-grid,
  .reservation-shell,
  .footer-grid {
    gap: 18px;
  }

  .hero-copy,
  .hero-floating,
  .hero-visual,
  .statement-card,
  .reservation-copy,
  .reservation-form,
  .checkout-sheet,
  .cart-summary,
  .spotlight-stage,
  .spotlight-mini,
  .spotlight-note,
  .footer-grid {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    max-width: none;
  }

  .hero-subtitle,
  .spotlight-copy p,
  .spotlight-mini p,
  .spotlight-note p {
    font-size: 1rem;
  }

  .hero-actions .button,
  .spotlight-actions .button,
  .reservation-form .button,
  .checkout-sheet .button {
    width: 100%;
    min-height: 52px;
  }

  .spotlight-visual,
  .hero-visual {
    min-height: 220px;
  }

  .cart-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: min(84dvh, 820px);
    padding: 18px;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -20px 60px rgba(23, 18, 15, 0.18);
  }

  .cart-drawer.open {
    transform: translateY(0);
  }

  .cart-items {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: min(100vw - 18px, 1200px);
    --brand-radius: 22px;
  }

  .announcement {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .site-nav {
    top: 44px;
    margin-top: 12px;
    border-radius: 24px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-floating,
  .hero-visual,
  .statement-card,
  .reservation-copy,
  .reservation-form,
  .checkout-sheet,
  .cart-summary,
  .spotlight-stage,
  .spotlight-mini,
  .spotlight-note,
  .footer-grid {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 11vw, 2.5rem);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .button,
  .cart-button,
  .ghost-button,
  .qty-button {
    min-height: 46px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .checkout-modal {
    width: min(100vw - 10px, 720px);
  }
}
