/* drinkchelamix.com. Ported from the Next.js site (src/app/(frontend)/styles.css) with the same class names.
 * Brand: Tailgate Yellow #f7be00, Michelada Red #d7282f, Aluminum #eaeaea, white. Bebas Neue display, Barlow Condensed body. */

:root {
  /* ChelaMix brand palette */
  --color-tailgate-yellow: #fac70f; /* web Tailgate Yellow: a touch lighter than the brand #f7be00 so large red text on it reaches 3:1 (3.13; brand value is 2.91). Print keeps #f7be00. */
  --color-michelada-red: #d7282f;
  --color-aluminum: #eaeaea;
  --color-white: #ffffff;

  /* Semantic design tokens */
  --ink: var(--color-michelada-red);
  --muted: var(--color-michelada-red);
  --surface: #f4f4f4; /* web Aluminum for panels and cards: lightest grey that keeps red body text at 4.5:1 (official #eaeaea is 4.1:1). Borders keep #eaeaea. */
  --accent: var(--color-tailgate-yellow);
  --on-accent: var(--color-michelada-red);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-ui: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* the app's UI font: header Menu label, menu numbers */

  /* Global corner-radius scale */
  --radius-panel: clamp(1.5rem, 3vw, 3rem);
  --radius-card: clamp(1rem, 2vw, 1.5rem);
  --radius-control: .4rem;

  /* Type scale: eight roles, after Apple's text styles (Large Title, Title 1–3, Body, Footnote, Caption). Every text
     on the site uses one of these; no one-off sizes. Headings step ~1.25x on phones and ~1.6x on desktop; reading text
     steps gently. Line height tightens as text grows. Sizes are phone → desktop. */
  --text-display: clamp(3.5rem, 2rem + 6vw, 7.5rem);   --lh-display: .88; /* 56 → 120px  hero heading (Bebas) */
  --text-title1: clamp(2.75rem, 2rem + 3vw, 4.75rem);  --lh-title1: .95;  /* 44 → 76px   section headings (Bebas) */
  --text-title2: clamp(2rem, 1.65rem + 1.5vw, 3rem);   --lh-title2: 1;    /* 32 → 48px   hero tagline, form question, footer line (Bebas) */
  --text-title3: clamp(1.5rem, 1.35rem + .75vw, 2rem); --lh-title3: 1.05; /* 24 → 32px   card titles: steps, flavors (Bebas) */
  --text-lead: clamp(1.375rem, 1.2rem + .75vw, 1.75rem); --lh-lead: 1.3;  /* 22 → 28px   section intros, lead lines (Barlow Condensed) */
  --text-body: clamp(1.125rem, 1rem + .35vw, 1.375rem); --lh-body: 1.45;  /* 18 → 22px   reading text */
  --text-small: 1rem;                                   --lh-small: 1.4;  /* 16px        footer labels, notes, captions */
  --text-label: .75rem;                                                   /* 12px        Menu label (Barlow Bold) */
  /* Spacing on an 8px grid. */
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-6: 3rem; --space-8: 4rem;
  --max: 72rem;
  --gutter: 24px; /* page side margin everywhere: header, sections, footer (16px on phones) */
  --site-header-h: 116px;
  --color-ink: #1e1414;
  /* Reading text is charcoal; Michelada red is for headings, taglines, buttons and highlights (Apple HIG Color: use a
     brand color for emphasis, not for every word). --ink stays red: it is the red used for fills (footer, cards, buttons). */
  --text: var(--color-ink);
  /* One vertical rhythm for every landing section (top and bottom padding). */
  --section-space: clamp(2.5rem, 5vw, 4.5rem);
}
* { box-sizing: border-box; font-family: inherit; }
html { color: var(--text); font-family: var(--font-body); font-size: 100%; }
body { background: var(--color-white); margin: 0; }
body, input, textarea, select, button { font-family: var(--font-body); font-size: var(--text-body); font-weight: 400; letter-spacing: .025em; line-height: var(--lh-body); }
h1, h2, h3, h4, h5, h6, p { margin-block-start: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: var(--text-display); line-height: var(--lh-display); }
h2 { font-size: var(--text-title1); line-height: var(--lh-title1); }
h3 { font-size: var(--text-title2); line-height: var(--lh-title2); }
h4, h5, h6 { font-size: var(--text-title3); line-height: var(--lh-title3); }
small, figcaption { font-size: var(--text-small); letter-spacing: .04em; line-height: var(--lh-small); }
a { color: inherit; }
.container { margin-inline: auto; max-width: var(--max); padding-inline: var(--gutter); }
.actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer nav a { text-decoration: none; }
.button { align-items: center; border: 2px solid transparent; border-radius: var(--radius-control); cursor: pointer; display: inline-flex; font-family: var(--font-display); justify-content: center; line-height: 1; min-height: 44px; padding: .7rem 1.25rem; text-align: center; text-decoration: none; text-transform: uppercase; transition: filter .2s ease, transform .1s ease; }
/* Feedback on every button, whatever its color: a touch darker on hover, pressed in on click/tap. */
@media (hover: hover) { .button:hover:not(:disabled) { filter: brightness(.9); } }
.button:active:not(:disabled) { filter: brightness(.82); transform: scale(.97); }
.button, .button--primary { background: var(--color-michelada-red); color: var(--color-white); }
.button--secondary { background: var(--color-tailgate-yellow); color: var(--color-michelada-red); }
.button--tertiary { background: transparent; border-color: var(--color-michelada-red); color: var(--color-michelada-red); }
.button:disabled { cursor: default; opacity: .6; }
.block { padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero { background: var(--ink) center/cover; color: var(--color-white); }
.hero h1 { margin: .25em 0; max-width: 14ch; }
.eyebrow { font-family: var(--font-display); font-size: var(--text-small); letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: var(--text-lead); line-height: var(--lh-lead); max-width: 42rem; }
.prose { max-width: 48rem; }
.media { margin: 0 auto; }
.media--contained { max-width: var(--max); padding-inline: var(--gutter); }
.media--narrow { max-width: 48rem; padding-inline: var(--gutter); }
.media img { display: block; height: auto; width: 100%; }
.media figcaption { color: var(--muted); padding-top: .5rem; }
.contact { background: var(--surface); }
form { display: grid; gap: 1rem; max-width: 40rem; }
label { display: grid; gap: .35rem; }
input, textarea { background: var(--color-white); border: 1px solid var(--color-michelada-red); border-radius: var(--radius-control); color: var(--ink); padding: .75rem; }
.site-footer { background: var(--ink); color: var(--color-white); padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.site-footer__inner { display: grid; gap: 2.5rem; margin-inline: auto; max-width: var(--max); }
.site-footer__identity { max-width: 24rem; }
.site-footer__logo { display: block; filter: brightness(0) invert(1); height: auto; margin-bottom: 1.25rem; max-height: 6rem; max-width: min(100%, 18rem); object-fit: contain; }
.site-footer__name { font-family: var(--font-display); font-size: var(--text-title2); line-height: var(--lh-title2); margin-bottom: var(--space-2); text-transform: uppercase; }
.site-footer__description { margin: 0; }
.site-footer__heading { font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; letter-spacing: .08em; margin-bottom: 1rem; text-transform: uppercase; }
.site-footer__closing-text { font-family: var(--font-display); font-size: var(--text-title2); font-weight: 400; letter-spacing: normal; line-height: var(--lh-title2); margin: 0; max-width: 32rem; text-transform: uppercase; }
.site-footer nav { align-items: flex-start; display: flex; flex-direction: column; gap: .55rem; }
.site-footer nav a, .footer-socket nav a { text-decoration: none; }
.site-footer nav a:hover, .footer-socket nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer__social nav { flex-direction: row; flex-wrap: wrap; }
.social-link { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; font-family: var(--font-display); font-size: .85rem; height: 2.75rem; justify-content: center; letter-spacing: .02em; width: 2.75rem; }
.social-link__icon { height: 1.15rem; width: 1.15rem; }
.footer-socket { background: var(--color-michelada-red); color: var(--color-white); padding: 1rem var(--gutter); }
.footer-socket__inner { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; margin-inline: auto; max-width: var(--max); }
.footer-socket nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }

/* ChelaMix landing page blocks — mobile first, inspired by the pitch deck. */
.landing-section { overflow: hidden; padding: 1rem var(--gutter); }
.landing-shell { margin-inline: auto; max-width: var(--max); }
.landing-intro { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.landing-intro h2 { margin: 0; }
.landing-section :is(h1, h2, h3, h4), .section-label { color: var(--color-michelada-red); }
.section-label { font-family: var(--font-display); font-size: var(--text-small); letter-spacing: .04em; margin: 0; order: -1; text-transform: uppercase; }
.landing-caption { font-size: var(--text-lead); line-height: var(--lh-lead); margin: var(--space-2) auto 0; text-align: center; }
.image-placeholder { align-items: center; background: repeating-linear-gradient(135deg, rgb(215 40 47 / 6%) 0 1rem, rgb(255 255 255 / 28%) 1rem 2rem); border: 2px dashed rgb(215 40 47 / 30%); display: flex; min-height: 12rem; }

.brand-hero { --brand-hero-height: 100dvh; --brand-hero-image-height: 58dvh; --brand-hero-image-width: 24rem; --overlay-header-height: var(--site-header-h); background: var(--accent) center/cover; height: calc(var(--brand-hero-height) - var(--overlay-header-height)); max-height: calc(var(--brand-hero-height) - var(--overlay-header-height)); min-height: 0; overflow: hidden; padding: 0 clamp(1rem, 3vw, 2rem); }
.brand-hero--height-60 { --brand-hero-height: 60dvh; }
.brand-hero--height-75 { --brand-hero-height: 75dvh; }
.brand-hero--height-90 { --brand-hero-height: 90dvh; }
.brand-hero--height-100 { --brand-hero-height: 100svh; } /* svh: a full screen that doesn't resize as phone toolbars slide away (owner, 2026-11-03) */
.brand-hero--image-small { --brand-hero-image-height: 42dvh; --brand-hero-image-width: 18rem; }
.brand-hero--image-medium { --brand-hero-image-height: 58dvh; --brand-hero-image-width: 24rem; }
.brand-hero--image-large { --brand-hero-image-height: 70dvh; --brand-hero-image-width: 32rem; }
.brand-hero--image-oversized { --brand-hero-image-height: 78dvh; --brand-hero-image-width: 40rem; }
.brand-hero__inner { align-items: center; border-radius: var(--radius-panel); display: grid; height: 100%; isolation: isolate; margin-inline: auto; min-height: 0; overflow: hidden; position: relative; }
.brand-hero__product { height: var(--brand-hero-image-height); left: 50%; max-width: var(--brand-hero-image-width); object-fit: contain; object-position: center top; position: absolute; top: 0; transform: translateX(-50%); width: 100%; z-index: 0; }
.brand-hero__product.image-placeholder { width: min(100%, 32rem); }
.brand-hero__content { align-items: center; align-self: stretch; display: flex; flex-direction: column; grid-area: 1 / 1; justify-content: center; padding: 2rem 1rem; text-align: center; z-index: 1; }
.brand-hero__title { font-size: clamp(5rem, 22vw, 12rem); margin: 0; }
.brand-hero__logo { height: auto; max-height: 16rem; object-fit: contain; width: min(90%, 58rem); }
.brand-hero__tagline { font-family: var(--font-display); font-size: var(--text-title2); line-height: var(--lh-title2); margin: 1.5rem 0; text-transform: uppercase; }

.problem-section { background: var(--color-white); padding-block: var(--section-space); }
.problem-section .landing-intro { text-align: center; }
.problem-section .landing-caption { font-style: italic; font-weight: 600; }
.problem-section__image { aspect-ratio: 16 / 8; border-radius: var(--radius-panel); display: block; object-fit: cover; width: 100%; }

.solution-section, .occasions-section { background: var(--color-white); padding-block: var(--section-space); }
.solution-section__grid { display: grid; gap: 1rem; }
.solution-section__product-panel, .solution-section__copy, .solution-section__lifestyle, .occasions-section__product-panel, .occasions-section__image { border-radius: var(--radius-card); overflow: hidden; }
.solution-section__product-panel { background: var(--accent); min-height: 14rem; }
.solution-section__product { display: block; height: 100%; max-height: 22rem; object-fit: contain; width: 100%; }
.solution-section__copy { background: var(--surface); padding: clamp(1.5rem, 5vw, 3.5rem); text-align: left; }
.solution-section__copy .landing-intro { align-items: flex-start; display: flex; margin-bottom: var(--space-3); }
.solution-section__copy .landing-intro h2 { text-align: left; }
.solution-section__copy ul { font-size: var(--text-lead); line-height: var(--lh-lead); list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.solution-section__copy li { align-items: flex-start; display: flex; gap: .55rem; }
.solution-section__feature-icon { flex: 0 0 auto; height: 1em; margin-top: .2em; width: 1em; }
.solution-section__feature-bullet { flex: 0 0 1em; line-height: 1; text-align: center; }
.solution-section__tagline { color: var(--color-michelada-red); font-size: var(--text-lead); font-style: italic; line-height: var(--lh-lead); font-weight: 600; margin: 0; }
.solution-section__lifestyle { aspect-ratio: 4 / 5; display: block; height: 100%; object-fit: cover; width: 100%; }

.occasions-section .landing-intro { text-align: center; }
.occasions-section__layout { display: grid; gap: 1rem; }
.occasions-section__product-panel { background: var(--accent); min-height: 20rem; }
.occasions-section__product { display: block; height: 100%; max-height: 36rem; object-fit: contain; width: 100%; }
.occasions-section__gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.occasions-section__image { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
.occasions-section__description { max-width: 64rem; }

.products-section { background: var(--color-white); padding-block: var(--section-space); }
.products-section .landing-intro { text-align: center; }
.products-section__description { margin: calc(-1 * var(--space-1)) auto var(--space-4); max-width: 40rem; }
.products-section__grid { display: grid; gap: 2rem; }
.product-card { display: block; text-align: center; text-decoration: none; }
.products-section__image-panel { align-items: center; background: var(--accent); border-radius: var(--radius-card); display: flex; min-height: 22rem; overflow: hidden; padding: 1rem; }
.products-section__image { display: block; height: 20rem; object-fit: contain; width: 100%; }
.product-card h3 { font-size: var(--text-title3); line-height: var(--lh-title3); margin: var(--space-2) 0 var(--space-1); }
.product-card p { margin: 0 auto; max-width: 28rem; }

/* What's inside: three edge-to-edge yellow panels. Phones lead with one panel full width, the other two side by side under it. */
.inside-section__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inside-card--lead { grid-column: 1 / -1; order: -1; }
.inside-card__panel { aspect-ratio: 573 / 629; background: var(--accent); border-radius: var(--radius-card); overflow: hidden; }
.inside-card__image { display: block; height: 100%; object-fit: cover; width: 100%; }

/* Split panel: a light text card beside a square yellow image panel (pitch deck slide 5). */
.split-section { background: var(--color-white); padding-block: var(--section-space); }
.split-section__grid { display: grid; gap: 1rem; }
.split-section__copy { align-content: center; background: var(--surface); border-radius: var(--radius-card); display: grid; padding: clamp(1.5rem, 5vw, 3.5rem); text-align: left; }
.split-section__copy h2 { margin-bottom: var(--space-3); text-align: left; }
.split-section__copy p { font-size: var(--text-body); line-height: var(--lh-body); margin: 0 0 var(--space-2); max-width: 34rem; }
.split-section__copy p:first-of-type { font-size: var(--text-lead); line-height: var(--lh-lead); }
.split-section__copy .actions { margin-top: var(--space-2); }
.split-section__panel { aspect-ratio: 1; background: var(--accent); border-radius: var(--radius-card); overflow: hidden; }
.split-section__image { display: block; height: 100%; object-fit: cover; width: 100%; }

.closing-cta { align-items: center; background: var(--accent); display: flex; min-height: min(80svh, 52rem); padding-block: clamp(5rem, 12vw, 10rem); text-align: center; }
.closing-cta__inner { align-items: center; display: flex; flex-direction: column; margin-inline: auto; max-width: 54rem; }
.closing-cta h2 { margin-bottom: var(--space-2); }
.closing-cta p { max-width: 40rem; }
.closing-cta .actions { justify-content: center; }
.closing-cta .button { background: var(--ink); color: var(--color-white); }
.closing-cta__logo { height: auto; margin-top: clamp(3rem, 8vw, 7rem); max-height: 8rem; object-fit: contain; width: min(70%, 22rem); }

@media (min-width: 48rem) {
  :root { --landing-wide-gutter: clamp(2rem, 5vw, 5rem); --landing-wide-max: 80rem; }
  .landing-section { padding-inline: clamp(2rem, 4vw, 4rem); }
  .landing-intro { align-items: flex-end; display: grid; gap: 1rem; grid-template-columns: 1fr auto; }
  .landing-intro h2 { grid-column: 1 / -1; text-align: center; }
  .section-label { grid-column: 2; grid-row: 1; }
  .solution-section__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .solution-section__product-panel { align-items: center; display: flex; padding: clamp(1rem, 2vw, 2rem); }
  .solution-section__product { max-height: none; }
  .solution-section__product-panel { grid-column: 1; }
  .solution-section__copy { grid-column: 1; }
  .solution-section__lifestyle { grid-column: 2; grid-row: 1 / span 2; }
  .occasions-section__layout { grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.45fr); }
  .products-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inside-section__grid { gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inside-card--lead { grid-column: auto; order: 0; }
  .split-section__grid { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-section--image-left .split-section__panel { grid-row: 1; }
  .site-footer__inner { align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); max-width: var(--landing-wide-max); text-align: center; }
  .site-footer__inner:has(> .site-footer__closing-text) { align-items: center; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr) minmax(8rem, 1fr); }
  .site-footer__identity, .site-footer__closing-text, .site-footer__column, .site-footer__social { justify-self: center; }
  .site-footer__closing-text { max-width: none; white-space: nowrap; }
  .site-footer__logo { margin-inline: auto; }
  .site-footer nav { align-items: center; }
  .site-footer__social nav { justify-content: center; }
  .brand-hero { padding-top: 0; }
  .brand-hero--image-small { --brand-hero-image-height: 55dvh; --brand-hero-image-width: 28rem; }
  .brand-hero--image-medium { --brand-hero-image-height: 70dvh; --brand-hero-image-width: 42rem; }
  .brand-hero--image-large { --brand-hero-image-height: 78dvh; --brand-hero-image-width: 54rem; }
  .brand-hero--image-oversized { --brand-hero-image-height: 86dvh; --brand-hero-image-width: 68rem; }
  /* Every content section shares one width and side margin. */
  .landing-section:not(.brand-hero) { padding-inline: var(--landing-wide-gutter); }
  .landing-section:not(.brand-hero) .landing-shell { max-width: var(--landing-wide-max); }
}

@media (max-width: 48rem) {
  .brand-hero__product { object-position: center; top: 50%; transform: translate(-50%, -50%); }
}

/* Smart form entry section and shared modal */
.smart-form-section { background: var(--accent); color: var(--text); padding: clamp(4rem, 10vw, 8rem) var(--gutter); text-align: center; }
.smart-form-section__inner { align-items: center; display: flex; flex-direction: column; margin-inline: auto; max-width: 56rem; }
.smart-form-section h2 { color: var(--color-michelada-red); margin-bottom: var(--space-2); }
/* Charcoal on the yellow is 12:1, so the line can use the normal lead size (red needed 24px+ to pass as large text). */
.smart-form-section p { font-size: var(--text-lead); line-height: var(--lh-lead); max-width: 40rem; }
.smart-form-section .button { background: var(--ink); color: var(--color-white); margin-top: 1rem; }
.smart-form { align-items: center; display: flex; inset: 0; justify-content: center; padding: clamp(1rem, 4vw, 3rem); position: fixed; z-index: 1000; }
.smart-form__backdrop { backdrop-filter: blur(10px); background: rgb(20 15 12 / 72%); border: 0; cursor: default; inset: 0; padding: 0; position: absolute; }
.smart-form__panel { background: var(--ink); border-radius: clamp(1.75rem, 3vw, 3rem); box-shadow: 0 2rem 6rem rgb(0 0 0 / 45%); color: var(--ink); display: flex; flex-direction: column; height: min(92dvh, 58rem); max-width: 64rem; overflow: hidden; position: relative; width: 100%; z-index: 1; }
.smart-form__header { align-items: center; color: var(--color-white); display: grid; flex: 0 0 auto; grid-template-columns: 3.5rem 1fr 3.5rem; min-height: 7rem; padding: 1.25rem 2rem; }
.smart-form__header p { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .06em; margin: 0; text-align: center; text-transform: uppercase; }
.smart-form__nav-button { align-items: center; background: rgb(255 255 255 / 16%); border: 0; border-radius: 50%; color: var(--color-white); cursor: pointer; display: flex; font-family: Arial, sans-serif; font-size: 2.5rem; height: 3.5rem; justify-content: center; line-height: .8; padding: 0 0 .15em; width: 3.5rem; }
.smart-form__close { font-size: 0; justify-self: end; padding: 0; position: relative; }
.smart-form__close::before, .smart-form__close::after { background: currentColor; border-radius: 999px; content: ""; height: 2px; left: 50%; position: absolute; top: 50%; width: 1.45rem; }
.smart-form__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.smart-form__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.smart-form__back { font-size: 0; justify-self: start; padding: 0; position: relative; text-decoration: none; }
.smart-form__back::before { border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; content: ""; height: .85rem; left: 54%; position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(45deg); width: .85rem; }
.smart-form__body { background: var(--color-white); border-radius: clamp(1.75rem, 3vw, 3rem) clamp(1.75rem, 3vw, 3rem) 0 0; display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
.smart-form__scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem) 2.5rem; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 2.25rem), transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 2.25rem), transparent 100%); overscroll-behavior: contain; }
.smart-form__scroll > div, .smart-form__scroll > form { margin-inline: auto; max-width: 52rem; }
.smart-form__stage--exit { animation: smart-form-exit-left .3s ease-in forwards; pointer-events: none; }
.smart-form__stage--enter { animation: smart-form-enter-right .35s ease-out both; }
.smart-form__reaction { align-items: center; display: flex; justify-content: center; min-height: min(48dvh, 30rem); text-align: center; }
.smart-form__reaction h3 { font-size: var(--text-title2); margin: 0; max-width: 18ch; }
.smart-form__reaction--reaction-enter { animation: smart-form-enter-right .35s ease-out both; }
.smart-form__reaction--reaction-exit { animation: smart-form-exit-left .3s ease-in forwards; }
.smart-form__footer { background: var(--color-white); border-top: 1px solid var(--color-aluminum); flex: 0 0 auto; padding: 1.5rem clamp(1.5rem, 6vw, 5rem) 1.25rem; position: relative; z-index: 2; }
.smart-form__footer > .button { display: flex; margin-inline: auto; max-width: 52rem; min-height: 4.5rem; width: 100%; }
.smart-form__progress { background: var(--color-aluminum); border-radius: 999px; height: .55rem; margin: 1.25rem auto 0; max-width: 9rem; overflow: hidden; }
.smart-form__footer .smart-form__progress:first-child { margin-top: 0; }
.smart-form__progress span { background: var(--color-michelada-red); display: block; height: 100%; transition: width .25s ease; }
.smart-form h2 { font-size: var(--text-title2); line-height: var(--lh-title2); margin: 0 auto var(--space-4); max-width: 18ch; text-align: center; }
.smart-form__reply, .smart-form__ack { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em; margin: 0 0 .5rem; text-transform: uppercase; }
.smart-form__reply { text-align: center; }
.smart-form__ack { color: var(--color-michelada-red); margin-top: 1.5rem; }
.smart-form form { max-width: none; }
.smart-form__choices { display: grid; gap: 1rem; }
.smart-form__category, .smart-form__choice span { background: var(--color-white); border: 2px solid var(--color-aluminum); border-radius: 1rem; color: var(--ink); cursor: pointer; display: flex; font-family: var(--font-display); font-size: var(--text-title3); min-height: 5.5rem; padding: 1.25rem 1.5rem; text-align: left; text-transform: uppercase; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; width: 100%; }
.smart-form__category:hover, .smart-form__category:focus-visible, .smart-form__choice input:checked + span { background: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
/* An answer card shows yellow only once chosen; hover and keyboard focus get a red border and ring instead, so "here" never looks like "picked". */
.smart-form__choice:hover span { border-color: var(--color-michelada-red); }
.smart-form__choice input:focus-visible + span { border-color: var(--color-michelada-red); outline: 3px solid var(--color-michelada-red); outline-offset: 2px; }
.smart-form__choice { display: block; }
.smart-form__choice input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.smart-form__fields { display: grid; gap: 1rem; }
.smart-form__field { display: grid; font-weight: 600; gap: .35rem; }
.smart-form__field input, .smart-form__field select, .smart-form__field textarea { background: var(--color-white); border: 2px solid var(--ink); border-radius: var(--radius-control); color: var(--ink); font: inherit; padding: .75rem; width: 100%; }
.smart-form__checks { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smart-form__checks label { align-items: center; border: 2px solid currentColor; border-radius: var(--radius-control); display: flex; gap: .65rem; padding: .75rem; }
.smart-form__checks input { accent-color: var(--color-michelada-red); height: 1.1rem; width: 1.1rem; }
.smart-form__error { color: var(--color-michelada-red); margin: 1rem 0 0; }
.smart-form__result { padding-block: 2rem; }
.smart-form__result p:not(.smart-form__reply) { font-size: var(--text-lead); line-height: var(--lh-lead); }

@media (min-width: 48rem) {
  .smart-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .smart-form { padding: 0; }
  .smart-form__panel { border-radius: 0; height: 100dvh; max-height: 100dvh; }
  .smart-form__header { grid-template-columns: 3rem 1fr 3rem; min-height: 5.75rem; padding: max(.75rem, env(safe-area-inset-top)) 1rem .75rem; }
  .smart-form__header p { font-size: 1.15rem; }
  .smart-form__nav-button { font-size: 2rem; height: 3rem; width: 3rem; }
  .smart-form__body { border-radius: 1.75rem 1.75rem 0 0; }
  .smart-form__scroll { padding: 2rem 1.25rem 2.5rem; }
  .smart-form__footer { padding: 1rem 1.25rem max(1rem, env(safe-area-inset-bottom)); }
  .smart-form__footer > .button { min-height: 4rem; }
  .smart-form__category, .smart-form__choice span { min-height: 4.75rem; }
  .smart-form__checks { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .smart-form__progress span, .smart-form__category, .smart-form__choice span { transition: none; }
  .smart-form__stage--exit, .smart-form__stage--enter, .smart-form__reaction--reaction-enter, .smart-form__reaction--reaction-exit { animation: none; }
}

@keyframes smart-form-enter-right {
  from { opacity: 0; transform: translateX(3rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes smart-form-exit-left {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-3rem); }
}

/* Added for the Cloudflare version */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; } /* width/height attributes reserve space; CSS classes still set real sizes */
.brand-hero__title { line-height: .9; display: flex; justify-content: center; width: 100%; }
.brand-hero__title img { display: block; }
.prose h2 { font-size: var(--text-title2); margin-top: var(--space-4); }
.prose h3 { font-size: var(--text-title3); margin-top: var(--space-3); }
.not-found { min-height: 50vh; text-align: center; }
.preview-bar { background: #1e1414; color: #fff; font: 600 .9rem/1.2 system-ui, sans-serif; letter-spacing: 0; padding: .6rem 1rem; position: sticky; text-align: center; top: 0; z-index: 2000; }
.preview-bar a { color: var(--color-tailgate-yellow); }
:focus-visible { outline: 3px solid var(--color-michelada-red); outline-offset: 2px; }
/* "Skip to content": first thing Tab reaches, hidden until focused. */
.skip-link { background: var(--color-ink); border-radius: var(--radius-control); color: var(--color-white); font-family: var(--font-display); left: var(--gutter); padding: .8rem 1.2rem; position: absolute; text-decoration: none; text-transform: uppercase; top: .75rem; transform: translateY(-200%); z-index: 300; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
/* The red ring disappears on red, blue and yellow grounds: white on red/charcoal, charcoal on yellow and Top Cup blue (6.4:1). */
.site-footer :focus-visible, .footer-socket :focus-visible, .smart-form__header :focus-visible { outline-color: var(--color-white); }
.brand-hero :focus-visible, .closing-cta :focus-visible, .smart-form-section :focus-visible, .partner-band :focus-visible, .skip-link:focus-visible { outline-color: var(--color-ink); }
.smart-form[hidden] { display: none; }
.smart-form__field select { appearance: auto; }

/* Homepage restructure (2026-10): partner badge, How it works steps, partner band, section buttons, form notes. */
.products-section .actions, .occasions-section .actions { justify-content: center; margin-top: 2rem; }
.occasions-section .actions .button { background: var(--ink); color: var(--color-white); }

/* "Proudly made in…" band, after Top Cup's own: their blue (settings.partner.color), our type. Logo | flag | 90% recycled. */
.partner-band { background: var(--partner-color, var(--color-michelada-red)); color: var(--color-white); padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); text-align: center; }
.partner-band__inner { align-items: center; display: flex; flex-direction: column; gap: clamp(1.75rem, 4vw, 2.5rem); margin-inline: auto; max-width: 56rem; }
.partner-band h2 { margin: 0; }
/* At least 24px (WCAG large text): white on the partner blue #0095db is 3.32:1, enough for large text only. */
.partner-band__description { font-size: max(1.5rem, var(--text-lead)); line-height: var(--lh-lead); margin: 0; max-width: 42rem; }
.partner-band .actions { justify-content: center; }
.partner-band .button { background: var(--color-white); color: var(--partner-color, var(--color-michelada-red)); }
/* Top Cup's marks (inline SVG, currentColor) in one row with thin white dividers, all the same height. */
.partner-band__lockup { align-items: center; display: flex; justify-content: center; max-width: 100%; }
.partner-band__lockup > * { color: var(--color-white); display: flex; padding-inline: clamp(.6rem, 2.5vw, 1.75rem); }
.partner-band__lockup > * + * { border-left: 2px solid rgb(255 255 255 / 85%); }
.partner-band__logo { display: block; height: clamp(2.2rem, 1.2rem + 3.6vw, 4.75rem); max-width: 100%; width: auto; }
.partner-band__name { background: var(--color-white); border-radius: .5rem .5rem 1.1rem 1.1rem; color: var(--partner-color, var(--color-michelada-red)); font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.5vw, 2.3rem); line-height: .85; padding: .4rem .55rem .5rem; text-align: center; width: min-content; }
.partner-band a.partner-band__mark { text-decoration: none; }

/* Recyclability promise, after Top Cup's: big statement left, check cards right, in ChelaMix red and yellow. */
.promise-section { background: var(--color-white); padding-block: var(--section-space); }
.promise-section__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.promise-section h2 { margin: 0 0 var(--space-2); }
.promise-section__lead { font-size: var(--text-lead); line-height: var(--lh-lead); margin: 0; }
.promise-section__lead strong { color: var(--color-michelada-red); background: linear-gradient(transparent 58%, rgb(250 199 15 / 75%) 58%); font-weight: 600; }
.promise-section .actions { margin-top: 1.5rem; }
.promise-section__points { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.promise-section__points li { align-items: center; background: var(--ink); border-radius: var(--radius-card); color: var(--color-white); display: flex; font-size: var(--text-body); gap: var(--space-2); line-height: var(--lh-body); padding: var(--space-2) var(--space-3); }
.promise-section__check { align-items: center; background: var(--accent); border-radius: 50%; color: var(--ink); display: flex; flex: 0 0 auto; height: 2.25rem; justify-content: center; width: 2.25rem; }
.promise-section__icon { height: 1.3rem; width: 1.3rem; }

/* Partner (Top Cup): one lockup in three fixed places. Name in display type until a logo is set in settings.partner. */
.partner-badge { align-items: center; background: var(--color-white); border-radius: 999px; color: var(--ink); display: inline-flex; font-family: var(--font-display); gap: .65rem; letter-spacing: .08em; line-height: 1; margin: 1.25rem 0 0; padding: .5rem 1.1rem; text-transform: uppercase; }
.partner-badge__label { font-size: var(--text-small); }
.partner-badge__label::after { border-left: 1px solid currentColor; content: ""; height: 1em; margin-left: .65rem; opacity: .4; vertical-align: -.1em; }
.partner-badge__mark { align-items: center; display: inline-flex; text-decoration: none; }
.partner-badge__name { font-size: 1.35rem; }
.partner-badge__logo { color: var(--partner-color, var(--ink)); display: block; height: 1.75rem; width: auto; }
.brand-hero__tagline { color: var(--color-michelada-red); margin-top: 1.25rem; }

.steps-section { background: var(--color-white); padding-block: var(--section-space); }
.steps-section .landing-intro { text-align: center; }
.steps-section__description { margin: calc(-1 * var(--space-1)) auto var(--space-4); max-width: 40rem; }
.steps-section__list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.step-card { align-items: center; background: var(--surface); border-radius: var(--radius-card); column-gap: 1.1rem; display: grid; grid-template-columns: auto 1fr; padding: 1.25rem; }
.step-card__badge { align-items: center; background: var(--accent); border-radius: 50%; color: var(--ink); display: flex; grid-row: span 2; height: 4.5rem; justify-content: center; position: relative; width: 4.5rem; }
.step-card__icon { height: 2.1rem; width: 2.1rem; }
.step-card__number { align-items: center; background: var(--ink); border: 3px solid var(--surface); border-radius: 50%; color: var(--color-white); display: flex; font-family: var(--font-display); font-size: 1.05rem; height: 1.9rem; justify-content: center; line-height: 1; position: absolute; right: -.35rem; top: -.35rem; width: 1.9rem; }
.step-card h3 { align-self: end; font-size: var(--text-title3); line-height: var(--lh-title3); margin: 0; }
.step-card p { align-self: start; margin: var(--space-1) 0 0; }
.step-card h3:last-child { align-self: center; grid-row: span 2; }


.site-footer__partner { align-items: flex-start; display: flex; flex-direction: column; font-size: var(--text-small); gap: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__partner p { margin: 0; }
.site-footer__partner-marks { align-items: center; display: flex; }
.site-footer__partner-marks > * { padding-inline: .9rem; }
.site-footer__partner-marks > :first-child { padding-left: 0; }
.site-footer__partner-marks > :last-child { padding-right: 0; }
.site-footer__partner-marks > * + * { border-left: 1.5px solid rgb(255 255 255 / 85%); }
.site-footer__partner__mark { align-items: center; display: inline-flex; text-decoration: none; }
.site-footer__partner__mark:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer__partner__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.site-footer__partner__logo { color: var(--color-white); display: block; height: 2rem; width: auto; }

.smart-form__note { font-size: var(--text-body); margin: -1.25rem auto 1.75rem; max-width: 34rem; text-align: center; }

@media (min-width: 48rem) {
  .steps-section, .promise-section { padding-inline: var(--landing-wide-gutter); }
  .steps-section .landing-shell, .promise-section .landing-shell { max-width: var(--landing-wide-max); }
  .promise-section__grid { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps-section__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__partner { align-items: center; }
}

@media (min-width: 64rem) {
  .steps-section__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step-card { align-content: start; grid-template-columns: 1fr; justify-items: center; padding: 2rem 1.25rem; row-gap: .75rem; text-align: center; }
  .step-card__badge { grid-row: auto; height: 5.5rem; width: 5.5rem; }
  .step-card__icon { height: 2.6rem; width: 2.6rem; }
  .step-card h3, .step-card h3:last-child { align-self: auto; grid-row: auto; }
}

/* Header identical to ChelaMix OS (public/style.css .top / .hamburger / .menu): sticky charcoal bar, 116px with a
   64px white wordmark, easing to 90px / 50px once scrolled; hamburger lines turn Tailgate Yellow when scrolled.
   Phones: 94px / 44px logo, 84px / 38px scrolled, no "Menu" label. */
.site-header { align-items: center; background: var(--color-ink); color: var(--color-white); display: grid; gap: 16px; grid-template-columns: 1fr auto 1fr; height: var(--site-header-h); padding: 0 max(var(--gutter), calc((100% - 1140px) / 2 + var(--gutter))); position: sticky; top: 0; transition: height .4s ease, box-shadow .3s ease, background .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease; z-index: 100; }
.site-header.scrolled { box-shadow: 0 6px 18px rgb(0 0 0 / 18%); height: calc(var(--site-header-h) - 26px); }
.site-header :focus-visible { outline-color: var(--color-white); }
/* Over the hero (as the app's Home): transparent, red logo and hamburger on the yellow; once scrolled, translucent
   blurred charcoal with the white logo and yellow hamburger lines. The hero slides up under the header. */
.site-header--over { background: transparent; }
.site-header--over .site-brand, .site-header--over .site-burger { color: var(--color-michelada-red); }
.site-header--over :focus-visible { outline-color: var(--color-ink); }
.site-header--over.scrolled { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: color-mix(in srgb, var(--color-ink) 72%, transparent); }
.site-header--over.scrolled .site-brand, .site-header--over.scrolled .site-burger { color: var(--color-white); }
.site-header--over.scrolled :focus-visible { outline-color: var(--color-white); }
.site-header--over ~ main > .brand-hero:first-child { --overlay-header-height: 0px; margin-top: calc(-1 * var(--site-header-h)); padding-top: var(--site-header-h); }
.site-header__side { align-items: center; display: flex; min-width: 0; }
.site-header__side--end { justify-content: flex-end; }
.site-header .button { padding: .6rem 1.1rem; transition: background .3s ease, color .3s ease, filter .2s ease, transform .1s ease; white-space: nowrap; }
/* Like the app's header icons: once scrolled the button turns Tailgate Yellow. */
.site-header.scrolled .button { background: var(--accent); color: var(--color-ink); }
.site-brand { align-items: center; color: var(--color-white); display: inline-flex; transition: color .3s ease; }
.site-brand__logo { display: block; height: 64px; transition: height .4s ease; width: auto; }
.site-header.scrolled .site-brand__logo { height: 50px; }
.site-burger { align-items: center; background: none; border: 0; color: var(--color-white); transition: color .3s ease; cursor: pointer; display: flex; gap: 13px; min-height: 44px; min-width: 44px; padding: 0; }
.site-burger__lines { flex: none; height: 17px; position: relative; width: 32px; }
.site-burger__lines span { background: currentColor; height: 2px; left: 0; position: absolute; transition: width .5s cubic-bezier(.22, 1, .36, 1); width: 100%; }
.site-burger__lines span:nth-child(1) { top: 2px; }
.site-burger__lines span:nth-child(2) { top: 7.5px; width: 70%; }
.site-burger__lines span:nth-child(3) { top: 13px; width: 40%; }
.site-burger:hover .site-burger__lines span { width: 100%; }
.site-header.scrolled .site-burger__lines span { background: var(--accent); }
.site-burger__label { font: 700 var(--text-label)/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
/* Traveling logo (brandHero travelingLogo "on"): the header's own wordmark starts big over the hero's product and
   shrinks into the header as you scroll (site.js sets its transform). Hidden until placed so it never jumps. */
.site-header--travel .site-brand__logo { opacity: 0; transform-origin: 50% 50%; transition: opacity .35s ease, height .4s ease; }
.site-header--travel.travel-ready .site-brand__logo { opacity: 1; }
/* Header reveal (brandHero headerReveal "on"): the wordmark stays in the hero. The header over it is just Menu and
   Let's talk and scrolls away with the page. site.js adds a fixed copy (is-fixed), charcoal with the logo, that slides
   down from above the screen and fades in (is-shown) once you're past the hero, and back out when you return. */
.site-header--reveal { left: 0; position: absolute; right: 0; top: var(--reveal-top, 0px); }
.site-header--reveal:not(.is-fixed) .site-brand { visibility: hidden; }
.site-header--reveal.is-fixed { opacity: 0; position: fixed; transform: translateY(calc(-100% - var(--reveal-top, 0px))); transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, visibility 0s .4s; visibility: hidden; }
.site-header--reveal.is-fixed.is-shown { opacity: 1; transform: none; transition-delay: 0s; visibility: visible; }
.site-header--reveal ~ main > .brand-hero:first-child { margin-top: 0; }
.brand-hero__wordmark { color: var(--color-michelada-red); display: block; height: 100%; width: 100%; }
.brand-hero--travel .brand-hero__inner { display: grid; gap: var(--space-2); grid-template-rows: minmax(18rem, 1fr) auto; height: 100%; max-width: var(--landing-wide-max, 80rem); padding-block: var(--space-2) clamp(1.5rem, 5vh, 3.5rem); }
.brand-hero--travel .brand-hero__stage { align-self: stretch; min-height: 0; position: relative; }
/* Pinned to the stage so the photo's own size can't stretch the row (and crop the rim). */
.brand-hero--travel .brand-hero__product { height: 100%; inset: 0; left: 0; max-width: none; object-fit: contain; object-position: center; position: absolute; top: 0; transform: none; width: 100%; }
/* Where the logo lands at the top of the page: across the cup, a little below its middle (like the pitch deck cover). */
.brand-hero--travel .brand-hero__logo-spot { aspect-ratio: 1828 / 697; left: 50%; pointer-events: none; position: absolute; top: 54%; transform: translate(-50%, -50%); width: min(94%, 46rem); }
.brand-hero--travel .brand-hero__content { align-self: auto; grid-area: auto; padding: 0; }
.brand-hero--travel .brand-hero__title { display: block; font-size: var(--text-title1); line-height: var(--lh-title1); }
.brand-hero--travel .brand-hero__tagline { margin: var(--space-1) 0 0; }
/* "Official partner" with the Top Cup mark beside it, in white (owner, 2026-10-23; Top Cup only since 2026-11-03). */
.brand-hero__partner { align-items: center; color: var(--color-white); display: flex; flex-wrap: wrap; font-family: var(--font-display); font-size: var(--text-lead); gap: var(--space-1) 1rem; justify-content: center; letter-spacing: .04em; line-height: 1; margin-top: var(--space-2); text-transform: uppercase; }
.brand-hero__partner p { margin: 0; }
.brand-hero__partner-marks { align-items: center; display: flex; }
.brand-hero__partner-marks > * { padding-inline: 1rem; }
.brand-hero__partner-marks > :first-child { padding-left: 0; }
.brand-hero__partner-marks > :last-child { padding-right: 0; }
.brand-hero__partner-marks > * + * { border-left: 2px solid currentColor; }
.brand-hero__partner__mark { align-items: center; color: inherit; display: inline-flex; }
.brand-hero__partner__logo { display: block; height: 1.9rem; width: auto; }
@media (max-height: 600px), (max-width: 48rem) {
  .brand-hero--travel .brand-hero__inner { grid-template-rows: minmax(18rem, 52svh) auto; }
}
/* Desktop: the pitch deck cover. The cup is 140% of the hero's height (rim near the top, base running off the bottom),
   the logo spans the content column at mid-height, and the heading sits on the cup's body under it. */
@media (min-width: 48rem) {
  /* The header's Menu and Let's talk sit on the same edges as the cards below. */
  .site-header { padding-inline: max(var(--landing-wide-gutter), (100% - var(--landing-wide-max)) / 2); }
  .brand-hero--travel .brand-hero__inner { display: block; max-width: none; overflow: visible; padding: 0; position: relative; }
  .brand-hero--travel .brand-hero__stage { inset: calc(-1 * var(--site-header-h)) 0 0; position: absolute; }
  .brand-hero--travel .brand-hero__product { height: min(140%, 115vw); inset: auto; left: 50%; top: -8%; transform: translateX(-50%); width: auto; }
  /* As wide as the content column (Menu's left edge to Let's talk's right edge, the cards' edges). On short screens it
     shrinks so the heading and partner marks under it clear the scroll cue: the content's top is the hero's middle +
     24px + half the logo's height (1828:697), and it plus its ~100px and the cue's 76px must fit, hence hero − 400px. */
  .brand-hero--travel { --travel-logo-w: min(var(--landing-wide-max), 100vw - 2 * var(--landing-wide-gutter), (var(--brand-hero-height) - 400px) * 1828 / 697); }
  .brand-hero--travel .brand-hero__logo-spot { top: 50%; width: var(--travel-logo-w); }
  /* Just under the logo: the hero's middle (50% of the inner box sits half a header below it), plus half the logo's
     height (the wordmark is 1828:697), plus a gap. */
  .brand-hero--travel .brand-hero__content { left: 0; position: absolute; right: 0; top: calc(50% - var(--site-header-h) / 2 + var(--travel-logo-w) * 697 / 1828 / 2 + var(--space-3)); z-index: 1; }
  .brand-hero--travel .brand-hero__title { font-size: var(--text-title2); line-height: var(--lh-title2); }
  .brand-hero--travel .brand-hero__tagline { font-size: var(--text-title3); line-height: var(--lh-title3); }
  .brand-hero__partner__logo { height: 2.25rem; }
}

/* Short laptop screens (under 896px tall, e.g. a Surface Laptop Studio at 200% scaling, ~1200×690): the logo stays
   centered and keeps its size; the text under it gives way instead (owner, 2026-11-03). The heading and the partner line
   shrink and the scroll cue goes (the next section already peeks in under the hero), so the logo only needs to leave
   ~300px instead of 400px. */
@media (min-width: 48rem) and (max-height: 56rem) {
  .brand-hero--travel { --travel-logo-w: min(var(--landing-wide-max), 100vw - 2 * var(--landing-wide-gutter), (var(--brand-hero-height) - 300px) * 1828 / 697); }
  .brand-hero--travel .brand-hero__content { top: calc(50% - var(--site-header-h) / 2 + var(--travel-logo-w) * 697 / 1828 / 2 + var(--space-2)); }
  .brand-hero--travel .brand-hero__title { font-size: var(--text-title3); line-height: var(--lh-title3); }
  .brand-hero--travel .brand-hero__partner { font-size: 1.125rem; margin-top: var(--space-1); }
  .brand-hero--travel .brand-hero__partner__logo { height: 1.6rem; }
  .brand-hero--travel .brand-hero__cue { display: none; }
}

.block-anchor { scroll-margin-top: calc(var(--site-header-h) - 26px); }
html { scroll-behavior: smooth; }

/* Menu overlay, as in the app: charcoal with a red glow, numbered Bebas links, the white logo aside, wiped open from the hamburger. */
.site-menu { align-items: center; background: radial-gradient(1200px 900px at 12% 8%, color-mix(in srgb, var(--color-michelada-red) 28%, var(--color-ink)), var(--color-ink) 70%); clip-path: circle(0% at var(--burger-cx, 56px) var(--burger-cy, 58px)); color: var(--color-white); display: grid; grid-template-columns: 1.2fr .8fr; inset: 0; padding-inline: max(24px, calc((100% - 1140px) / 2 + 24px)); position: fixed; transition: clip-path .8s cubic-bezier(.65, .05, .36, 1); z-index: 200; }
.site-menu[hidden] { display: none; }
.site-menu :focus-visible { outline-color: var(--color-white); }
.site-menu.open { clip-path: circle(150% at var(--burger-cx, 56px) var(--burger-cy, 58px)); }
.site-menu__close { align-items: center; background: none; border: 0; color: var(--color-white); cursor: pointer; display: flex; gap: 13px; left: var(--burger-x, 24px); min-height: 44px; min-width: 44px; padding: 0; position: absolute; top: var(--burger-y, 36px); }
.site-menu__close:hover { color: var(--accent); }
.site-menu__x { flex: none; height: 17px; position: relative; width: 32px; }
.site-menu__x::before, .site-menu__x::after { background: var(--accent); content: ""; height: 2px; left: 4px; position: absolute; top: calc(50% - 1px); width: 24px; }
.site-menu__x::before { transform: rotate(45deg); }
.site-menu__x::after { transform: rotate(-45deg); }
.site-menu__list { counter-reset: menu; display: flex; flex-direction: column; gap: .2rem; list-style: none; margin: 0; padding: 120px 24px 80px 0; }
.site-menu__list li { counter-increment: menu; }
.site-menu__link { align-items: baseline; background: none; border: 0; color: var(--color-white); cursor: pointer; display: inline-flex; font: 400 clamp(1.5rem, 7vw, 3.6rem)/1 var(--font-display); letter-spacing: .01em; max-width: 100%; opacity: 0; padding: 0; text-decoration: none; text-transform: uppercase; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, color .3s ease; width: max-content; }
.site-menu__link::before { color: var(--accent); content: counter(menu, decimal-leading-zero); font: 700 .7rem/1 var(--font-ui); letter-spacing: .2em; margin-right: .6em; opacity: .8; vertical-align: super; }
.site-menu.open .site-menu__link { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * .07s); }
.site-menu.open .site-menu__link:hover { color: var(--accent); transform: translateX(14px); transition-delay: 0s; }
.site-menu__aside { align-self: stretch; border-left: 1px solid rgb(255 255 255 / 12%); display: grid; padding: clamp(60px, 10vh, 120px) 0 clamp(60px, 10vh, 120px) clamp(30px, 5vw, 64px); place-items: center; }
.site-menu__logo { color: var(--color-white); height: auto; max-width: 440px; opacity: 0; transform: translateY(24px); transition: opacity .6s ease .3s, transform .6s ease .3s; width: 100%; }
.site-menu.open .site-menu__logo { opacity: 1; transform: none; }

/* Hero without a logo (the logo lives in the header): big display H1 beside the cup; stacked on phones. */
.brand-hero--text .brand-hero__inner { align-content: center; gap: 1rem; grid-template-rows: auto minmax(0, 1fr); padding-block: 1.5rem; }
.brand-hero--text .brand-hero__content { align-self: end; grid-area: auto; order: -1; padding: 0; }
.brand-hero--text .brand-hero__title { display: block; font-size: var(--text-display); line-height: var(--lh-display); margin-inline: auto; max-width: 12ch; }
.brand-hero--text .brand-hero__tagline { margin: 1rem 0 0; }
.brand-hero--text .brand-hero__product { height: 100%; left: auto; max-width: none; min-height: 0; object-fit: contain; object-position: center; position: static; top: auto; transform: none; width: 100%; }

@media (min-width: 48rem) {
  .brand-hero--text .brand-hero__inner { grid-template-columns: 1.15fr .85fr; grid-template-rows: minmax(0, 1fr); max-width: var(--landing-wide-max); padding-block: 2rem; }
  .brand-hero--text .brand-hero__content { align-items: flex-start; align-self: center; text-align: left; }
  .brand-hero--text .brand-hero__title { margin: 0; }
}

/* Short screens (landscape phones, 200% zoom): the hero grows to fit its text instead of clipping it. */
@media (max-height: 600px) {
  .brand-hero { height: auto; max-height: none; min-height: calc(var(--brand-hero-height) - var(--overlay-header-height)); }
  .brand-hero__inner { height: auto; }
  .brand-hero--text .brand-hero__product { height: min(60svh, 22rem); }
}
/* The desktop traveling hero places everything absolutely, so it has no content height to grow to and the rule above
   collapsed it (tiny cup, logo off the top in windows 600px tall or less). It keeps its layout instead, at least 34rem
   tall: the logo stays ~640px wide and the hero runs past the window's bottom, scrolling like the rest of the page. */
@media (min-width: 48rem) and (max-height: 600px) {
  .brand-hero--travel { --travel-logo-w: min(var(--landing-wide-max), 100vw - 2 * var(--landing-wide-gutter), (max(var(--brand-hero-height), 34rem) - 300px) * 1828 / 697); height: max(var(--brand-hero-height) - var(--overlay-header-height), 34rem); }
  .brand-hero--travel .brand-hero__inner { height: 100%; }
}

@media (max-width: 860px) {
  .site-menu { align-content: center; grid-template-columns: 1fr; }
  .site-menu__list { padding: 120px 0 40px; }
  .site-menu__aside { border-left: 0; border-top: 1px solid rgb(255 255 255 / 12%); padding: 40px 0; }
  .site-menu__logo { max-width: 280px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --site-header-h: 94px; }
  .site-header { gap: 8px; }
  .site-header.scrolled { height: calc(var(--site-header-h) - 10px); }
  .site-brand__logo { height: 44px; }
  .site-header.scrolled .site-brand__logo { height: 38px; }
  .site-burger__label { display: none; }
  .site-header .button { font-size: 1rem; padding: .55rem .8rem; }
  .block-anchor { scroll-margin-top: calc(var(--site-header-h) - 10px); }
}

/* Four or more partner marks: a 2×2 grid on phones (no divider at the start of a row). */
@media (max-width: 40rem) {
  .partner-band__lockup { display: grid; grid-template-columns: auto auto; justify-content: center; justify-items: center; row-gap: 1.25rem; }
  .partner-band__lockup > :nth-child(odd) { border-left: 0; }
  .partner-band__logo { height: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .site-brand__logo, .site-menu, .site-menu__link, .site-menu__logo { transition: none; }
  .site-header--reveal.is-fixed { transform: none; transition: none; }
  .button:active:not(:disabled) { transform: none; }
}

/* Scroll cue (brandHero scrollCue "on"), as in ChelaMix OS: a chevron at the foot of the hero, bobbing 6px every 2s,
   in Michelada red on the yellow (the hero's heading color), 44px to tap. */
.brand-hero { position: relative; }
.brand-hero__cue { align-items: center; border-radius: 50%; bottom: var(--space-2); color: var(--color-michelada-red); display: grid; height: 44px; justify-items: center; left: 50%; position: absolute; translate: -50% 0; width: 44px; z-index: 2; animation: hero-cue 2s ease-in-out infinite; }
.brand-hero__cue svg { height: 28px; width: 28px; }
@keyframes hero-cue { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .brand-hero__cue { animation: none; } }
/* Phones: the hero text sits at the bottom, so it moves up to leave the cue its own 44px. */
@media (max-width: 48rem) { .brand-hero--travel:has(.brand-hero__cue) .brand-hero__inner { padding-bottom: calc(44px + var(--space-3)); } }

/* Tabbed sections (tabs block): a pill bar in the page (not sticky) over the grouped blocks, one shown at a time. The
   panels are the normal sections, untouched, so type, spacing, cards and rhythm stay the same; the bar sits one
   section-space under the hero and one above the panel's content. Without JavaScript (no "js" class on <html>) the bar
   is hidden and every panel shows, stacked. site.js moves one red indicator under the active pill and runs the swap:
   the old panel fades out fast, the stage eases to the new height, and the new panel's pieces rise in from a blur. */
.tabs__bar-row { display: none; padding: var(--section-space) var(--gutter) 0; scroll-margin-top: calc(var(--site-header-h) - 26px); text-align: center; }
.js .tabs__bar-row { display: block; }
.tabs__bar { background: var(--surface); border-radius: 999px; display: inline-flex; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; padding: var(--space-1); position: relative; scrollbar-width: none; vertical-align: top; }
.tabs__bar::-webkit-scrollbar { display: none; }
/* The pills read like the site's buttons (Bebas, body size, 44px): red on the aluminum grey (4.5:1), white on the red indicator. */
.tabs__tab { background: none; border: 0; border-radius: 999px; color: var(--color-michelada-red); cursor: pointer; flex: none; font-family: var(--font-display); line-height: 1; min-height: 44px; padding: .7rem 1.25rem; position: relative; text-transform: uppercase; transition: color .25s ease; white-space: nowrap; z-index: 1; }
.tabs__tab[aria-selected="true"] { color: var(--color-white); transition-delay: .18s; } /* turns white as the pill arrives, not before */
@media (hover: hover) { .tabs__tab[aria-selected="false"]:hover { color: var(--text); } }
.tabs__tab:focus-visible { outline-color: var(--color-ink); }
.tabs__indicator { background: var(--color-michelada-red); border-radius: 999px; bottom: var(--space-1); left: 0; position: absolute; top: var(--space-1); width: 0; } /* site.js animates it (a stretch between pills) */
/* Until site.js has measured the pills: the active pill carries the red itself, and only the open panel shows. */
.tabs:not(.is-ready) .tabs__tab[aria-selected="true"] { background: var(--color-michelada-red); }
.tabs:not(.is-ready) .tabs__indicator { display: none; }
.js .tabs:not(.is-ready) .tabs__panel:not([data-open]) { display: none; }
.tabs__panel[hidden] { display: none; }
.tabs__panel:focus-visible { outline-offset: -3px; }
.tabs__stage.is-resizing { overflow: hidden; transition: height .35s cubic-bezier(.2, .7, .2, 1); }
.tabs__panel.is-leaving { opacity: 0; transition: opacity .13s ease-in; }
.tabs__panel.is-entering [data-piece] { animation: tabs-piece-in .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 75ms) both; }
@keyframes tabs-piece-in {
  from { filter: blur(10px); opacity: 0; transform: translateY(16px); }
  to { filter: none; opacity: 1; transform: none; }
}
@keyframes tabs-fade-in { from { opacity: 0; } }
@media (min-width: 48rem) {
  .tabs__bar-row { padding-inline: var(--landing-wide-gutter); }
}
@media (max-width: 640px) {
  .tabs__bar-row { scroll-margin-top: calc(var(--site-header-h) - 10px); }
  .tabs__tab { padding-inline: 1rem; }
}
/* Inside the tabs the sections are tuned to share one height, so switching tabs doesn't move the page below.
   Desktop: every panel sits in the same grid cell and the hidden ones keep their space invisibly (the hidden
   attribute still takes them out of the accessibility tree and tab order), so the stage is always as tall as the
   tallest panel. Phones keep each panel's own height: a fixed height there would leave screens of empty space under
   the short tabs (Apple HIG: let content set the scroll length), so the tall phone panels are made shorter instead. */
.tabs__panel .problem-section__image { aspect-ratio: 16 / 9; }
.tabs__panel .solution-section__lifestyle { aspect-ratio: 4 / 3; }
/* Flavors on phones: the three rims side by side instead of three full-screen cards (the cups differ only in the rim). */
@media (max-width: 48rem) {
  .tabs__panel .products-section__grid { gap: var(--space-1); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs__panel .products-section__image-panel { min-height: 0; padding: var(--space-1); }
  .tabs__panel .products-section__image { height: auto; aspect-ratio: 3 / 4; }
  .tabs__panel .product-card h3 { margin-top: var(--space-1); }
}
@media (min-width: 48rem) {
  .tabs__stage { display: grid; }
  .tabs__panel { grid-area: 1 / 1; }
  .tabs__panel[hidden] { display: block; visibility: hidden; }
  /* Problem: a wider crop of the photo. Solution: the photo takes the height of the cups and text beside it. */
  .tabs__panel .problem-section__image { aspect-ratio: 16 / 5; }
  .tabs__panel .solution-section__product { max-height: 12rem; }
  .tabs__panel .solution-section__copy { padding: var(--space-4) var(--space-6); }
  /* contain: size stops the photo's own height from sizing the rows, so it fills whatever the left column needs. */
  .tabs__panel .solution-section__lifestyle { aspect-ratio: auto; contain: size; height: 100%; }
}
/* Short laptop screens (under 896px tall, e.g. a Surface Laptop Studio, ~1200×690): the columns are narrower, so
   Solution and Flavors would be taller than the window. Smaller cups in Solution's yellow panel, a tighter text card and
   shorter flavor panels keep them closer to the other tabs (owner, 2026-11-03). */
@media (min-width: 48rem) and (max-height: 56rem) {
  .tabs__panel .solution-section__product-panel { min-height: 11rem; }
  .tabs__panel .solution-section__product { max-height: 8.5rem; }
  .tabs__panel .solution-section__copy { padding: var(--space-3) var(--space-4); }
  .tabs__panel .products-section__image-panel { min-height: 18rem; }
  .tabs__panel .products-section__image { height: 16rem; }
}
/* How it works: two by two, each step a wide card with its badge beside the text. */
@media (min-width: 64rem) {
  .tabs__panel .steps-section__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Taller cards so the 2×2 fills about the same height as the other tabs. */
  .tabs__panel .step-card { align-content: center; grid-template-columns: auto 1fr; justify-items: start; padding: var(--space-6) var(--space-4); row-gap: 0; text-align: left; }
  .tabs__panel .step-card__badge { grid-row: span 2; }
  .tabs__panel .step-card h3 { align-self: end; }
}
/* Reduce Motion: a plain cross-fade; the indicator and the stage height jump. */
@media (prefers-reduced-motion: reduce) {
  .tabs__indicator, .tabs__tab, .tabs__stage.is-resizing { transition: none; }
  .tabs__panel.is-entering [data-piece] { animation: none; }
  .tabs__panel.is-entering { animation: tabs-fade-in .2s ease both; }
}

/* Tabs in one grey container (owner idea 2026-10-20): the whole tab section sits on the aluminum grey so the sections
   after it read as separate; the pill bar turns white. Inside it the grey text cards turn white, so there is still only
   one level of card on the grey. Phones: a full-width grey band (a card with margins would squeeze the content).
   Desktop: a rounded card on the content column's edges, its content inset by 48px. */
.tabs { background: var(--surface); margin-top: var(--section-space); }
.tabs__bar-row { padding-top: var(--section-space); }
.tabs__bar { background: var(--color-white); }
.tabs__panel .landing-section { background: transparent; }
.tabs__panel :is(.solution-section__copy, .step-card) { background: var(--color-white); }
.tabs__panel .step-card__number { border-color: var(--color-white); }
@media (min-width: 48rem) {
  .tabs { border-radius: var(--radius-panel); margin-inline: max(var(--landing-wide-gutter), (100% - var(--landing-wide-max)) / 2); }
  .tabs__bar-row, .tabs__panel .landing-section:not(.brand-hero) { padding-inline: var(--space-6); }
  /* The card keeps the tallest tab's height; shorter tabs sit in its middle so the spare grey splits above and below. */
  .tabs__panel, .tabs__panel[hidden] { display: flex; flex-direction: column; justify-content: center; }
}
/* Laptop screens (under 1120px tall: a Surface Laptop Studio, a 16" MacBook Pro even in full screen): each tab keeps
   its own height, as on phones (owner, 2026-11-03). The section about fills the window there, so a shared height only
   added empty grey around the shorter tabs. Switching doesn't move the view: the panel starts right under the tab bar
   and the stage animates its height, so only what's below it slides. Taller screens (big monitors), where the next
   section shows under the tabs, keep the shared height so it doesn't move while you switch. */
@media (min-width: 48rem) and (max-height: 70rem) {
  .tabs__stage { display: block; }
  .tabs__panel[hidden] { display: none; }
}

/* Built for big crowds, layout "split": Custom branding's two panels mirrored. A square 2×2 of crowd photos on the left
   (the same size as Custom branding's square image panel), the grey text card on the right; text first on phones. */
.occasions-section--split .occasions-section__gallery { gap: var(--space-1); }
.occasions-section--split .occasions-section__image { aspect-ratio: 1; height: 100%; }
.occasions-section--split .split-section__copy .actions { justify-content: flex-start; margin-top: var(--space-2); }
@media (min-width: 48rem) {
  .occasions-section--split .occasions-section__gallery { aspect-ratio: 1; gap: var(--space-2); grid-row: 1; grid-template-rows: repeat(2, minmax(0, 1fr)); }
}

/* One gap between white sections: each one pads top and bottom by --section-space, so two in a row stacked to double
   (144px on desktop). A white section followed by another (anchors sit between them) drops its bottom padding, so
   the gap is one --section-space, the same as under the tab card. Colored bands keep their own padding. */
:is(.problem-section, .solution-section, .occasions-section, .products-section, .split-section, .steps-section, .promise-section):has(+ :is(.problem-section, .solution-section, .occasions-section, .products-section, .split-section, .steps-section, .promise-section), + .block-anchor + :is(.problem-section, .solution-section, .occasions-section, .products-section, .split-section, .steps-section, .promise-section)) { padding-bottom: 0; }
