/* ════════════════════════════════════════════════════════════
   MARISOL — "Artistic" restaurant template
   Expressive, colourful, lots of movement & pattern.
   Syne (display) · Hanken Grotesk (body) · Caveat (hand accent)
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:       #F7EFE0;
  --bg-2:     #F0E4CF;
  --ink:      #221019;
  --ink-soft: #6E5560;
  --tang:     #FF5A1F;   /* tangerine — primary pop */
  --cobalt:   #2A3AE0;   /* electric blue */
  --sun:      #F4B400;   /* sun yellow */
  --pink:     #FF87A6;   /* soft pink */
  --line:     #E3D3B8;
  --card:     #FFFDF8;

  --syne: "Syne", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --hand: "Caveat", cursive;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type helpers ---------- */
.syne { font-family: var(--syne); }
.hand { font-family: var(--hand); }
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ════════════════ Top marquee ════════════════ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);
}
.topbar__track {
  display: inline-flex;
  gap: 40px;
  padding: 9px 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: marquee 26s linear infinite;
}
.topbar__track span { display: inline-flex; align-items: center; gap: 40px; }
.topbar__track span::after { content: "✦"; color: var(--sun); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }

/* ════════════════ Nav ════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--ink); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--syne);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.brand .star {
  width: 26px; height: 26px;
  color: var(--tang);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand .star { animation: none; } }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav__links a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 2px;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 3px;
  background: var(--tang);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--ink);
  color: var(--bg);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.nav__cta:hover { background: var(--tang); transform: translateY(-2px) rotate(-1.5deg); }
.nav__burger { display: none; }

/* ════════════════ Hero ════════════════ */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 110px) var(--pad) clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cobalt);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(64px, 16vw, 230px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero__title .o {
  color: var(--tang);
}
.hero__title .swash {
  display: block;
  font-family: var(--hand);
  font-weight: 700;
  color: var(--cobalt);
  font-size: clamp(34px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 0;
  margin-top: -0.1em;
  margin-left: 0.1em;
  transform: rotate(-3deg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero__lede {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  max-width: 460px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.hero__lede b { color: var(--ink); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* hero photo collage */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
}
.hero__photo .frame {
  position: absolute;
  inset: 0;
  border-radius: 220px 220px 18px 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 14px 16px 0 var(--sun);
  transform: rotate(2deg);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  animation: drift 16s ease-in-out infinite;
}
.hero__blob--1 { width: 220px; height: 220px; background: var(--pink); opacity: .55; top: -40px; left: -30px; }
.hero__blob--2 { width: 160px; height: 160px; background: var(--sun); opacity: .5; bottom: 10%; right: -50px; animation-delay: -5s; }
.hero__blob--3 { width: 120px; height: 120px; background: var(--cobalt); opacity: .35; top: 40%; left: 30%; animation-delay: -9s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(26px,-22px) scale(1.08); }
  66%     { transform: translate(-18px,16px) scale(.95); }
}
@media (prefers-reduced-motion: reduce) { .hero__blob { animation: none; } }

/* spinning circular badge */
.spin-badge {
  position: absolute;
  width: 132px; height: 132px;
  z-index: 5;
}
.spin-badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.spin-badge text { font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; fill: var(--ink); text-transform: uppercase; }
.spin-badge .center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--syne);
  font-weight: 800;
  font-size: 30px;
  color: var(--tang);
}
@media (prefers-reduced-motion: reduce) { .spin-badge svg { animation: none; } }

/* ════════════════ Strip marquee (big) ════════════════ */
.strip {
  background: var(--tang);
  color: var(--bg);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.strip__track {
  display: inline-flex;
  gap: 36px;
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  animation: marquee 22s linear infinite;
}
.strip__track span { display: inline-flex; align-items: center; gap: 36px; }
.strip__track span::after {
  content: "✺";
  color: var(--sun);
  -webkit-text-stroke: 2px var(--ink);
}
.strip--alt { background: var(--cobalt); }
.strip--alt .strip__track { animation-duration: 28s; animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ════════════════ Section primitives ════════════════ */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--cream { background: var(--bg-2); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tang);
  margin-bottom: 16px;
}
.sec-eyebrow::before { content: "✦"; color: var(--cobalt); }
.sec-title {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}
.sec-title em { font-style: normal; color: var(--tang); }
.sec-note {
  max-width: 320px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ════════════════ Menu collage ════════════════ */
.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.dish {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dish:nth-child(odd)  { transform: rotate(-1.2deg); }
.dish:nth-child(even) { transform: rotate(1deg); }
.dish:hover { transform: rotate(0) translateY(-6px); box-shadow: 10px 12px 0 var(--cobalt); }
.dish:nth-child(2):hover { box-shadow: 10px 12px 0 var(--sun); }
.dish:nth-child(3):hover { box-shadow: 10px 12px 0 var(--pink); }
.dish__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  margin-bottom: 18px;
}
.dish__sticker {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  background: var(--sun);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 13px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  transform: rotate(-7deg);
}
.dish__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.dish__name {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin: 0;
}
.dish__price {
  font-family: var(--syne);
  font-weight: 800;
  font-size: 22px;
  color: var(--tang);
  white-space: nowrap;
}
.dish__desc { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dish__tag {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
.dishes__cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 60px); }

/* ════════════════ Story band ════════════════ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.story__media {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 50% 50% 14px 14px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: -14px 16px 0 var(--cobalt);
}
.story__big {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.story__big mark { background: var(--sun); color: var(--ink); padding: 0 .12em; }
.story__p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; max-width: 460px; margin: 0 0 16px; }
.story__sign {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 36px;
  color: var(--cobalt);
  margin-top: 22px;
}

/* ════════════════ Reviews ════════════════ */
.reviews { background: var(--ink); color: var(--bg); }
.reviews .sec-eyebrow { color: var(--sun); }
.reviews .sec-eyebrow::before { color: var(--pink); }
.reviews .sec-title { color: var(--bg); }
.reviews .sec-note { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.rev-stage { position: relative; min-height: 280px; max-width: 900px; }
.rev-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.rev-card.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.rev-stars { color: var(--sun); font-size: 26px; letter-spacing: 4px; margin-bottom: 22px; }
.rev-quote {
  font-family: var(--syne);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
  text-wrap: balance;
}
.rev-quote .hl { color: var(--tang); }
.rev-who { display: flex; align-items: center; gap: 14px; }
.rev-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--tang);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--syne); font-weight: 800; font-size: 20px;
}
.rev-name { font-weight: 700; }
.rev-when { font-size: 13px; color: color-mix(in srgb, var(--bg) 55%, transparent); }
.rev-nav { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.rev-arrow {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--bg) 35%, transparent);
  background: transparent;
  color: var(--bg);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 20px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.rev-arrow:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); transform: translateY(-2px); }
.rev-count { font-family: var(--syne); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; min-width: 70px; text-align: center; }

/* ════════════════ Visit ════════════════ */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
.visit-card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.visit-card:hover { transform: translateY(-5px); box-shadow: 8px 10px 0 var(--tang); }
.visit-card__city {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt);
}
.visit-card__city::before { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--tang); }
.visit-card__name { font-family: var(--syne); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin: 14px 0 12px; }
.visit-card__addr, .visit-card__hours { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.visit-card__label { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin: 16px 0 6px; }
.visit-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  border-bottom: 2px solid var(--tang); padding-bottom: 3px;
  transition: gap .25s var(--ease);
}
.visit-card__link:hover { gap: 11px; }

/* ════════════════ Footer ════════════════ */
.foot {
  background: var(--cobalt);
  color: var(--bg);
  padding: clamp(56px, 8vw, 110px) var(--pad) 36px;
  overflow: hidden;
}
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 56px); max-width: 1320px; margin: 0 auto; }
.foot__big {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.foot__sub { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 320px; }
.foot__col h4 { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: .65; margin: 0 0 16px; }
.foot__col a { display: block; margin-bottom: 9px; font-size: 16px; transition: padding .2s var(--ease), color .2s; }
.foot__col a:hover { padding-left: 5px; color: var(--sun); }
.foot__word {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(90px, 26vw, 380px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  margin: clamp(40px, 7vw, 90px) 0 0;
  color: var(--bg);
  opacity: .96;
}
.foot__bottom {
  max-width: 1320px; margin: 28px auto 0; padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-weight: 600; font-size: 12px; letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

/* ════════════════ Placeholder ════════════════ */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(-45deg,
    transparent 0, transparent 10px,
    color-mix(in srgb, var(--ink) 12%, transparent) 10px,
    color-mix(in srgb, var(--ink) 12%, transparent) 11px);
}
.ph span {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--card);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  text-align: center;
}
.shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ════════════════ Buttons ════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  border: 2px solid var(--ink);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover { background: var(--tang); border-color: var(--tang); transform: translateY(-2px) rotate(-1deg); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }

/* ════════════════ Reveal ════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ════════════════ Responsive ════════════════ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; margin-top: 10px; }
  .dishes { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 420px; }
  .visit-grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 2px solid var(--ink); background: var(--bg); cursor: pointer;
  }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 2px solid var(--ink);
    padding: 18px var(--pad) 26px; gap: 18px;
  }
}
