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

:root {
  --white: #FAF8F5;
  --cream: #F0EBE3;
  --beige: #D9CFC4;
  --espresso: #1C1612;
  --caramel: #8B6F47;
  --fog: #E8E2DA;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--espresso);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.15;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
}

.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

.cursor-light .cursor-dot {
  background: var(--cream);
}

.cursor-light .cursor-ring {
  border-color: var(--cream);
}

@media (pointer: coarse), (max-width: 768px) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}

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

ul {
  list-style: none;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 8vw;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.nav--scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--fog);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--caramel);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--caramel);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--espresso);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 5vw;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav__links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__links a {
    font-size: 1.5rem;
    font-weight: 400;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
}

/* Grain texture overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 13vw;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--caramel);
  margin-top: 1.5rem;
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero__scroll-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--caramel);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--caramel);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 15vw;
  }

  .hero__subtitle {
    font-size: 1rem;
    padding: 0 2rem;
  }
}

/* ========== REUSABLE ========== */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--caramel);
  display: block;
  margin-bottom: 1.5rem;
}

/* ========== ABOUT ========== */
.about {
  padding: 12vh 8vw;
}

.about__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 4vw;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.about__heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.about__heading em {
  font-style: italic;
  font-weight: 600;
}

.about__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--espresso);
  opacity: 0.75;
  max-width: 480px;
}

.about__line {
  width: 40px;
  height: 1px;
  background: var(--caramel);
  margin: 2rem 0;
}

.about__meta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--caramel);
}

.about__image {
  position: relative;
}

.about__image-placeholder {
  width: 100%;
  padding-top: 133%; /* 3:4 ratio */
  background: var(--cream);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.about__image-placeholder svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--caramel);
  opacity: 0.3;
  width: 64px;
  height: 64px;
}

@media (max-width: 768px) {
  .about {
    padding: 8vh 5vw;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__heading {
    font-size: 2.2rem;
  }

  .about__image {
    order: 2;
  }
}

/* ========== MENU HIGHLIGHTS ========== */
.menu {
  padding: 12vh 8vw;
  background: var(--cream);
}

.menu__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.menu__heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 4rem;
}

.menu__heading em {
  font-style: italic;
}

.menu__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.menu__card {
  background: var(--white);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease;
}

.menu__card:hover {
  box-shadow: 0 20px 50px rgba(28, 22, 18, 0.1);
}

.menu__card > * {
  pointer-events: none;
}

.menu__card-image {
  width: 100%;
  padding-top: 70%;
  background: var(--fog);
  position: relative;
}

.menu__card-image svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--caramel);
  opacity: 0.3;
  width: 56px;
  height: 56px;
}

.menu__card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  padding: 1.5rem 1.5rem 0.5rem;
}

.menu__card-desc {
  font-size: 0.85rem;
  color: var(--espresso);
  opacity: 0.6;
  padding: 0 1.5rem;
}

.menu__card-price {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--caramel);
  padding: 1rem 1.5rem 1.5rem;
}

@media (max-width: 768px) {
  .menu {
    padding: 8vh 5vw;
  }

  .menu__heading {
    font-size: 2.4rem;
  }

  .menu__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========== PARALLAX QUOTE ========== */
.quote {
  background: var(--espresso);
  padding: 14vh 8vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote__inner {
  text-align: center;
  max-width: 900px;
}

.quote__text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3.8rem;
  line-height: 1.2;
  color: var(--cream);
}

.quote__text em {
  font-style: italic;
}

.quote__attribution {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--caramel);
  margin-top: 2rem;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .quote {
    padding: 10vh 5vw;
    min-height: 50vh;
  }

  .quote__text {
    font-size: 2rem;
  }
}

/* ========== GALLERY ========== */
.gallery {
  padding: 12vh 0 12vh 8vw;
  overflow: hidden;
}

.gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 8vw;
  margin-bottom: 2.5rem;
}

.gallery__label {
  padding-left: 0;
  margin-bottom: 0;
}

.gallery__arrows {
  display: flex;
  gap: 0.5rem;
}

.gallery__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--beige);
  background: transparent;
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.gallery__arrow:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}

.gallery__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-right: 8vw;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.gallery__item--tall .gallery__placeholder {
  height: 420px;
}

.gallery__item--short .gallery__placeholder {
  height: 320px;
}

.gallery__placeholder {
  width: 100%;
  background: var(--cream);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__placeholder svg {
  color: var(--caramel);
  opacity: 0.3;
  width: 56px;
  height: 56px;
}

.gallery__caption {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--espresso);
  opacity: 0.6;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .gallery {
    padding: 8vh 0 8vh 5vw;
  }

  .gallery__item {
    flex: 0 0 260px;
  }

  .gallery__item--tall .gallery__placeholder {
    height: 340px;
  }

  .gallery__item--short .gallery__placeholder {
    height: 260px;
  }
}

/* ========== HOURS & LOCATION ========== */
.info {
  padding: 12vh 8vw;
}

.info__grid {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.info__col {
  flex: 1;
}

.info__divider {
  width: 1px;
  align-self: stretch;
  background: var(--fog);
}

.info__rows {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.info__day {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--espresso);
}

.info__time {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--espresso);
  opacity: 0.7;
}

.info__note {
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--espresso);
  opacity: 0.5;
  font-style: italic;
}

.info__address {
  margin-top: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--espresso);
  line-height: 1.7;
}

.info__map {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 300px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .info {
    padding: 8vh 5vw;
  }

  .info__grid {
    flex-direction: column;
    gap: 3rem;
  }

  .info__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .info__map {
    max-width: 100%;
  }
}

/* ========== RESERVE ========== */
.reserve {
  padding: 12vh 8vw;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.reserve__heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 3rem;
  color: var(--espresso);
  margin-top: 1rem;
  line-height: 1.2;
}

.reserve__sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--espresso);
  opacity: 0.6;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.reserve__form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
}

.reserve__field {
  position: relative;
}

.reserve__field input,
.reserve__field textarea,
.reserve__field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--beige);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--espresso);
  padding: 0.75rem 0 0.5rem;
  outline: none;
  resize: none;
  min-height: 48px;
}

.reserve__field label {
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--espresso);
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.3s ease;
}

.reserve__field input:focus ~ label,
.reserve__field input:not(:placeholder-shown) ~ label,
.reserve__field textarea:focus ~ label,
.reserve__field textarea:not(:placeholder-shown) ~ label,
.reserve__field select:focus ~ label,
.reserve__field select:valid ~ label {
  top: -0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--caramel);
  opacity: 1;
}

.reserve__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238B6F47' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  cursor: pointer;
}

.reserve__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--caramel);
  transition: width 0.4s ease;
}

.reserve__field input:focus ~ .reserve__line,
.reserve__field textarea:focus ~ .reserve__line,
.reserve__field select:focus ~ .reserve__line {
  width: 100%;
}

.reserve__btn {
  align-self: center;
  padding: 1rem 2.5rem;
  background: var(--espresso);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
  min-height: 48px;
}

.reserve__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.reserve__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--beige);
  border-radius: 3px;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.reserve__consent input[type="checkbox"]:checked {
  background: var(--caramel);
  border-color: var(--caramel);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-6' stroke='%23FAF8F5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.reserve__consent label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--espresso);
  opacity: 0.6;
  line-height: 1.5;
  cursor: pointer;
}

.reserve__consent label a {
  color: var(--caramel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reserve__btn:hover {
  background: var(--caramel);
}

@media (max-width: 768px) {
  .reserve {
    padding: 8vh 5vw;
  }

  .reserve__heading {
    font-size: 2.2rem;
  }

  .reserve__btn {
    width: 100%;
    text-align: center;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--espresso);
  padding: 3rem 8vw 2rem;
}

.footer__separator {
  width: 100%;
  height: 1px;
  background: var(--caramel);
  opacity: 0.3;
  margin-bottom: 3rem;
}

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

.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
}

.footer__nav {
  display: flex;
  gap: 2rem;
}

.footer__nav a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__nav a:hover {
  opacity: 1;
}

.footer__socials {
  display: flex;
  gap: 1.25rem;
}

.footer__socials a {
  color: var(--cream);
  opacity: 0.6;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer__socials a:hover {
  color: var(--caramel);
  opacity: 1;
}

.footer__copy {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--cream);
  opacity: 0.3;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 5vw 2rem;
  }

  .footer__grid {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer__nav {
    gap: 1.5rem;
  }
}
