/* ————————————————————————————————————————
   12WEEK.WIN — sport poster, signal red
   ———————————————————————————————————————— */

:root {
  --bg: #F5F4F0;
  --card: #FFFFFF;
  --line: #E2DFD6;
  --ink: #121210;
  --muted: #6B685E;
  --red: #E4342C;
  --win: #1F8A4C;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

a { color: var(--red); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.wordmark {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--red); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--ink); }

/* hero */

.hero {
  position: relative;
  padding: clamp(80px, 13vh, 150px) var(--gutter) clamp(80px, 13vh, 140px);
  overflow: hidden;
}

.big12 {
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(260px, 46vw, 700px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--line);
  user-select: none;
  pointer-events: none;
}

.kicker {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero h1 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(64px, 13vw, 190px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero h1 em { font-style: normal; color: var(--red); }

.lede {
  position: relative;
  max-width: 56ch;
  margin-top: 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover { background: var(--red); transform: translateY(-2px); }

/* stripe ticker */

.stripe {
  overflow: hidden;
  background: var(--ink);
  padding: 10px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.stripe-track {
  display: flex;
  gap: 26px;
  width: max-content;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--bg);
  animation: stripe 30s linear infinite;
}

.stripe-track span { white-space: nowrap; }

@keyframes stripe {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* sections */

.section { padding: clamp(64px, 10vh, 116px) var(--gutter); }

.section-head { max-width: 820px; margin-bottom: clamp(30px, 4vh, 46px); }

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6.5vw, 76px);
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); max-width: 60ch; }

/* challenges */

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.challenge {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.challenge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--ink);
}

.ch-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.ch-no {
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  padding: 3px 10px;
}

.ch-head h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.ch-win {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 14px;
}

.ch-rules {
  list-style: none;
  margin-bottom: 18px;
}

.ch-rules li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.ch-rules li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--red);
  font-weight: 700;
}

.weeks {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.weeks i {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  border: 1px solid #D5D2C8;
}

.weeks i:first-child { background: var(--red); border-color: var(--red); }
.weeks i:last-child { background: var(--win); border-color: var(--win); }

.ch-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

.ch-foot a {
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.ch-foot a:hover { text-decoration: underline; }

/* how it works */

.how { background: var(--card); border-top: 2px solid var(--ink); }

.steps {
  list-style: none;
  max-width: 760px;
  display: grid;
  gap: 0;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.steps li:first-child { border-top: 1px dashed var(--line); }

.steps span {
  flex: 0 0 44px;
  font-family: var(--display);
  font-size: 30px;
  color: var(--red);
  text-align: center;
}

.steps strong { color: var(--ink); }

.honest {
  max-width: 760px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
}

/* footer */

.site-footer {
  padding: 38px var(--gutter) 52px;
  background: var(--ink);
  color: #B9B6AC;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links span { color: #7B786E; }

.footer-links a { text-decoration: none; color: var(--bg); transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }

.site-footer > p { font-size: 13px; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stripe-track { animation: none; }
  .challenge:hover, .hero-cta:hover { transform: none; box-shadow: 6px 6px 0 var(--ink); }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
  .big12 { opacity: 0.5; }
}
