/* ============================================================
   INTELLIBRO® PERFORMANCE — sites/intellibro/css/style.css
   The entire brand lives in this file, local to this site.
   Palette + type ride on the CSS variables below, taken from
   the Male Total Ultimate bottle label: black field, yellow +
   white condensed italic type, hexagon icons, cert badges.
   ============================================================ */

:root {
  /* --- palette --- */
  --ib-black: #0a0a0a;
  --ib-panel: #121212;
  --ib-panel-2: #181818;
  --ib-line: #2a2a2a;
  --ib-yellow: #f2c300;
  --ib-yellow-hot: #ffd426;
  --ib-white: #f5f5f2;
  --ib-gray: #a9a9a4;
  --ib-gray-dim: #6f6f6a;

  /* --- type --- */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* --- geometry --- */
  --skew: -8deg;
  --container: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ib-black);
  color: var(--ib-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--ib-yellow); text-decoration: none; }
a:hover { color: var(--ib-yellow-hot); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--ib-line); }

/* ---------- display type ---------- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 8px;
}
.section-title .yellow { color: var(--ib-yellow); }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  color: var(--ib-yellow);
  margin: 0 0 10px;
}

.section-lead { color: var(--ib-gray); max-width: 640px; margin: 0 0 36px; }

/* centered capture sections (home Brotherhood, Become an Athlete) */
.capture { text-align: center; }
.capture .section-lead { margin-left: auto; margin-right: auto; }

.yellow { color: var(--ib-yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 19px;
  padding: 13px 30px 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transform: skewX(var(--skew));
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.btn-primary { background: var(--ib-yellow); color: #000; }
.btn-primary:hover { background: var(--ib-yellow-hot); color: #000; }
.btn-ghost { background: transparent; color: var(--ib-white); border-color: var(--ib-white); }
.btn-ghost:hover { border-color: var(--ib-yellow); color: var(--ib-yellow); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- ref banner (?ref=kihtbs) ---------- */
.ref-banner {
  background: var(--ib-yellow);
  color: #000;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  padding: 8px 16px;
}
.ref-banner strong { font-weight: 800; }

/* ---------- header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ib-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ib-white);
  flex-shrink: 0;
}
.logo:hover { color: var(--ib-white); }
.logo-hex { width: 40px; height: auto; flex-shrink: 0; display: block; }
.logo-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-word small {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--ib-yellow);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
  color: var(--ib-white);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ib-yellow); }
.site-nav a.is-current { color: var(--ib-yellow); border-bottom-color: var(--ib-yellow); }
/* Needs to out-rank the generic .site-nav a rule, which would otherwise
   zero the padding and blank the oval's bottom border. */
.site-nav a.promo-pill {
  border: 1.5px solid var(--ib-yellow);
  border-radius: 999px;
  color: var(--ib-yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  line-height: 1;
  padding: 9px 18px 10px;
  white-space: nowrap;
  flex-shrink: 0;   /* never let the flex row squeeze the text into the oval */
}
.site-nav a.promo-pill:hover { background: var(--ib-yellow); color: #000; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ib-yellow);
  margin: 4px 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--ib-line);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(242, 195, 0, 0.14), transparent 60%),
    var(--ib-black);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 620px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ib-yellow);
  margin: 0 0 18px;
}
.hero-title { font-size: clamp(56px, 8.5vw, 118px); }
.hero-title .line { display: block; }
.hero-sub {
  color: var(--ib-gray);
  font-size: 20px;
  max-width: 520px;
  margin: 22px 0 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-media { position: relative; }
.hero-media .asset-slot { min-height: 460px; }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--ib-panel);
  border: 1px solid var(--ib-line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.product-card:hover { border-color: var(--ib-yellow); transform: translateY(-3px); }
.product-card .asset-slot { min-height: 240px; }
.product-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 27px;
  line-height: 1;
  margin: 0;
}
.product-name small {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ib-yellow);
  margin-bottom: 6px;
}
.product-tag { color: var(--ib-gray); font-size: 15px; margin: 0; }
.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--ib-line);
  padding-top: 14px;
  margin-top: auto;
}
.product-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 30px;
  color: var(--ib-yellow);
}
.product-price small { font-size: 16px; color: var(--ib-gray); font-style: normal; font-weight: 600; }
.product-size { color: var(--ib-gray-dim); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.product-benefits { list-style: none; margin: 0; padding: 0; columns: 2; gap: 18px; }
.product-benefits li {
  color: var(--ib-gray);
  font-size: 14.5px;
  padding: 3px 0 3px 18px;
  position: relative;
  break-inside: avoid;
}
.product-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 9px;
  background: var(--ib-yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.badge-sold {
  align-self: flex-start;
  background: var(--ib-panel-2);
  border: 1px solid var(--ib-white);
  color: var(--ib-white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 12px;
}

/* size selector (standalone products, e.g. the Tee) */
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 46px;
  padding: 9px 10px;
  background: var(--ib-panel-2);
  border: 1px solid var(--ib-line);
  color: var(--ib-gray);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.size-btn:hover { border-color: var(--ib-gray); color: var(--ib-white); }
.size-btn.is-selected { border-color: var(--ib-yellow); background: var(--ib-yellow); color: #000; }
.size-note {
  margin: 0;
  min-height: 17px;
  color: var(--ib-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

/* subscribe & save toggle (cosmetic for now) */
.sub-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ib-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.sub-toggle input { position: absolute; opacity: 0; }
.sub-toggle .track {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ib-gray-dim);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.sub-toggle .track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ib-gray);
  transition: transform 0.15s, background 0.15s;
}
.sub-toggle input:checked + .track { border-color: var(--ib-yellow); background: rgba(242, 195, 0, 0.12); }
.sub-toggle input:checked + .track::after { transform: translateX(20px); background: var(--ib-yellow); }
.sub-note { color: var(--ib-yellow); font-size: 13px; letter-spacing: 0.04em; min-height: 18px; }

/* ---------- hexagon benefit icons ---------- */
.hex-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.hex-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hex-icon { width: 74px; height: 84px; color: var(--ib-yellow); }
.hex-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--ib-white);
}

/* ---------- testimonial carousel ---------- */
.carousel { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.carousel-track { position: relative; min-height: 190px; }
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.testimonial.is-active { opacity: 1; pointer-events: auto; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
}
.testimonial blockquote::before { content: "\201C"; color: var(--ib-yellow); }
.testimonial blockquote::after { content: "\201D"; color: var(--ib-yellow); }
.testimonial cite {
  font-style: normal;
  color: var(--ib-gray);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.stars { color: var(--ib-yellow); letter-spacing: 6px; font-size: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.carousel-dots button {
  width: 10px;
  height: 11px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--ib-gray-dim);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.carousel-dots button.is-active { background: var(--ib-yellow); }

/* ---------- cert badges ---------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.badge { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.badge-icon { width: 72px; height: 72px; color: var(--ib-yellow); }
.badge-caption {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ib-gray);
}

/* ---------- forms ---------- */
.form-block { max-width: 560px; }
.form-block.centered { margin: 0 auto; text-align: center; }
.form-row { display: flex; gap: 12px; }
.form-row .field { flex: 1; }
.form-row .field-zip { flex: 0 0 120px; }
.opt { color: var(--ib-gray-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field { margin-bottom: 14px; text-align: left; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--ib-gray);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--ib-panel);
  border: 1px solid var(--ib-line);
  color: var(--ib-white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus { border-color: var(--ib-yellow); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ib-gray-dim); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }

/* honeypot — humans never see it */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-success,
.form-error { padding: 18px 20px; border: 1px solid; }
.form-success {
  border-color: var(--ib-yellow);
  background: rgba(242, 195, 0, 0.08);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  color: var(--ib-yellow);
}
.form-error { border-color: #b3402a; background: rgba(179, 64, 42, 0.1); color: #e08a76; }
.form-success p, .form-error p { margin: 0; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--ib-gray); margin: 4px 0 14px; }
.form-note a { color: var(--ib-white); text-decoration: underline; }
.form-privacy-note { font-size: 13px; color: var(--ib-gray-dim); margin-top: 10px; }
.form-privacy-note a { color: var(--ib-gray); text-decoration: underline; }

/* ---------- asset placeholders (until real files land) ---------- */
.asset-slot {
  position: relative;
  background: var(--ib-panel);
  overflow: hidden;
}
.asset-slot.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed rgba(242, 195, 0, 0.45);
  min-height: 180px;
  padding: 18px;
  text-align: center;
}
.asset-slot .ph-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--ib-yellow);
}
.asset-slot .ph-path { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--ib-gray-dim); }
.asset-slot img, .asset-slot video, .asset-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.asset-slot.has-asset { border: 0; }
.ratio-square { aspect-ratio: 1; }
.ratio-video { aspect-ratio: 16 / 9; }
.ratio-portrait { aspect-ratio: 3 / 4; }   /* matches the delivered portrait renders exactly — no crop */

/* ---------- science page ---------- */
.science-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.chart-fig { background: var(--ib-panel); border: 1px solid var(--ib-line); padding: 22px; margin: 22px 0 0; }
.chart-fig svg { width: 100%; height: auto; }
.chart-fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ib-gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  font-weight: 700;
}
.science-section { margin-bottom: 56px; }
.science-section h2 { margin-bottom: 6px; }
.science-section p { color: var(--ib-gray); max-width: 62ch; }
.citation { font-size: 13.5px; color: var(--ib-gray-dim); font-style: italic; }

.sidebar-card {
  background: var(--ib-panel);
  border: 1px solid var(--ib-line);
  border-top: 4px solid var(--ib-yellow);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.sidebar-card h2 { margin-top: 0; font-size: 28px; }
.sidebar-byline { font-size: 13.5px; color: var(--ib-gray); margin: 0 0 20px; }
.sidebar-disclaimer { font-size: 11px; color: var(--ib-gray-dim); line-height: 1.5; margin: -14px 0 20px; }
.qa { border-top: 1px solid var(--ib-line); padding-top: 16px; margin-top: 16px; }
.qa .q { font-weight: 700; color: var(--ib-white); margin: 0 0 8px; }
.qa .q::before { content: "Q. "; color: var(--ib-yellow); font-family: var(--font-display); font-style: italic; font-weight: 800; }
.qa .a { color: var(--ib-gray); font-size: 15px; margin: 0; }
.qa .a::before { content: "A. "; color: var(--ib-yellow); font-family: var(--font-display); font-style: italic; font-weight: 800; }

/* ---------- athletes ---------- */
.athlete-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}
.athlete-feature .asset-slot { min-height: 480px; }
.athlete-headers {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--ib-yellow);
  margin: 26px 0 6px;
}
.athlete-bio p { color: var(--ib-gray); margin: 0 0 12px; }
.pullquote {
  border-left: 4px solid var(--ib-yellow);
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}
.pullquote cite { display: block; font-size: 14px; color: var(--ib-gray); margin-top: 10px; text-transform: uppercase; letter-spacing: 0.14em; }

.ambassador-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  background: var(--ib-panel);
  border: 1px solid var(--ib-line);
  padding: 26px;
  max-width: 720px;
  align-items: center;
}
.ambassador-card .asset-slot { min-height: 180px; }
.ambassador-card .section-title { font-size: 30px; }
.ambassador-quote { color: var(--ib-gray); margin: 0; }
/* Josh's photo is a cutout (transparent background): frame it so the cropped
   arm and torso meet a border instead of floating on the card. */
.ambassador-card .asset-slot.ambassador-photo {
  border: 2px solid var(--ib-yellow);
  background:
    radial-gradient(circle at 62% 36%, rgba(242, 195, 0, 0.26), transparent 64%),
    linear-gradient(180deg, #1d1d1d, #0e0e0e);
}

/* ---------- intellibro tv ---------- */
.tv-featured { max-width: 900px; margin: 0 auto; }
.tv-featured .asset-slot { min-height: 320px; }
.appearances-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: start;
}
.appearances-grid.is-solo { grid-template-columns: 1fr; max-width: 860px; }
.appearances-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.appearances-side .tv-card h3 { font-size: 15.5px; }
.appearances-side .tv-card-body { padding: 12px 14px 14px; }
.tv-card { background: var(--ib-panel); border: 1px solid var(--ib-line); transition: border-color 0.15s; }
.tv-card:hover { border-color: var(--ib-yellow); }
.tv-card .asset-slot { min-height: 150px; }
.tv-card-body { padding: 16px 18px 18px; }
.tv-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.15;
  margin: 0 0 6px;
}

/* ---------- about ---------- */
.founder-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.founder-grid .asset-slot { min-height: 400px; }
.prose p { color: var(--ib-gray); max-width: 68ch; }
.prose h2 { margin: 34px 0 10px; }
.partner-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.partner-tile {
  border: 1px solid var(--ib-line);
  background: var(--ib-panel);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.15;
  color: var(--ib-white);
  transition: border-color 0.15s, color 0.15s;
}
a.partner-tile:hover { border-color: var(--ib-yellow); color: var(--ib-yellow); }
.link-tbd { cursor: default; opacity: 0.75; }
a.link-tbd:hover { color: inherit; border-color: var(--ib-line); }

.press-block {
  border: 1px solid var(--ib-yellow);
  padding: 40px;
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(242, 195, 0, 0.1), transparent 70%),
    var(--ib-panel);
}
.press-block .section-lead { margin: 10px auto 0; }
.press-block .ratio-video { max-width: 720px; margin: 26px auto; }

/* ---------- privacy ---------- */
.disclosure-box {
  border: 2px solid var(--ib-yellow);
  background: rgba(242, 195, 0, 0.07);
  padding: 22px 26px;
  margin-bottom: 30px;
  font-size: 16.5px;
  color: var(--ib-white);
}
.disclosure-box p { margin: 0 0 10px; }
.disclosure-box p:last-child { margin: 0; }
.prose.privacy-body { max-width: 820px; }
.privacy-body .section-title { font-size: 26px; }
.privacy-body ul { color: var(--ib-gray); }

/* ---------- sticky mobile add-to-stack bar ---------- */
.sticky-stack-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ib-panel);
  border-top: 2px solid var(--ib-yellow);
  padding: 12px 18px;
}
.sticky-stack-bar .ssb-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 17px;
}
.sticky-stack-bar .ssb-price { color: var(--ib-yellow); font-family: var(--font-display); font-weight: 800; font-style: italic; }
.sticky-stack-bar .btn { font-size: 16px; padding: 9px 18px 11px; }

/* ---------- supplement facts ---------- */
.facts-panel {
  background: #fff;
  color: #000;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  max-width: 420px;
}
.facts-panel h3 {
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  border-bottom: 10px solid #000;
  padding-bottom: 4px;
}
.facts-serving { margin: 6px 0; border-bottom: 4px solid #000; padding-bottom: 6px; }
.facts-serving p { margin: 0; }
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table td { padding: 4px 0; border-bottom: 1px solid #000; vertical-align: top; }
.facts-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.facts-table .blend td { font-weight: 700; }
.facts-table .blend-item td { border-bottom: 0; padding: 2px 0 2px 14px; font-weight: 400; color: #222; }
.facts-table .blend-item + .facts-rule td { border-top: 1px solid #000; }
.facts-foot { font-size: 11.5px; margin: 8px 0 0; }

/* ---------- footer ---------- */
#site-footer { border-top: 1px solid var(--ib-line); background: var(--ib-panel); margin-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr;
  gap: 36px;
  padding: 56px 0 40px;
}
.footer-col h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 17px;
  color: var(--ib-yellow);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--ib-gray); font-size: 15px; }
.footer-col a:hover { color: var(--ib-yellow); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.social-row li { margin: 0; }
.social-row span,
.footer-col .social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ib-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ib-gray-dim);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
}
.footer-col .social-row a { text-decoration: none; color: var(--ib-gray); transition: color 0.15s, border-color 0.15s; }
.footer-col .social-row a:hover { color: var(--ib-yellow); border-color: var(--ib-yellow); }
.footer-fine {
  border-top: 1px solid var(--ib-line);
  padding: 24px 0 34px;
  color: var(--ib-gray-dim);
  font-size: 13.5px;
}
.footer-fine p { margin: 0 0 8px; max-width: none; }
.footer-fine a { color: var(--ib-gray); }

/* ---------- page heads, notify blocks, facts details ---------- */
.page-head { padding: 64px 0 10px; }
.page-title { font-size: clamp(42px, 6.5vw, 76px); }
.page-lead { color: var(--ib-gray); font-size: 19px; max-width: 660px; margin: 14px 0 0; }

.notify-block {
  border: 1px solid var(--ib-line);
  background: var(--ib-panel-2);
  padding: 18px;
  margin-top: 6px;
}
.notify-block h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
}

.facts-details { margin-top: 4px; }
.facts-details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--ib-gray);
  list-style-position: inside;
}
.facts-details summary:hover { color: var(--ib-yellow); }
.facts-details[open] summary { color: var(--ib-yellow); margin-bottom: 12px; }
.facts-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.facts-details summary::-webkit-details-marker { display: none; }
.facts-details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.facts-details[open] summary::after { content: "\2013"; }
.panel-close {
  display: block; margin: 12px 0 0 auto; padding: 6px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 12px; color: var(--ib-gray);
}
.panel-close::after { content: " \25B2"; font-size: 9px; }
.panel-close:hover, .panel-close:focus-visible { color: var(--ib-yellow); }

/* the Tee is off sale: two-up product grids instead of a gap in a row of three */
.product-grid:has(> [data-tee][hidden]) { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) and (min-width: 861px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 14px; letter-spacing: 0.07em; }
}

@media (max-width: 980px) {
  .hero-inner, .science-grid, .athlete-feature, .founder-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .appearances-grid { grid-template-columns: 1fr; }
  .hex-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media .asset-slot { min-height: 320px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ib-black);
    border-bottom: 1px solid var(--ib-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 22px;
    gap: 16px;
  }
  .site-nav.open { display: flex; }
}

@media (max-width: 640px) {
  .product-grid, .appearances-side { grid-template-columns: 1fr; }
  .product-grid:has(> [data-tee][hidden]) { grid-template-columns: 1fr; }
  .hex-row { grid-template-columns: repeat(2, 1fr); }
  .badge-row { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-row .field-zip { flex: 1; }
  .ambassador-card { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr 1fr; }
  .hero-inner { min-height: 0; }
  body.has-sticky-bar { padding-bottom: 76px; }
  .sticky-stack-bar.is-on { display: flex; }
}

/* ---------- click-to-load video poster ---------- */
.video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; cursor: pointer;
  background: var(--ib-panel); color: var(--ib-white); font: inherit; text-align: left;
}
.video-poster .poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-poster + iframe, .asset-slot > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.poster-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 16px;
  padding: clamp(12px, 2.5vw, 22px);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.85));
}
.poster-play {
  flex: none; display: grid; place-items: center;
  width: clamp(48px, 6.5vw, 64px); aspect-ratio: 1;
  background: var(--ib-yellow); color: #000;
  transform: skewX(var(--skew));
  transition: background 0.15s;
}
.poster-play svg { width: 38%; height: 38%; margin-left: 6%; transform: skewX(calc(-1 * var(--skew))); }
.video-poster:hover .poster-play, .video-poster:focus-visible .poster-play { background: var(--ib-yellow-hot); }
.video-poster:focus-visible { outline: 3px solid var(--ib-yellow); outline-offset: -3px; }
.poster-text { display: grid; gap: 2px; }
.poster-title { font: 700 clamp(1rem, 2.2vw, 1.4rem)/1.05 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; font-style: italic; }
.poster-note { font: 600 0.72rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ib-gray); }
@media (max-width: 560px) { .poster-note { display: none; } }
