/* Hallmark · macrostructure: Split Studio · H2 split-diptych knobs: ratio=7/5, right=photo, divider=negative-space
 * theme: studied-DNA (source: Bernie's brand screenshots + berniesla.com)
 * paper: oklch(90% 0.045 25) · accent: oklch(62% 0.19 30) · display: Anton · body: Satoshi
 * nav: N9 edge-aligned minimal · footer: Ft5 statement · CTA: C4 sticky bottom bar (mobile, after-fold)
 * motion: hero stagger · CTA lift · logo marquee — 3 primitives · gallery is static grid · studied: yes
 * contrast: pass (46–50) · slop: pass (51–55) · honest: pass (56) · chrome: pass (57)
 * tokens: pass (58) · responsive: pass (59) · icons: pass (60) · mobile: pass (36, 59, 61–69)
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4
 */

@import url("tokens.css");

/* ============ base ============ */

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* anchor/sitelink jumps land below the sticky nav instead of tucked under it */
section[id] { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-paper-2);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; overflow-wrap: anywhere; min-width: 0; }

p { margin: 0 0 var(--space-md); }

a { color: var(--color-ink); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
  overflow-wrap: anywhere;
  min-width: 0;
}

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ============ buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: var(--space-sm) var(--space-xl);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);   /* brighter brand red — the logo tomato; more pop */
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-size: var(--text-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out),
              transform var(--dur-micro) var(--ease-out);
}
.btn::after {
  content: "\2192";                 /* → directional cue */
  font-family: var(--font-body);
  font-size: 1.05em;
  line-height: 1;
  transition: transform var(--dur-short) var(--ease-out);
}
.btn:hover { background: var(--color-ink); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 2px var(--color-ink);
}
.btn--ghost:hover { background: var(--color-ink); color: var(--color-paper-2); }

.btn--lg { font-size: var(--text-lg); padding: var(--space-md) var(--space-2xl); }

/* soft (cream) button — for use on the red experience band */
.btn--soft { background: var(--color-paper-2); color: var(--color-ink); }
.btn--soft:hover { background: var(--color-paper); color: var(--color-ink); }
.btn--block { width: 100%; font-size: var(--text-lg); padding-block: var(--space-md); }

/* ============ nav · N9 edge-aligned minimal ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-paper-2);   /* cream — matches the syrup so it reads as dripping from the menu */
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-md);
}
/* links live in a dropdown panel behind the hamburger at ALL widths */
.nav__links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--color-paper-2);
  box-shadow: 0 14px 28px rgba(60, 20, 10, 0.12);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--text-md);
}
.nav.is-open .nav__links { display: flex; }
.nav__links a {
  color: var(--color-accent);
  text-decoration: none;
  padding: var(--space-md) clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid color-mix(in oklab, var(--color-accent) 16%, transparent);
  white-space: nowrap;
}
.nav__links a:first-child { border-top: 0; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav__right { display: flex; align-items: center; gap: var(--space-lg); }
.nav__phone {
  font-weight: 700;
  font-size: var(--text-md);
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* hamburger toggle — visible at all widths, far left */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  order: -1;
}
.nav__toggle-bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
.nav.is-open .nav__toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 52rem) {
  /* mobile: drop the sticky header — the floating Book Now bar is the persistent CTA */
  .nav { position: relative; }
  .nav .btn { display: none; }              /* floating bottom bar carries the CTA on mobile */
  .nav__phone span { display: none; }       /* number hides; handset glyph stays tappable */
  .nav__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    font-size: var(--text-md);
  }
}

/* ============ hero · H2 split diptych ============ */

.hero {
  background: var(--color-paper);
  overflow: clip;          /* lets the product image sit into the section's lower edge */
}
.hero__inner {
  position: relative;      /* the cup anchors to THIS centered container, not the viewport,
                              so it sits at the right of the content with equal pink margins
                              on both sides — a balanced, centered composition like the original */
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  align-items: start;        /* logo + drizzle both start at the top of the hero */
  padding-block: 0 var(--space-xl);
  min-height: clamp(34rem, 44vw, 44rem);   /* match the cup height so its base lands at the hero bottom */
}
.hero__copy { padding-top: var(--space-lg); position: relative; z-index: 1; max-width: 40ch; }
/* hero logo lockup — Bernie's wordmark + Italian Ice script */
.hero__logo {
  position: relative;
  display: block;
  width: clamp(15rem, 33vw, 25rem);
  margin: 0 0 var(--space-md);
  padding-bottom: 15%;       /* reserve room for the script hanging below the wordmark */
}
.hero__logo-main { display: block; width: 100%; height: auto; }
.hero__logo-script {
  position: absolute;
  right: -6%;                /* scooted right, keeping the slant */
  bottom: -10%;              /* dropped down so it sits UNDER "Bernie's", not over it */
  width: 54%;
  height: auto;
}
.hero__title {
  font-size: clamp(2.3rem, 2.8vw + 0.5rem, 3.6rem);   /* tuned so "DESSERT CATERING" fits one line → 2 even lines */
  color: var(--color-accent-deep);   /* deep red — 3:1+ on the pink paper */
  max-width: 20ch;
  text-wrap: balance;                 /* even line lengths instead of a ragged stack */
}
.hero__lede {
  max-width: 38ch;
  margin-block: var(--space-lg);
  font-size: var(--text-md);
  font-weight: 500;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.hero__figure {
  /* FIXED-height cup, anchored top-right against the viewport edge: the syrup starts
     at the nav and the whole cup is visible. Height is fixed (not tied to the copy)
     so the cup stays a consistent, modest size — matching the original. */
  position: absolute;
  top: 0;
  right: 0;
  height: clamp(34rem, 44vw, 44rem);
  margin: 0;
  min-width: 0;
  pointer-events: none;
}

/* ---- star rating ---- */
.stars {
  height: 1.05em;
  width: auto;
  flex: none;
  color: var(--color-accent-deep);
  fill: currentColor;
}
.stars--lg { height: 1.4rem; }

.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  text-decoration: none;
  color: var(--color-ink);
  font-size: var(--text-md);
  white-space: nowrap;
}
.rating .stars { height: 1.25rem; }
.rating__text strong { font-weight: 700; }
.rating:hover .rating__text { text-decoration: underline; text-underline-offset: 3px; }
.rating:focus-visible { outline-offset: 4px; border-radius: 4px; }

.hero__figure img {
  height: 100%;                        /* fill the hero height → full cup + syrup stream visible */
  width: auto;
  max-width: none;
  display: block;
  margin-left: auto;                   /* right-aligned within the figure */
  filter: drop-shadow(0 24px 32px var(--shadow-warm));
}

.badge {
  display: inline-block;
  padding: var(--space-2xs) var(--space-md);
  border-radius: var(--radius-pill);
  background: var(--color-paper-2);
  color: var(--color-accent-deep);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* hero entrance — the page's one orchestrated reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal var(--dur-long) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ============ brand wall · T2 hairline, typographic ============ */

.brands {
  padding-block: var(--space-xl);
  border-block: var(--rule-hairline);
  overflow: hidden;            /* clips the scrolling track edges */
}
.brands__label {
  margin: 0 0 var(--space-lg);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-md);
}

/* scrolling logo strip — edges faded so logos enter/leave softly */
.logos {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(var(--space-xl), 6vw, var(--space-3xl));
  animation: marquee 50s linear infinite;
}
.logos:hover .logos__track,
.logos:focus-within .logos__track { animation-play-state: paused; }
.logos__item {
  height: clamp(2.6rem, 5.2vw, 4rem);
  width: auto;
  flex: none;
  object-fit: contain;
}
/* plain-text brand (e.g. Coachella) sized to sit alongside the logo marks */
.logos__item--text {
  display: inline-flex;
  align-items: center;
  height: clamp(2.6rem, 5.2vw, 4rem);
  color: var(--color-ink);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }  /* one of three sets → seamless, gap-free at any zoom */

@media (prefers-reduced-motion: reduce) {
  .logos { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .logos__track { animation: none; }
}

/* ============ split rows · the Split Studio body ============ */

.split {
  padding-block: var(--space-3xl) var(--space-2xl);
}
.split + .split { padding-block: var(--space-xl) var(--space-3xl); }
.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  align-items: center;
}
.split__inner--flip .split__figure { order: -1; }
.split__title {
  font-size: var(--text-display-s);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}
.split__note {
  max-width: 56ch;
  margin: calc(-1 * var(--space-sm)) 0 var(--space-lg);
  font-size: var(--text-sm);
  color: color-mix(in oklab, var(--color-ink) 72%, transparent);
  font-style: italic;
  line-height: 1.45;
}
.split__body { max-width: 56ch; font-size: var(--text-md); }
.split__figure { margin: 0; min-width: 0; }
.split__figure img {
  width: 100%;
  border-radius: var(--radius-card);
  display: block;            /* natural aspect ratio — never crop the dessert out of frame */
}
.split__list {
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
}
.split__list li {
  padding-block: var(--space-sm);
  border-bottom: var(--rule-hairline);
  font-weight: 500;
}
.split__list li strong { font-weight: 700; }
.split__list li:first-child { border-top: var(--rule-hairline); }

.flavors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-sm);
  max-width: 60rem;                 /* keeps the pills to two balanced rows (6/6 with 12 flavors) */
  margin: 0 auto var(--space-lg);
  padding: 0;
  list-style: none;
}
.flavors li {
  padding: var(--space-2xs) var(--space-md);
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
}

/* ============ flavors section ============ */

.flavors-sec { padding-block: var(--space-3xl); }
.flavors-sec__title {
  font-size: var(--text-display-s);
  color: var(--color-accent-deep);
  max-width: 18ch;
  margin-bottom: var(--space-md);
}
.flavors-sec__tagline {
  max-width: 52ch;
  font-size: var(--text-md);
  margin: 0 0 var(--space-lg);
}

/* ============ experience band · red-granita backdrop ============ */

.experience {
  background-color: var(--color-accent);
  background-image: linear-gradient(0deg, oklch(54% 0.185 30 / 0.18), oklch(54% 0.185 30 / 0.18)),
                    url("https://images.squarespace-cdn.com/content/v1/66b14c0bfbc8bf54fa50d8de/ddfe84ad-252a-4f68-8b5b-e1a1846844f0/Granita.JPG?format=1500w");
  background-size: cover;
  background-position: center;
}
.experience__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  align-items: center;
  padding-block: var(--space-3xl);
}
.experience__title {
  font-size: var(--text-display-s);
  color: var(--color-accent-ink);
  max-width: 18ch;
  margin-bottom: var(--space-xl);
}
.experience__figure {
  margin: 0;
  min-width: 0;
}
.experience__figure img {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  border-radius: var(--radius-card);
  display: block;
  box-shadow: 0 24px 40px oklch(30% 0.1 30 / 0.35);
}

/* ============ steps · F4, horizontal flow, uneven ============ */

.steps {
  background: var(--color-paper);
  padding-block: var(--space-3xl);
}
.steps__title {
  font-size: var(--text-display-s);
  color: var(--color-accent-deep);   /* deep red on the pink band */
  max-width: 16ch;
  margin-bottom: var(--space-2xl);
}
.steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
  margin-bottom: var(--space-2xl);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}
.step p { max-width: 38ch; margin: 0; }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

/* ============ reviews ============ */

.reviews {
  padding-block: var(--space-3xl);
  background: var(--color-paper);   /* pink section */
}
.reviews__head { margin-bottom: var(--space-2xl); }
.reviews__title {
  font-size: var(--text-display-s);
  color: var(--color-ink);          /* forest green heading */
  max-width: 22ch;
}
.reviews__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
  margin-top: var(--space-md);
  font-size: var(--text-md);
}
.reviews__rating strong { font-weight: 700; color: var(--color-accent-deep); }
.reviews__badge {
  background: var(--color-paper);
  color: var(--color-accent-deep);
  align-self: flex-start;
}
.reviews__feature {
  margin: 0 0 var(--space-2xl);
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.reviews__feature blockquote {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.3;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}
.review {
  background: var(--color-paper-2);   /* cream cards on the pink section */
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.review .stars { align-self: center; }   /* stars centered at the top of each card */
.review blockquote { margin: 0; font-weight: 500; line-height: 1.45; }
.review cite, .reviews__feature cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  line-height: 1.1;
}
.review cite { margin-top: auto; }
.review cite span, .reviews__feature cite span {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-accent-deep);
}
.reviews__cta {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
}

/* ============ gallery · even static grid (8 imgs = 4×2 desktop, 2×4 mobile) ============ */

.gallery { padding-block: var(--space-2xl) var(--space-3xl); }
.gallery__title {
  font-size: var(--text-display-s);
  color: var(--color-accent-deep);
  max-width: 18ch;
  margin-bottom: var(--space-2xl);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}
.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

/* ============ booking form ============ */

.book {
  background: var(--color-paper);    /* pink section */
  padding-block: var(--space-3xl) var(--space-4xl);
}
.book__inner {
  /* single centered column — aside on top, form below */
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}
.book__aside { margin-bottom: var(--space-2xl); }
.book__title {
  font-size: var(--text-display-s);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}
.book__aside p { max-width: 48ch; margin-inline: auto; }
.book__phone {
  font-weight: 700;
  font-size: var(--text-md);
}

/* real GHL/clsystems embed — fills its container; JS auto-resizes the height */
.ghl-form { min-width: 0; }
.ghl-form iframe { display: block; width: 100%; }
/* taller floor where the form stacks (mobile) so the whole form fits without an
   inner scrollbar before the GHL auto-resize script kicks in (no double-scroll) */
@media (max-width: 52rem) { .ghl-form iframe { min-height: 1380px !important; } }

.form { display: grid; gap: var(--space-lg); }
.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-lg);
}
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field label { font-weight: 700; }
.field label small { font-weight: 500; color: var(--color-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid transparent;
  border-radius: var(--radius-card);
  background: var(--color-paper-2);   /* cream fields on the pink section */
  font: inherit;
  color: var(--color-ink);
  transition: border-color var(--dur-short) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-focus);   /* appears instantly — outline, not border */
  outline-offset: 1px;
  border-radius: var(--radius-card);
}
.field input:user-invalid,
.field select:user-invalid {
  border-color: var(--color-accent-deep);
}
.field .field__error {
  display: block;
  min-height: 1lh;                          /* reserved — errors don't shift the layout */
  visibility: hidden;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-deep);
}
.field input:user-invalid ~ .field__error,
.field select:user-invalid ~ .field__error { visibility: visible; }

.form__submit { justify-self: start; }
.form__success {
  display: none;
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  font-weight: 700;
}
.form.is-sent .form__success { display: block; }
.form.is-sent .form__submit { display: none; }

/* ============ footer · red band with wavy top + product photo ============ */

.footer {
  position: relative;
  background: var(--color-accent);   /* brand tomato red */
  color: var(--color-accent-ink);
  padding-block: var(--space-2xl);
  margin-top: 2rem;                  /* room for the wave to sit above */
}
.footer__wave {
  position: absolute;
  top: -1.99rem;
  left: 0;
  width: 100%;
  height: 2rem;
  display: block;
  color: var(--color-accent);        /* path fill = currentColor */
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  border-top: 1px solid var(--color-veil);
  padding-top: var(--space-lg);
  font-weight: 500;
}
/* rounded card aligned to the content width, sitting on the red footer (matches berniesla.com). */
.footer__photo {
  max-width: 72rem;
  margin: var(--space-xl) auto 0;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.footer__photo img {
  width: 100%;
  height: auto;                          /* show the FULL image — natural height, no top crop */
  border-radius: clamp(20px, 2.4vw, 32px);   /* generous rounded edges like the original site */
  display: block;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__meta a {
  color: var(--color-accent-ink);
  text-decoration: none;
  white-space: nowrap;
}
.footer__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__meta a:focus-visible { outline-color: var(--color-accent-ink); }
.footer__copy { margin: 0; font-size: var(--text-sm); }
.footer__copy a { color: var(--color-accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============ sticky mobile CTA · C4, after-fold ============ */

.stickybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) clamp(1rem, 4vw, 2rem);
  padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom));
  background: var(--color-paper);
  border-top: var(--rule-hairline);
  transform: translateY(100%);
  transition: transform var(--dur-short) var(--ease-out);
}
.stickybar.is-visible { transform: translateY(0); }
.stickybar__label { font-weight: 700; margin: 0; }
.stickybar .btn { min-height: 44px; padding-inline: var(--space-lg); }

/* ============ responsive ============ */

@media (max-width: 60rem) {
  .split__inner,
  .experience__inner { grid-template-columns: minmax(0, 1fr); }
  .split__inner--flip .split__figure { order: 0; }
  /* hero — cup on top (centered, syrup touches the menu), copy below */
  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 0 var(--space-2xl);   /* no top gap → syrup connects to the menu */
    min-height: 0;                        /* reset the desktop min-height */
  }
  /* center everything so the copy lines up under the centered cup/syrup */
  .hero__copy { max-width: none; padding-top: 0; text-align: center; }
  .hero__logo { width: 86%; max-width: 19rem; margin: 0 auto var(--space-md); padding-bottom: 13%; }
  .hero__logo-script { right: -1%; bottom: -9%; }   /* centered mobile logo: keep the script tucked in from the edge */
  .hero__title { max-width: 18ch; margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .rating { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__figure {
    order: -1;
    position: static;                     /* reset the desktop absolute positioning */
    height: auto;                         /* reset the desktop fixed height */
    align-self: center;
    width: 100%;
    max-width: 18rem;
    margin: 0 auto var(--space-sm);
  }
  .hero__figure img { position: static; width: 100%; max-width: none; height: auto; margin-inline: auto; }
  .experience__figure { max-width: 17rem; margin-inline: auto; }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); }
  .stickybar { display: flex; }
  body { padding-bottom: 5rem; }   /* room for the sticky bar */
  .footer__meta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
  .reveal { animation: reveal-reduced 150ms linear forwards; }
  @keyframes reveal-reduced { to { opacity: 1; transform: none; } }
}
