/* ============================================================
   Verre & Vine — Natural Wine Bar & Bistro, Bandra Mumbai
   Intimate European wine bar. Marcellus + Karla.
   Bordeaux / terracotta / cream / sage. Moody, candlelit.
   ============================================================ */

:root {
  --bordeaux: #5A1F2E;
  --bordeaux-deep: #3B1119;
  --bordeaux-ink: #2A0C13;
  --terracotta: #B98A6A;
  --terracotta-soft: #d6b299;
  --cream: #F3EDE2;
  --cream-warm: #EBE2D2;
  --sage: #7C7F63;
  --ink: #241318;

  --shadow-soft: 0 20px 60px -30px rgba(42,12,19,.55);
  --shadow-lift: 0 30px 80px -40px rgba(42,12,19,.7);

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: .01em; }

/* ---------- utilities ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--terracotta); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); color: var(--bordeaux); }
.section--dark .section-head h2 { color: var(--cream); }
.section-head__lede { margin-top: 1rem; color: color-mix(in srgb, var(--ink) 78%, transparent); max-width: 34rem; }
.section--dark .section-head__lede { color: color-mix(in srgb, var(--cream) 78%, transparent); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--bordeaux); color: var(--cream);
  padding: .7rem 1.1rem; border-radius: 6px; z-index: 200;
  text-decoration: none; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--bordeaux);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.6rem; border-radius: 2px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--solid { background: var(--bordeaux); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--solid:hover { background: var(--bordeaux-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: var(--cream); border-color: color-mix(in srgb, var(--terracotta) 70%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--cream) 12%, transparent); transform: translateY(-2px); }
.btn--whatsapp { background: var(--sage); color: var(--cream); }
.btn--whatsapp:hover { background: color-mix(in srgb, var(--sage) 85%, black); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--bordeaux) 12%, transparent);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); background: color-mix(in srgb, var(--cream) 96%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bordeaux); }
.brand__mark { color: var(--bordeaux); flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; line-height: 1; }
.brand__name em { font-style: normal; color: var(--terracotta); }

.site-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); padding: 0; }
.nav-list a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: .92rem; letter-spacing: .03em; position: relative; padding-block: .3rem;
}
.nav-list a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--terracotta); transition: width .3s var(--ease);
}
.nav-list a:not(.nav-cta):hover::after,
.nav-list a:not(.nav-cta):focus-visible::after { width: 100%; }
.nav-cta {
  background: var(--bordeaux); color: var(--cream) !important;
  padding: .6rem 1.15rem; border-radius: 2px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover { background: var(--bordeaux-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--bordeaux); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 92vh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream); overflow: hidden;
  background: var(--bordeaux-ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(42,12,19,.55) 0%, rgba(42,12,19,.15) 32%, rgba(42,12,19,.72) 78%, rgba(42,12,19,.92) 100%),
    linear-gradient(90deg, rgba(42,12,19,.6) 0%, rgba(42,12,19,0) 55%);
}
.hero__glow {
  position: absolute; z-index: -1; right: -8%; top: 8%;
  width: 55vw; max-width: 640px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(185,138,106,.42) 0%, rgba(185,138,106,0) 68%);
  pointer-events: none;
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker {
  0%,100% { opacity: .85; transform: scale(1); }
  45% { opacity: 1; transform: scale(1.05); }
  70% { opacity: .78; transform: scale(.98); }
}
@media (prefers-reduced-motion: reduce) { .hero__glow { animation: none; } }

.hero__inner { padding-bottom: clamp(3.5rem, 8vh, 6rem); padding-top: 6rem; max-width: 46rem; }
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 5.4vw, 5rem);
  color: var(--cream); margin-bottom: 1.2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  max-width: 34rem; color: color-mix(in srgb, var(--cream) 90%, transparent);
  margin-bottom: 2rem; text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 2rem; z-index: 1;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: color-mix(in srgb, var(--terracotta) 90%, white);
}
.hero__scroll span { position: relative; padding-bottom: 3rem; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 2.2rem;
  background: linear-gradient(var(--terracotta), transparent);
}
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- section themes ---------- */
.section--dark { background: var(--bordeaux-deep); color: var(--cream); position: relative; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 85% 0%, rgba(185,138,106,.14), transparent 60%);
}
.section--dark > .wrap { position: relative; }
.section--cream { background: var(--cream-warm); }

/* ---------- story ---------- */
.story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__copy h2 { font-size: clamp(1.8rem, 1.1rem + 3vw, 3rem); color: var(--bordeaux); margin-bottom: 1.3rem; }
.story__copy p { margin-bottom: 1.1rem; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.story__marks {
  list-style: none; padding: 1.6rem 0 0; margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  border-top: 1px solid color-mix(in srgb, var(--bordeaux) 18%, transparent);
}
.story__marks li { font-size: .92rem; color: color-mix(in srgb, var(--ink) 72%, transparent); max-width: 9rem; }
.story__marks .num { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--bordeaux); line-height: 1; margin-bottom: .3rem; }
.story__figure { position: relative; }
.story__figure img { border-radius: 3px; box-shadow: var(--shadow-lift); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story__figure figcaption {
  margin-top: .8rem; font-size: .82rem; font-style: italic;
  color: color-mix(in srgb, var(--ink) 62%, transparent); letter-spacing: .01em;
}

/* ---------- glass / wine list ---------- */
.glass__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.wine-group__title {
  font-size: 1.35rem; color: var(--terracotta); margin-bottom: 1.4rem;
  padding-bottom: .7rem; border-bottom: 1px solid color-mix(in srgb, var(--terracotta) 40%, transparent);
}
.wine-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.wine__head { display: flex; align-items: baseline; gap: .4rem; }
.wine__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); white-space: nowrap; }
.wine__lead { flex: 1 1 auto; border-bottom: 1px dotted color-mix(in srgb, var(--cream) 35%, transparent); transform: translateY(-.3em); min-width: 1.5rem; }
.wine__price { font-family: var(--font-display); font-size: 1.1rem; color: var(--terracotta-soft); white-space: nowrap; }
.wine__meta { font-size: .9rem; margin-top: .3rem; color: color-mix(in srgb, var(--cream) 70%, transparent); font-style: italic; }

/* ---------- on natural wine note ---------- */
.note__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.note__figure img { border-radius: 3px; aspect-ratio: 3/4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lift); }
.note__copy h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.6rem); color: var(--bordeaux); margin-bottom: 1.1rem; }
.note__copy p { margin-bottom: 1rem; color: color-mix(in srgb, var(--ink) 82%, transparent); }

/* ---------- the table / small plates ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem) clamp(2rem, 5vw, 4rem); }
.plate { padding-bottom: 1.4rem; border-bottom: 1px solid color-mix(in srgb, var(--bordeaux) 16%, transparent); }
.plate__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.plate__head h3 { font-size: 1.25rem; color: var(--bordeaux); }
.plate__price { font-family: var(--font-display); font-size: 1.1rem; color: var(--terracotta); white-space: nowrap; }
.plate p { color: color-mix(in srgb, var(--ink) 76%, transparent); font-size: .96rem; }
.menu-foot { margin-top: 2.4rem; font-size: .85rem; font-style: italic; color: color-mix(in srgb, var(--ink) 60%, transparent); text-align: center; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px; gap: 1rem;
}
.gallery__item { overflow: hidden; border-radius: 3px; margin: 0; box-shadow: var(--shadow-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- people ---------- */
.people__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.people__figure img { border-radius: 3px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lift); }
.people__copy h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3rem); color: var(--cream); }
.people__role { color: var(--terracotta); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin: .5rem 0 1.2rem; }
.people__copy p:not(.people__role) { color: color-mix(in srgb, var(--cream) 82%, transparent); }

/* ---------- testimonials ---------- */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi {
  background: var(--cream-warm); border: 1px solid color-mix(in srgb, var(--bordeaux) 12%, transparent);
  padding: 2rem 1.8rem; border-radius: 3px; position: relative; box-shadow: var(--shadow-soft);
}
.testi::before {
  content: "\201C"; font-family: var(--font-display); font-size: 3.5rem; color: var(--terracotta);
  position: absolute; top: .3rem; left: 1rem; line-height: 1; opacity: .55;
}
.testi p { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.5; color: var(--bordeaux); margin: 1.2rem 0 1rem; }
.testi cite { font-style: normal; font-size: .85rem; letter-spacing: .05em; color: color-mix(in srgb, var(--ink) 65%, transparent); }

/* ---------- visit + form ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.visit__info h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.9rem); color: var(--bordeaux); margin-bottom: 1.8rem; }
.visit__details { display: grid; gap: 1.4rem; margin-bottom: 2rem; }
.visit__details dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .22em; color: var(--sage); font-weight: 700; margin-bottom: .3rem; }
.visit__details dd { color: color-mix(in srgb, var(--ink) 84%, transparent); }
.visit__details a { color: var(--bordeaux); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bordeaux) 40%, transparent); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.visit__note { font-size: .88rem; font-style: italic; color: color-mix(in srgb, var(--ink) 62%, transparent); }

.visit__form {
  background: var(--cream); border: 1px solid color-mix(in srgb, var(--bordeaux) 14%, transparent);
  padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 4px; box-shadow: var(--shadow-lift);
}
.visit__form h3 { font-size: 1.7rem; color: var(--bordeaux); margin-bottom: .5rem; }
.form__lede { font-size: .92rem; color: color-mix(in srgb, var(--ink) 72%, transparent); margin-bottom: 1.6rem; }

.reserve-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--bordeaux); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid color-mix(in srgb, var(--bordeaux) 25%, transparent);
  border-radius: 3px; background: color-mix(in srgb, var(--cream-warm) 50%, white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--terracotta) 40%, transparent);
}
.form__reassure { font-size: .82rem; text-align: center; color: color-mix(in srgb, var(--ink) 62%, transparent); font-style: italic; margin-top: .3rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bordeaux-ink); color: color-mix(in srgb, var(--cream) 85%, transparent); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand--footer { color: var(--cream); }
.brand--footer .brand__mark { color: var(--terracotta); }
.brand--footer .brand__name em { color: var(--terracotta); }
.footer__tag { margin-top: 1rem; max-width: 22rem; font-size: .92rem; color: color-mix(in srgb, var(--cream) 66%, transparent); }
.footer__nav h4, .footer__contact h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; color: var(--terracotta); margin-bottom: 1.1rem; font-weight: 700; }
.footer__nav ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer__nav a { text-decoration: none; color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: .92rem; transition: color .25s var(--ease); }
.footer__nav a:hover { color: var(--cream); }
.footer__contact address { font-style: normal; font-size: .92rem; line-height: 1.7; color: color-mix(in srgb, var(--cream) 70%, transparent); }
.footer__contact address a { color: var(--terracotta-soft); text-decoration: none; }
.social { list-style: none; padding: 0; display: flex; gap: .8rem; margin-top: 1.2rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--cream);
  border: 1px solid color-mix(in srgb, var(--cream) 25%, transparent);
  transition: background-color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.social a:hover { background: var(--bordeaux); border-color: var(--bordeaux); transform: translateY(-2px); }

.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  padding-block: 1.6rem; border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  font-size: .82rem; color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.footer__credit a { color: var(--terracotta-soft); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--terracotta) 40%, transparent); }
.footer__credit a:hover { color: var(--cream); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- focus visible ---------- */
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible { outline-color: var(--terracotta-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .story__grid, .note__inner, .people__grid, .visit__grid { grid-template-columns: 1fr; }
  .story__figure { order: -1; }
  .story__figure img, .note__figure img, .people__figure img { aspect-ratio: 16/10; }
  .note__figure { order: -1; }
  .glass__cols { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav { position: static; }
  .nav-list {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.2rem; padding: 6rem 2rem 2rem;
    background: var(--bordeaux-deep); color: var(--cream);
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.6); z-index: 90;
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list a { color: var(--cream); font-size: 1.15rem; }
  .nav-list a:not(.nav-cta)::after { background: var(--terracotta); }
  .nav-cta { margin-top: .5rem; }
  body.nav-open-lock { overflow: hidden; }

  .menu-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn, .visit__actions .btn { flex: 1 1 auto; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 1; }
}
