:root {
  --bg: #0a1220;
  --bg-panel: #0b1526;
  --bg-footer: #080f1c;
  --text: #eef2f8;
  --muted: #aeb9cc;
  --muted-2: #9aa7bd;
  --muted-3: #8b98ae;
  --muted-4: #7a879e;
  --muted-5: #5f6c82;
  --accent: #e01e37;
  --accent-deep: #b71628;
  --gold: #f0a92c;
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  --border: rgba(255, 255, 255, 0.08);
  --font: "Manrope", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: #cfd8e6;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:not(.btn):hover {
  color: #fff;
}

a.btn.btn--light:hover {
  color: var(--accent-deep);
}

.container {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  max-width: 820px;
}

h3 {
  font-weight: 700;
}

.section__lead {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(224, 30, 55, 0.35);
}

.btn--primary:hover {
  color: #fff;
}

.btn--nav {
  flex: none;
  white-space: nowrap;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: 999px;
  background: linear-gradient(180deg, #f23a50 0%, #d4142c 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 30, 55, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--nav:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 30, 55, 0.4);
}

.btn__short {
  display: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.btn--light {
  background: #fff;
  color: var(--accent-deep);
  font-weight: 800;
}

.btn--light:hover {
  background: #f5f7fa;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 17px;
  border-radius: 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11, 20, 38, 0.92) 0%, rgba(10, 16, 28, 0.78) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.brand__mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f0233f, #c40f28);
  box-shadow: 0 8px 22px rgba(224, 30, 55, 0.45);
}

.brand__mark--sm {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand__name span {
  color: var(--accent);
}

.brand__sub {
  margin-top: 5px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #7c8aa3;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 16px;
  font-weight: 600;
}

.nav__links a {
  color: #cfd8e6;
}

.hero__path {
  margin: 18px 0 0;
  max-width: 460px;
  color: #9aa7bd;
  font-size: 14px;
  line-height: 1.5;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-shot.png") center / cover no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.97) 0%, rgba(8, 13, 24, 0.9) 34%, rgba(8, 13, 24, 0.55) 62%, rgba(8, 13, 24, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.5) 0%, transparent 30%, rgba(10, 18, 32, 0.85) 100%);
}

.hero__grid {
  position: relative;
  padding: 110px 0 130px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__lead {
  margin: 30px 0 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Clubs strip */
.clubs-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(600px 240px at 18% 0%, rgba(224, 30, 55, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.98) 0%, var(--bg-panel) 100%);
}

.clubs-strip__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  padding: 34px 0 36px;
  align-items: center;
}

.clubs-strip__copy {
  min-width: 0;
}

.clubs-strip__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.clubs-strip__copy h2 {
  margin-top: 10px;
  max-width: 440px;
  font-size: clamp(24px, 2.6vw, 36px);
}

.clubs-strip__copy p:not(.clubs-strip__eyebrow) {
  margin: 12px 0 0;
  max-width: 460px;
  color: var(--muted-3);
  line-height: 1.6;
}

.clubs-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.clubs-strip__list li {
  min-width: 0;
}

.clubs-strip__club {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: 'Archivo', 'Manrope', sans-serif;
  color: rgba(232, 238, 245, 0.92);
  overflow: hidden;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.clubs-strip__club img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.18s ease;
}

/* Wide lettermarks (e.g. OHA) need more width than square crests */
.clubs-strip__club--wordmark img {
  width: 96px;
  height: 40px;
  filter: none;
}

.clubs-strip__club strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.clubs-strip__list li:nth-child(5) .clubs-strip__club strong,
.clubs-strip__list li:nth-child(6) .clubs-strip__club strong {
  white-space: normal;
  line-height: 1.2;
  font-size: 13px;
}

.clubs-strip__list li:hover .clubs-strip__club {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  transform: translateY(-1px);
}

.clubs-strip__list li:hover .clubs-strip__club img {
  transform: scale(1.06);
}

/* Stats */
.stats {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-panel);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 52px 0;
}

.stats__grid strong {
  display: block;
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: #fff;
}

.stats__grid span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted-3);
  line-height: 1.4;
}

/* Sections */
.section {
  padding: 110px 0 40px;
}

.section--panel {
  margin-top: 110px;
  padding: 110px 0;
  background: var(--bg-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tools {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tool {
  display: flex;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 32px;
}

.tool__icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(224, 30, 55, 0.12);
  border: 1px solid rgba(224, 30, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tool h3 {
  font-size: 22px;
}

.tool p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
}

.science {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.science-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 30px;
}

.science-card__n {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 44px;
  color: rgba(224, 30, 55, 0.55);
  line-height: 1;
}

.science-card h3 {
  margin-top: 20px;
  font-size: 24px;
}

.science-card p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
}

.articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.articles-head h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.link-more {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
}

.link-more:hover {
  color: #ff4d63;
}

.articles {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article:hover {
  border-color: rgba(224, 30, 55, 0.35);
  transform: translateY(-2px);
  color: inherit;
}

.article__cover {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 12px,
    rgba(255, 255, 255, 0.015) 12px 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.article:hover .article__cover img {
  transform: scale(1.03);
}

.article__cover span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6b7994;
}

.article__body {
  padding: 26px;
}

.article__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.article h3 {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.3;
}

.article p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.55;
}

/* Article pages */
.section--articles-page {
  padding-top: 48px;
}

.articles-page__title {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 820px;
}

.post {
  padding: 48px 0 96px;
}

.post__narrow {
  width: min(760px, calc(100% - 80px));
}

.post__back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted-2);
}

.post__back:hover {
  color: #fff;
}

.post__title {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: none;
}

.post__meta {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--muted-3);
}

.post__hero {
  margin: 40px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d1829;
}

.post__hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post__body {
  margin-top: 48px;
  font-size: 18px;
  line-height: 1.75;
  color: #d5deec;
}

.post__lead {
  margin: 0 0 36px;
  font-size: 21px;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}

.post__body h2 {
  margin: 44px 0 16px;
  font-size: clamp(24px, 3vw, 30px);
  max-width: none;
}

.post__body p {
  margin: 0 0 18px;
}

.post__body ul,
.post__body ol {
  margin: 0 0 22px;
  padding-left: 1.25em;
}

.post__body li {
  margin: 0 0 10px;
}

.post__body li strong {
  color: var(--text);
}

.post__callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(240, 169, 44, 0.28);
  background: linear-gradient(180deg, rgba(240, 169, 44, 0.08), rgba(240, 169, 44, 0.03));
}

.post__callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post__callout p {
  margin: 0;
  color: #e4ebf7;
}

.post__cta {
  margin: 48px 0 0;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}

.post__cta p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
}

.post__cta .btn {
  margin-top: 22px;
}

.post__nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post__nav a {
  display: block;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.post__nav a:hover {
  border-color: rgba(224, 30, 55, 0.35);
  background: rgba(224, 30, 55, 0.06);
  color: #fff;
}

.post__nav a span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.post__nav a:only-child {
  grid-column: 1 / -1;
}

/* CTA */
.cta {
  padding: 0 0 110px;
}

.cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(120% 140% at 80% 0%, #b71628 0%, #7d1020 55%, #4a0c16 100%);
  padding: 76px 64px;
  text-align: center;
}

.cta__panel h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(34px, 4.5vw, 52px);
}

.cta__panel p {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 19px;
  color: #ffd9de;
}

.cta__panel .btn {
  margin-top: 38px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg-footer);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer__brand p {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted-4);
  max-width: 280px;
  line-height: 1.6;
}

.footer__head {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #c3cddd;
  margin-bottom: 16px;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__grid > div a {
  font-size: 15px;
  color: var(--muted-3);
}

.footer__copy {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: var(--muted-5);
}

@media (max-width: 980px) {
  .container {
    width: min(1320px, calc(100% - 48px));
  }

  .nav__links {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 88px 0 96px;
  }

  .clubs-strip__inner {
    grid-template-columns: 1fr;
  }

  .stats__grid,
  .science,
  .articles {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
    padding: 44px 0 32px;
  }

  .tools {
    grid-template-columns: 1fr;
  }

  .cta__panel {
    padding: 56px 28px;
  }

  .post__narrow {
    width: min(760px, calc(100% - 48px));
  }

  .post__nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav {
    gap: 8px;
  }

  .brand {
    gap: 10px;
    flex: 0 0 auto;
  }

  .nav .brand__text {
    display: flex;
  }

  .nav .brand__name {
    font-size: 16px;
  }

  .nav .brand__sub {
    margin-top: 4px;
    font-size: 7px;
    letter-spacing: 0.22em;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex: 0 0 auto;
  }

  .btn--nav {
    display: inline-flex !important;
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  .btn__full {
    display: none;
  }

  .btn__short {
    display: inline;
  }

  .clubs-strip__inner {
    gap: 20px;
    padding: 28px 0 30px;
  }

  .clubs-strip__list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .clubs-strip__club {
    min-height: 62px;
    padding: 11px 12px;
  }

  .clubs-strip__club img {
    width: 34px;
    height: 34px;
  }

  .clubs-strip__club--wordmark img {
    width: 84px;
    height: 34px;
  }

  .clubs-strip__club strong {
    font-size: 13px;
  }

  .btn:not(.btn--lg):not(.btn--nav) {
    padding: 12px 16px;
    font-size: 14px;
  }

  .science,
  .articles {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding: 28px 0 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand .brand__sub {
    display: none;
  }

  .footer__brand p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    max-width: none;
  }

  .footer__head {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .footer__grid > div {
    gap: 7px;
  }

  .footer__grid > div a {
    font-size: 13px;
  }

  .footer__copy {
    padding: 14px 0 24px;
    font-size: 12px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    padding: 40px 0;
  }

  .stats__grid strong {
    font-size: 32px;
    line-height: 1.05;
  }

  .stats__grid span {
    margin-top: 6px;
    font-size: 13px;
  }

  .hero__cta .btn--lg {
    width: 100%;
  }

  .post__narrow {
    width: calc(100% - 32px);
  }

  .post__body {
    font-size: 17px;
  }

  .post__lead {
    font-size: 19px;
  }

  .post__cta {
    padding: 24px 18px;
  }
}
