/* =========================================================
   Football Drop
   Principle: the interface is strictly black and grey.
   The kits are the only colour on the page.
   Display: Big Shoulders Display (stadium signage)
   Text:    Hanken Grotesk
   ========================================================= */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/hanken-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  --pitch: #000000;
  --graphite: #161616;
  --steel: #2a2a2a;
  --concrete: #8c8c8c;   /* muted text on black (6.6:1) */
  --slate: #5c5c5c;      /* muted text on light (6.6:1) */
  --chalk: #ececec;
  --white: #ffffff;
  --focus: #8c8c8c;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drop: cubic-bezier(0.34, 1.32, 0.5, 1);
}

@view-transition { navigation: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--pitch);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { max-width: 68ch; }

h1, h2, h3 { margin: 0; font-weight: 800; }
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--white); color: var(--pitch); padding: 0.75rem 1.1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  color: var(--white);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  view-transition-name: site-header;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
.site-header.solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  color: var(--pitch);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; flex: none;
  transition: transform 0.6s var(--ease-drop);
}
.logo-mark img { height: 34px; width: auto; }
.logo:hover .logo-mark { transform: translateY(-3px) rotate(-10deg); }
.logo-word { font-family: var(--display); font-weight: 900; font-size: 1.55rem; line-height: 0.85; text-transform: uppercase; }
.logo-word span { display: block; font-weight: 600; letter-spacing: 0.32em; font-size: 0.9rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.75rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; position: relative; padding: 0.25rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }

.btn-light { background: var(--white); color: var(--pitch); }
.btn-light::before { background: var(--chalk); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--pitch); border-color: var(--white); }
.btn-dark { background: var(--pitch); color: var(--white); }
.btn-dark::before { background: var(--steel); }
.btn-line { border-color: var(--pitch); color: var(--pitch); }
.btn-line::before { background: var(--pitch); }
.btn-line:hover { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero: the drop ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--pitch); color: var(--white);
  min-height: 100svh; display: flex; align-items: center;
  padding: 7.5rem 0 4rem;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 50%;
  width: 70vmax; height: 70vmax; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 38%, transparent 62%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; width: 100%; }

.hero-title { font-size: clamp(3.6rem, 7.4vw, 7.25rem); margin: 0 0 1.75rem; }
.hero-title .line { white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: block; }
.hero-title .line.outline > span { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--white); max-width: 32rem; margin: 0 0 2.25rem; }

/* Load sequence (only when JS runs) */
.js .hero-title .line > span { transform: translateY(105%); }
.js .hero-lead, .js .hero .btn-row { opacity: 0; transform: translateY(18px); }
.js .is-loaded .hero-title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
.js .is-loaded .hero-title .line:nth-child(2) > span { transition-delay: 0.1s; }
.js .is-loaded .hero-title .line:nth-child(3) > span { transition-delay: 0.2s; }
.js .is-loaded .hero-lead { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.45s, transform 0.9s var(--ease-out) 0.45s; }
.js .is-loaded .hero .btn-row { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.6s, transform 0.9s var(--ease-out) 0.6s; }

.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; }
.deck { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.08; }
.deck-card {
  position: absolute; inset: 0; margin: 0;
  background: var(--white); border-radius: 26px; padding: 7%;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transform-origin: 50% 100%;
  transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out), opacity 0.6s var(--ease-out);
  will-change: transform;
}
.deck-card img { width: 100%; height: 100%; object-fit: contain; }
.deck-card[data-depth="1"] { transform: translate(-9%, -4%) scale(0.92) rotate(-8deg); filter: brightness(0.62); }
.deck-card[data-depth="2"] { transform: translate(10%, -7%) scale(0.86) rotate(7deg); filter: brightness(0.38); }
.deck-card[data-depth="3"] { transform: translateY(-14%) scale(0.76) rotate(0deg); filter: brightness(0.15); opacity: 0; }
.deck-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -6%; height: 9%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.9), transparent 70%); filter: blur(6px); z-index: -1;
}
.drop-caption {
  margin: 2.25rem 0 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  color: var(--white); font-size: 0.95rem; min-height: 2.5rem;
}
.drop-caption strong { color: var(--white); font-weight: 700; }
.drop-caption .now { display: inline-flex; align-items: center; gap: 0.55rem; }
.drop-caption .now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,0.15); }
.deck-toggle {
  font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--white); cursor: pointer;
  background: transparent; border: 1px solid var(--steel); border-radius: 999px; padding: 0.35rem 0.9rem;
  transition: border-color 0.3s;
}
.deck-toggle:hover { border-color: var(--concrete); }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-black { background: var(--pitch); color: var(--white); }
.section-chalk { background: var(--chalk); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(3rem, 7vw, 5.75rem); }
.section-sub { margin: 0; color: var(--slate); font-size: 1.12rem; }
.section-black .section-sub, .kit-wall .section-sub { color: var(--white); }

/* Mission */
.mission .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.mission h2 { font-size: 1rem; font-weight: 700; padding-top: 0.9rem; border-top: 2px solid var(--pitch); }
.mission-text { font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.22; font-weight: 500; letter-spacing: -0.015em; margin: 0; max-width: 26ch; }

/* Kit wall: scroll-linked rows */
.kit-wall { overflow: hidden; padding: clamp(5rem, 9vw, 7.5rem) 0; background: var(--pitch); color: var(--white); }
.kit-wall .section-head { margin-bottom: 3rem; }
.wall-row { display: flex; gap: 1.25rem; width: max-content; will-change: transform; }
.wall-row + .wall-row { margin-top: 1.25rem; }
.wall-tile {
  width: clamp(180px, 20vw, 270px); aspect-ratio: 1; flex: none;
  background: var(--white); border-radius: 20px; padding: 1.1rem;
}
.wall-tile img { width: 100%; height: 100%; object-fit: contain; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.cat { text-decoration: none; display: block; }
.cat-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 1.1rem 0 0.35rem; }
.cat-desc { color: var(--slate); margin: 0 0 0.75rem; font-size: 0.98rem; }
.cat-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.cat:hover .cat-link { text-decoration-thickness: 3px; }

/* Shared kit photo with pointer tilt */
.kit-photo {
  position: relative; aspect-ratio: 1; background: var(--white); border-radius: 22px; overflow: hidden;
  border: 1px solid #e3e3e3;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  transform-style: preserve-3d;
}
.kit-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.7s var(--ease-out); }
.kit-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.65), transparent 45%);
  mix-blend-mode: soft-light; transition: opacity 0.4s;
}
.tilt:hover .kit-photo, .kit-photo.tilting { box-shadow: 0 30px 60px rgba(0,0,0,0.16); }
.tilt:hover .kit-photo img { transform: translateZ(30px) scale(1.04); }
.tilt:hover .kit-photo::after { opacity: 1; }

/* Reveal: the unboxing */
.reveal-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.reveal-copy .section-title { margin-bottom: 1.25rem; }
.reveal-copy p { color: var(--slate); font-size: 1.12rem; margin: 0 0 2rem; }
.reveal-copy .note { margin: 1.25rem 0 0; font-size: 0.95rem; }
.reveal-result { min-height: 4.5rem; margin-bottom: 2rem; }
.reveal-copy .reveal-result .league { color: var(--slate); font-weight: 600; margin: 0; }
.reveal-copy .reveal-result .kit-name { color: var(--pitch); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 0.95; margin: 0.2rem 0 0; }
.reveal-result .kit-name.swap { animation: nameIn 0.7s var(--ease-out) both; }

.box {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center;
  border: 0; padding: 0; cursor: pointer; background: var(--white); border-radius: 30px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px #e3e3e3;
  font: inherit; color: inherit;
}
.box-kit { position: absolute; inset: 0; padding: 10%; display: grid; place-items: center; }
.box-kit img { width: 100%; height: 100%; object-fit: contain; transform: scale(0.82) translateY(8%); opacity: 0; transition: transform 1.1s var(--ease-drop) 0.25s, opacity 0.6s var(--ease-out) 0.25s; }
.box.open .box-kit img { transform: none; opacity: 1; }
.box-door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--pitch); color: var(--white);
  display: flex; align-items: center; overflow: hidden;
  transition: transform 1s var(--ease-out);
}
.box-door.left { left: 0; justify-content: flex-end; border-right: 1px solid var(--steel); }
.box-door.right { right: 0; justify-content: flex-start; }
.box-door .half {
  font-family: var(--display); font-weight: 900; font-size: clamp(14rem, 34vw, 26rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--white); width: 0; display: flex; justify-content: center;
}
.box-door .door-label { position: absolute; bottom: 1.5rem; font-weight: 700; font-size: 0.95rem; color: var(--white); }
.box-door.left .door-label { right: 1.25rem; }
.box-door.right .door-label { left: 1.25rem; color: var(--white); }
.box:hover .box-door.left { transform: translateX(-3%); }
.box:hover .box-door.right { transform: translateX(3%); }
.box.open .box-door.left { transform: translateX(-101%); }
.box.open .box-door.right { transform: translateX(101%); }

/* Promise columns */
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.promise { border-top: 2px solid var(--white); padding-top: 1.5rem; }
.promise h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.promise p { margin: 0; color: var(--white); }

/* Closing CTA */
.closer { text-align: left; }
.closer .section-title { max-width: 14ch; margin-bottom: 2rem; }

/* ---------- Inner page head ---------- */
.page-head { background: var(--pitch); color: var(--white); padding: clamp(9rem, 16vw, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.page-head h1 { font-size: clamp(3.5rem, 10vw, 8.5rem); margin-bottom: 1.25rem; }
.page-head p { margin: 0; color: var(--white); font-size: 1.2rem; max-width: 36rem; }
.js .page-head h1 > span { display: block; transform: translateY(105%); }
.js .page-head h1 { overflow: hidden; }
.js .is-loaded .page-head h1 > span { transform: none; transition: transform 1.1s var(--ease-out); }
.js .page-head p { opacity: 0; transform: translateY(14px); }
.js .is-loaded .page-head p { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.3s, transform 0.9s var(--ease-out) 0.3s; }

/* ---------- Shop ---------- */
.shop-block + .shop-block { margin-top: clamp(4rem, 8vw, 6.5rem); }
.shop-block-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--pitch); }
.shop-block-head h2 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.shop-block-head p { margin: 0; color: var(--slate); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.product h3 { font-size: 1.3rem; margin: 1.1rem 0 0.3rem; }
.product p { margin: 0 0 1rem; color: var(--slate); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product .price { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; }
.product .btn { min-height: 46px; padding: 0 1.25rem; font-size: 0.95rem; }

/* ---------- Subscriptions ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.plan { border-radius: 30px; padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; }
.plan-single { background: var(--chalk); }
.plan-triple { background: var(--pitch); color: var(--white); }
.plan-visual { position: relative; height: 230px; margin-bottom: 2rem; }
.plan-visual .kit-photo { position: absolute; width: 190px; top: 0; left: 50%; border: 0; box-shadow: 0 24px 50px rgba(0,0,0,0.18); }
.plan-single .plan-visual .kit-photo { transform: translateX(-50%) rotate(-3deg); }
.plan-triple .plan-visual .kit-photo { box-shadow: 0 24px 50px rgba(0,0,0,0.5); transition: transform 0.8s var(--ease-drop); }
.plan-triple .plan-visual .kit-photo:nth-child(1) { transform: translateX(-120%) rotate(-10deg) translateY(16px); }
.plan-triple .plan-visual .kit-photo:nth-child(2) { transform: translateX(-50%); z-index: 2; }
.plan-triple .plan-visual .kit-photo:nth-child(3) { transform: translateX(20%) rotate(10deg) translateY(16px); }
.plan-triple:hover .plan-visual .kit-photo:nth-child(1) { transform: translateX(-135%) rotate(-15deg) translateY(10px); }
.plan-triple:hover .plan-visual .kit-photo:nth-child(3) { transform: translateX(35%) rotate(15deg) translateY(10px); }
.plan h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 4.5vw, 3.5rem); line-height: 0.9; }
.plan-price { margin: 0.75rem 0 1.5rem; font-size: 1.1rem; }
.plan-price strong { font-family: var(--display); font-weight: 900; font-size: 3.25rem; line-height: 1; margin-right: 0.3rem; }
.plan-tag { display: inline-block; margin-bottom: 1rem; font-weight: 700; font-size: 0.9rem; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--white); color: var(--pitch); align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; }
.ticks li { padding: 0.65rem 0 0.65rem 1.9rem; position: relative; border-top: 1px solid rgba(0,0,0,0.1); }
.plan-triple .ticks li { border-color: var(--steel); }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 1.05rem; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Forms ---------- */
.form-panel { background: var(--white); border-radius: 26px; padding: clamp(1.5rem, 3.5vw, 2.75rem); border: 1px solid #dcdcdc; }
.field { margin-bottom: 1.25rem; }
label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--pitch); background: var(--white);
  border: 1.5px solid #b5b5b5; border-radius: 12px; padding: 0.85rem 1rem; accent-color: var(--pitch);
  transition: border-color 0.25s, box-shadow 0.25s;
}
input:hover, select:hover, textarea:hover { border-color: var(--slate); }
input:focus, select:focus, textarea:focus { border-color: var(--pitch); box-shadow: 0 0 0 4px rgba(0,0,0,0.08); outline: none; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; margin-bottom: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; margin: 0; font-weight: 600; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1.5px solid #b5b5b5; border-radius: 999px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover span { border-color: var(--pitch); }
.chip input:checked + span { background: var(--pitch); color: var(--white); border-color: var(--pitch); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-status { font-weight: 700; margin: 1rem 0 0; min-height: 1.6em; }
.note { color: var(--slate); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding: 2rem 0; border-top: 2px solid var(--pitch); }
.steps li:last-child { border-bottom: 2px solid var(--pitch); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 900; font-size: 5rem; line-height: 0.8; }
.steps h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--slate); }

.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid #dcdcdc; background: var(--white); }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 700; padding: 1.1rem 1.25rem 0.5rem; }
th, td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid #e6e6e6; }
th { font-size: 0.95rem; color: var(--slate); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

details { border-top: 1px solid #d6d6d6; }
details:last-of-type { border-bottom: 1px solid #d6d6d6; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-weight: 700; font-size: 1.2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 0.45s var(--ease-out); }
details[open] summary::after { transform: rotate(135deg); }
details p { margin: 0 0 1.4rem; color: var(--slate); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 1.4rem 0; border-top: 2px solid var(--pitch); }
.contact-list li:last-child { border-bottom: 2px solid var(--pitch); }
.contact-list h3 { font-size: 1rem; color: var(--slate); margin-bottom: 0.3rem; }
.contact-list p { margin: 0; font-size: 1.2rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pitch); color: var(--white); padding: clamp(4rem, 8vw, 6rem) 0 2rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid p { color: var(--white); margin: 0.75rem 0 0; max-width: 34ch; }
.footer-grid h2 { font-size: 1rem; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-word { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: min(16.2vw, 12.9rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--white); margin: 3.5rem 0 1.5rem; white-space: nowrap; letter-spacing: -0.01em; }
.copyright { color: var(--white); font-size: 0.92rem; margin: 0; }

/* ---------- Scroll appear (used sparingly, on kit grids only) ---------- */
.js [data-appear] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-appear].in { opacity: 1; transform: none; }

@keyframes nameIn { from { opacity: 0; transform: translateY(0.4em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .reveal-layout, .contact-grid, .section-head, .mission .wrap { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero { padding-top: 8.5rem; }
  .deck { width: min(78%, 380px); }
}
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 0.75rem; padding-bottom: 0.5rem; row-gap: 0.4rem; }
  .site-nav { width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { flex-wrap: nowrap; white-space: nowrap; padding-bottom: 0.35rem; }
  .hero { padding-top: 9rem; }
  .page-head { padding-top: 10rem; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.5rem); }
  .site-nav ul { gap: 0.2rem 1rem; }
  .site-nav a { font-size: 0.9rem; }
  .cat-grid, .product-grid, .promise-grid, .plans { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 4rem minmax(0, 1fr); }
  .steps li::before { font-size: 3.5rem; }
  .plan-visual .kit-photo { width: 150px; }
  .hero-title .line.outline > span { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .hero-title .line > span, .js .page-head h1 > span { transform: none; }
  .js .hero-lead, .js .hero .btn-row, .js .page-head p, .js [data-appear] { opacity: 1; transform: none; }
  .kit-photo { transform: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Title Case across the site ----------
   Delete this block to switch back to normal sentence case. */
body { text-transform: capitalize; }
input, textarea, select, option, .no-caps { text-transform: none; }

/* =========================================================
   Cart, subscription sign-up and checkout
   ========================================================= */
.site-nav { order: 2; }
.cart-btn {
  order: 3; position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  height: 44px; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: inherit; background: transparent;
  border: 1.5px solid currentColor; transition: background 0.3s, color 0.3s;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--white); color: var(--pitch); border-color: var(--white); }
.site-header.solid .cart-btn:hover { background: var(--pitch); color: var(--white); border-color: var(--pitch); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--white); color: var(--pitch); font-size: 0.8rem; line-height: 1;
}
.site-header.solid .cart-count { background: var(--pitch); color: var(--white); }
.cart-btn.bump .cart-count { animation: bump 0.6s var(--ease-drop); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }

.no-scroll { overflow: hidden; }
.cart-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.45s var(--ease-out); }
.cart-overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 410; width: min(460px, 100%);
  background: var(--white); color: var(--pitch); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.55s var(--ease-out);
  box-shadow: -30px 0 80px rgba(0,0,0,0.35);
}
.cart-drawer.show { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 2px solid var(--pitch); }
.cart-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; line-height: 1; }
.cart-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--pitch); background: none; cursor: pointer; position: relative; }
.cart-close span::before, .cart-close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--pitch); }
.cart-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.cart-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cart-close:hover { background: var(--pitch); }
.cart-close:hover span::before, .cart-close:hover span::after { background: var(--white); }
.cart-body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }
.cart-foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid #ddd; }
.cart-foot:empty { display: none; }
.btn-block { width: 100%; }
.cart-empty { padding: 2.5rem 0; }
.cart-empty-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 0 0 0.6rem; }
.cart-empty p { color: var(--slate); }

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #e6e6e6; align-items: start; }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 76px; border-radius: 14px; border: 1px solid #e3e3e3; background: var(--white); padding: 6px; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-name { font-weight: 700; margin: 0 0 0.15rem; line-height: 1.3; }
.line-meta { margin: 0; color: var(--slate); font-size: 0.92rem; line-height: 1.45; }
.line-price { margin: 0; font-weight: 700; white-space: nowrap; }
.line-price small { font-weight: 500; color: var(--slate); }
.line-controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #b5b5b5; border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 1.1rem; font-weight: 700; border-radius: 50%; }
.qty button:hover { background: var(--chalk); }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 700; }
.link-btn { border: 0; background: none; padding: 0.25rem 0; cursor: pointer; font: inherit; font-size: 0.92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--slate); }
.link-btn:hover { color: var(--pitch); }

.totals { margin: 0 0 1rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; }
.totals dt { color: var(--slate); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 2px solid var(--pitch); margin-top: 0.5rem; padding-top: 0.8rem; }
.totals .grand dt, .totals .grand dd { color: var(--pitch); font-weight: 800; font-size: 1.2rem; }

/* Shop add-to-cart row */
.product-foot { flex-wrap: wrap; }
.buy { display: flex; gap: 0.5rem; align-items: center; }
.buy select { width: auto; min-height: 46px; padding: 0 2rem 0 0.9rem; border-radius: 999px; font-weight: 600; }
.btn.added { background: var(--steel); }

/* Subscription sign-up */
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.5rem; }
.form-section + .form-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e3e3e3; }
.form-section h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.plan-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.plan-option { position: relative; margin: 0; }
.plan-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-option span { display: block; padding: 1.1rem 1.25rem; border: 2px solid #c9c9c9; border-radius: 18px; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.plan-option strong { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.plan-option small { color: var(--slate); font-size: 0.95rem; }
.plan-option:hover span { border-color: var(--pitch); }
.plan-option input:checked + span { background: var(--pitch); color: var(--white); border-color: var(--pitch); }
.plan-option input:checked + span small { color: var(--white); }
.plan-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.field-error { color: #b00020; font-weight: 700; margin: 0.6rem 0 0; min-height: 1.4em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.form-actions p { margin: 0; font-weight: 600; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.summary-panel { position: sticky; top: 110px; background: var(--chalk); border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.summary-panel h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.pay-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.pay-methods .chip span { width: 100%; justify-content: center; }
.secure-note { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--chalk); border-radius: 14px; padding: 0.9rem 1rem; margin-top: 1rem; font-size: 0.95rem; }
.checkout-empty, .confirmation { display: none; }
[data-checkout].empty .checkout-grid { display: none; }
[data-checkout].empty .checkout-empty { display: block; }
[data-checkout].done .checkout-grid, [data-checkout].done .checkout-empty { display: none; }
[data-checkout].done .confirmation { display: block; }
.confirmation h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; margin-bottom: 1rem; }
.confirmation h2:focus { outline: none; }
.order-no { display: inline-block; font-weight: 800; background: var(--pitch); color: var(--white); border-radius: 999px; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
.confirmation .summary-panel { position: static; max-width: 640px; margin: 2rem 0; }
.confirm-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--pitch); display: grid; place-items: center; margin-bottom: 1.5rem; animation: pop 0.7s var(--ease-drop) both; }
.confirm-tick::after { content: ""; width: 26px; height: 14px; border-left: 4px solid var(--white); border-bottom: 4px solid var(--white); transform: translateY(-3px) rotate(-45deg); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-panel { position: static; order: -1; }
}
@media (max-width: 640px) {
  .site-nav { order: 4; }
  .cart-btn { height: 40px; padding: 0 0.8rem; }
  .cart-btn .cart-word { display: none; }
  .signup-grid, .plan-picker, .pay-methods { grid-template-columns: minmax(0, 1fr); }
  .buy { width: 100%; }
  .buy .btn { flex: 1; }
}
.cart-drawer[hidden], .cart-overlay[hidden] { display: none; }
button { text-transform: inherit; }
