/* =========================================================
   Maluli by Chocoart — styles  (v3, refined)
   Classy editorial chocolate-house. Near-black ink on white,
   a single restrained bordeaux accent, hand-drawn line icons
   from the printed menu kept but rendered fine & quiet.
   Display: Cormorant Garamond (elegant serif) + Inter (UI/body).
   Centered, p47-style flow: big type, full-bleed photo strip,
   3-up dish cards, generous whitespace.
   ========================================================= */

:root {
  --ink: #1b1613;          /* near-black, faintly warm */
  --ink-soft: #4a423d;
  --paper: #ffffff;
  --wine: #7a2435;         /* the single accent — bordeaux */
  --wine-deep: #5c1926;
  --line: rgba(27, 22, 19, 0.14);
  --line-soft: rgba(27, 22, 19, 0.09);
  --muted: #6c625b;

  --maxw: 1180px;
  --maxw-text: 720px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 30px 64px -40px rgba(27, 22, 19, 0.5);
  --shadow-card: 0 20px 46px -30px rgba(27, 22, 19, 0.4);

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.4em; line-height: 1.06; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(58px, 9vw, 120px); position: relative; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--wine);
  margin: 0 0 1.1em;
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--wine); display: inline-block; }
.eyebrow svg { display: none; }

h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* squiggles dropped for a cleaner look */
.squiggle { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--berry { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn--berry:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--light { background: transparent; }
.btn--light:hover { background: var(--ink); color: var(--paper); }

.link { color: var(--wine); border-bottom: 1px solid var(--wine); padding-bottom: 1px; transition: opacity 0.15s ease; }
.link:hover { opacity: 0.7; }
.muted { color: var(--muted); }

/* ---- HEADER --------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 36px; height: 36px; border-radius: 8px; }
.brand__word {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 1.7rem; line-height: 0.9; color: var(--ink);
}
.brand__word small {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.48rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--wine); margin-top: 3px; font-weight: 600;
}
.topbar__nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.topbar__nav a:not(.btn) {
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  transition: color 0.15s ease;
}
.topbar__nav a:not(.btn):hover { color: var(--wine); }
.nav__cta { padding: 0.6em 1.3em; font-size: 0.74rem; }
.nav__toggle { display: none; }

/* ---- HERO ----------------------------------------------- */
.hero {
  text-align: center;
  padding-block: clamp(58px, 9vw, 110px) clamp(36px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.hero__inner { max-width: 860px; margin-inline: auto; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  font-weight: 500; line-height: 1.0;
  margin: 0.12em 0 0.34em;
}
.hero h1 .berry { font-style: italic; color: var(--wine); }
.hero h1 .green { font-style: italic; color: var(--ink); }
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--muted); max-width: 52ch; margin: 0 auto 2em;
}
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
/* subtle line-art accents, quiet and monochrome */
.hero__doodle { position: absolute; color: var(--ink); opacity: 0.13; z-index: 1; pointer-events: none; }
.hero__doodle svg { width: 100%; height: 100%; stroke-width: 1.2; }
.hero__doodle--1 { width: 54px; height: 54px; top: 12%; left: 9%; transform: rotate(-8deg); }
.hero__doodle--2 { width: 52px; height: 52px; top: 16%; right: 10%; transform: rotate(8deg); }
.hero__doodle--3 { width: 46px; height: 46px; bottom: 10%; left: 15%; transform: rotate(6deg); }
.hero__doodle--4 { width: 44px; height: 44px; bottom: 14%; right: 14%; transform: rotate(-6deg); }

/* ---- FILMSTRIP ------------------------------------------ */
.filmstrip { border-block: 1px solid var(--ink); background: var(--ink); overflow: hidden; }
.filmstrip__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
.filmstrip__track img {
  height: clamp(200px, 27vw, 320px); width: auto; aspect-ratio: 4/5; object-fit: cover;
  border-right: 1px solid rgba(255,255,255,0.12);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .filmstrip__track { animation: none; } }

/* ---- ABOUT ---------------------------------------------- */
.about { text-align: center; }
.about__inner { max-width: var(--maxw-text); margin-inline: auto; }
.about__inner h2 { margin-bottom: 0.5em; }
.about__inner p { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.8; }
.about__inner p strong { font-weight: 600; }
.about__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 2em; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.03em; color: var(--ink-soft);
  padding: 0.45em 1.05em; border: 1px solid var(--line); border-radius: 999px;
}
.tag svg { width: 15px; height: 15px; color: var(--wine); }

/* ---- MENU ----------------------------------------------- */
.menu { border-block: 1px solid var(--line); background: var(--paper); }
.menu__head { text-align: center; margin-bottom: clamp(30px, 4vw, 54px); }
.menu__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 8vw, 5rem); line-height: 0.96; margin: 0; }
.menu__title .by { font-style: italic; color: var(--wine); }
.menu__intro { color: var(--muted); margin: 0.7em auto 0; max-width: 48ch; font-size: 0.98rem; }

.menu__sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 56px);
}
.menu__cols { columns: 3; column-gap: clamp(30px, 4vw, 60px); }
.menu__block { break-inside: avoid; margin: 0 0 clamp(24px, 2.8vw, 38px); }
.menu__cat {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; line-height: 1.1; margin: 0 0 0.55em;
  padding-bottom: 0.4em; border-bottom: 1px solid var(--ink);
}
.menu__cat .ico { width: 24px; height: 24px; flex: none; color: var(--wine); }
.menu__cat .ico svg { width: 100%; height: 100%; }

.menu__sub {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--wine); margin: 1.1em 0 0.4em;
}
.menu__sub:first-of-type { margin-top: 0.3em; }

.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 7px; padding: 0.32em 0; }
.m-name { font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.m-price { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.leader { border-bottom: 1px dotted var(--line); transform: translateY(-3px); min-width: 12px; align-self: center; }
.m-desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.78rem; margin-top: -2px; }
.menu__note { margin: 0.6em 0 0; font-size: 0.76rem; color: var(--muted); font-style: italic; }

.menu__block--dark { background: var(--ink); color: var(--paper); border-radius: var(--radius-sm); padding: 20px 22px; }
.menu__block--dark .menu__cat { color: var(--paper); border-color: rgba(255,255,255,0.25); }
.menu__block--dark .menu__cat .ico { color: #d9a7af; }
.menu__block--dark .m-name { color: rgba(255,255,255,0.92); }
.menu__block--dark .m-price { color: #fff; }
.menu__block--dark .leader { border-color: rgba(255,255,255,0.25); }
.menu__block--dark .m-desc { color: rgba(255,255,255,0.6); }

.menu__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em;
}

/* ---- LOVED ---------------------------------------------- */
.loved { text-align: center; }
.loved__head { margin-bottom: clamp(30px, 4vw, 52px); }
.loved__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); text-align: left; }
.dish {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish__media { aspect-ratio: 4/5; overflow: hidden; border-bottom: 1px solid var(--line); background: #f3eef0; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dish:hover .dish__media img { transform: scale(1.04); }
.dish__body { padding: 20px 22px 24px; }
.dish__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0 0 0.15em; }
.dish__body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---- CTA ------------------------------------------------ */
.cta { background: var(--ink); color: var(--paper); text-align: center; }
.cta h2 { margin: 0 0 0.3em; color: var(--paper); }
.cta p { color: rgba(255,255,255,0.7); max-width: 48ch; margin: 0 auto 1.8em; }
.cta .btn { border-color: rgba(255,255,255,0.6); color: var(--paper); }
.cta .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---- VISIT ---------------------------------------------- */
.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.visit__lead { color: var(--muted); max-width: 42ch; }
.visit__details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 1.9em 0; }
.visit__details dt {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.66rem; color: var(--wine); margin-bottom: 0.35em;
}
.visit__details dd { margin: 0; font-size: 0.94rem; }
.social { display: flex; gap: 11px; }
.social__btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 50%; color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.social__btn svg { width: 19px; height: 19px; }
.social__btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.visit__map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; filter: grayscale(0.2); }

/* ---- FOOTER --------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(44px, 6vw, 74px); }
.footer__top { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.brand--foot .brand__word { color: var(--paper); }
.brand--foot .brand__word small { color: #d9a7af; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: rgba(255,255,255,0.82); margin: 0; }
.footer__nav { margin-left: auto; display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.footer__nav a:hover { color: #fff; }
.footer__social .social__btn { border-color: rgba(255,255,255,0.4); color: var(--paper); }
.footer__social .social__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.footer__bottom p { margin: 0; }

/* ---- PHOTOS PAGE ---------------------------------------- */
.subhero { text-align: center; padding-block: clamp(50px, 7vw, 92px) clamp(22px, 3vw, 40px); }
.subhero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin: 0.15em 0 0.25em; }
.subhero h1 .berry { font-style: italic; color: var(--wine); }
.subhero p { color: var(--muted); max-width: 54ch; margin: 0 auto; font-size: 1.02rem; }
.subhero .back { margin-top: 1.8em; }

.gallery-section { padding-block: clamp(30px, 4vw, 56px); }
.gallery-section + .gallery-section { padding-top: 0; }
.gallery-head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.5vw, 28px); }
.gallery-head .ico { width: 26px; height: 26px; flex: none; color: var(--wine); }
.gallery-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); white-space: nowrap; }
.gallery-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #f3eef0; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.5s ease; }
.grid figure:hover img { transform: scale(1.05); }

/* ---- REVEAL --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- RESPONSIVE ----------------------------------------- */
@media (max-width: 1000px) {
  .menu__cols { columns: 2; }
  .loved__grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .topbar__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gutter) 18px; max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .topbar.is-open .topbar__nav { max-height: 440px; }
  .topbar__nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
  .nav__cta { margin-top: 14px; justify-content: center; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav__toggle span { width: 25px; height: 1.5px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .topbar.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .topbar.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .topbar.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .menu__cols { columns: 1; }
  .loved__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .visit__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero__doodle { display: none; }
}
@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__nav { margin-left: 0; width: 100%; }
}
