/* ==========================================================================
   V3 round 2, lane C (Nov 1): top of the home page.
   #2 native top bar (no iframe) with Buffalo time + daily weather   .r2c-bar     group r2cbar
   #3 floating carousel of real Glaze posts in the hero               .r2c-hero    group r2chero
   #4 sitewide animated button states (home, matcha, core, plans)     .r2c-btn tier
   #5 first-timer Weekly Box funnel in the hero                       .r2c-funnel  group r2cfunnel
   Motion: transforms and opacity only; html.glz-static and reduced motion get none.
   ========================================================================== */

/* --- #4 sitewide buttons: lift on hover, press down, a clear focus ring ---------------------
   Individual translate/scale properties compose with any transform a page already sets. */
:where(.hero-cta, .gw-cta, .nav-cta, .r2c-f-go, .tail-button, .submit-btn, .sticky-bar-btn, .cart-empty-cta,
  .add-to-cart-btn, .mx-pair-cta, .cta, .btn, a[class*="-cta"], button[class*="-cta"], .r2c-card, .r2c-f-opt, .r2c-f-next, .r2c-f-open) {
  /* motion is transforms only; colors change state without animating size or layout */
  transition: translate .28s cubic-bezier(.22, 1, .36, 1), scale .16s ease-out, transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease-out,
    background-color .28s ease-out, color .2s ease-out, border-color .28s ease-out;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  :where(.hero-cta, .gw-cta, .nav-cta, .r2c-f-go, .tail-button, .submit-btn, .sticky-bar-btn, .cart-empty-cta,
    .add-to-cart-btn, .mx-pair-cta, .cta, .btn, a[class*="-cta"], button[class*="-cta"]):hover:not(:disabled) {
    translate: 0 -2px;
    filter: brightness(1.05) saturate(1.06);
  }
}
:where(.hero-cta, .gw-cta, .nav-cta, .r2c-f-go, .tail-button, .submit-btn, .sticky-bar-btn, .cart-empty-cta,
  .add-to-cart-btn, .mx-pair-cta, .cta, .btn, a[class*="-cta"], button[class*="-cta"], .r2c-f-opt, .r2c-f-next, .r2c-f-open):active:not(:disabled) {
  translate: 0 0;
  scale: .97;
  filter: brightness(.97);
  transition-duration: .08s;
}
:where(.hero-cta, .gw-cta, .nav-cta, .r2c-f-go, .tail-button, .submit-btn, .sticky-bar-btn, .cart-empty-cta,
  .add-to-cart-btn, .mx-pair-cta, .cta, .btn, a[class*="-cta"], button[class*="-cta"], .r2c-card, .r2c-f-opt, .r2c-f-next, .r2c-f-open, .r2c-ctl-btn, .r2c-rail-btn):focus-visible {
  outline: 3px solid rgba(212, 168, 67, .75);
  outline-offset: 3px;
}
/* arrows inside buttons nudge forward on hover */
:where(.hero-cta, .gw-cta, .r2c-f-go, .r2c-f-next, .r2c-f-open) [aria-hidden="true"] { display: inline-block; transition: translate .28s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  :where(.hero-cta, .gw-cta, .r2c-f-go, .r2c-f-next, .r2c-f-open):hover [aria-hidden="true"] { translate: 3px 0; }
}

/* --- #2 top bar --------------------------------------------------------------------------- */
.r2c-bar {
  --r2c-bg: #16203d; --r2c-ink: #fdf8f0; --r2c-sub: #e5be5e; --r2c-card: rgba(255, 255, 255, .06); --r2c-line: rgba(255, 255, 255, .12);
  position: relative; z-index: 5; align-self: stretch; width: 100%; box-sizing: border-box;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(12px, 3vw, 40px);
  background: var(--r2c-bg); color: var(--r2c-ink);
  font-family: 'DM Sans', sans-serif;
}
.r2c-now {
  flex: none; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 9.5rem; height: 58px;
  font: 600 .72rem/1.25 'DM Sans', sans-serif; letter-spacing: .02em; color: var(--r2c-sub);
}
.r2c-now-place { text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; opacity: .9; }
.r2c-now-time { font: 600 1.05rem/1.1 'Glaze Display', Georgia, serif; color: var(--r2c-ink); min-width: 5.5ch; min-height: 1.15em; font-variant-numeric: tabular-nums; }
.r2c-now-wx { display: inline-flex; align-items: center; gap: 5px; color: var(--r2c-ink); opacity: .92; font-weight: 500; }
.r2c-now-wx[hidden] { display: none !important; }
.r2c-now-wx svg { width: 15px; height: 15px; flex: none; color: var(--r2c-sub); }
.r2c-rail { position: relative; flex: 1; min-width: 0; }
.r2c-cards {
  list-style: none; margin: 0; padding: 6px 2px 8px; display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
}
.r2c-cards::-webkit-scrollbar { display: none; }
.r2c-cards > li { flex: none; scroll-snap-align: start; }
.r2c-card {
  display: flex; align-items: center; gap: 10px; height: 70px; box-sizing: border-box; overflow: hidden;
  padding: 7px 16px 7px 7px; border-radius: 16px; text-decoration: none; color: inherit;
  background: var(--r2c-card); border: 1px solid var(--r2c-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 6px 14px rgba(0, 0, 0, .18);
}
.r2c-card img { width: 46px; height: 56px; object-fit: cover; border-radius: 11px; flex: none; transition: scale .4s cubic-bezier(.22, 1, .36, 1); background: rgba(255, 255, 255, .08); }
.r2c-card-bonbon img { object-fit: contain; background: rgba(229, 190, 94, .16); padding: 3px; box-sizing: border-box; }
.r2c-card-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.r2c-card-txt small { font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--r2c-sub); }
.r2c-card-txt b { font: 600 1rem/1.2 'Glaze Display', Georgia, serif; margin: 1px 0; }
.r2c-card-txt em { font-style: normal; font-size: .74rem; opacity: .78; }
@media (hover: hover) {
  .r2c-card:hover { translate: 0 -3px; background: rgba(255, 255, 255, .11); border-color: rgba(229, 190, 94, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 14px 26px rgba(0, 0, 0, .32); }
  .r2c-card:hover img { scale: 1.07; }
  .r2c-card:hover em { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
}
.r2c-card:active { translate: 0 0; scale: .97; transition-duration: .08s; }
.r2c-rail-btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--r2c-line); background: var(--r2c-bg); color: var(--r2c-ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: opacity .2s, scale .15s;
}
.r2c-rail-prev { left: -6px; } .r2c-rail-next { right: -6px; }
.r2c-rail-btn:active { scale: .92; }
.r2c-rail-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .r2c-rail-btn { display: none; } }

/* desktop: the bar sits under the fixed nav and the hero gives the room back */
@media (min-width: 960px) {
  .r2c-bar { margin-top: 72px; border-radius: 20px; }
  .r2c-bar ~ section.hero { padding-top: 44px; }
}
@media (max-width: 959.98px) {
  .r2c-bar { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 4px; border-radius: 18px; }
  /* one fixed-height line, so the clock and the weather filling in never move the page */
  .r2c-now { flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: nowrap; gap: 8px; padding: 0 14px; min-width: 0; height: 22px; overflow: hidden; white-space: nowrap; }
  .r2c-now-time { font-size: .9rem; line-height: 22px; min-height: 0; }
  .r2c-now-wx { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .r2c-wx-label { display: none; }
  .r2c-cards { padding-inline: 12px; scroll-padding-inline: 12px; }
  .r2c-card { height: 62px; padding-right: 12px; }
  .r2c-card img { width: 40px; height: 48px; }
  .r2c-card-txt b { font-size: .92rem; }
}

/* variant b: light pills on cream */
html[data-v-r2cbar="b"] .r2c-bar {
  --r2c-bg: #fdf8f0; --r2c-ink: #2d1928; --r2c-sub: #8a6b1e; --r2c-card: #fff; --r2c-line: #e8ddd0;
  border-bottom: 1px solid #efe5d8;
}
html[data-v-r2cbar="b"] .r2c-card { border-radius: 999px; padding: 5px 18px 5px 5px; height: 56px; box-shadow: 0 2px 8px rgba(74, 25, 66, .07); }
html[data-v-r2cbar="b"] .r2c-card img { width: 44px; height: 44px; border-radius: 50%; }
html[data-v-r2cbar="b"] .r2c-card-txt em { display: none; }
@media (hover: hover) {
  html[data-v-r2cbar="b"] .r2c-card:hover { background: #fff; border-color: #d4a843; box-shadow: 0 12px 24px rgba(74, 25, 66, .14), 0 0 0 3px rgba(212, 168, 67, .16); }
}
html[data-v-r2cbar="b"] .r2c-rail-btn { box-shadow: 0 6px 14px rgba(74, 25, 66, .14); }

/* variant c: photo tiles, words over the picture */
html[data-v-r2cbar="c"] .r2c-bar { --r2c-bg: #2d1928; --r2c-sub: #e5be5e; padding-block: 12px; }
html[data-v-r2cbar="c"] .r2c-card { position: relative; overflow: hidden; display: block; width: 176px; height: 112px; padding: 0; border-radius: 18px; isolation: isolate; }
html[data-v-r2cbar="c"] .r2c-card img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; z-index: -2; }
html[data-v-r2cbar="c"] .r2c-card-bonbon img { object-fit: contain; padding: 10px 10px 40px 80px; background: linear-gradient(140deg, #4a1942, #6a2a5e); }
html[data-v-r2cbar="c"] .r2c-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 10, 19, .05) 10%, rgba(22, 10, 19, .9)); }
html[data-v-r2cbar="c"] .r2c-card-txt { position: absolute; left: 12px; right: 10px; bottom: 9px; }
html[data-v-r2cbar="c"] .r2c-card-txt em { font-size: .7rem; }
@media (max-width: 959.98px) { html[data-v-r2cbar="c"] .r2c-card { width: 148px; height: 98px; } }

/* --- #3 hero carousel ---------------------------------------------------------------------- */
section.r2c-hero { padding: 0; }
.r2c-hero {
  position: relative; z-index: 1; margin: 0; min-width: 0;
  /* one centred column: the deck, its control capsule, the source line, then (preview only) the variant pill */
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "ctl" "src" "sw";
  justify-items: center; align-items: start;
}
.r2c-stage { grid-area: stage; position: relative; aspect-ratio: 6 / 5; max-height: min(calc(100svh - 250px), 560px); width: 100%; margin-inline: auto; }
.r2c-track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.r2c-slide {
  position: absolute; top: 4%; left: 50%; width: 58%; margin-left: -29%;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1), opacity .35s ease-out, filter .45s ease-out;
  transform: translateX(0) scale(.7); opacity: 0; pointer-events: none; z-index: 1;
}
.r2c-slide[data-pos="0"], .r2c-slide.is-active:not([data-pos]) { transform: none; opacity: 1; z-index: 3; pointer-events: auto; }
.r2c-slide[data-pos="1"] { transform: translateX(46%) translateY(5%) scale(.8) rotate(5deg); opacity: .92; z-index: 2; pointer-events: auto; }
.r2c-slide[data-pos="-1"] { transform: translateX(-46%) translateY(5%) scale(.8) rotate(-5deg); opacity: .92; z-index: 2; pointer-events: auto; }
.r2c-post {
  display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #e8ddd0;
  box-shadow: 0 26px 60px rgba(74, 25, 66, .22), 0 3px 8px rgba(74, 25, 66, .1); color: #fff; text-decoration: none;
}
.r2c-post img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r2c-post-meta {
  position: absolute; left: 10px; right: 10px; top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font: 600 .72rem/1.2 'DM Sans', sans-serif;
}
.r2c-post-meta > span { padding: 5px 9px; border-radius: 999px; background: rgba(22, 10, 19, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.r2c-plat { background: rgba(253, 248, 240, .94) !important; color: #4a1942; }
.r2c-cap, .r2c-comments { opacity: 0; transition: opacity .3s ease-out .14s, translate .45s cubic-bezier(.2, .9, .25, 1) .14s; translate: 0 10px; }
.r2c-slide[data-pos="0"] .r2c-cap, .r2c-slide[data-pos="0"] .r2c-comments,
.r2c-slide.is-active:not([data-pos]) .r2c-cap, .r2c-slide.is-active:not([data-pos]) .r2c-comments { opacity: 1; translate: 0 0; }
.r2c-cap {
  position: absolute; left: -14%; top: 60%; max-width: 60%; margin: 0; padding: 10px 13px; border-radius: 16px 16px 16px 4px;
  background: #4a1942; color: #fdf8f0; font: 500 .82rem/1.35 'DM Sans', sans-serif; box-shadow: 0 14px 30px rgba(74, 25, 66, .28);
}
.r2c-comments { list-style: none; margin: 0; padding: 0; position: absolute; right: -16%; bottom: -7%; max-width: 64%; display: grid; gap: 6px; }
.r2c-comments li {
  padding: 8px 12px; border-radius: 16px 16px 4px 16px; background: #fff; color: #2d1928; font: 500 .8rem/1.35 'DM Sans', sans-serif;
  box-shadow: 0 12px 26px rgba(74, 25, 66, .16); border: 1px solid #f0e6da;
}
.r2c-comments li:nth-child(2) { margin-left: 18px; }
.r2c-comments b { display: block; font-size: .68rem; color: #8a6b1e; font-weight: 700; margin-bottom: 1px; }
/* the float: the front card bobs very slowly (one moving thing in the hero) */
@keyframes r2cFloat { from { translate: 0 0; } to { translate: 0 -7px; } }
html:not(.glz-static) .r2c-slide[data-pos="0"] .r2c-post { animation: r2cFloat 5.5s ease-in-out infinite alternate; }
.r2c-hero.is-paused .r2c-post, .r2c-hero.is-held .r2c-post { animation-play-state: paused !important; }
/* deck and spotlight take horizontal swipes themselves; the film strip keeps native scrolling */
html:not([data-v-r2chero="b"]) .r2c-stage { touch-action: pan-y; }

/* Nov 8: one centred control capsule under the deck (prev, progress dots, next, pause); 44px targets */
.r2c-ctl {
  grid-area: ctl; display: inline-flex; align-items: center; gap: 2px; margin-top: 22px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .86); border: 1px solid #eadfd1;
  box-shadow: 0 10px 26px -10px rgba(74, 25, 66, .28), 0 1px 0 rgba(255, 255, 255, .9) inset;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* the row keeps its space before the posts load, so nothing above it moves */
.r2c-ctl[hidden] { display: inline-flex; visibility: hidden; }
.r2c-ctl-btn[hidden] { display: none; }
.r2c-ctl-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0;
  background: transparent; color: #4a1942; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease, color .18s ease, scale .1s ease;
}
.r2c-ctl-btn svg { width: 18px; height: 18px; display: block; transition: translate .18s cubic-bezier(.2, .9, .25, 1); }
.r2c-pause svg { width: 14px; height: 14px; }
.r2c-pause { position: relative; margin-left: 5px; }
.r2c-pause::before { content: ''; position: absolute; left: -3px; top: 13px; bottom: 13px; width: 1px; background: #eadfd1; }
.r2c-pause[aria-pressed="true"] { color: #8a6b1e; }
@media (hover: hover) {
  .r2c-ctl-btn:hover { background: #4a1942; color: #fdf8f0; }
  .r2c-ctl-btn[data-r2c-step="-1"]:hover svg { translate: -2px 0; }
  .r2c-ctl-btn[data-r2c-step="1"]:hover svg { translate: 2px 0; }
}
.r2c-ctl-btn:active { scale: .9; background: #3a1336; color: #fdf8f0; }
.r2c-ctl-btn:focus-visible { outline: 2px solid #d4a843; outline-offset: 1px; }
.r2c-dots { display: inline-flex; align-items: center; margin: 0 2px; }
.r2c-dots { gap: 2px; }
.r2c-dots button { width: 16px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; transition: width .35s cubic-bezier(.2, .9, .25, 1); }
.r2c-dots button::before { content: ''; position: absolute; left: 4px; right: 4px; top: 19px; height: 6px; border-radius: 999px; background: #e3d6c6; transition: background-color .3s; }
.r2c-dots button[aria-current="true"] { width: 34px; }
@media (max-width: 374.98px) { .r2c-dots { gap: 0; } .r2c-dots button { width: 12px; } .r2c-dots button[aria-current="true"] { width: 26px; } .r2c-dots button::before, .r2c-dots button::after { left: 3px; } .r2c-dots button::before { right: 3px; } .r2c-dots button[aria-current="true"]::after { width: calc(100% - 6px); } }
.r2c-dots button[aria-current="true"]::before { background: #ead9c0; overflow: hidden; }
/* the active dot is a little track that fills while the post is up (and holds when paused) */
.r2c-dots button::after { content: ''; position: absolute; left: 4px; top: 19px; height: 6px; width: 0; border-radius: 999px; background: #4a1942; }
.r2c-dots button[aria-current="true"]::after { width: calc(100% - 8px); }
.r2c-hero.is-auto .r2c-dots button[aria-current="true"]::after { animation: r2cFill var(--r2c-dwell, 6s) linear both; }
.r2c-hero.is-paused .r2c-dots button::after, .r2c-hero.is-held .r2c-dots button::after { animation-play-state: paused; }
@keyframes r2cFill { from { width: 0; } to { width: calc(100% - 8px); } }
.r2c-dots button:focus-visible { outline: 2px solid #d4a843; outline-offset: -8px; border-radius: 999px; }
.r2c-src { grid-area: src; margin: 10px 0 0; font: 500 .72rem/1.35 'DM Sans', sans-serif; color: #7a6a5e; max-width: 30rem; text-align: center; }
/* preview-only variant pill: its own row under the carousel, never on the cards */
#r2cHero > .glzv { grid-area: sw; position: static; width: max-content; max-width: 100%; margin-top: 12px; justify-self: center; }

/* drag follow: no easing while the finger is down; the front card leans with the drag, its neighbours wait */
.r2c-hero.is-drag .r2c-slide, .r2c-hero.is-drag .r2c-post { transition: none !important; animation-play-state: paused !important; }
html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-hero.is-drag .r2c-slide[data-pos="0"] { transform: translateX(var(--r2c-dx, 0px)) rotate(calc(var(--r2c-dx, 0px) * .02 / 1px * 1deg)); }
.r2c-hero.is-drag .r2c-stage { cursor: grabbing; }
.r2c-slide[data-pos="0"], .r2c-slide[data-pos="1"], .r2c-slide[data-pos="-1"] { will-change: transform, opacity; }

/* premium deck (variant a): a soft floor shadow, a fine rim on the front card, quieter side cards */
html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-stage::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: -2%; height: 9%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(74, 25, 66, .2), transparent); filter: blur(6px);
}
html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide[data-pos="0"] .r2c-post {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 34px 70px -18px rgba(74, 25, 66, .42), 0 6px 14px rgba(74, 25, 66, .12), 0 0 0 5px rgba(212, 168, 67, .14);
}
html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide[data-pos="1"],
html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide[data-pos="-1"] { filter: saturate(.82) brightness(.94); }
@media (hover: hover) {
  html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide[data-pos="1"]:hover,
  html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide[data-pos="-1"]:hover { filter: none; }
}

@media (min-width: 960px) {
  section.hero > .r2c-hero { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; width: 100%; max-width: 620px; margin-top: 8px; }
  /* Nov 8 grid: the hero's edges line up with the navy bar's inner edges (logo on the left, Order on the right) */
  html:is(:not([data-v-r2cbar]), [data-v-r2cbar="n"]) body section.hero:has(> #r2cHero) { padding-inline: clamp(12px, 2.4vw, 32px); }
  @media (max-width: 1600px) { html:is(:not([data-v-r2cbar]), [data-v-r2cbar="n"]) body section.hero:has(> #r2cHero) { max-width: none; width: auto; align-self: stretch; } }
  html:is(:not([data-v-r2cbar]), [data-v-r2cbar="n"]) body section.hero:has(> #r2cHero) > .hero-content { justify-self: start; margin-left: 0; }
}
@media (max-width: 959.98px) {
  section.hero > .r2c-hero { order: 5; width: 100%; padding: 0; box-sizing: border-box; margin: 1.2rem 0 .6rem; }
  /* thumb row: prev at the left edge, next and pause at the right, dots between */
  .r2c-ctl { display: flex; width: 100%; box-sizing: border-box; justify-content: space-between; }
  .r2c-ctl[hidden] { display: flex; }
  .r2c-dots { flex: 1; justify-content: center; }
  .r2c-stage { aspect-ratio: 1 / 1.02; max-height: none; max-width: 440px; }
  .r2c-slide { width: 62%; margin-left: -31%; top: 2%; }
  .r2c-slide[data-pos="1"] { transform: translateX(40%) translateY(6%) scale(.78) rotate(5deg); }
  .r2c-slide[data-pos="-1"] { transform: translateX(-40%) translateY(6%) scale(.78) rotate(-5deg); }
  .r2c-cap { left: -12%; top: 56%; font-size: .74rem; max-width: 70%; padding: 8px 11px; }
  .r2c-comments { right: -14%; bottom: -9%; max-width: 76%; }
  .r2c-ctl { margin-top: 30px; }
  .r2c-comments li { font-size: .74rem; padding: 7px 10px; }
  .r2c-post-meta { left: 7px; right: 7px; top: 7px; gap: 4px; font-size: .62rem; }
  .r2c-post-meta > span { padding: 4px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 600px) {
  /* phones: the real comments carry the card; the caption bubble would cover them */
  html:not([data-v-r2chero="b"]):not([data-v-r2chero="c"]) .r2c-slide:has(.r2c-comments) .r2c-cap { display: none; }
}
@media (max-width: 400px) {
  .r2c-comments li:nth-child(2) { display: none; }
}

/* Nov 8 grid: the hero's edges follow the navy bar's inner edges at every width (same 900px break as the nav) */
@media (max-width: 959.98px) { html:is(:not([data-v-r2cbar]), [data-v-r2cbar="n"]) body section.hero:has(> #r2cHero) { padding-inline: clamp(12px, 2.4vw, 32px); } }
@media (max-width: 900px) { html:is(:not([data-v-r2cbar]), [data-v-r2cbar="n"]) body section.hero:has(> #r2cHero) { padding-inline: 12px 10px; } }

/* variant b: a film strip of posts you can swipe; captions and a comment sit under each one */
html[data-v-r2chero="b"] .r2c-stage { aspect-ratio: auto; max-height: none; }
html[data-v-r2chero="b"] .r2c-track {
  position: static; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px 4px 14px; scroll-padding-inline: 4px;
}
html[data-v-r2chero="b"] .r2c-track::-webkit-scrollbar { display: none; }
html[data-v-r2chero="b"] .r2c-slide {
  position: relative; top: auto; left: auto; margin: 0; flex: none; width: 46%; transform: none !important; opacity: 1 !important;
  pointer-events: auto; scroll-snap-align: start; z-index: auto;
}
html[data-v-r2chero="b"] .r2c-post { animation: none !important; border-radius: 20px; box-shadow: 0 14px 30px rgba(74, 25, 66, .16); }
html[data-v-r2chero="b"] .r2c-slide[data-pos="0"] .r2c-post { box-shadow: 0 18px 40px rgba(74, 25, 66, .24), 0 0 0 3px #d4a843; }
html[data-v-r2chero="b"] .r2c-cap, html[data-v-r2chero="b"] .r2c-comments { position: static; opacity: 1; translate: none; max-width: none; }
html[data-v-r2chero="b"] .r2c-cap { margin-top: 10px; background: none; color: #2d1928; box-shadow: none; padding: 0; font-weight: 600; }
html[data-v-r2chero="b"] .r2c-comments { margin-top: 8px; }
html[data-v-r2chero="b"] .r2c-comments li:nth-child(n+2) { display: none; }
html[data-v-r2chero="b"] .r2c-comments li { box-shadow: none; background: #fdf8f0; }
@media (max-width: 959.98px) { html[data-v-r2chero="b"] .r2c-slide { width: 68%; } }

/* variant c: one big poster with its real comments stacked beside it */
html[data-v-r2chero="c"] .r2c-stage { aspect-ratio: 5 / 4; }
html[data-v-r2chero="c"] .r2c-slide { top: 0; left: 0; margin: 0; width: 100%; height: 100%; transform: none !important; display: grid; grid-template-columns: 56% 1fr; gap: 16px; align-items: center; }
html[data-v-r2chero="c"] .r2c-slide:not([data-pos="0"]) { opacity: 0 !important; pointer-events: none; }
html[data-v-r2chero="c"] .r2c-slide { transition: opacity .8s ease-out; }
html[data-v-r2chero="c"] .r2c-post { animation: none !important; grid-row: 1 / span 2; }
html[data-v-r2chero="c"] .r2c-cap { position: static; max-width: none; align-self: end; border-radius: 16px; }
html[data-v-r2chero="c"] .r2c-comments { position: static; max-width: none; align-self: start; }
html[data-v-r2chero="c"] .r2c-comments li:nth-child(2) { margin-left: 0; }
@media (max-width: 959.98px) {
  html[data-v-r2chero="c"] .r2c-stage { aspect-ratio: 1 / 1.05; }
  html[data-v-r2chero="c"] .r2c-slide { grid-template-columns: 54% 1fr; gap: 10px; }
}

/* --- #5 first-timer Weekly Box funnel ----------------------------------------------------- */
section.r2c-funnel { padding: 0; }
/* preview-only variant pill: above the card, so it never covers the heading */
#r2cFunnel > .glzv { position: static; width: max-content; max-width: 100%; margin: 0 0 8px auto; }
.r2c-funnel { width: 100%; max-width: 30rem; margin-top: .9rem; text-align: left; font-family: 'DM Sans', sans-serif; color: #2d1928; }
.r2c-funnel [hidden] { display: none !important; }
.r2c-fa, .r2c-fb, .r2c-f-sheet {
  padding: 14px 16px 16px; border-radius: 20px; background: #fff; border: 1px solid #efe4d6;
  box-shadow: 0 14px 34px rgba(74, 25, 66, .09), 0 1px 2px rgba(74, 25, 66, .05);
}
.r2c-f-kick { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 .95rem/1.25 'DM Sans', sans-serif; color: #4a1942; }
.r2c-f-badge {
  display: inline-block; padding: 4px 9px; border-radius: 999px; background: #d4a843; color: #2d1928; font: 700 .66rem/1.2 'DM Sans', sans-serif;
  letter-spacing: .08em; text-transform: uppercase; font-style: normal; white-space: nowrap;
}
.r2c-f-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; counter-reset: r2cstep; }
.r2c-f-steps li { position: relative; padding-left: 34px; font-size: .86rem; line-height: 1.4; color: #5a4d44; counter-increment: r2cstep; }
.r2c-f-steps li::before {
  content: counter(r2cstep); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: #fdf3dc; color: #8a6b1e; font: 700 .78rem/1 'DM Sans', sans-serif; border: 1px solid #ecd9a8;
}
.r2c-f-steps b { color: #2d1928; }
.r2c-f-price { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.r2c-f-price s { color: #8c7d72; font-size: .95rem; }
.r2c-f-price b { font: 600 1.5rem/1 'Glaze Display', Georgia, serif; color: #4a1942; }
.r2c-f-price span { font-size: .78rem; color: #6f6055; flex-basis: 100%; }
.r2c-f-go {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: #4a1942; color: #fdf8f0 !important; text-decoration: none; font: 700 .98rem/1 'DM Sans', sans-serif;
  box-shadow: 0 10px 22px rgba(74, 25, 66, .25);
}
@media (hover: hover) { .r2c-f-go:hover { background: #3a1336; box-shadow: 0 14px 28px rgba(74, 25, 66, .32); } }

.r2c-f-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.r2c-f-opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 12px 11px; border-radius: 16px;
  border: 1.5px solid #e8ddd0; background: #fdf8f0; color: #2d1928; cursor: pointer; text-align: left; font-family: inherit;
}
.r2c-f-opt small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6f6055; }
.r2c-f-opt b { font: 600 1.45rem/1.05 'Glaze Display', Georgia, serif; }
.r2c-f-opt span { font-size: .76rem; color: #5a4d44; }
.r2c-f-opt .r2c-f-badge { position: absolute; top: -9px; right: 10px; }
.r2c-f-opt[aria-checked="true"] { border-color: #4a1942; background: #fff; box-shadow: 0 10px 22px rgba(74, 25, 66, .14); }
.r2c-f-opt[aria-checked="true"] b { color: #4a1942; }
@media (hover: hover) { .r2c-f-opt:hover { translate: 0 -2px; border-color: #d4a843; } }
.r2c-f-why { margin: 0 0 12px; font-size: .84rem; line-height: 1.4; color: #5a4d44; min-height: 2.8em; }

.r2c-f-open {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #ecd9a8; background: #fffaf0; color: #4a1942; font: 700 .9rem/1.2 'DM Sans', sans-serif; text-align: left;
}
.r2c-f-open > span:last-child { margin-left: auto; font-size: 1.2rem; }
.r2c-f-open[aria-expanded="true"] > span:last-child { rotate: 90deg; }
@media (hover: hover) { .r2c-f-open:hover { translate: 0 -2px; border-color: #d4a843; box-shadow: 0 10px 20px rgba(74, 25, 66, .1); } }
.r2c-f-sheet { margin-top: 8px; }
.r2c-f-progress { margin: 0 0 8px; font: 700 .68rem/1 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8a6b1e; }
.r2c-f-pages { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.r2c-f-pages li { grid-area: 1 / 1; font-size: .9rem; line-height: 1.45; color: #5a4d44; opacity: 0; translate: 16px 0; visibility: hidden; transition: opacity .35s ease-out, translate .45s cubic-bezier(.22, 1, .36, 1), visibility 0s .45s; }
.r2c-f-pages li.is-on { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.r2c-f-pages b { display: block; color: #4a1942; font: 600 1.15rem/1.2 'Glaze Display', Georgia, serif; margin-bottom: 3px; }
.r2c-f-nav { margin: 0; display: flex; gap: 8px; align-items: center; }
.r2c-f-nav .r2c-f-go { flex: 1; }
.r2c-f-next {
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #e8ddd0; background: #fff; color: #4a1942; cursor: pointer;
  font: 700 .9rem/1 'DM Sans', sans-serif;
}
.r2c-f-next[hidden] { display: none; }
@media (max-width: 959.98px) {
  .r2c-funnel { margin-inline: auto; }
  .r2c-f-steps li { font-size: .82rem; }
}

/* --- reduced motion and Save-Data: everything still -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .r2c-bar *, .r2c-hero *, .r2c-funnel *, :where(.hero-cta, .gw-cta, .nav-cta, .r2c-f-go, .tail-button, .submit-btn, .sticky-bar-btn, .cart-empty-cta, .add-to-cart-btn, .mx-pair-cta, .cta, .btn, a[class*="-cta"], button[class*="-cta"]) {
    animation: none !important; transition: none !important;
  }
}
html.glz-static .r2c-bar *, html.glz-static .r2c-hero *, html.glz-static .r2c-funnel * { animation: none !important; transition: none !important; }
