@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/oswald-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/oswald-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #110f10;
  --text: #1f2937;
  --muted: #6b7280;
  --paper: #f3f2ee;
  --rule: #dddbd3;
  --blue: #0693e3;
  --blue-dark: #0577b8;
  --navy: #0d2340;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font: 400 18px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s;
}
.btn:hover { background: var(--blue-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btns, .btns.center { justify-content: center; }

/* ---------- header ---------- */

.site-header { background: var(--black); color: #fff; position: relative; z-index: 5; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  min-height: 116px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-weight: 500;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary::after { content: " ×"; }
.menu-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--black);
  padding: 4px var(--gutter) 24px;
  border-top: 1px solid #222;
}
.menu-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #222;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 960px) {
  .site-header .wrap { min-height: 76px; }
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- home hero ---------- */

.hero { background: var(--black); color: #fafafa; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 1440px;
}
.hero-text { padding: 40px 0 72px clamp(0px, 5vw, 76px); }
.hero h1 {
  font-size: clamp(40px, 4.8vw, 69px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}
.hero p { font-size: 16px; font-weight: 300; max-width: 34em; margin-top: 16px; }
.hero-photo { align-self: end; }
.hero-photo img { width: 100%; max-width: 600px; margin: 0 auto; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-text { padding: 32px 0 8px; }
  .hero-photo img { max-width: 420px; }
}

/* ---------- generic sections ---------- */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.paper { background: var(--paper); }
.section.tight { padding-top: 0; }

.statement {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 45px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.25px;
}

.title {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 3vw, 38px);
  letter-spacing: 1px;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}
.intro-text {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--text);
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* feature: image + text (like the book block) */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 7vw, 120px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.feature-img img { width: 100%; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.feature .lead { font-size: 22px; font-weight: 600; line-height: 1.45; letter-spacing: -0.5px; margin-bottom: 18px; }
.feature p { font-size: 17px; color: var(--text); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* cards (like "Featured") */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 40px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.card { text-align: center; text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 22%; margin-bottom: 28px; }
.card img.top { object-position: 50% 4%; }
.card h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.25px; line-height: 1.25; margin-bottom: 14px; }
.card p { font-size: 16px; color: var(--text); max-width: 30em; margin: 0 auto 14px; }
.card:hover h3 { color: var(--blue); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* championship "covers" (like the book shelf) */
.shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.cover {
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px 20px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
  text-align: left;
}
.cover small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cover b { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(44px, 5.6vw, 76px); line-height: 0.9; letter-spacing: -0.01em; }
.cover span { font-weight: 800; font-size: 15px; line-height: 1.2; text-transform: uppercase; }
.cover em { display: block; font-style: normal; font-weight: 400; font-size: 13px; text-transform: none; margin-top: 4px; }
.cover.c1 { background: var(--navy); color: #fff; }
.cover.c1 small, .cover.c1 span { color: #f5c400; }
.cover.c2 { background: #fff; color: #000; border: 1px solid #e8e8e8; }
.cover.c2 b { color: #d62a1e; }
.cover.c3 { background: #1590d6; color: #fff; }
.cover.c4 { background: #fff; color: #000; border: 8px solid #f5c400; }
.cover.c4 b { color: #d62a1e; }
.cover.c5 { background: #0b3a8c; color: #fff; outline: 6px solid #fff; outline-offset: -14px; }
@media (max-width: 860px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* client logos */
.clients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 56px;
  max-width: 780px;
  margin: 44px auto 0;
}
.clients img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .6;
  transition: filter .2s, opacity .2s;
}
.clients img:hover { filter: none; opacity: 1; }
.clients img.tall { height: 54px; }
/* White-only artwork: keep the dark silhouette on hover too. */
.clients img.mono:hover { filter: brightness(0); }
@media (max-width: 600px) {
  .clients { gap: 28px 36px; }
  .clients img { height: 34px; max-width: 130px; }
  .clients img.tall { height: 42px; }
}

/* ---------- inner pages ---------- */

.banner img.pos-standing { object-position: 50% 16%; }
.banner img {
  width: 100%;
  height: clamp(240px, 32vw, 460px);
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1);
}
.page-head { background: var(--paper); padding: clamp(48px, 6vw, 80px) 0 0; text-align: center; }
.page-head h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-top: 8px;
}
.page-head + .section.paper { padding-top: clamp(32px, 4vw, 48px); }

.text { max-width: 760px; margin: 0 auto; color: var(--text); font-size: 18px; }
.text p { margin-bottom: 1.4em; }
.text p:last-child { margin-bottom: 0; }
.text .lead { font-size: 22px; font-weight: 600; color: #000; letter-spacing: -0.5px; line-height: 1.45; }
.text h3 { color: #000; font-size: 22px; font-weight: 700; letter-spacing: -0.25px; margin: 40px 0 12px; }
.text h3:first-child { margin-top: 0; }
.text ul { list-style: none; margin: 0 0 1.4em; }
.text ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.text ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.text .note { font-size: 15px; color: var(--muted); }
.text.mt { margin-top: 28px; }
.text a:not(.btn) { color: var(--blue); }
.title + .text, .title + .text-block { margin-top: 32px; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photos img { width: 100%; height: clamp(220px, 24vw, 340px); object-fit: cover; object-position: 50% 18%; }
@media (max-width: 700px) { .photos { grid-template-columns: 1fr; } }

/* numbered program */
.steps { list-style: none; counter-reset: s; max-width: 760px; margin: 40px auto 0; }
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: "Oswald", sans-serif; font-size: 26px; font-weight: 500; color: var(--blue); line-height: 1.1; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.steps p { font-size: 16px; color: var(--text); }

/* two-up blocks */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 40px auto 0; }
.pair > div { background: #fff; padding: 32px; }
.paper .pair > div { background: #fff; }
.section:not(.paper) .pair > div { background: var(--paper); }
.pair h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pair p { font-size: 16px; color: var(--text); }
.pair a { color: var(--blue); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* reference tables (types, metaprograms, programs) */
.types { list-style: none; max-width: 980px; margin: 40px auto 0; }
.types li {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
  gap: 6px 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--text);
}
.types li:last-child { border-bottom: 1px solid var(--rule); }
.types b { color: #000; font-size: 18px; font-weight: 700; }
.types b a { text-decoration: none; }
.types b a:hover { color: var(--blue); }
.types .how { color: var(--muted); }
.types.two li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 760px) { .types li, .types.two li { grid-template-columns: 1fr; gap: 4px; } }

/* results table */
.results { width: 100%; max-width: 860px; margin: 40px auto 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.results th { text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 0 16px 12px 0; border-bottom: 2px solid #000; }
.results td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--text); }
.results td:first-child { font-family: "Oswald", sans-serif; font-size: 28px; font-weight: 500; color: #000; width: 3.2em; }
.results .bronze td { color: var(--muted); }
.results .bronze td:first-child { color: var(--muted); }
.results caption { caption-side: bottom; text-align: left; padding-top: 16px; font-size: 15px; color: var(--muted); }
.results caption a { color: var(--blue); }
@media (max-width: 600px) { .results th:nth-child(3), .results td:nth-child(3) { display: none; } .results td:first-child { font-size: 22px; } }

/* timeline */
.timeline { max-width: 860px; margin: 40px auto 0; }
.timeline > div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
}
.timeline > div:last-child { border-bottom: 1px solid var(--rule); }
.timeline dt { font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline dd { margin: 0; color: var(--text); }
.timeline dd span { color: var(--muted); }

/* quote band */
.quote-band { background: var(--black); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote-band p { font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; line-height: 1.25; letter-spacing: -0.25px; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #9ca3af; }

/* faq */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 24px; font-size: 17px; color: var(--text); }
.faq a { color: var(--blue); }

/* service sections */
.service { max-width: 860px; margin: 0 auto; padding: 56px 0; border-top: 1px solid var(--rule); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 20px; }
.service .label { color: var(--blue); margin-bottom: 8px; }
.service .text { max-width: none; }

/* ---------- footer ---------- */

.site-footer { background: var(--black); color: #fff; }
.contact { padding: clamp(56px, 7vw, 88px) 0 48px; text-align: center; }
.contact .title { color: #fff; }
.contact > .wrap > p { max-width: 640px; margin: 20px auto 0; color: #d1d5db; font-weight: 300; }
.contact-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin-top: 32px; }
.contact-list a { font-size: clamp(18px, 2vw, 22px); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact .btns { justify-content: center; margin-top: 36px; }

.footer-bar { border-top: 1px solid #1f1f1f; }
.footer-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  max-width: 1440px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 10px 48px; }
.footer-bar nav a { font-size: 15px; font-weight: 500; text-transform: uppercase; text-decoration: none; }
.footer-bar nav a:hover { color: var(--blue); }
.copyright { text-align: center; padding: 16px var(--gutter) 32px; font-size: 14px; font-weight: 600; }
