:root {
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --ink: #21251f;
  --muted: #686e64;
  --olive: #65704b;
  --olive-dark: #39402e;
  --rust: #b85535;
  --line: rgba(33, 37, 31, 0.14);
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-600-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
a { color: inherit; }
.section-pad { padding: clamp(5.5rem, 10vw, 9rem) 0; }

.navbar {
  padding: 1rem 0;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}

.navbar.scrolled {
  background: rgba(33, 37, 31, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: .55rem 0;
  backdrop-filter: blur(12px);
}

.navbar-brand img, footer img { display: block; }
.header-logo { width: 180px; height: auto; }
.footer-logo { width: 82px; height: auto; }
.nav-link { color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.nav-link:hover { color: #fff; }

.btn {
  border-radius: 0;
  padding: .9rem 1.4rem;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .11em;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-reserve, .btn-primary-custom { background: var(--rust); border: 1px solid var(--rust); color: #fff; }
.btn-reserve:hover, .btn-primary-custom:hover { background: #984126; border-color: #984126; color: #fff; }
.btn-outline-custom { border: 1px solid rgba(255,255,255,.7); color: #fff; white-space: nowrap; }
.btn-outline-custom:hover { background: #fff; border-color: #fff; color: var(--ink); }

.hero {
  min-height: 100svh;
  position: relative;
  background: url("assets/images/hero.jpg") center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(12, 15, 10, 0.82) 0%, rgba(12, 15, 10, 0.45) 45%, rgba(12, 15, 10, 0.15) 100%),
    linear-gradient(to bottom, rgba(12, 15, 10, 0.3) 0%, rgba(12, 15, 10, 0.6) 100%);
}
.hero-content { padding-top: 7rem; padding-bottom: 5rem; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.15; margin-bottom: .5rem; }
.hero h1 em { color: #e7d7b9; font-weight: 600; }
.hero-copy { max-width: 800px; margin-top: 1.5rem; color: rgba(255,255,255,.78); font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.7; }
.section-kicker { font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--rust); margin-bottom: 1.2rem; }
.scroll-cue {
  position: absolute; right: 3vw; bottom: 2.5rem;
  display: grid; width: 48px; height: 48px; place-items: center;
  border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none;
  animation: scrollBounce 2.4s ease-in-out infinite;
  transition: opacity .3s ease;
}
.scroll-cue:hover { border-color: rgba(255,255,255,.7); }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hero typewriter effect */
.hero-title {
  min-height: 3.4em;
}

.type-cursor {
  display: inline-block;
  color: #e7d7b9;
  font-weight: 300;
  margin-left: 1px;
  animation: blink 0.55s step-end infinite;
}

.type-cursor.fade-out {
  animation: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-reveal-buttons {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.hero-reveal-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-section { overflow: hidden; }
.about-image-wrap { position: relative; }
.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(33, 37, 31, 0.12);
  filter: saturate(1.04) sepia(0.04) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease, box-shadow 0.6s ease;
}
.about-image:hover {
  transform: scale(1.02);
  filter: saturate(1.08) sepia(0.02) contrast(1.04);
  box-shadow: 0 28px 50px rgba(33, 37, 31, 0.16);
}
.lead-copy { margin-top: 2rem; color: var(--ink); font-size: 1.15rem; }
.about-section p:not(.section-kicker) { color: var(--muted); }
.text-link { display: inline-block; margin-top: 1.2rem; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid var(--ink); }

.quote-section { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--olive); color: #fff; }
.quote-icon { color: #d6c5a6; font-size: 1.6rem; }
.quote-section blockquote { max-width: 930px; margin: 1.5rem auto; font-size: clamp(2.5rem, 6vw, 5.7rem); line-height: 1.04; }
.quote-section p { margin: 0; color: rgba(255,255,255,.65); font-size: .72rem; text-transform: uppercase; letter-spacing: .25em; }

.gallery-section { background: var(--cream); }
/* ── Responsive Dish Slider ── */
.slider-container {
  margin: 3rem 0;
  width: 100%;
}
.slider-track-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
  touch-action: pan-y;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.slider-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(33, 37, 31, 0.08);
  filter: saturate(1.04) sepia(0.04) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.slider-slide:hover img {
  transform: scale(1.03);
  filter: saturate(1.08) sepia(0.02) contrast(1.04);
}

/* Responsive Slide Counts per Viewport */
@media (min-width: 576px) {
  .slider-slide {
    flex: 0 0 50%; /* 2 slides visible */
  }
}
@media (min-width: 992px) {
  .slider-slide {
    flex: 0 0 33.333%; /* 3 slides visible */
  }
}

/* Slider Arrow Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
}
.slider-btn:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(184, 85, 53, 0.35);
}
.prev-btn {
  left: -24px;
}
.next-btn {
  right: -24px;
}

/* Pull arrows inside on narrow screens */
@media (max-width: 767.98px) {
  .prev-btn { left: -10px; }
  .next-btn { right: -10px; }
  .slider-btn { width: 40px; height: 40px; }
}

/* Slide Indicator Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(33, 37, 31, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  touch-action: manipulation;
}
.slider-dot.active {
  background: var(--rust);
  transform: scale(1.2);
  width: 20px;
  border-radius: 4px;
}
.gallery-follow { margin-top: 2.5rem; }
.gallery-insta-link {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, border-color .3s ease;
}
.gallery-insta-link span {
  color: var(--rust);
  text-transform: lowercase;
}
.gallery-insta-link:hover { color: var(--rust); border-color: var(--rust); }
.gallery-insta-link i {
  font-size: 1.1rem;
  vertical-align: middle;
  margin-right: .4rem;
  transition: transform .3s ease;
}
.gallery-insta-link:hover i { transform: scale(1.15); }



.visit-image {
  min-height: 680px;
  background: url("assets/images/restaurant-outer-view.jpg") center/cover no-repeat;
  filter: saturate(1.05) sepia(0.05) contrast(1.02);
  transition: filter 0.6s ease;
}
.visit-image:hover {
  filter: saturate(1.08) sepia(0.03) contrast(1.04);
}
.visit-content { display: grid; align-items: center; background: var(--olive-dark); color: #fff; }
.visit-inner { width: min(100%, 650px); padding: clamp(4rem, 8vw, 8rem); }
.contact-list { margin-top: 3rem; }
.contact-row { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-row i { color: #d6c5a6; font-size: 1.2rem; }
.contact-row > div > span { display: block; color: #d6c5a6; font-size: .67rem; text-transform: uppercase; letter-spacing: .18em; }
.contact-row p { margin: .15rem 0 0; color: rgba(255,255,255,.82); }
.contact-row a { text-decoration: none; }


.reserve-copy { max-width: 580px; color: var(--muted); }
.contact-form { max-width: 850px; margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--cream); text-align: left; }
.contact-form .form-label { margin-bottom: .45rem; color: var(--ink); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.contact-form .form-control, .contact-form .form-select { min-height: 52px; border: 0; border-bottom: 1px solid rgba(33,37,31,.3); border-radius: 0; background-color: rgba(255,255,255,.55); color: var(--ink); box-shadow: none; }
.contact-form textarea.form-control { min-height: 130px; resize: vertical; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-bottom-color: var(--rust); background-color: #fff; box-shadow: 0 2px 0 var(--rust); }
.contact-form .form-control::placeholder { color: #909487; }
.contact-form input[type="date"] { text-align: left; -webkit-appearance: none; appearance: none; }
.contact-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.contact-form input[type="date"]:invalid { color: #909487; font-weight: 400; }
.contact-form input[type="date"]:valid { color: var(--ink); }
.form-privacy-note { font-size: .72rem; color: rgba(33,37,31,.3); margin: .75rem 0 0; }
.form-privacy-note a { color: rgba(33,37,31,.35); text-decoration: underline; text-underline-offset: 2px; }
.form-privacy-note a:hover { color: var(--rust); opacity: 1; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; font-size: .85rem; font-weight: 600; }
.form-status-success { color: var(--olive); }
.form-status-error { color: var(--rust); }
.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.form-divider span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.form-alt-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--olive);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .3s ease;
}
.form-alt-link:hover { color: var(--rust); }
.form-alt-link i { font-size: 1.05rem; }


footer { padding: 4rem 0 1.7rem; background: var(--ink); color: rgba(255,255,255,.62); font-size: .8rem; }
.social-links a { display: inline-grid; width: 42px; height: 42px; margin-left: .4rem; place-items: center; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; }
.social-links a:hover { background: var(--rust); border-color: var(--rust); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.legal-links { display: flex; gap: 1.2rem; }
.legal-links a { color: rgba(255,255,255,.75); text-decoration: none; }
.legal-links a:hover { color: #fff; }
.legal-page { min-height: 100vh; padding: 8rem 0 5rem; }
.legal-page h1 { margin-bottom: 2.5rem; font-family: "Playfair Display", Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); }
.legal-page h2 { margin-top: 2.5rem; font-size: 1.65rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-notice { padding: 1rem 1.2rem; border-left: 3px solid var(--rust); background: var(--cream); }
.legal-back { display: inline-block; margin-bottom: 2rem; color: var(--rust); text-decoration: none; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

/* Name Story Section */
.name-story-section {
  background: var(--cream);
  overflow: hidden;
}

.name-story-section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
}

.name-divider-inline {
  color: var(--rust);
  font-weight: 400;
}

.name-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.name-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
  border: 1px solid rgba(33, 37, 31, 0.09);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(33, 37, 31, 0.02);
  transition: box-shadow .4s ease, transform .4s ease;
}

.name-card:hover {
  box-shadow: 0 20px 45px rgba(33, 37, 31, 0.07);
  transform: translateY(-5px);
}

.name-card-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.name-badge {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--olive);
}

.name-badge-rebel {
  color: var(--rust);
}



.name-card-rule {
  width: 100%;
  height: 1px;
  background: rgba(33, 37, 31, 0.2);
  margin-bottom: 1.6rem;
}

.name-card-rebel .name-card-rule {
  background: rgba(184, 85, 53, 0.35);
}

.name-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.name-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0;
}

.name-divider {
  display: grid;
  place-items: center;
  padding: 0 clamp(1rem, 2vw, 2rem);
  z-index: 2;
}

.name-divider span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  padding-bottom: 3px;
  box-shadow: 0 4px 10px rgba(101, 112, 75, 0.2);
}

/* Name Story responsive */
@media (max-width: 991.98px) {
  .name-cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .name-divider {
    padding: 1.2rem 0;
  }
}

@media (max-width: 575.98px) {
  .name-card {
    padding: 1.5rem;
  }
}

/* Chef Section */
.chef-section {
  background: var(--paper);
}
.chef-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(33, 37, 31, 0.12);
  transition: box-shadow 0.6s ease;
}
.chef-image-wrap:hover {
  box-shadow: 0 28px 50px rgba(33, 37, 31, 0.16);
}
.chef-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.04) sepia(0.04) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.chef-image:hover {
  transform: scale(1.02);
  filter: saturate(1.08) sepia(0.02) contrast(1.04);
}
.chef-bio-content {
  margin-top: 1.5rem;
}
.chef-bio {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}
.chef-signature-wrap {
  margin-top: 2rem;
}
.chef-signature {
  max-width: 190px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}


@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: .75rem; padding: 1rem 1.2rem; background: rgba(33,37,31,.98); border-radius: 4px; }
  .navbar:not(.scrolled) { background: linear-gradient(rgba(0,0,0,.65), transparent); }

  /* Mobile nav link spacing for better touch targets */
  .navbar-nav .nav-link { padding: .7rem 0; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }

  /* Book a Table button — full-width, separated */
  .navbar-nav .nav-item.ms-lg-2 { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.12); }
  .navbar-nav .btn-reserve { display: block; width: 100%; text-align: center; padding: .85rem 1.4rem; }

  .visit-image { min-height: auto; aspect-ratio: 4/3; }
  .visit-inner { padding: 3rem 1.5rem; }

  /* Hero tablet adjustments */
  .hero-content { padding-top: 8rem; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .hero-title { min-height: 3em; }
  .hero-copy { font-size: 1.05rem; }
}

@media (max-width: 575.98px) {
  /* Hero mobile */
  .hero { min-height: 100svh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(12,15,10,.5) 0%, rgba(12,15,10,.65) 35%, rgba(12,15,10,.85) 100%); }
  .hero-content { padding-top: 6rem; padding-bottom: 3rem; }
  .hero h1 { font-size: 2.2rem; line-height: 1.18; }
  .hero-title { min-height: 2.8em; }
  .hero-copy { font-size: .98rem; margin-top: 1.6rem; margin-bottom: 1.6rem; }
  .scroll-cue { width: 40px; height: 40px; right: 1rem; bottom: 1.5rem; font-size: .85rem; }

  /* Hero buttons stack full-width on small phones */
  .hero-reveal-buttons { flex-direction: column; }
  .hero-reveal-buttons .btn { width: 100%; text-align: center; }

  /* Form mobile */
  .contact-form { padding: 1.2rem; margin-top: 2.5rem; }
  .contact-form textarea.form-control { min-height: 100px; }
  .reserve-copy { font-size: .95rem; }
  .btn-primary-custom[type="submit"] { width: 100%; }
  .form-divider { max-width: 200px; margin: 1rem auto; }
  .form-alt-link { font-size: .76rem; }


  .footer-bottom { display: block; text-align: center; }
  .footer-bottom > span { display: block; margin-top: .6rem; }
  .legal-links { justify-content: center; margin-top: .6rem; }
}

/* Very small phones (e.g. iPhone SE, 320px) */
@media (max-width: 374.98px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-title { min-height: 2.6em; }
  .hero-copy { font-size: .92rem; }
  .btn { padding: .75rem 1.2rem; font-size: .72rem; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .type-cursor { animation: none; opacity: 1; }
  .scroll-cue { animation: none; }
  .hero-reveal,
  .hero-reveal-buttons { opacity: 1; transform: none; transition: none; }
}
