/* =========================================================
   The Lunar Park — main stylesheet
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Antonio"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/antonio-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Antonio"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/antonio-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Antonio"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/antonio-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/urbanist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/urbanist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/urbanist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/urbanist-latin-700-normal.woff2") format("woff2"); }

:root {
  --purple: #9c2c9d;        /* buttons, vendors band, footer */
  --purple-deep: #852886;   /* hero panel */
  --purple-ink: #892b88;    /* headings on cream */
  --cream: #fbf7ec;         /* page background */
  --beige: #f4e3c1;         /* contact button, banners, phone panel */
  --ink: #111111;
  --text: #1d1d1f;
  --muted: #6b6b70;
  --line: #e4e4e7;
  --white: #ffffff;
  --error: #c62828;
  --success: #1e7b3a;

  --font-display: "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .05);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 90px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--beige); outline-offset: 3px; }
.section :focus-visible, .contact-form :focus-visible { outline-color: var(--purple); }

/* ---------- Type ---------- */
.eyebrow { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.eyebrow--light { color: var(--white); }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--purple-ink);
  font-weight: 700;
}
.display .light { font-weight: 300; }
.display strong { font-weight: 700; }
.display--stack .light, .display--stack strong { display: block; }
.display--light { color: var(--white); }

.lead { font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 14px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--beige); }
.btn--outline-light { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--beige { background: var(--beige); color: var(--ink); }
.btn--beige:hover { background: #fff1d6; }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--purple:hover { background: #7f2280; box-shadow: 0 6px 16px rgba(156, 44, 157, .3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: 26px;
  transition: background-color .3s, padding .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(133, 40, 134, .96);
  backdrop-filter: saturate(140%) blur(8px);
  padding-top: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; }
.nav__group { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 56px); }
.nav__group--right { justify-content: flex-end; }
.nav__group a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px;
  position: relative; padding-block: 6px;
}
.nav__group a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--beige);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__group a:not(.btn):hover::after, .nav__group a.is-active::after { transform: scaleX(1); }
.nav__logo img { width: clamp(120px, 12vw, 176px); height: auto; transition: width .3s; }
.site-header.is-scrolled .nav__logo img { width: 116px; }

.nav__toggle {
  display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; }
.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); }

.mobile-menu { background: var(--purple-deep); border-top: 1px solid rgba(255, 255, 255, .15); padding: 12px var(--gutter) 24px; }
.mobile-menu li a:not(.btn) { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 10px 10px 0; }
.hero__panel {
  position: relative; overflow: hidden;
  background: var(--purple-deep);
  border-radius: 0 0 22px 22px;
  min-height: min(860px, 94vh);
  display: flex; align-items: center; justify-content: center;
  padding: 150px 0 110px;
  isolation: isolate;
}
.hero__panel::before { /* soft moonlight glow */
  content: ""; position: absolute; z-index: -1; inset: auto -10% -45% -10%; height: 80%;
  background: radial-gradient(closest-side, rgba(244, 227, 193, .16), transparent 70%);
}
.hero__bg { /* night-market video at 40% over the purple panel */
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: .4; pointer-events: none;
}
/* Desktop: panel takes the video's own shape (16:9) so the full image shows at its original framing, uncropped */
@media (min-width: 1100px) {
  .hero__panel { min-height: 0; aspect-ratio: 16 / 9; padding-block: 120px 80px; }
}
.hero__lights { position: absolute; top: 0; width: clamp(80px, 9vw, 140px); height: auto; pointer-events: none; }
.hero__lights--left { left: 0; }
.hero__lights--right { right: 0; }
.hero__content { text-align: center; color: var(--white); }
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(56px, 11.5vw, 164px); line-height: .92; letter-spacing: -.005em;
  margin-bottom: 18px;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 820px; margin: 0 auto 30px; opacity: .95; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Why ---------- */
.why__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); max-width: 1000px; margin: 0 auto 56px; }
.why__heading .display { font-size: clamp(48px, 6vw, 76px); }
.why__copy p:not(.lead) { line-height: 1.75; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1px solid #efece4; border-radius: var(--radius);
  padding: 28px 26px 30px; transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 38px; }
.feature h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; color: var(--purple-ink); font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.feature p { font-size: 15.5px; line-height: 1.65; }
.why__tagline { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; text-align: center; }
.why__tagline strong { font-family: var(--font-display); text-transform: uppercase; color: var(--purple-ink); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.005em; }
.why__tagline span { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; }

/* ---------- App ---------- */
.app { padding-top: 0; }
.app__grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.app__text { margin: 14px 0 26px; max-width: 460px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.checklist li { position: relative; padding-left: 38px; font-size: 14.5px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c2d9d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11v6a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V8a4 4 0 0 1 4-4h8'/%3E%3Cpath d='M8 11.5l3.5 3.5L21 5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.app__phone { justify-self: center; width: 100%; max-width: 420px; }

/* 3D rotating phone carousel: three slots (front, right, back-left) that rotate round */
.phone-spin { --pw: 62%; position: relative; }
.phone-spin__stage {
  position: relative; aspect-ratio: 420 / 600; perspective: 1400px; transform-style: preserve-3d;
}
.phone-spin__stage::before { /* beige panel behind the phones, as in the design */
  content: ""; position: absolute; left: 6%; right: 6%; top: 14%; bottom: 14%;
  background: var(--beige); border-radius: 22px; transform: translateZ(-400px) scale(1.4);
}
.phone-spin__item {
  position: absolute; top: 3%; left: calc(50% - var(--pw) / 2); width: var(--pw); margin: 0;
  transform-style: preserve-3d; cursor: pointer;
  transition: transform 1.1s cubic-bezier(.45, .05, .25, 1), opacity 1.1s, filter 1.1s;
}
.phone-spin__item img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(60, 20, 60, .22)); user-select: none; -webkit-user-drag: none; }
.phone-spin__item[data-slot="0"] { transform: translate3d(0, 0, 0) rotateY(0deg); z-index: 3; cursor: default; }
.phone-spin__item[data-slot="1"] { transform: translate3d(48%, 0, -260px) rotateY(-38deg); opacity: .82; filter: saturate(.85); z-index: 2; }
.phone-spin__item[data-slot="2"] { transform: translate3d(-48%, 0, -260px) rotateY(38deg); opacity: .82; filter: saturate(.85); z-index: 1; }
.phone-spin__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.phone-spin__dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(156, 45, 157, .28); position: relative; transition: width .35s, background-color .35s;
}
.phone-spin__dots button::before { content: ""; position: absolute; inset: -12px -4px; }
.phone-spin__dots button[aria-current="true"] { width: 28px; background: var(--purple); }
.app__slogan { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--purple-ink); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18; text-align: center; margin-bottom: 26px; }
.store-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store-badges img { width: 150px; height: auto; transition: transform .2s; }
.store-badges a:hover img { transform: translateY(-2px); }

/* ---------- Vendors (centre-focus auto carousel) ---------- */
.vendors { background: var(--purple); color: var(--white); padding-block: clamp(64px, 8vw, 104px); overflow: hidden; }
.vendors__head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.vendors__sub { font-size: clamp(19px, 2vw, 26px); font-weight: 600; margin: 16px 0 10px; }
.vendors__text { max-width: 680px; margin-inline: auto; font-size: clamp(16px, 1.4vw, 18px); opacity: .95; }

.carousel { --card-w: clamp(280px, 40vw, 540px); --gap: clamp(14px, 2vw, 28px); }
.carousel__viewport { overflow: hidden; padding-block: 18px 22px; touch-action: pan-y; }
.carousel__track {
  display: flex; gap: var(--gap); align-items: stretch;
  transition: transform .75s cubic-bezier(.22, .8, .24, 1); will-change: transform;
}
.carousel.is-dragging .carousel__track { transition: none; }
.vendor-card {
  flex: 0 0 var(--card-w);
  background: var(--white); color: var(--text); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transform: scale(.86); opacity: .45; filter: saturate(.6);
  transition: transform .75s cubic-bezier(.22, .8, .24, 1), opacity .6s, filter .6s, box-shadow .6s;
  cursor: pointer;
}
.vendor-card.is-active {
  transform: scale(1); opacity: 1; filter: none; cursor: default;
  box-shadow: 0 0 0 4px var(--beige), 0 24px 50px rgba(40, 6, 42, .35);
}
.vendor-card:not(.is-active):hover { opacity: .7; }
.vendor-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #111; }
.vendor-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.rating {
  position: absolute; top: 4.5%; right: 3%;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--white); color: var(--ink); border-radius: 999px;
  padding: 4px 12px 4px 9px; font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.rating svg { width: 14px; height: 14px; fill: var(--purple); }
.vendor-card__body { padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 28px) clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vendor-card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.02; color: var(--ink); }
.vendor-card .muted { font-size: 15px; line-height: 1.5; }
.vendor-card__label { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 17px; margin-top: 6px; }
.prep { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #4a4a4f; margin-bottom: 10px; }
.prep svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vendor-card .btn { align-self: flex-start; margin-top: auto; }
.vendor-card__body .muted:last-of-type { margin-bottom: 12px; }

.carousel__controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; padding-inline: var(--gutter); flex-wrap: wrap; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7);
  background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s;
}
.carousel__btn:hover { background: rgba(255, 255, 255, .15); }
.carousel__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__dots { display: flex; gap: 8px; align-items: center; }
.carousel__dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .4); position: relative; overflow: hidden; transition: width .35s, background-color .35s;
}
.carousel__dot::before { content: ""; position: absolute; inset: -12px -4px; } /* bigger tap target */
.carousel__dot[aria-current="true"] { width: 34px; background: rgba(255, 255, 255, .35); }
.carousel__dot[aria-current="true"]::after { /* progress fill for the auto-advance timer */
  content: ""; position: absolute; inset: 0; background: var(--beige); border-radius: inherit;
  transform-origin: left; animation: dotFill var(--interval, 4500ms) linear forwards;
}
.carousel.is-paused .carousel__dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vendors__tagline { text-align: center; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 34px); margin-top: 36px; }

/* ---------- How ---------- */
.how { padding-top: 0; }
@media (max-width: 680px) { .carousel { --card-w: min(84vw, 380px); } }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.how__left .display { margin-bottom: 22px; }
.how__photo { margin-top: clamp(40px, 5vw, 70px); width: 100%; height: auto; border-radius: 12px; }
.steps { display: grid; gap: 14px; counter-reset: none; }
.step {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 8px 16px;
  background: var(--white); border-radius: var(--radius); padding: 28px 30px; min-height: 104px;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ink); }
.step h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; color: var(--purple-ink); font-size: 28px; line-height: 1.05; }
.step p { font-size: 16px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(24px, 4vw, 60px); background: linear-gradient(180deg, var(--cream) 0%, #f7efdd 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info .display { margin-bottom: 18px; }
.contact__info > p:not(.eyebrow) { max-width: 440px; margin-bottom: 28px; line-height: 1.7; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.contact__list svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--purple); text-decoration: underline; }

.contact-form { background: var(--white); border-radius: 18px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); display: grid; gap: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field label span[aria-hidden] { color: var(--purple); }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #dcd8cf; background: #fdfcf9; border-radius: 10px;
  padding: 12px 14px; font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4bfb3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); background: var(--white); box-shadow: 0 0 0 4px rgba(156, 44, 157, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { min-height: 20px; font-size: 13px; color: var(--error); font-weight: 500; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--purple); }
.field--check label { font-weight: 500; font-size: 14px; color: #3d3d42; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 6px; padding-block: 15px; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { min-height: 24px; margin-top: 8px; font-weight: 600; text-align: center; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.footer { background: var(--purple); color: var(--white); padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__brand { text-align: center; margin-bottom: clamp(36px, 5vw, 48px); }
.footer__brand img { width: clamp(180px, 20vw, 250px); height: auto; margin: 0 auto 14px; }
.footer__tag { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; margin: 0; }
.footer__quote { opacity: .88; margin: 8px 0 0; font-size: clamp(15px, 1.6vw, 17px); max-width: 36rem; margin-inline: auto; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(32px, 6vw, 80px);
  row-gap: 40px;
  width: 100%;
  align-items: start;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.footer__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  margin: 0 0 14px;
  opacity: .9;
}
.footer__col--links { justify-self: start; width: 100%; max-width: 320px; }
.footer__col--links .footer__title { text-align: left; }
.footer__col--hours { justify-self: center; text-align: center; width: max-content; max-width: 100%; }
.footer__col--hours .footer__title { text-align: center; }
.footer__col--contact { justify-self: end; text-align: right; width: 100%; max-width: 300px; }
.footer__col--contact .footer__title { text-align: right; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: clamp(20px, 4vw, 40px);
  row-gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
}
.footer__nav a {
  display: inline-block;
  padding: 3px 0;
  opacity: .92;
  text-decoration: none;
}
.footer__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.hours__line { margin: 0; font-size: 16px; line-height: 1.5; }
.hours__days { font-weight: 600; }
.hours__time { margin-top: 2px; opacity: .95; }
.hours__note {
  font-size: 13px;
  opacity: .78;
  margin: 12px 0 0;
  font-style: italic;
  line-height: 1.45;
  max-width: 16rem;
}
.footer__contact {
  font-style: normal;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.footer__contact-line {
  display: block;
  text-decoration: none;
  opacity: .92;
}
.footer__contact-line:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer a { color: inherit; }
.footer__social { display: flex; justify-content: center; gap: 14px; margin: clamp(36px, 5vw, 48px) 0 18px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; transition: background-color .2s; }
.footer__social a:hover { background: rgba(255, 255, 255, .14); }
.footer__social svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__copy { text-align: center; font-size: 14px; opacity: .9; }


/* ---------- Vendor menu pop-up (vendor theme inside a Lunar frame) ---------- */
body.menu-open { overflow: hidden; }
.menu-modal {
  --v-bg: var(--purple); --v-ink: #fff; --v-accent: var(--beige); --v-body: #f6f1f6; --v-chip-ink: var(--ink);
  width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0;
  border-radius: 22px; background: transparent; color: var(--text); overflow: visible;
}
.menu-modal::backdrop { background: rgba(32, 6, 34, .72); backdrop-filter: blur(4px); }
.menu-modal[open] .mm { animation: mmIn .35s cubic-bezier(.2, .8, .25, 1); }
@keyframes mmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.mm {
  display: flex; flex-direction: column; max-height: calc(100dvh - 32px);
  background: var(--purple); border: 5px solid var(--beige); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.mm__bar { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; background: var(--purple-deep); color: #fff; flex: 0 0 auto; }
.mm__bar img { width: 70px; height: auto; }
.mm__bar-label { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; font-size: 15px; opacity: .9; }
.mm__close {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s;
}
.mm__close:hover { background: rgba(255, 255, 255, .15); }
.mm__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.mm__scroll { overflow-y: auto; overscroll-behavior: contain; background: var(--v-body); }
.mm__hero {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(18px, 3vw, 32px);
  background: var(--v-bg); color: var(--v-ink);
}
.mm__logo { flex: 0 0 auto; width: clamp(170px, 26vw, 260px); aspect-ratio: 2 / 1; object-fit: cover; object-position: left top; border-radius: 14px; border: 3px solid var(--v-accent); background: #111; }
.mm__intro { min-width: 0; }
.mm__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1; }
.mm__desc { font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; margin: 8px 0 14px; opacity: .95; }
.mm__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.mm__chip { display: inline-flex; gap: 4px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--v-accent); color: var(--v-chip-ink); font-size: 14px; font-weight: 600; }
.mm__chip--soft { background: transparent; color: var(--v-ink); box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; }
.mm__body { padding: clamp(14px, 3vw, 28px); }
.mm__pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.mm__pages--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.mm__page { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); background: #fff; }
.mm__page a { display: block; cursor: zoom-in; }
.mm__page img { width: 100%; height: auto; }
.mm__hint { text-align: center; font-size: 13px; color: var(--v-ink-soft, #6b6b70); margin-top: 12px; }
.mm__soon { max-width: 520px; margin: 10px auto; text-align: center; padding: 34px 22px; border-radius: 16px; background: #fff; border: 2px dashed var(--v-accent); }
.mm__soon h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; color: var(--purple-ink); margin-bottom: 8px; }
.mm__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding: 18px clamp(18px, 3vw, 28px); background: var(--purple); color: #fff; }
.mm__foot p { max-width: 460px; font-size: 15px; }
.mm__foot .store-badges { justify-content: flex-start; }
.mm__foot .store-badges img { width: 132px; }

.menu-modal[data-vendor="bunchies"]    { --v-bg: #2c3087; --v-ink: #fff;    --v-accent: #fada00; --v-body: #e9eaf6; }
.menu-modal[data-vendor="picantos"]    { --v-bg: #efdea9; --v-ink: #2c4b47; --v-accent: #d83821; --v-body: #f7eecf; --v-chip-ink: #fff; }
.menu-modal[data-vendor="wow-momo"]    { --v-bg: #0d0d0d; --v-ink: #fff;    --v-accent: #a3e635; --v-body: #f1f7e6; }
.menu-modal[data-vendor="mangal"]      { --v-bg: #b81d24; --v-ink: #fff;    --v-accent: #f5b335; --v-body: #f8eee2; }
.menu-modal[data-vendor="holy-smokes"] { --v-bg: #141414; --v-ink: #f3f3f3; --v-accent: #d6332f; --v-body: #efecea; --v-chip-ink: #fff; }
.menu-modal[data-vendor="picassos"]    { --v-bg: #0b0b0b; --v-ink: #f6f1e3; --v-accent: #f6f1e3; --v-body: #f4efe3; }
.menu-modal[data-vendor="dirty-slice"] { --v-bg: #45c5d2; --v-ink: #14323a; --v-accent: #f8c537; --v-body: #e6f7f9; }
@media (max-width: 560px) {
  .menu-modal { width: 100%; max-height: 100dvh; margin: 0; max-width: 100%; border-radius: 0; }
  .mm { max-height: 100dvh; border-width: 0; border-radius: 0; }
  .mm__hero { flex-direction: column; align-items: flex-start; }
  .mm__logo { width: 100%; max-width: 320px; }
}

/* ---------- Reveal animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .app__grid { grid-template-columns: 1fr 1fr; }
  .app__copy { grid-column: 1 / -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; min-height: 68px; }
  .nav__group { display: none; }
  .nav__toggle { display: flex; }
  .nav__logo { justify-self: start; }
  .site-header { padding-top: 12px; }
  .site-header.menu-open { background: var(--purple-deep); }

  .why__intro, .how__grid, .contact__grid { grid-template-columns: 1fr; }
  .how__photo { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .footer__col--hours { grid-column: 1 / -1; justify-self: center; }
  .footer__col--contact { justify-self: end; }
}

@media (max-width: 680px) {
  .hide-sm { display: none; }
  .hero { padding: 0; }
  .hero__panel { min-height: 88vh; padding: 120px 0 80px; border-radius: 0 0 18px 18px; }
  .hero__actions .btn { flex: 1 1 200px; }
  .app__grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; gap: 16px; }
  .app__phone { max-width: 340px; }
  .features { grid-template-columns: 1fr; }
  .feature img { margin-bottom: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; padding: 22px 20px; }
  .step p { grid-column: 2; }
  .step h3, .step__num { font-size: 24px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--hours { grid-column: auto; }
  .footer__col--links,
  .footer__col--hours,
  .footer__col--contact {
    justify-self: center;
    text-align: center;
    max-width: none;
  }
  .footer__col--links .footer__title,
  .footer__col--contact .footer__title { text-align: center; }
  .footer__nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer__contact { justify-items: center; }
}

/* ---------- Legal pages ---------- */
body.legal-page { background: var(--cream); }
body.legal-page .site-header {
  background: rgba(133, 40, 134, .96);
  backdrop-filter: saturate(140%) blur(8px);
  padding-top: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.legal-main { padding: 120px 0 80px; }
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.legal-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin: 0 0 8px; }
.legal-wrap h1 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 52px); color: var(--purple-ink); line-height: 1.05; margin-bottom: 12px; }
.legal-updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal-intro { font-size: 18px; margin: 0 0 36px; color: var(--text); }
.legal-wrap h2 { font-family: var(--font-display); font-size: 26px; color: var(--purple-ink); margin: 36px 0 12px; }
.legal-wrap p, .legal-wrap li { margin: 0 0 14px; color: var(--text); }
.legal-wrap ul { padding-left: 1.2em; margin: 0 0 18px; }
.legal-back { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--purple); text-decoration: underline; }
