/* ============================================
   VELVET — art-deco coffee salon
   palette: deep emerald + brass gold + ivory + black
   typography: Italiana (display) + Cormorant Garamond + Inter
   ============================================ */

:root {
  --bg: #0e2a23;
  --bg-2: #0a201a;
  --bg-3: #15392f;
  --emerald: #1d4d3e;
  --gold: #c9a35d;
  --gold-2: #b18a47;
  --ivory: #f5ecd9;
  --ivory-2: #efe2c5;
  --ink: #f5ecd9;
  --muted: rgba(245, 236, 217, 0.62);
  --line: rgba(201, 163, 93, 0.18);

  --font-display: 'Italiana', 'Bodoni Moda', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --shadow-md: 0 30px 70px rgba(0,0,0,0.4);
  --shadow-lg: 0 50px 120px rgba(0,0,0,0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 300;
  background-image:
    radial-gradient(at 80% 0%, rgba(201, 163, 93, 0.06), transparent 50%),
    radial-gradient(at 20% 100%, rgba(29, 77, 62, 0.4), transparent 50%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.bean-particles, .cursor-glow { display: none; }

/* art deco line decoration */
.section { position: relative; }
.section::before {
  content: '◇'; position: absolute;
  top: 30px; left: 50%; transform: translateX(-50%);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1em;
}
.hero::before { display: none; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6vw;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 42, 35, 0.9);
  backdrop-filter: blur(14px);
  padding: 14px 6vw;
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__logo {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  position: relative;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--bg), 0 0 0 5px var(--gold);
}
.nav__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}
.nav__links { display: flex; gap: 30px; list-style: none; }
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  background: transparent;
  color: var(--gold);
  padding: 11px 24px;
  border: 1px solid var(--gold);
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.nav__cta:hover { background: var(--gold); color: var(--bg); }
.nav__burger { display: none; flex-direction: column; gap: 4px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); }
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 0 6vw;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.6) brightness(0.45);
  z-index: -2;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(14,42,35,0.85) 80%),
    linear-gradient(180deg, rgba(14,42,35,0.5), rgba(14,42,35,0.9));
  z-index: -1;
}
.hero__steam, .hero__scroll { display: none; }

.hero__content {
  max-width: 900px;
  padding: 60px 0;
  position: relative;
}
.hero__content::before, .hero__content::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--gold);
}
.hero__content::before { top: 0; }
.hero__content::after { bottom: 0; }
.hero__content::before { box-shadow: 0 0 0 0 var(--gold); animation: deco-line 3s ease-in-out infinite; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  color: var(--gold);
  margin-bottom: 30px;
  font-weight: 400;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  color: var(--ivory);
}
.hero__title .word {
  display: inline-block;
  margin-right: 0.16em;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + 200ms);
}
.hero__title .word:nth-child(2) {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85em;
  color: var(--gold);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn--primary:hover { color: var(--gold); }
.btn--primary:hover::before { transform: scaleY(1); }
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.btn--ghost:hover { background: var(--ivory); color: var(--bg); }
.btn__arrow { transition: transform 0.3s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

@keyframes deco-line {
  0%, 100% { width: 80px; }
  50% { width: 140px; }
}

/* sections */
.section {
  padding: clamp(100px, 14vw, 180px) 6vw 100px;
}
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.section__head .eyebrow { color: var(--gold); }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: var(--ivory);
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}
.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
}
.section__cta { text-align: center; margin-top: 60px; }
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* about */
.about__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about__text .display { text-align: left; }
.about__text .lead { color: var(--ivory-2); margin-bottom: 36px; opacity: 0.85; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 14px;
  border: 1px solid var(--gold);
}
.about__visual::before {
  content: ''; position: absolute; inset: -10px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.about__photo {
  position: absolute; inset: 14px;
  background-size: cover; background-position: center;
  filter: saturate(0.7);
  z-index: 2;
  transition: filter 0.6s ease;
}
.about__visual:hover .about__photo { filter: saturate(1); }
.about__sticker {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 4px 22px;
  z-index: 3;
}
.about__sticker .caveat {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}
.about__ring {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 4px 22px;
  z-index: 3;
}
.about__ring::before {
  content: '◇   ◇   ◇';
  letter-spacing: 0.4em;
  color: var(--gold);
  font-size: 0.85rem;
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
}

/* menu cards */
.menu-preview {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.menu-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.menu-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  position: relative;
}
.menu-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.menu-card__img {
  height: 230px;
  background-size: cover; background-position: center;
  position: relative;
  filter: saturate(0.7);
  transition: filter 0.5s ease, transform 0.6s var(--ease);
}
.menu-card:hover .menu-card__img { filter: saturate(1.05); transform: scale(1.04); }
.menu-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--bg);
  color: var(--gold);
  padding: 5px 14px;
  border: 1px solid var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.menu-card__body { padding: 28px 28px 32px; border-top: 1px solid var(--line); position: relative; }
.menu-card__body::before {
  content: '◇';
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--bg-3);
  padding: 0 8px;
  color: var(--gold);
  font-size: 0.85rem;
}
.menu-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.menu-card__head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.menu-card__price {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
}
.menu-card__body p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* gallery */
.gallery {
  background: var(--bg-2);
}
.gallery__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery__grid .gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__grid .gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item {
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  padding: 6px;
}
.gallery__item::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s ease, inset 0.4s ease;
  pointer-events: none;
}
.gallery__item:hover::before { border-color: var(--gold); inset: -6px; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  transition: filter 0.6s ease, transform 0.7s var(--ease);
}
.gallery__item:hover img { filter: saturate(1) brightness(1); transform: scale(1.05); }

@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__grid .gallery__item:nth-child(1),
  .gallery__grid .gallery__item:nth-child(4) { grid-row: span 1; }
}

/* testimonials */
.testimonials {
  background: var(--bg);
  position: relative;
}
.testimonials::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.testimonials .display { color: var(--ivory); }
.testimonials__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 40px 32px 32px;
  position: relative;
  text-align: center;
  transition: all 0.5s var(--ease);
}
.testimonial:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.testimonial::before {
  content: '◇   ◇   ◇';
  letter-spacing: 0.4em;
  color: var(--gold);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 22px;
}
.testimonial__quote { display: none; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.testimonial figcaption span {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* contact */
.contact { background: var(--bg-2); }
.contact__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact__list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.contact__list p { color: var(--muted); }
.contact__map {
  border: 1px solid var(--gold);
  padding: 8px;
  height: 460px;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.5); }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 320px; }
}

/* footer */
.footer {
  background: #060f0c;
  color: var(--ivory);
  padding: 80px 6vw 40px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 14px 0 8px;
  letter-spacing: 0.04em;
}
.footer__tagline { color: var(--muted); font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; }
.footer__col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer__col p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.footer__sign .caveat { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.footer__admin {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}
.footer__admin:hover { color: var(--gold); }
.footer__bottom {
  max-width: 1200px; margin: 60px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* page hero (menu page) */
.page-hero {
  position: relative;
  padding: 200px 6vw 100px;
  background: var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 800px; margin: 0 auto; position: relative; }
.page-hero__inner::before, .page-hero__inner::after {
  content: '◇   ◇   ◇';
  letter-spacing: 0.4em;
  color: var(--gold);
  font-size: 0.85rem;
  display: block;
}
.page-hero__inner::before { margin-bottom: 30px; }
.page-hero__inner::after { margin-top: 30px; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.menu-full { background: var(--bg); padding-top: 70px; }
.menu-filters { max-width: 1280px; margin: 0 auto 50px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.menu-grid--full { padding-bottom: 80px; }
.menu-card.is-hidden { display: none; }
