/* =============================================================
   NOIRE — shared stylesheet
   Dark editorial palette, one accent (aged gold).
   ============================================================= */

:root {
  --color-bg: #0c0b0a;
  --color-bg-alt: #151312;
  --color-bg-card: #181614;
  --color-text: #ece6db;
  --color-text-muted: #a89e8f;
  --color-border: rgba(236, 230, 219, 0.1);
  --color-accent: #c9a15a;
  --color-accent-soft: rgba(201, 161, 90, 0.14);
  --color-accent-dark: #8a6a34;

  --font-display: "Playfair Display", "Iowan Old Style", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --nav-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1em;
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #17130b;
}

.btn-primary:hover {
  background: #e0b876;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(236, 230, 219, 0.35);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(12, 11, 10, 0.85), rgba(12, 11, 10, 0));
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border);
  height: 72px;
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.28em;
  color: var(--color-text);
}

.brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 600;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.55) 45%, rgba(10, 9, 8, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
  animation: hero-rise 1.4s ease both;
}

.hero-content .eyebrow {
  animation: hero-rise 1.4s ease both 0.15s;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--color-text);
  margin-bottom: 0.3em;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(236, 230, 219, 0.82);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 2.4em;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-accent) 60%, transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* ---------- page banner (non-home hero) ---------- */

.page-banner {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 9, 8, 0.35), rgba(10, 9, 8, 0.96));
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
  width: 100%;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--color-text);
  margin-bottom: 0.2em;
}

.page-banner p {
  max-width: 520px;
  color: rgba(236, 230, 219, 0.75);
  margin: 0;
}

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- home: intro / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.split-media:hover img {
  transform: scale(1.06);
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent);
  transform: translate(14px, 14px);
  z-index: -1;
}

.split-body p {
  font-size: 1.02rem;
}

.divider {
  width: 56px;
  height: 1px;
  background: var(--color-accent);
  margin: 28px 0;
}

/* ---------- feature / dish cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px 32px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-dark);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.feature-card .index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.4em;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}

.dish-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dish-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.dish-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.dish-preview:hover img {
  transform: scale(1.08);
}

.dish-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 7, 6, 0.92), rgba(8, 7, 6, 0.05) 55%);
  z-index: 1;
}

.dish-preview-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.dish-preview-label .tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.dish-preview-label h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-text);
}

/* ---------- quote / stats strip ---------- */

.quote-strip {
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  color: var(--color-text);
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

.quote-strip cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-accent);
  display: block;
}

.stat .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- menu page ---------- */

.menu-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: rgba(12, 11, 10, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.menu-nav-inner {
  display: flex;
  gap: 36px;
  padding: 20px 0;
  overflow-x: auto;
}

.menu-nav a {
  white-space: nowrap;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.menu-nav a:hover {
  color: var(--color-accent);
}

.menu-category {
  padding: 96px 0;
  scroll-margin-top: 150px;
  border-bottom: 1px solid var(--color-border);
}

.menu-category:last-of-type {
  border-bottom: none;
}

.menu-category-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.menu-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text);
  white-space: nowrap;
}

.menu-item-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(236, 230, 219, 0.25);
  transform: translateY(-6px);
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu-item-desc {
  flex-basis: 100%;
  margin: -18px 0 0;
  font-size: 0.94rem;
  max-width: 640px;
}

.menu-note {
  text-align: center;
  max-width: 560px;
  margin: 64px auto 0;
  font-size: 0.85rem;
  font-style: italic;
}

/* ---------- about page ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 0 12px;
}

.value-item .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.14em;
  margin-bottom: 1.2em;
  display: block;
}

.team-photo-wrap {
  position: relative;
}

.team-caption {
  margin-top: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- forms ---------- */

.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 52px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  margin-bottom: 26px;
}

.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #1b1815;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(168, 158, 143, 0.55);
}

.form-shell .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 18px;
  margin-bottom: 0;
}

.confirmation {
  display: none;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 22px 24px;
  margin-bottom: 28px;
}

.confirmation.is-visible {
  display: flex;
  animation: hero-rise 0.6s ease both;
}

.confirmation .mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-accent);
  line-height: 1;
}

.confirmation h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--color-text);
}

.confirmation p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.info-block {
  margin-bottom: 40px;
}

.info-block h3 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8em;
}

.info-block p {
  margin: 0 0 0.3em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.94rem;
}

.hours-table td:first-child {
  color: var(--color-text);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

.map-placeholder {
  position: relative;
  height: 320px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background-color: #14120f;
  background-image:
    linear-gradient(rgba(201, 161, 90, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 161, 90, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder .pin {
  text-align: center;
}

.map-placeholder .pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: 0 auto 14px;
  box-shadow: 0 0 0 8px rgba(201, 161, 90, 0.18);
  animation: pin-pulse 2.4s ease-in-out infinite;
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(201, 161, 90, 0.18); }
  50% { box-shadow: 0 0 0 14px rgba(201, 161, 90, 0.08); }
}

.map-placeholder .pin-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- footer ---------- */

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .brand {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.2em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col p {
  margin: 0 0 0.2em;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card-grid,
  .dish-preview-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 760px) {
  :root {
    --nav-height: 68px;
  }

  .section {
    padding: 76px 0;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(10, 9, 8, 0.98);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
  }

  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .card-grid,
  .dish-preview-grid,
  .value-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item-leader {
    display: none;
  }

  .form-shell {
    padding: 34px 24px;
  }

  .stats-row {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .container {
    padding: 0 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
