/* ============================================================
   VELLUTO — luxury Italian restaurant & bar
   ============================================================ */

:root {
  --ink:       #0c1410;   /* near-black green */
  --emerald:   #0f2a20;   /* deep forest */
  --emerald-2: #12352a;
  --cream:     #f3ede1;   /* warm paper */
  --cream-dim: #cabfa8;
  --gold:      #c8a45c;   /* brass */
  --gold-hi:   #e6cf97;
  --rule:      rgba(200, 164, 92, 0.28);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { background: var(--emerald); }
body {
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient animated aurora background (matches portfolio) */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.8; will-change: transform; }
.blob--1 { width: 52vw; height: 52vw; max-width: 680px; max-height: 680px; left: -2%; top: 2%; background: radial-gradient(circle, rgba(214,176,104,0.62), transparent 70%); animation: drift1 24s var(--ease) infinite alternate; }
.blob--2 { width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; right: -2%; top: 10%; background: radial-gradient(circle, rgba(42,120,90,0.6), transparent 72%); animation: drift2 28s var(--ease) infinite alternate; }
.blob--3 { width: 44vw; height: 44vw; max-width: 560px; max-height: 560px; left: 12%; bottom: 0%; background: radial-gradient(circle, rgba(235,205,150,0.5), transparent 72%); animation: drift3 26s var(--ease) infinite alternate; }
.blob--4 { width: 40vw; height: 40vw; max-width: 510px; max-height: 510px; right: 10%; bottom: 4%; background: radial-gradient(circle, rgba(34,98,76,0.58), transparent 74%); animation: drift4 30s var(--ease) infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(20%, 24%) scale(1.16); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-18%, 22%) scale(0.92); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(22%, -20%) scale(1.14); } }
@keyframes drift4 { from { transform: translate(0,0) scale(0.95); } to { transform: translate(-20%, -24%) scale(1.12); } }
/* warm welcoming glow from above + soft cozy edge vignette */
.site-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 85% 55% at 50% 4%, rgba(228,194,128,0.18), transparent 56%),
  radial-gradient(ellipse 130% 120% at 50% 50%, transparent 52%, rgba(7,13,10,0.55) 100%); }

img { display: block; width: 100%; height: 100%; object-fit: cover; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- shared bits ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.kicker::before { content: "✦"; margin-right: 0.9em; opacity: 0.7; }

h2 { font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: 0.5px; }
h2 em { font-style: italic; color: var(--gold-hi); }

.btn {
  --pad: 1.05rem 2.4rem;
  display: inline-block;
  padding: var(--pad);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cream); }
.btn--ghost:hover { background: rgba(243, 237, 225, 0.06); border-color: var(--gold-hi); color: var(--gold-hi); }
.btn--block { width: 100%; text-align: center; border: none; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__mark {
  display: block;
  font-family: var(--serif);
  font-size: 4rem; color: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}
.preloader__word {
  display: block; margin-top: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.7em; color: var(--cream-dim);
  text-indent: 0.7em;
}
@keyframes pulse { 0%,100%{opacity:.35;transform:scale(.96)} 50%{opacity:1;transform:scale(1)} }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 1.7rem clamp(1.2rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav.is-stuck {
  background: rgba(10, 18, 14, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.nav.is-stuck .nav__inner { padding-top: 1.05rem; padding-bottom: 1.05rem; }

.nav__brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.nav__brand-mark {
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold);
  border: 1px solid var(--gold); width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; border-radius: 50%;
}
.nav__brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.34em; text-indent: 0.34em; }

.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a {
  color: var(--cream); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; transition: color 0.4s;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--gold-hi); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--gold); padding: 0.6rem 1.4rem; color: var(--gold) !important;
  transition: all 0.4s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: 0.4s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12,20,16,0.25) 0%, rgba(12,20,16,0.78) 78%),
    linear-gradient(to top, rgba(12,20,16,0.96) 0%, rgba(12,20,16,0.18) 45%, rgba(12,20,16,0.55) 100%);
}
.hero__content { max-width: 880px; padding: 0 1.5rem; }
.hero__eyebrow { font-size: 0.78rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); text-indent: 0.5em; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(4.5rem, 17vw, 13rem); line-height: 0.9;
  letter-spacing: 0.04em; margin: 1.2rem 0 0.4rem;
  display: flex; justify-content: center;
}
.hero__title .reveal { color: var(--cream); }
.hero__title .d2 { color: var(--gold); }
.hero__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.9rem); color: var(--gold-hi); letter-spacing: 0.1em; }
.hero__sub { margin-top: 1.4rem; color: var(--cream-dim); letter-spacing: 0.06em; font-size: 1.02rem; }
.hero__actions { margin-top: 2.6rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); width: 1px; height: 56px; background: var(--rule); overflow: hidden; }
.hero__scroll span { position: absolute; top: -56px; left: 0; width: 100%; height: 56px; background: var(--gold); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%{top:-56px} 60%,100%{top:56px} }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.2s; }
.hero .d1 { transition-delay: 0.35s; } .hero .d2 { transition-delay: 0.5s; }
.hero .d3 { transition-delay: 0.7s; } .hero .d4 { transition-delay: 0.85s; } .hero .d5 { transition-delay: 1s; }

/* ---------- story ---------- */
.story { padding: clamp(6rem, 12vw, 10rem) clamp(1.2rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story__text h2 { margin-bottom: 1.8rem; }
.story__text p { color: var(--cream-dim); margin-bottom: 1.3rem; font-size: 1.06rem; max-width: 46ch; }
.story__sign { margin-top: 2.4rem; display: flex; flex-direction: column; }
.story__sign-name { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-hi); }
.story__sign-role { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-dim); margin-top: 0.3rem; }
.story__figure { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.story__figure img { transition: transform 1.4s var(--ease); }
.story__figure:hover img { transform: scale(1.05); }
.story__badge {
  position: absolute; bottom: 1.4rem; right: 1.4rem;
  background: var(--ink); color: var(--gold); border: 1px solid var(--gold);
  padding: 0.9rem 1.2rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; line-height: 1.5;
}

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.5rem 0; overflow: hidden; background: var(--emerald-2); }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; white-space: nowrap; width: max-content; animation: slide 34s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--cream); }
.marquee__track .dot { color: var(--gold); font-style: normal; font-size: 1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- menu ---------- */
.menu { padding: clamp(6rem, 12vw, 10rem) clamp(1.2rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto; }
.menu__head { text-align: center; margin-bottom: 3rem; }
.menu__head .kicker::before { display: none; }
.menu__head .kicker { display: inline-block; }
.menu__note { color: var(--cream-dim); font-style: italic; font-family: var(--serif); font-size: 1.2rem; margin-top: 1rem; }

.menu__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3.5rem; }
.menu__tab {
  background: none; border: 1px solid var(--rule); color: var(--cream-dim);
  padding: 0.75rem 1.7rem; font-family: var(--sans); font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  transition: all 0.4s var(--ease);
}
.menu__tab:hover { color: var(--cream); border-color: var(--gold); }
.menu__tab.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.menu__panel { display: none; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.menu__panel.is-active { display: grid; animation: fadeUp 0.7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.menu__list { display: flex; flex-direction: column; gap: 2rem; }
.dish__row { display: flex; align-items: baseline; gap: 0.6rem; }
.dish h3 { font-size: 1.5rem; color: var(--cream); white-space: nowrap; }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-4px); }
.dish__price { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.dish__price::before { content: "€"; font-size: 0.85em; margin-right: 1px; opacity: 0.8; }
.dish p { color: var(--cream-dim); font-size: 0.98rem; margin-top: 0.35rem; max-width: 52ch; }
.dish p em { color: var(--gold-hi); font-style: italic; }

.menu__plate { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.menu__plate img { transition: transform 1.4s var(--ease); }
.menu__plate:hover img { transform: scale(1.06); }
.menu__plate figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: var(--cream);
  background: linear-gradient(to top, rgba(12,20,16,0.9), transparent);
}

/* ---------- bar ---------- */
.bar { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; background: var(--ink); }
.bar__media { overflow: hidden; }
.bar__media img { transition: transform 1.6s var(--ease); }
.bar__media:hover img { transform: scale(1.05); }
.bar__content { padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.bar__content > p { color: var(--cream-dim); margin-bottom: 2.5rem; font-size: 1.06rem; max-width: 46ch; }
.bar__content h2 { margin-bottom: 1.6rem; }
.bar__list { display: flex; flex-direction: column; gap: 1.7rem; }
.bar__item { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.bar__item-head { display: flex; justify-content: space-between; align-items: baseline; }
.bar__item-head h3 { font-size: 1.4rem; color: var(--cream); }
.bar__item-head span { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); }
.bar__item-head span::before { content: "€"; font-size: 0.8em; opacity: 0.8; }
.bar__item p { color: var(--cream-dim); font-size: 0.95rem; margin-top: 0.3rem; }

/* ---------- quote ---------- */
.quote { padding: clamp(6rem, 13vw, 11rem) 1.5rem; text-align: center; background: var(--emerald-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quote__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4.5vw, 3.3rem); line-height: 1.3; color: var(--cream); max-width: 18ch; margin: 0 auto; }
.quote__by { margin-top: 2rem; font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ---------- gallery ---------- */
.gallery { padding: clamp(6rem, 12vw, 10rem) clamp(1.2rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery__item { overflow: hidden; position: relative; }
.gallery__item img { transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(0.95) brightness(0.92); }
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- reserve ---------- */
.reserve { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto; }
.reserve__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem);
  background: var(--ink); border: 1px solid var(--rule);
  padding: clamp(2.5rem, 6vw, 5rem);
}
.reserve__intro h2 { margin-bottom: 1.6rem; }
.reserve__intro > p { color: var(--cream-dim); max-width: 42ch; }
.reserve__facts { list-style: none; margin-top: 2.4rem; }
.reserve__facts li { padding: 0.85rem 0; border-top: 1px solid var(--rule); color: var(--cream); font-size: 0.98rem; }
.reserve__facts li span { display: inline-block; width: 110px; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }

.reserve__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.2rem; }
.field { position: relative; }
.field--half { grid-column: span 1; }
.field--full { grid-column: 1 / -1; }
.reserve__form .btn { grid-column: 1 / -1; margin-top: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--rule);
  color: var(--cream); font-family: var(--sans); font-size: 1rem; padding: 0.7rem 0; outline: none;
  transition: border-color 0.4s;
}
.field textarea { resize: none; }
.field select option { background: var(--ink); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field label {
  position: absolute; left: 0; top: 0.7rem; color: var(--cream-dim);
  font-size: 1rem; pointer-events: none; transition: all 0.3s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field .label--static {
  top: -0.7rem; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
.reserve__confirm { grid-column: 1 / -1; color: var(--gold-hi); font-family: var(--serif); font-style: italic; font-size: 1.2rem; text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--rule); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) 2rem; }
.footer__top { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .nav__brand-mark { margin-bottom: 1rem; }
.footer__name { display: block; font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.3em; }
.footer__brand p { color: var(--gold); font-style: italic; font-family: var(--serif); margin-top: 0.4rem; }
.footer__col h4 { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-family: var(--sans); }
.footer__col p, .footer__col a { color: var(--cream-dim); font-size: 0.95rem; display: block; margin-bottom: 0.5rem; text-decoration: none; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-hi); }
.footer__base { max-width: 1320px; margin: 3rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; color: var(--cream-dim); font-size: 0.8rem; letter-spacing: 0.1em; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px);
    flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(10, 18, 14, 0.97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform 0.55s var(--ease);
    border-left: 1px solid var(--rule);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 101; }
  .story__grid, .bar, .menu__panel.is-active, .reserve__panel { grid-template-columns: 1fr; }
  .story__figure { aspect-ratio: 16/11; order: -1; }
  .bar__media { min-height: 60vh; }
  .menu__plate { aspect-ratio: 16/11; }
  .reserve__form { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .menu__tabs { gap: 0.4rem; }
  .menu__tab { padding: 0.6rem 1.1rem; font-size: 0.66rem; letter-spacing: 0.16em; }
  .reserve__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer__top, .footer__base { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
  .footer__base { flex-direction: column; gap: 0.5rem; }
  .dish h3 { font-size: 1.3rem; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
