/* ==========================================================================
   Campaign photography in the original (Anton) design: cg-*
   Rule: every section fits about one screen.
   ========================================================================== */

/* ---------- Statement: the teal campaign shot sits behind the scroll-lit sentence ---------- */
.cg-shot { position: absolute; inset: 0; z-index: 0; margin: 0; pointer-events: none; }
.cg-shot__frame { position: absolute; inset: 0; overflow: hidden; }
.cg-shot__frame img { position: absolute; top: -8%; right: 0; width: 72%; height: 116%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.cg-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgb(6 6 8 / .55) 58%, rgb(6 6 8 / .2) 100%), linear-gradient(0deg, var(--bg) 0%, rgb(6 6 8 / 0) 25%, rgb(6 6 8 / 0) 75%, var(--bg) 100%); }
@media (max-width: 899px) {
  .cg-shot__frame img { width: 100%; opacity: .45; }
  .cg-shot::after { background: linear-gradient(180deg, var(--bg) 0%, rgb(6 6 8 / .5) 40%, rgb(6 6 8 / .5) 70%, var(--bg) 100%); }
}
.pst { padding: clamp(96px, 13vh, 150px) 0; }

/* ---------- Features: one-screen bento (desktop), swipe row (phone) ---------- */
.cg-grid { display: grid; gap: 12px; }
.cg-card { position: relative; margin: 0; overflow: hidden; border-radius: clamp(14px, 1.6vw, 22px); background: #1a1240; isolation: isolate; }
.cg-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cg-card:hover img { transform: scale(1.05); }
.cg-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgb(5 4 14 / .8), rgb(5 4 14 / 0) 50%); }
.cg-card figcaption { position: absolute; z-index: 2; left: 18px; right: 16px; bottom: 16px; color: #fff; }
.cg-card small { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .72); }
.cg-card b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 1.9vw, 30px); line-height: .95; letter-spacing: .01em; }
@media (min-width: 900px) {
  .cg-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(420px, calc(100svh - 330px), 600px); }
  .cg-card--xl { grid-row: span 2; }
  .cg-card--xl b { font-size: clamp(38px, 3.8vw, 60px); }
}
@media (max-width: 899px) {
  .cg-grid { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .cg-grid::-webkit-scrollbar { display: none; }
  .cg-card { aspect-ratio: 4 / 5; max-height: 58svh; scroll-snap-align: start; }
}

/* ---------- Snap. Set. Go.: three cards side by side, one screen ---------- */
.stk--row { padding-bottom: 0; }
.stk--row .stk__card { position: relative; top: auto; min-height: 0; grid-template-columns: 1fr !important; grid-template-rows: auto 1fr; align-items: stretch; gap: 8px; padding: clamp(22px, 2.4vw, 34px); will-change: auto; transform: none !important; }
.stk--row .stk__shade { display: none; }
.stk--row .stk__n { font-size: clamp(56px, 6vw, 96px); margin-bottom: 8px; }
.stk--row h3 { font-size: clamp(30px, 2.8vw, 44px); }
.stk--row .stk__card p { font-size: 15px; }
.stk--row .stk__media { min-height: 0; }
.stk--row .stk__media img { max-height: 100%; height: 100%; width: auto; object-fit: contain; }
@media (min-width: 900px) {
  .stk--row { grid-template-columns: repeat(3, 1fr); height: clamp(460px, calc(100svh - 300px), 640px); }
}
@media (max-width: 899px) {
  .stk--row { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .stk--row::-webkit-scrollbar { display: none; }
  .stk--row .stk__card { height: 62svh; scroll-snap-align: start; }
}

/* ---------- Pinned 60,000 counter: shorter pin so it plays in about one scroll ---------- */
.story.is-live { height: 180vh; }

/* ---------- Flavors: smaller cards on desktop, two swipeable rows on phones ---------- */
@media (min-width: 1200px) { .pura-flavor img { max-height: 24vh; width: auto; margin-inline: auto; } }
@media (max-width: 899px) {
  .pura-flavors { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .pura-flavors::-webkit-scrollbar { display: none; }
  .pura-flavor { scroll-snap-align: start; }
  .pura-flavor img { max-height: 22svh; width: auto; margin-inline: auto; }
}

/* Kit photo is already a full scene, so drop the heavy purple glow */
.kit__media img { box-shadow: 0 40px 70px -44px rgb(0 0 0 / .45); }

@media (prefers-reduced-motion: reduce) {
  .cg-card img { transition: none; }
  .cg-shot__frame img { transform: none !important; }
}

/* Tighter section rhythm so each block reads in one screen */
.section { padding-block: clamp(56px, 7vw, 100px); }
.section .section__head { margin-bottom: clamp(24px, 3vw, 40px); }

/* Keep the scroll-lit text and the photo overlay on their own layers (no repaint of the photo while words light up) */
.cg-shot::after { will-change: opacity; }
.pst .container { will-change: transform; }
