@font-face {
  font-family: Barlow;
  src: url("../fonts/BarlowSemiCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2190-21FF;
}
@font-face {
  font-family: "Google Sans";
  src: url("../fonts/google-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA,U+1E00-1EFF;
}
@view-transition { navigation: auto; }

/* Brand tokens: warm white #F7F7F2, graphite #1D2422 and racing green #10463C are fixed by the brand brief. */
:root {
  --paper: #f7f7f2;
  --ink: #1d2422;
  --muted: #4f5c57;
  --green: #10463c;
  --green-soft: #dbe7df;
  --ground: #e9ebe5;
  --stone: #efefe9;
  --gutter: clamp(18px, 4.6vw, 72px);
  --contents: 1440px;
  --headline: Barlow, "Arial Narrow", sans-serif;
  --copy: "Google Sans", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 72px;
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 20px;
  --fs-sub: 28px;
  --fs-h2: clamp(40px, 5vw, 72px);
  --fs-h1: clamp(46px, 6.2vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--fs-body)/1.55 var(--copy); }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--headline); font-weight: 800; text-wrap: balance; letter-spacing: -.03em; }
h1 { font-size: var(--fs-h1); line-height: .9; }
h2 { font-size: var(--fs-h2); line-height: .93; }
h3 { font-size: var(--fs-sub); line-height: 1; }
a { color: inherit; }
:focus-visible { outline: 3px solid #457a69; outline-offset: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }
[id] { scroll-margin-top: calc(var(--header) + 16px); }
.frame { max-width: var(--contents); margin-inline: auto; padding-inline: var(--gutter); }
.section-space { padding-block: clamp(64px, 8vw, 120px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 90; left: var(--gutter); top: 8px; transform: translateY(-160%); padding: 10px 12px; background: var(--paper); }
.skip-link:focus { transform: none; }

/* Header: a plain bar */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: background-color .25s ease; view-transition-name: site-header; }
.site-header.is-scrolled { background: var(--stone); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; min-height: var(--header); }
.logo { display: block; flex: none; width: clamp(104px, 12vw, 148px); }
.main-nav { display: flex; align-items: center; gap: 10px clamp(18px, 3.4vw, 46px); }
.main-nav a { font-weight: 700; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.cart-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0; background: none; color: var(--green); font-weight: 700; }
.cart-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: var(--green); color: var(--paper); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.cart-count.is-bumped { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.4); } 60% { transform: scale(.92); } }

/* Buttons and links: square, one fill */
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  width: fit-content; min-height: 52px; padding: 13px 20px;
  border: 0; background: var(--green); color: var(--paper);
  font-weight: 700; text-decoration: none;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.button:hover { background: var(--ink); }
.button:active { transform: scale(.98); }
.button--light { background: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--green-soft); }
.button .arrow { transition: transform .25s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; color: var(--green); text-underline-offset: .22em; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.on-dark .text-link { color: var(--paper); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  min-height: clamp(460px, 53.5vw, 780px);
  color: var(--paper); background: #26333a;
}
/* Neutral scrim under the headline, the one allowed gradient. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 18 20 / 66%), rgb(10 18 20 / 26%) 36%, transparent 55%); } /* taste-skill-ignore: scrim */
.hero-media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-inner { width: 100%; padding-block: 40px; }
.hero-copy { max-width: min(38vw, 560px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.hero p { max-width: 30ch; margin-top: 28px; font-size: var(--fs-lead); line-height: 1.4; }
.hero .button { margin-top: 32px; }

/* Catalogue */
.catalog-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 99px; background: var(--ground); font-size: var(--fs-small); font-weight: 700; transition: background-color .2s, color .2s; }
.filters button:hover { background: var(--green-soft); }
.filters button[aria-pressed="true"] { background: var(--green); color: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(12px, 1.5vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: var(--ground); transition: background-color .3s ease; }
.card-media > img { width: 84%; height: 82%; object-fit: contain; transition: transform .5s var(--ease); }
.card-stack { position: relative; width: 92%; height: 82%; }
.card-stack img { position: absolute; bottom: 0; height: 64%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.card-stack img:nth-child(1) { left: 0; }
.card-stack img:nth-child(2) { left: 50%; height: 92%; transform: translateX(-50%); z-index: 1; }
.card-stack img:nth-child(3) { right: 0; }
.card-badge { position: absolute; top: 0; left: 0; z-index: 2; padding: 6px 10px; background: var(--green); color: var(--paper); font-size: var(--fs-small); font-weight: 700; }
.card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding-top: 18px; }
.card-body::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 5px; background: var(--sku); transition: width .4s var(--ease); }
.card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.02; text-wrap: initial; }
.card-sub { color: var(--muted); margin-top: 4px; font-size: var(--fs-small); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin-top: auto; padding-top: 12px; }
.card-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-price small { font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.card-price s { margin-left: 6px; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.card-arrow { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ground); color: var(--green); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.card:is(:hover, :focus-visible) .card-media { background: var(--green-soft); }
.card:is(:hover, :focus-visible) .card-media > img { transform: translateY(-3%) scale(1.04); }
.card:is(:hover, :focus-visible) .card-stack img:nth-child(2) { transform: translateX(-50%) translateY(-3%) scale(1.04); }
.card:is(:hover, :focus-visible) .card-body::before { width: 100%; }
.card:is(:hover, :focus-visible) .card-arrow { background: var(--green); color: var(--paper); transform: translateX(3px); }
.card:active .card-media { background: var(--green-soft); }
.card-item.is-filtered-out { display: none; }

/* Routine */
.routine { background: var(--stone); }
.routine-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: start; column-gap: clamp(22px, 4vw, 62px); margin-top: clamp(32px, 4vw, 56px); }
.routine-story:nth-child(2) { margin-top: clamp(40px, 9vw, 140px); }
.routine-story .media { overflow: hidden; }
.routine-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.routine-text { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding-top: 20px; }
.routine-time { grid-row: span 2; font-family: var(--headline); font-weight: 800; font-size: var(--fs-sub); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.routine-text p { margin-top: 8px; max-width: 40ch; }
.routine-text a { color: var(--green); font-weight: 700; text-underline-offset: .2em; }

/* Recipes: black-green field requested by the founder (gradient allowed for this one section) */
.method { color: var(--paper); background: radial-gradient(120% 90% at 85% 10%, #1a4a3c 0%, transparent 60%), linear-gradient(112deg, #0b1310, #11231b 52%, #163d32); } /* taste-skill-ignore: requested by the founder */
.method-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.method-copy p { margin-top: 24px; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.45; }
.credit { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.credit img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.credit figcaption { display: grid; row-gap: 2px; }
.credit span { color: #c3d4cb; }
.method-image { overflow: hidden; }
.method-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Team Optimized + athlete, one screen */
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 72px); align-items: stretch; }
.team-photo { position: relative; overflow: hidden; background: #111; min-height: 100%; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.team-photo figcaption { position: absolute; inset: auto 0 0; padding: 48px 20px 18px; color: var(--paper); font-size: var(--fs-small); background: linear-gradient(transparent, rgb(0 0 0 / 70%)); } /* taste-skill-ignore: scrim */
.team-side { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); }
.team-copy p { margin-top: 20px; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.45; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats div { display: flex; flex-direction: column; }
.stats dt { order: 2; margin-top: 8px; color: var(--muted); font-size: var(--fs-small); line-height: 1.35; max-width: 16ch; }
.stats dd { font-family: var(--headline); font-weight: 800; font-size: var(--fs-h2); line-height: .9; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.athlete {
  margin-top: auto; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); grid-template-rows: 1fr auto;
  min-height: clamp(340px, 30vw, 420px);
  background: #040303; color: var(--paper);
}
.athlete-body { grid-area: 1 / 1; align-self: center; position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.athlete h3 { font-size: clamp(44px, 4.4vw, 64px); line-height: .9; }
.athlete-body p:last-child { margin-top: 14px; max-width: 30ch; color: #c9d2ce; }
.athlete-photo { grid-area: 1 / 2 / 3 / 3; position: relative; overflow: hidden; }
.athlete-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; transition: transform 1.2s var(--ease); }
.athlete:hover .athlete-photo img { transform: scale(1.04); }
.results { grid-area: 2 / 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--green); }
.results li { display: grid; align-content: start; gap: 6px; padding: 18px clamp(16px, 1.8vw, 24px) 20px; font-size: var(--fs-small); line-height: 1.35; color: #d3e3da; }
.results li + li { background: rgb(0 0 0 / 12%); }
.results li:nth-child(3) { background: rgb(0 0 0 / 24%); }
.results strong { font-family: var(--headline); font-weight: 800; font-size: clamp(36px, 3.4vw, 48px); line-height: .9; letter-spacing: -.03em; color: var(--paper); }

/* Waitlist */
.waitlist { background: var(--green); color: var(--paper); }
.waitlist-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.waitlist p { margin-top: 18px; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.45; color: #e1ece6; }
.waitlist-form { display: flex; gap: 8px; }
.waitlist-form input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid rgb(247 247 242 / 45%); background: rgb(247 247 242 / 8%); color: var(--paper); } /* taste-skill-ignore: form field edge */
.waitlist-form input::placeholder { color: #b4c9bf; }
.waitlist-done { font-weight: 700; font-size: var(--fs-lead); }
.waitlist-done small { display: block; font-weight: 400; font-size: var(--fs-small); color: #c3d4cb; margin-top: 4px; }

/* Footer: the name returns at full width */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(56px, 6vw, 88px) 24px; }
.footer-grid p { color: #b3c0ba; margin-top: 16px; max-width: 30ch; }
.footer-grid h2 { font-family: var(--copy); font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; color: #93a39c; margin-bottom: 14px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-name { padding-block: 24px 8px; }
.footer-name img { width: 100%; height: auto; opacity: .14; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 16px 28px; color: #93a39c; font-size: var(--fs-small); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { padding: 4px 10px; background: #2b3532; color: #d3dcd8; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 20px; font-size: var(--fs-small); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 5.5vw, 88px); align-items: start; padding-block: 16px clamp(56px, 7vw, 104px); }
.gallery { position: sticky; top: calc(var(--header) + 16px); min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--ground); }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; aspect-ratio: 1; display: grid; place-items: center; scroll-snap-align: start; overflow: hidden; }
.slide > img { width: 82%; height: 84%; object-fit: contain; }
.slide--cover > img { width: 100%; height: 100%; object-fit: cover; }
.slide .card-stack { width: 88%; height: 80%; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { position: relative; width: 76px; aspect-ratio: 1; padding: 0; border: 0; background: var(--ground); overflow: hidden; opacity: .55; transition: opacity .2s; }
.thumbs button:hover { opacity: .85; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-pack img { object-fit: contain; padding: 8px; }
.thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--green); }
.buy { padding-top: clamp(0px, 1.6vw, 20px); }
.buy h1 { font-size: clamp(46px, 5.6vw, 84px); text-wrap: initial; }
.buy .lead { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.4; max-width: 34ch; }
.buy .flavour { margin-top: 24px; }
.buy .flavour span { color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; border: 0; }
.sizes legend { padding: 0; margin-bottom: 10px; color: var(--muted); }
.sizes label { position: relative; display: grid; gap: 2px; min-width: 112px; padding: 11px 16px; background: var(--ground); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.sizes label:hover { background: var(--green-soft); }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label:has(input:checked) { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); } /* taste-skill-ignore: selected state of a form control */
.sizes label:has(input:focus-visible) { outline: 3px solid #457a69; outline-offset: 3px; }
.sizes b { font-weight: 700; }
.sizes small { color: var(--muted); font-size: var(--fs-small); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 28px; }
.price { font-size: var(--fs-sub); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-row s, .price-row .vat { color: var(--muted); font-size: var(--fs-small); }
.buy-button { width: 100%; max-width: 460px; margin-top: 16px; }
.perks { margin-top: 18px; color: var(--muted); font-size: var(--fs-small); }
.perks li + li { margin-top: 4px; }
.facts { display: grid; gap: 10px; margin-top: 32px; padding: 20px 22px; background: var(--stone); }
.facts li { display: flex; align-items: center; gap: 12px; }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--sku); }

.pdp-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 92px); align-items: center; padding: clamp(28px, 5vw, 72px); background: var(--stone); }
.pdp-story h2, .anatomy h2, .pdp-info h2, .related h2 { font-size: clamp(36px, 4.4vw, 60px); text-wrap: initial; }
.pdp-story p { margin-top: 18px; max-width: 52ch; }
.pdp-story .media { overflow: hidden; }
.pdp-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.anatomy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 92px); align-items: center; }
.anatomy-intro { margin-top: 18px; max-width: 44ch; }
.label-figure { background: var(--ground); padding: clamp(14px, 2.4vw, 32px); }
.label-stage { position: relative; }
.label-stage img { width: 100%; }
.spot { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.spot::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--green); outline: 3px solid var(--paper); transition: transform .25s var(--ease), background-color .2s; }
.spot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--green); opacity: 0; }
.spot.is-active::before { background: #de7444; transform: scale(1.3); }
.spot-list { margin-top: 28px; display: grid; gap: 6px; }
.spot-list button { display: block; width: 100%; padding: 14px 18px; border: 0; background: var(--stone); text-align: left; transition: background-color .2s; }
.spot-list button:hover { background: var(--ground); }
.spot-list b { font-weight: 700; }
.spot-list span { display: none; margin-top: 4px; }
.spot-list button.is-active { background: var(--green-soft); }
.spot-list button.is-active span { display: block; }

.pdp-info { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 84px); align-items: start; padding-block: clamp(8px, 2vw, 24px) clamp(24px, 3vw, 44px); }
.accordion { display: grid; gap: 6px; }
.accordion details { background: var(--stone); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 12px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--green); font-size: var(--fs-sub); font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding: 0 20px 20px; max-width: 62ch; }
.pdp-credit { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.pdp-credit img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.related .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3.4vw, 44px); }

.sticky-buy {
  position: fixed; z-index: 40; inset: auto 0 0;
  display: none; align-items: center; gap: 12px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: var(--stone);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy img { width: 40px; height: 48px; object-fit: contain; }
.sticky-buy div { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-buy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy span { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.sticky-buy .button { min-height: 46px; padding: 10px 16px; gap: 10px; }

/* Cart drawer */
.cart { position: fixed; inset: 0 0 0 auto; width: min(100%, 440px); max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 0; background: var(--paper); color: var(--ink); }
.cart[open] { display: flex; flex-direction: column; animation: drawer-in .38s var(--ease); }
.cart::backdrop { background: rgb(18 26 24 / 55%); animation: fade-in .3s ease; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
body:has(.cart[open]) { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) 22px 14px; }
.cart-head h2 { font-size: var(--fs-sub); }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--ground); font-size: var(--fs-lead); }
.ship { margin: 0 22px; padding: 14px 16px; background: var(--stone); font-size: var(--fs-small); }
.ship-bar { height: 6px; margin-top: 10px; background: var(--ground); overflow: hidden; }
.ship-bar span { display: block; height: 100%; background: var(--green); transform-origin: left; transition: transform .5s var(--ease); }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { padding: 30px 0; color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.cart-line-img { display: grid; place-items: center; width: 76px; height: 76px; background: var(--ground); }
.cart-line-img img { width: 78%; height: 84%; object-fit: contain; }
.cart-line strong { display: block; }
.cart-line small { color: var(--muted); font-size: var(--fs-small); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; background: var(--ground); }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: var(--fs-lead); }
.qty span { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-line-side { display: grid; justify-items: end; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line-side button { border: 0; padding: 0; background: none; color: var(--muted); font-size: var(--fs-small); font-weight: 400; text-decoration: underline; }
.cart-foot { padding: 18px 22px max(18px, env(safe-area-inset-bottom)); background: var(--stone); }
.cart-sum { display: flex; justify-content: space-between; font-size: var(--fs-lead); font-weight: 700; }
.cart-foot small { display: block; color: var(--muted); font-size: var(--fs-small); margin-top: 2px; }
.cart-foot .button { width: 100%; margin-top: 14px; }
.cart-note { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 18px; background: var(--ink); color: var(--paper); font-size: var(--fs-small); box-shadow: 0 14px 40px rgb(0 0 0 / 25%); transform: translate(-50%, 160%); transition: transform .4s var(--ease); max-width: calc(100% - 32px); } /* taste-skill-ignore: floating overlay */
.toast.is-visible { transform: translate(-50%, 0); }
.toast button { min-height: 40px; padding: 6px 12px; border: 0; background: var(--paper); color: var(--ink); font-weight: 700; white-space: nowrap; }
.flyer { position: fixed; z-index: 70; pointer-events: none; object-fit: contain; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="zoom"] { transform: scale(1.06); clip-path: inset(6% 0 0 0); transition-property: opacity, transform, clip-path; transition-duration: 1.1s; }
.js [data-reveal="zoom"].is-in { transform: none; clip-path: inset(0); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > span { animation: rise 1s var(--ease) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .hero p, .hero .button { animation: fade-up .9s var(--ease) both; animation-delay: .32s; }
  .hero .button { animation-delay: .44s; }
  .spot::after { animation: pulse 2.4s ease-out infinite; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media (max-width: 1040px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-side { display: contents; }
  .team-copy, .stats { order: 1; }
  .team-photo { order: 2; aspect-ratio: 16 / 10; min-height: 0; }
  .team-photo img { object-position: center 30%; }
  .athlete { order: 3; margin-top: 0; }
}
@media (max-width: 840px) {
  .hero { min-height: clamp(320px, 56vw, 470px); }
  .hero h1 { font-size: clamp(36px, 6.4vw, 62px); }
  .hero p { margin-top: 18px; }
  .hero .button { margin-top: 22px; }
  .pdp, .pdp-story, .anatomy, .pdp-info, .method-inner, .waitlist-inner { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .sticky-buy { display: flex; }
}
@media (max-width: 640px) and (orientation: portrait) {
  .hero { align-items: start; min-height: min(177.7vw, max(520px, calc(100svh - 72px), 134vw), 820px); background: #102b22; }
  .hero-media img, .hero-media video { object-position: center 42%; }
  .hero::before { /* taste-skill-ignore: scrim */ background: linear-gradient(180deg, rgb(8 33 25 / 92%), rgb(10 46 34 / 76%) 24%, rgb(10 47 34 / 48%) 38%, rgb(10 48 35 / 10%) 50%, transparent 60%); }
  .hero-inner { padding-block: clamp(30px, 8vw, 54px); }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(46px, 15vw, 76px); line-height: .92; }
  .hero p { max-width: 30ch; margin-top: 16px; }
  .hero .button { margin-top: 20px; }
}
@media (max-width: 590px) {
  :root { --header: 60px; --fs-sub: 24px; --fs-lead: 18px; }
  .site-header .logo { width: 96px; }
  .main-nav { gap: 16px; }
  .main-nav .nav-extra { display: none; }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters button { border-radius: 0; }
  .product-grid, .related .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .card-item:nth-child(3) { display: none; }
  .card h3 { font-size: 20px; }
  .card-arrow { width: 34px; height: 34px; }
  .routine-grid { grid-template-columns: 1fr; }
  .routine-story:nth-child(2) { margin-top: 44px; }
  .team-photo { aspect-ratio: 4 / 3; }
  .stats { gap: 12px; }
  .stats dd { font-size: 48px; }
  .athlete { grid-template-columns: minmax(0, 1fr) 44%; min-height: 0; }
  .athlete-body { padding: 22px 0 22px 20px; }
  .athlete h3 { font-size: 40px; }
  .athlete-body p:last-child { font-size: var(--fs-small); }
  .athlete-photo { grid-area: 1 / 2; aspect-ratio: 3 / 4; }
  .results { grid-area: 2 / 1 / 3 / 3; }
  .results li { padding: 14px 14px 16px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .thumbs button { width: 64px; }
  .pdp-story { padding: 24px var(--gutter); margin-inline: calc(var(--gutter) * -1); }
  .crumbs { padding-top: 14px; }
}
@media (max-width: 640px) and (max-height: 620px) and (orientation: portrait) {
  .hero-inner { padding-block: 24px; }
  .hero h1 { font-size: clamp(42px, 13vw, 56px); }
  .hero p { margin-top: 10px; }
  .hero .button { margin-top: 14px; }
}
@media (max-width: 360px) {
  .site-header .logo { width: 82px; }
  .main-nav { gap: 10px; }
  .card h3 { font-size: 18px; }
  .card-arrow { display: none; }
}
