/* Badaboost · Set in Type, v2
   Champion for the blocks, one weight per word. Bricolage for everything that is read. */

@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Bantamweight.otf") format("opentype"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Featherweight.otf") format("opentype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Liteweight.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Welterweight.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Middleweight.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Champion"; src: url("/brand/fonts/Champion-Heviweight.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  --red: #ff4949;
  --ink: #101010;
  --paper: #ffffff;
  --mute: #6b6b6b;
  --rule: #e6e6e6;
  --gutter: clamp(20px, 4vw, 64px);
  --display: "Champion", "Bricolage Grotesque", Impact, "Arial Narrow", sans-serif;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: .14em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px;
  background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 30;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
}
.mark img { width: clamp(120px, 14vw, 180px); }
.index { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-size: 13px; color: var(--mute); }
.index-now { color: var(--red); }
.index-sep { margin: 0 .35em; }
.top-cta { justify-self: end; font-size: 14px; letter-spacing: .02em; }

/* Screens: height comes from content. No forced 100svh, so no dead space and nothing clipped. */
.screen {
  padding: clamp(34px, 4.5vh, 66px) var(--gutter);
  display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(12px, 1.6vw, 22px);
  border-top: 1px solid var(--rule);
}
.hero { border-top: 0; }
.label { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* The block: one justified paragraph of Champion, one weight per word */
.block {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 12rem);
  line-height: .86;
  padding-bottom: .18em;   /* ink overflows a .86 line box; without this the last line is clipped */
  letter-spacing: .005em;
  text-transform: uppercase;
  text-align: left;
  overflow-wrap: normal;
}
.block .line { text-align: left; }
.block .w { display: inline-block; white-space: nowrap; }
.block .w.red, .block .term.red { color: var(--red); }
.block .term {
  all: unset; cursor: pointer; display: inline-block;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: .05em; text-underline-offset: .06em;
  transition: text-decoration-color .2s, color .2s;
}
.block .term:hover, .block .term:focus-visible, .block .term[aria-expanded="true"] { text-decoration-color: var(--red); }
.block .term:focus-visible { outline: none; }

.sub {
  margin: 0; max-width: 34ch;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.3;
  font-variation-settings: "opsz" 24, "wdth" 96; font-weight: 450;
}
.fine { margin: 0; font-size: 14px; color: var(--mute); }
.fine a { color: var(--ink); }

/* CTAs */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 22px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: transparent; color: var(--red); border-color: var(--red); }

/* Term rows (Shape / Design / Build / Grow) */
.terms { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.term.big {
  all: unset; cursor: pointer;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 6rem); line-height: 1;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: .05em; text-underline-offset: .06em;
  transition: text-decoration-color .2s, color .2s;
}
.term.big:nth-child(2) { font-weight: 300; }
.term.big:nth-child(3) { font-weight: 700; }
.term.big:nth-child(4) { font-weight: 100; }
.term.big:hover, .term.big:focus-visible, .term.big[aria-expanded="true"] { text-decoration-color: var(--red); color: var(--red); }

/* Dock */
.dock {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0 20px; align-items: baseline;
  padding-top: 14px; border-top: 1px solid var(--ink); max-width: 900px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.dock-title { font-weight: 700; }
.dock-desc { color: var(--mute); }
.dock-link { justify-self: end; white-space: nowrap; }
.dock-link[hidden] { display: none; }

/* Crossing rows of screens */
.rows {
  margin: clamp(12px, 2vw, 28px) calc(-1 * var(--gutter)) 0;
  display: flex; flex-direction: column; gap: clamp(10px, 1.5vw, 20px);
}
.rows > .band { overflow-x: clip; overflow-y: visible; }  /* clip, not hidden: hidden would force overflow-y:auto and steal the wheel */
.row {
  display: flex; gap: 0; align-items: stretch;
  width: max-content; will-change: transform;
}
/* Two bands, deliberately different heights. */
.row-a { height: clamp(210px, 40vh, 430px); padding-left: var(--gutter); }
.row-b { height: clamp(150px, 27vh, 290px); padding-left: var(--gutter); }

/* A shot is either the whole screen, or a 1:1 crop into it. Never upscaled past 100%. */
.shot { height: 100%; overflow: clip; background: #f2f2f2; flex: 0 0 auto; }
.shot img { display: block; height: 100%; width: auto; max-width: none; }
.shot--crop { width: clamp(200px, 22vw, 330px); }
.shot--crop img { height: auto; width: auto; max-width: none; object-fit: none; }
.shot--crop.at-tl img { object-position: 0 0; }
.shot--crop.at-tc img { object-position: 50% 0; }
.shot--crop.at-cl img { object-position: 0 50%; }
.shot--crop.at-cc img { object-position: 50% 50%; }


/* Big plus small */
.gallery {
  display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 0;
  max-width: 1200px;
}
.gallery figure { margin: 0; overflow: clip; background: #f2f2f2; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery .big { grid-row: 1 / span 3; }

/* Own products, three squares */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 900px; }
.trio figure { margin: 0; }

.trio figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }

/* Stats */
.stats {
  margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 16px; border-top: 1px solid var(--ink);
}
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { font-size: 13px; color: var(--mute); letter-spacing: .04em; }
.stats dd {
  margin: 0; font-family: var(--display); font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1;
}
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1100px; }
.cols p, .cols article p { margin: 0; }
.cols h3 { margin: 0 0 8px; font-size: 1.1rem; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cols h3 a { font-weight: 400; font-size: .9rem; color: var(--mute); }

/* Engagement rows */
.rows-list { list-style: none; margin: 0; padding: 0; max-width: 1100px; border-top: 1px solid var(--ink); }
.rows-list li {
  display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.row-title { font-weight: 700; font-size: 1.15rem; }
.row-meta { font-variant-numeric: tabular-nums; color: var(--mute); }
.row-meta b { color: var(--red); font-weight: 700; }

/* Footer */
.foot { padding: 24px var(--gutter) 32px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot img { width: 140px; }
.foot p { margin: 0; font-size: 13px; color: var(--mute); }

/* Small screens */
@media (max-width: 760px) {
  .top { grid-template-columns: 1fr auto; }
  .index { display: none; }
  .block { font-size: clamp(3rem, 15vw, 5.6rem); }
  .stats { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .rows-list li { grid-template-columns: 1fr; gap: 6px; }
  .dock { grid-template-columns: 1fr; gap: 4px; }
  .dock-link { justify-self: start; }
  .row { height: 160px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery .big { grid-column: 1 / span 2; grid-row: auto; }
}

/* Motion off */
@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  * { transition: none !important; }
}

/* Block sizes: the hero is the loudest; longer blocks step down so they still fit a screen. */
.block.md { font-size: clamp(2.4rem, 6.4vw, 7rem); }
.block.sm { font-size: clamp(2rem, 4.6vw, 5rem); }
@media (max-width: 760px) {
  .block.md { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .block.sm { font-size: clamp(1.9rem, 8vw, 3rem); }
}
/* Lazy images: reserve the box so nothing reflows as they arrive. */
.row img { aspect-ratio: attr(width) / attr(height); }
.gallery figure { aspect-ratio: 16 / 11; }
.gallery .big { aspect-ratio: auto; }
.trio img { aspect-ratio: 1 / 1; object-fit: cover; }

/* A still: one big image that does NOT move, breaking up the moving bands. */
.still {
  margin: clamp(12px, 2vw, 28px) calc(-1 * var(--gutter)) 0;
  overflow: clip;
  background: #f2f2f2;
}
.still img { width: 100%; height: auto; display: block; }
.still figcaption {
  padding: 8px var(--gutter) 0;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}
@media (max-width: 760px) { .still figcaption { font-size: 11px; } }

/* Hero sub: one Champion weight, uppercase, sitting under the big mixed-weight line. */
.sub--hero {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.1rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  max-width: none;
}
