/* ===== Design Tokens ===== */
:root {
  --gold: #c8a962;
  --gold-deep: #a8872f;
  --gold-soft: #e4d3a8;
  --ink: #14110c;
  --ink-soft: #211c14;
  --cream: #f7f3ec;
  --cream-deep: #efe8db;
  --text: #3a352c;
  --text-muted: #7a7364;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
  --shadow: 0 18px 50px rgba(20, 17, 12, 0.12);
  --shadow-lg: 0 30px 70px rgba(20, 17, 12, 0.22);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

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

section {
  scroll-margin-top: 90px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 0 0 8px 0;
  font-family: var(--sans);
  font-weight: 500;
}
.skip-link:focus {
  left: 0;
}

/* Shared typography helpers */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow.center {
  text-align: center;
}
.eyebrow.gold {
  color: var(--gold);
}

.section-title {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 55px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.section-title.left {
  text-align: left;
  margin-bottom: 28px;
}
.section-title:not(.left)::after {
  content: '';
  display: block;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s;
}
.text-link:hover {
  border-color: var(--gold-deep);
  color: var(--ink);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(20, 17, 12, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(200, 169, 98, 0.18);
  padding: 16px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
}
.nav a {
  color: #eae4d8;
  margin-left: 34px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav a:hover {
  color: var(--gold);
}
.nav-cta {
  border: 1px solid var(--gold);
  border-radius: 40px;
  padding: 9px 22px;
  color: var(--gold) !important;
  transition: background-color 0.3s var(--ease), color 0.3s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 120px 20px 80px;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 169, 98, 0.14), transparent 45%),
    linear-gradient(160deg, #1c1710 0%, #14110c 55%, #0c0a07 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 75%, rgba(168, 135, 47, 0.18), transparent 40%);
  opacity: 0.9;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: rise 1s var(--ease) both;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 26px;
}
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 1px;
  margin-bottom: 26px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  color: #d8d0c2;
  max-width: 560px;
  margin: 0 auto 44px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 42px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 12px 30px rgba(168, 135, 47, 0.35);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(168, 135, 47, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 18px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.stat {
  text-align: center;
  padding: 34px 20px;
  background: var(--white);
  border: 1px solid rgba(200, 169, 98, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stat h3 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 4px;
  line-height: 1;
}
.stat p {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Menu ===== */
.menu {
  padding: 120px 0;
  background: var(--cream-deep);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.menu-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.menu-card.featured {
  transform: scale(1.03);
}
.menu-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}
.menu-card-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--gold);
  text-align: center;
  padding: 22px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.menu-card-body {
  padding: 28px 26px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #efe7d6;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item-info h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.menu-item-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.price {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-deep);
  white-space: nowrap;
  margin-left: 16px;
}

/* ===== Specials ===== */
.specials {
  padding: 120px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(200,169,98,0.12), transparent 40%),
    linear-gradient(160deg, #16120c 0%, #0c0a07 100%);
  color: var(--white);
}
.specials .section-title {
  color: var(--white);
}
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.special-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 98, 0.25);
  border-radius: var(--radius);
  padding: 46px 32px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.special-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: rgba(200, 169, 98, 0.08);
}
.special-icon {
  font-size: 3rem;
  margin-bottom: 22px;
}
.special-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--gold-soft);
}
.special-card p {
  font-size: 0.95rem;
  color: #c3bcac;
  margin-bottom: 22px;
}
.special-price {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 14px;
  border-top: 1px solid rgba(200, 169, 98, 0.3);
}

/* ===== Gallery ===== */
.gallery {
  padding: 120px 0;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-soft);
}
.gallery-large {
  grid-row: span 2;
}
.gallery-wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(12,10,7,0.8) 0%, rgba(12,10,7,0.15) 55%, transparent 100%);
  transition: opacity 0.4s;
}
.gallery-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(4px);
  transition: transform 0.4s var(--ease), color 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  color: var(--gold-soft);
}

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: var(--cream-deep);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  margin-bottom: 32px;
}
.contact-item h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ci-icon {
  font-size: 1rem;
}
.contact-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
  padding-left: 30px;
}
.reservation-form {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(200, 169, 98, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.reservation-form input,
.reservation-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2d9c6;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.reservation-form input:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 98, 0.18);
}
.reservation-form textarea {
  margin-bottom: 24px;
  resize: vertical;
}
.reservation-form .btn {
  width: 100%;
  padding: 17px;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: #a89f8d;
  padding: 70px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .logo {
  font-size: 2.2rem;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.98rem;
  color: #8a8272;
  max-width: 320px;
}
.footer-links h4,
.footer-social h4 {
  font-family: var(--serif);
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 600;
}
.footer-links a,
.footer-social a {
  display: block;
  color: #8a8272;
  margin-bottom: 11px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer-links a:hover,
.footer-social a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(200, 169, 98, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: #6f6857;
}

/* ===== Focus visibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== Animations ===== */
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .menu-grid,
  .specials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu-card.featured {
    transform: none;
  }
  .menu-card.featured:hover {
    transform: translateY(-8px);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .section-title.left {
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-large { grid-row: span 1; }
  .gallery-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero-sub { font-size: 1.05rem; }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
  }
  .nav a {
    margin-left: 18px;
    font-size: 0.78rem;
  }
  .menu-grid,
  .specials-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header .container {
    flex-direction: column;
    gap: 12px;
  }
  section { scroll-margin-top: 140px; }
  .nav a { margin-left: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
  .contact-item p { padding-left: 0; }
}

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