/* POWER WINS — redesign October 2026 */

:root {
  --red: #f62d22;          /* brand red, from the logo */
  --red-ink: #c4170e;      /* red for text on light backgrounds */
  --ink: #231f20;          /* brand black, from the logo */
  --ink-2: #2e2a2b;
  --paper: #f6f4f1;
  --card: #ffffff;
  --line: #e4e0db;
  --text: #231f20;
  --muted: #6b6466;
  --on-ink: #f3efed;
  --on-ink-muted: #b4abad;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --logo-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.65 var(--body);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- Header: recreates the red / white / black band of the logo ---------- */

.site-header {
  background:
    linear-gradient(to bottom, var(--red) 0 60%, #fff 60% 62%, var(--ink) 62% 100%)
    top / 100% var(--logo-h) no-repeat,
    var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--logo-h);
}
.brand { display: block; margin-left: -8px; }
.brand img { height: var(--logo-h); width: auto; }

.nav { display: flex; height: calc(var(--logo-h) * .38); align-items: stretch; }
.nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--on-ink);
  text-decoration: none;
  font: 500 14px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  border-top: 3px solid transparent;
}
.nav a:hover { color: #fff; background: var(--ink-2); }
.nav a[aria-current="page"] { color: #fff; border-top-color: var(--red); background: var(--ink-2); }

@media (max-width: 640px) {
  :root { --logo-h: 76px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; }
  .brand { margin-left: -6px; }
  .nav { width: calc(100% + 32px); margin: 0 -16px; height: 46px; border-top: 1px solid #3a3536; }
  .nav a { flex: 1; justify-content: center; padding: 0 6px; font-size: 13px; letter-spacing: .08em; }
}

/* ---------- Dark bands (home hero, profile head) ---------- */

.band {
  background: var(--ink);
  color: var(--on-ink);
  padding: 56px 0 60px;
  position: relative;
  overflow: hidden;
}
.band::after {          /* thin red rule at the bottom, like the logo's stripe */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
}
.eyebrow {
  font: 500 13px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--red);
  margin: 0 0 14px;
}
.band h1 {
  font-size: clamp(34px, 6vw, 64px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  max-width: 14ch;
}
.band .lead { font-size: 18px; color: var(--on-ink-muted); max-width: 52ch; margin: 0; }
.band .lead a { color: #fff; }
.band .lead a:hover { color: var(--red); }

.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 36px;
  font: 600 clamp(16px, 2.4vw, 22px)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.formula b { color: #fff; font-weight: 600; }
.formula i { font-style: normal; color: var(--red); }
.formula a { color: inherit; text-decoration: none; }
.formula a:hover b { color: var(--red); }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mosaic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(1) contrast(1.05);
  opacity: .85;
  transition: filter .25s ease, opacity .25s ease;
}
.mosaic img:hover { filter: none; opacity: 1; }
.mosaic img:nth-child(2), .mosaic img:nth-child(5) { transform: translateY(18px); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .mosaic { max-width: 480px; }
}
@media (max-width: 560px) {
  .mosaic { display: none; }
}

.profile-head h1 { max-width: none; font-size: clamp(32px, 5.4vw, 56px); }
.profile-head .lead strong { color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */

main { padding-bottom: 72px; }
.section { padding-top: 56px; }
.section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 22px;
}
.section-title::before {
  content: "";
  flex: none;
  width: 28px;
  height: 4px;
  background: var(--red);
  transform: translateY(-6px);
}

/* ---------- News / results ---------- */

.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 4px 20px;
  align-items: baseline;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}
.news time {
  font: 500 14px/1.4 var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.news p { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.5; }
.news em { font-style: normal; color: var(--red-ink); }
.news a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.news a:hover { color: var(--red-ink); }
@media (max-width: 560px) {
  .news li { grid-template-columns: 1fr; }
}

/* ---------- Athlete cards ---------- */

.athletes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .athletes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .athlete .body { padding: 12px 14px 14px; }
  .athlete h3 { font-size: 19px; }
  .athlete .title { font-size: 13px; }
}
.athlete {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.athlete img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ddd; }
.athlete .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.athlete .sport {
  font: 500 12px/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red-ink);
  margin-bottom: 6px;
}
.athlete h3 { font-size: 22px; margin: 0 0 6px; color: var(--text); }
.athlete .title { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 0; }
.athlete .more {
  margin-top: auto;
  padding-top: 14px;
  font: 500 13px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-ink);
}
a.athlete { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.athlete:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(35, 31, 32, .12); border-color: #d2ccc6; }
a.athlete:hover .more { color: var(--red); }

.soon { margin-top: 36px; }
.soon h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.chips span { color: var(--muted); }

/* ---------- Coach strip ---------- */

.coach {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.coach img { width: 80px; flex: none; border-radius: 6px; }
.coach h3 { font-size: 24px; margin-bottom: 4px; }
.coach p { margin: 0; color: var(--muted); }
.coach .links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }

/* ---------- Profile pages ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 780px;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #ddd; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :first-child { grid-column: 1 / -1; }
}

.prose { max-width: 780px; font-size: 17px; }
.prose h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 2.2em 0 .6em;
}
.prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .3em; }

/* Month-by-month story with a timeline rule on the left */
.timeline { border-left: 2px solid var(--line); padding-left: 28px; margin-left: 6px; }
.timeline h2 { position: relative; clear: both; }
.timeline h2::before {
  content: "";
  position: absolute;
  left: -36px;
  top: .25em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--red);
}
@media (max-width: 560px) {
  .timeline { padding-left: 20px; }
  .timeline h2::before { left: -28px; }
}

.figure-right { float: right; width: 220px; margin: 4px 0 16px 24px; border-radius: 8px; }
@media (max-width: 560px) {
  .figure-right { float: none; width: 100%; max-width: 320px; margin: 0 0 16px; }
}

mark {
  background: linear-gradient(transparent 58%, rgba(246, 45, 34, .22) 58%);
  color: inherit;
  font-weight: 600;
  padding: 0 1px;
}

.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 1.6em 0;
}
.callout.status { background: var(--ink); color: var(--on-ink); border-color: var(--ink); border-left-color: var(--red); }
.callout.status strong { color: #fff; }
.callout.aside { border-left-color: var(--muted); color: #4a4446; }
.callout p:last-child { margin-bottom: 0; }

.news.inline { margin: 1.6em 0; }

/* Data tables (were <pre> blocks on the old site) */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
table.data {
  border-collapse: collapse;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font: 600 15px/1.3 var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 0 8px;
}
table.data th, table.data td { padding: 9px 14px; text-align: right; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child, table.data .txt { text-align: left; }
table.data thead th {
  font: 500 12px/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: #faf9f7;
}
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody th { font-weight: 600; }
table.data .pr { color: var(--red-ink); font-weight: 700; }
table.data .up { color: #8f1a12; font-weight: 600; }
table.data small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.3; }
table.data tfoot td { color: var(--muted); font-style: italic; border-top: 1px solid var(--line); border-bottom: 0; }
.tables-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .tables-2 { grid-template-columns: 1fr; } }

/* Principles */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px;
}
.pillar .num { font: 600 44px/1 var(--display); color: var(--red); opacity: .9; }
.pillar h2 { font-size: 26px; text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 10px; }
.pillar p { margin: 0; color: #3f393b; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Coach page */
.contact-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 780px;
}
.contact-card img { width: 120px; border-radius: 8px; }
.contact-card h2 { font-size: 28px; margin-bottom: 2px; }
.contact-card .role { color: var(--muted); margin-bottom: 16px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (max-width: 520px) {
  .contact-card { grid-template-columns: 1fr; padding: 20px; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; padding: 24px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
