@font-face {
  font-family: "Manrope Variable";
  src: url("../fonts/manrope-latin-ext-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope Variable";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  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: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  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: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  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: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  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 {
  --night: #050706;
  --night-soft: #0a0d0c;
  --night-raised: #111513;
  --track: #091c16;
  --track-soft: #0d281f;
  --bone: #f2efe7;
  --bone-soft: #e3ddd0;
  --muted: #c9c0b0;
  --muted-dark: #6e675d;
  --red-text: #ef604c;
  --red-dark: #9f261e;
  --red-fill: #b52e23;
  --red-fill-hover: #c2382a;
  --bronze: #b99a61;
  --bronze-soft: #d0ba8d;
  --line: rgba(242, 239, 231, 0.16);
  --line-strong: rgba(185, 154, 97, 0.5);
  --line-dark: rgba(5, 7, 6, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --shell: min(1240px, calc(100vw - 32px));
  --header-height: 72px;
  --font-body: "Manrope Variable", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-numeric: "Bebas Neue", "Arial Narrow", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-race: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 160ms;
  --motion-ui: 260ms;
  --motion-enter: 620ms;
  --motion-story: 760ms;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--red-text) var(--night);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--bone);
  background: var(--night);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

::selection {
  color: var(--bone);
  background: var(--red-fill);
}

:focus-visible {
  outline: 3px solid var(--bone);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--red-dark);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--bone);
  background: var(--red-fill);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--motion-ui) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(242, 239, 231, 0.08);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red-text);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.section-kicker,
.eyebrow {
  color: var(--red-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 18px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color var(--motion-ui) var(--ease-out),
    background-color var(--motion-ui) var(--ease-out),
    border-color var(--motion-ui) var(--ease-out),
    transform var(--motion-ui) var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffdf7;
  background: var(--red-fill);
  border-color: var(--red-fill);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-fill-hover);
  border-color: var(--red-fill-hover);
}

.button-ghost {
  color: var(--bone);
  background: transparent;
  border-color: rgba(242, 239, 231, 0.35);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(242, 239, 231, 0.08);
  border-color: var(--bone);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bronze);
  color: var(--bone);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color var(--motion-ui) var(--ease-out),
    border-color var(--motion-ui) var(--ease-out);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red-text);
  border-color: var(--red-text);
}

.media-disclaimer,
.image-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(242, 239, 231, 0.22);
  color: var(--bone-soft);
  background: rgba(5, 7, 6, 0.7);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 3px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    height var(--motion-ui) var(--ease-out),
    background-color var(--motion-ui) var(--ease-out),
    border-color var(--motion-ui) var(--ease-out),
    backdrop-filter var(--motion-ui) var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(5, 7, 6, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-left: 2px solid var(--red-text);
  border-right: 1px solid rgba(242, 239, 231, 0.22);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--bone);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-role {
  color: var(--red-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav,
.header-link {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  font-size: 26px;
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: calc(var(--header-height) + 3px) 0 0;
  padding: 28px 16px max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  color: var(--bone);
  background:
    linear-gradient(150deg, rgba(9, 28, 22, 0.98), rgba(5, 7, 6, 0.99) 58%);
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity var(--motion-ui) var(--ease-out),
    transform var(--motion-ui) var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.mobile-menu nav a.is-active {
  color: var(--red-text);
}

.mobile-tjk-link {
  width: 100%;
  margin-top: 24px;
}

/* Hero */

.hero {
  --hero-shift: 0px;
  position: relative;
  min-height: max(720px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

.hero-media,
.hero-media::after,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: calc(100% + 18px);
  object-fit: cover;
  object-position: 63% center;
  transform: translate3d(0, var(--hero-shift), 0) scale(1.015);
  will-change: transform;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.26) 0%, rgba(5, 7, 6, 0.12) 24%, rgba(5, 7, 6, 0.84) 77%, var(--night) 100%),
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.75) 56%, rgba(5, 7, 6, 0.18) 100%);
}

.hero-grid {
  z-index: -2;
  left: 16px;
  right: 16px;
  border-inline: 1px solid rgba(242, 239, 231, 0.11);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(242, 239, 231, 0.07) 50%, transparent calc(50% + 0.5px));
  pointer-events: none;
}

.hero-content {
  padding-top: calc(var(--header-height) + 68px);
  padding-bottom: 108px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 340px;
  margin-bottom: 24px;
}

.hero-kicker span {
  color: var(--bronze);
}

.hero h1 {
  display: grid;
  width: fit-content;
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero-first-name {
  margin-left: 3px;
  margin-bottom: 15px;
  color: var(--red-text);
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1;
  letter-spacing: 0.19em;
}

.hero-last-name {
  font-size: clamp(92px, 28.6vw, 124px);
  letter-spacing: -0.035em;
}

.hero-slogan {
  position: relative;
  margin-top: 31px;
  padding-top: 24px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-slogan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: var(--red-text);
}

.hero-actions {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.hero-actions .button {
  width: 100%;
}

.hero-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  color: var(--bone-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--motion-ui) var(--ease-out);
}

.hero-source-link:hover,
.hero-source-link:focus-visible {
  color: var(--red-text);
}

.hero-data-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.hero-data-note > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-text);
  box-shadow: 0 0 0 5px rgba(239, 96, 76, 0.12);
}

.hero-race-note,
.scroll-cue {
  display: none;
}

.hero-disclaimer {
  position: absolute;
  top: calc(var(--header-height) + 20px);
  right: 16px;
  z-index: 2;
}

/* Proof rail */

.proof-rail {
  position: relative;
  padding: 0 0 22px;
  color: var(--bone);
  background: var(--track);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-item {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 20px 14px;
  border-right: 1px solid rgba(185, 154, 97, 0.32);
  border-bottom: 1px solid rgba(185, 154, 97, 0.32);
}

.proof-item:nth-child(2n) {
  border-right: 0;
}

.proof-item strong {
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: clamp(52px, 16vw, 74px);
  font-weight: 400;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.proof-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.proof-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 19px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Profile */

.profile-section {
  padding: 92px 0 106px;
  background:
    linear-gradient(125deg, rgba(9, 28, 22, 0.24), transparent 46%),
    var(--night);
}

.profile-layout {
  display: grid;
  gap: 54px;
}

.profile-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(5, 7, 6, 0.92) 100%),
    linear-gradient(90deg, rgba(239, 96, 76, 0.15), transparent 36%);
  pointer-events: none;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms var(--ease-race);
}

.profile-visual:hover img {
  transform: scale(1.015);
}

.profile-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 239, 231, 0.34);
}

.profile-visual figcaption span {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.profile-visual figcaption strong {
  max-width: 110px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.profile-content h2,
.performance-head h2,
.archive-head h2,
.source-copy h2 {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(54px, 16vw, 78px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.profile-lede {
  max-width: 620px;
  margin-top: 28px;
  color: var(--bone-soft);
  font-size: clamp(17px, 4.8vw, 20px);
  line-height: 1.65;
  text-wrap: pretty;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.profile-facts > div {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 17px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-facts dd {
  color: var(--bone);
  font-size: 16px;
  font-weight: 600;
}

.profile-record {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.record-index {
  color: var(--bronze);
  font-family: var(--font-numeric);
  font-size: 50px;
  line-height: 0.9;
}

.profile-record > div {
  display: grid;
  gap: 5px;
}

.profile-record > div > span {
  color: var(--red-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-record p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Signature day */

.signature-section {
  position: relative;
  min-height: 960px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0 118px;
  background: var(--night);
}

.signature-media,
.signature-shade {
  position: absolute;
  inset: 0;
}

.signature-media {
  z-index: -3;
}

.signature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.signature-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.8) 62%, rgba(5, 7, 6, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.28), var(--night) 100%);
}

.signature-layout {
  display: grid;
  gap: 50px;
}

.signature-head {
  position: relative;
  z-index: 1;
}

.signature-head h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(66px, 18vw, 96px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.signature-head > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-top: 29px;
  color: var(--bone-soft);
  font-size: 17px;
  line-height: 1.7;
}

.signature-figure {
  position: absolute;
  z-index: 0;
  top: -48px;
  right: -6px;
  color: rgba(239, 96, 76, 0.16);
  font-family: var(--font-numeric);
  font-size: clamp(160px, 45vw, 240px);
  line-height: 0.8;
  pointer-events: none;
}

.signature-races {
  border-top: 1px solid var(--line-strong);
}

.signature-races li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid rgba(242, 239, 231, 0.24);
  background: rgba(5, 7, 6, 0.42);
  backdrop-filter: blur(8px);
  transition:
    background-color var(--motion-ui) var(--ease-out),
    transform var(--motion-ui) var(--ease-out);
}

.signature-races li:hover {
  background: rgba(9, 28, 22, 0.76);
  transform: translateX(4px);
}

.race-index {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid var(--line);
  color: var(--red-text);
  font-family: var(--font-numeric);
  font-size: 38px;
  line-height: 1;
}

.race-name {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 17px 14px;
}

.race-name small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.race-name strong {
  overflow-wrap: anywhere;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.race-result {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding: 17px 14px 17px 4px;
}

.race-result span {
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: 32px;
  line-height: 0.9;
}

.race-result time {
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.signature-transparency {
  max-width: 700px;
  padding: 18px 0 0 18px;
  border-left: 3px solid var(--red-text);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.signature-disclaimer {
  position: absolute;
  right: 16px;
  bottom: 18px;
}

/* Career */

.career-section {
  padding: 98px 0 108px;
  color: var(--night);
  background:
    linear-gradient(90deg, rgba(159, 38, 30, 0.06) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--bone);
}

.career-layout {
  display: grid;
  gap: 68px;
}

.career-section .section-kicker {
  color: var(--red-dark);
}

.career-intro > h2 {
  color: var(--night);
  font-family: var(--font-display);
  font-size: clamp(62px, 18vw, 86px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.career-lede {
  max-width: 570px;
  margin-top: 27px;
  color: #3f3b35;
  font-size: 17px;
  line-height: 1.72;
}

.season-snapshot {
  margin-top: 42px;
  padding: 28px 22px;
  color: var(--bone);
  background: var(--track);
  box-shadow: 12px 12px 0 rgba(159, 38, 30, 0.14);
}

.season-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.season-heading .section-kicker {
  margin: 0;
  color: var(--red-text);
}

.season-heading h3 {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.season-primary {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 22px 0 18px;
}

.season-primary strong {
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: 86px;
  font-weight: 400;
  line-height: 0.8;
}

.season-primary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.season-results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.season-results > div {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 13px 4px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.season-results dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.season-results dd {
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: 30px;
  line-height: 1;
}

.season-snapshot > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.timeline {
  position: relative;
  border-top: 1px solid var(--line-dark);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  width: 1px;
  background: rgba(159, 38, 30, 0.34);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  min-height: 166px;
  padding: 30px 0 30px 42px;
  border-bottom: 1px solid var(--line-dark);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 13px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bone);
  border-radius: 50%;
  background: var(--red-dark);
  box-shadow: 0 0 0 1px var(--red-dark);
}

.timeline li.is-current::before {
  background: var(--track);
  box-shadow:
    0 0 0 1px var(--track),
    0 0 0 8px rgba(9, 28, 22, 0.1);
}

.timeline time {
  color: var(--red-dark);
  font-family: var(--font-numeric);
  font-size: 43px;
  line-height: 0.9;
}

.timeline li > div {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 6px;
}

.timeline li > div > span {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h3 {
  color: var(--night);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.timeline p {
  max-width: 56ch;
  color: #4e4941;
  font-size: 14px;
  line-height: 1.62;
}

/* Performance */

.performance-section {
  padding: 100px 0 112px;
  background:
    radial-gradient(circle at 85% 12%, rgba(185, 154, 97, 0.1), transparent 29%),
    var(--track);
}

.performance-head {
  display: grid;
  gap: 28px;
}

.performance-intro {
  display: grid;
  align-content: end;
  gap: 22px;
}

.performance-intro > p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.performance-table-wrap {
  margin-top: 58px;
}

.performance-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

.performance-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.performance-table thead {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.performance-table th,
.performance-table td {
  padding: 15px 6px;
  text-align: right;
}

.performance-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.performance-table thead th:first-child,
.performance-table tbody th {
  width: 32%;
  text-align: left;
}

.performance-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background-color var(--motion-ui) var(--ease-out);
}

.performance-table tbody tr:hover {
  background: rgba(242, 239, 231, 0.035);
}

.performance-table tbody th {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.performance-table tbody td {
  color: var(--bone-soft);
  font-family: var(--font-numeric);
  font-size: 25px;
  line-height: 1;
}

.rate-cell {
  width: 31%;
}

.rate-cell strong {
  display: block;
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: 26px;
  font-weight: 400;
}

.rate-track {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(242, 239, 231, 0.12);
}

.rate-track i {
  display: block;
  width: var(--rate);
  height: 100%;
  background: linear-gradient(90deg, var(--bronze), var(--red-text));
  transform-origin: left;
}

.rate-65 { --rate: 54.17%; }
.rate-76 { --rate: 63.33%; }
.rate-97 { --rate: 80.83%; }
.rate-104 { --rate: 86.67%; }
.rate-120 { --rate: 100%; }

.rate-row-65 { --row-rate: 54.17%; }
.rate-row-76 { --row-rate: 63.33%; }
.rate-row-97 { --row-rate: 80.83%; }
.rate-row-104 { --row-rate: 86.67%; }
.rate-row-120 { --row-rate: 100%; }

.table-note {
  max-width: 72ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.ratio-strip {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.ratio-strip article {
  position: relative;
  min-height: 252px;
  display: grid;
  align-content: end;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ratio-strip article.is-featured {
  background: rgba(242, 239, 231, 0.055);
}

.ratio-strip article > span {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--red-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ratio-strip strong {
  color: var(--bone);
  font-family: var(--font-numeric);
  font-size: clamp(72px, 22vw, 102px);
  font-weight: 400;
  line-height: 0.8;
}

.ratio-strip h3 {
  margin-top: 22px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.ratio-strip p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* Archive */

.archive-section {
  padding: 100px 0 112px;
  background:
    linear-gradient(150deg, rgba(9, 28, 22, 0.2), transparent 38%),
    var(--night);
}

.archive-head {
  display: grid;
  gap: 27px;
}

.archive-intro {
  max-width: 55ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.archive-stories {
  display: grid;
  gap: 46px;
  margin-top: 58px;
}

.story-card {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.story-image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--night-raised);
  cursor: zoom-in;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 7, 6, 0.64) 100%);
  pointer-events: none;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition:
    transform 700ms var(--ease-race),
    filter 700ms var(--ease-race);
}

.story-image:hover img {
  transform: scale(1.015);
  filter: contrast(1.03);
}

.image-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
}

.image-action {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 231, 0.38);
  color: var(--bone);
  background: rgba(5, 7, 6, 0.58);
  backdrop-filter: blur(8px);
  font-size: 18px;
}

.story-copy {
  position: relative;
  padding: 28px 0 0 68px;
}

.story-index {
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--red-text);
  font-family: var(--font-numeric);
  font-size: 40px;
  line-height: 1;
}

.story-copy .section-kicker {
  margin-bottom: 8px;
  font-size: 12px;
}

.story-copy h3 {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.story-copy > p:last-child {
  max-width: 56ch;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.horse-index {
  display: grid;
  gap: 28px;
  margin-top: 88px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}

.horse-index-head h3 {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.horse-index ol {
  border-top: 1px solid var(--line);
}

.horse-index li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left var(--motion-ui) var(--ease-out),
    background-color var(--motion-ui) var(--ease-out);
}

.horse-index li:hover {
  padding-left: 8px;
  background: rgba(242, 239, 231, 0.025);
}

.horse-index li > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--red-text);
  font-family: var(--font-numeric);
  font-size: 28px;
}

.horse-index li strong {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.horse-index time {
  justify-self: start;
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.horse-index small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
}

/* Sources and footer */

.source-section {
  padding: 88px 0;
  color: var(--night);
  background:
    linear-gradient(90deg, rgba(159, 38, 30, 0.05) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--bone);
}

.source-layout {
  display: grid;
  gap: 44px;
}

.source-section .section-kicker {
  color: var(--red-dark);
}

.source-copy h2 {
  color: var(--night);
}

.source-copy > p:last-child {
  max-width: 62ch;
  margin-top: 26px;
  color: #48433c;
  font-size: 16px;
  line-height: 1.72;
}

.source-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.25);
}

.source-status {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line-dark);
}

.source-status > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-dark);
  box-shadow: 0 0 0 6px rgba(159, 38, 30, 0.1);
}

.source-status > div {
  display: grid;
  gap: 2px;
}

.source-status small {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-status strong {
  color: var(--night);
  font-size: 15px;
}

.source-panel .button {
  width: 100%;
}

.source-panel .button-ghost {
  color: var(--night);
  border-color: rgba(5, 7, 6, 0.36);
}

.source-panel .button-ghost:hover,
.source-panel .button-ghost:focus-visible {
  background: rgba(5, 7, 6, 0.06);
  border-color: var(--night);
}

.site-footer {
  padding: 54px 0 calc(30px + env(safe-area-inset-bottom));
  background: var(--night);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  gap: 36px;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  width: 50px;
  height: 50px;
  font-size: 31px;
}

.footer-brand > div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand p {
  color: var(--muted);
  font-size: 12px;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
}

.footer-top nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--motion-ui) var(--ease-out);
}

.footer-top nav a:hover,
.footer-top nav a:focus-visible {
  color: var(--red-text);
}

.footer-bottom {
  display: grid;
  gap: 9px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Lightbox */

.lightbox {
  width: min(1120px, calc(100vw - 24px));
  max-width: none;
  height: min(820px, calc(100dvh - 24px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 231, 0.24);
  color: var(--bone);
  background: var(--night);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 231, 0.34);
  color: var(--bone);
  background: rgba(5, 7, 6, 0.76);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox-close {
  top: 14px;
  right: 14px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-prev i {
  transform: rotate(180deg);
}

.lightbox-next {
  right: 14px;
}

.lightbox-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 18px 22px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 6, 0.96) 42%);
}

.lightbox-meta p {
  max-width: 75ch;
  color: var(--bone);
  font-size: 12px;
  font-weight: 650;
}

.lightbox-meta span {
  flex: 0 0 auto;
  color: var(--red-text);
  font-family: var(--font-numeric);
  font-size: 22px;
}

/* Progressive motion */

.motion-ready .hero-kicker,
.motion-ready .hero h1,
.motion-ready .hero-slogan,
.motion-ready .hero-actions,
.motion-ready .hero-data-note {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--motion-enter) var(--ease-race),
    transform var(--motion-enter) var(--ease-race);
}

.motion-ready .hero.is-entered .hero-kicker,
.motion-ready .hero.is-entered h1,
.motion-ready .hero.is-entered .hero-slogan,
.motion-ready .hero.is-entered .hero-actions,
.motion-ready .hero.is-entered .hero-data-note {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .hero.is-entered h1 {
  transition-delay: 80ms;
}

.motion-ready .hero.is-entered .hero-slogan {
  transition-delay: 150ms;
}

.motion-ready .hero.is-entered .hero-actions {
  transition-delay: 220ms;
}

.motion-ready .hero.is-entered .hero-data-note {
  transition-delay: 290ms;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--motion-enter) var(--ease-race),
    transform var(--motion-enter) var(--ease-race);
}

.motion-ready .reveal[data-motion="image"] {
  transform: translateY(18px) scale(0.99);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.motion-ready [data-motion-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--motion-enter) var(--ease-race),
    transform var(--motion-enter) var(--ease-race);
}

.motion-ready [data-motion-group].is-visible > * {
  opacity: 1;
  transform: none;
}

.motion-ready [data-motion-group].is-visible > *:nth-child(2) {
  transition-delay: 70ms;
}

.motion-ready [data-motion-group].is-visible > *:nth-child(3) {
  transition-delay: 140ms;
}

.motion-ready [data-motion-group].is-visible > *:nth-child(4) {
  transition-delay: 210ms;
}

.motion-ready [data-motion-group].is-visible > *:nth-child(5) {
  transition-delay: 280ms;
}

.motion-ready [data-motion-group].is-visible > *:nth-child(6) {
  transition-delay: 350ms;
}

.motion-ready .performance-table tbody .rate-track i {
  transform: scaleX(0);
  transition: transform 720ms var(--ease-race);
}

.motion-ready .performance-table tbody.is-visible .rate-track i {
  transform: scaleX(1);
}

.no-js .mobile-menu {
  position: static;
  display: block;
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.no-js .mobile-menu[hidden] {
  display: block !important;
}

.no-js .site-header {
  position: relative;
  top: 0;
  height: auto;
  background: var(--night);
  border-bottom-color: var(--line);
}

.no-js .header-inner {
  height: var(--header-height);
}

.no-js .menu-toggle {
  display: none;
}

/* Compact performance rows */

@media (max-width: 560px) {
  .performance-table,
  .performance-table tbody,
  .performance-table tr {
    display: block;
  }

  .performance-table {
    table-layout: auto;
  }

  .performance-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .performance-table tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px 6px;
    padding: 20px 0 19px;
  }

  .performance-table tbody tr::after {
    content: "";
    grid-column: 1 / -1;
    width: 100%;
    height: 3px;
    margin-top: 9px;
    background:
      linear-gradient(
        90deg,
        var(--bronze) 0,
        var(--red-text) var(--row-rate),
        rgba(242, 239, 231, 0.12) var(--row-rate),
        rgba(242, 239, 231, 0.12) 100%
      );
  }

  .performance-table tbody th,
  .performance-table tbody td {
    width: auto;
    padding: 0;
    text-align: left;
  }

  .performance-table tbody th {
    grid-column: 1 / 3;
    grid-row: 1;
    font-size: 27px;
  }

  .performance-table tbody td:not(.rate-cell) {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
  }

  .performance-table tbody td:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .performance-table tbody td:nth-of-type(1)::after {
    content: " koşu ·";
  }

  .performance-table tbody td:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
  }

  .performance-table tbody td:nth-of-type(2)::after {
    content: " birincilik";
  }

  .performance-table .rate-cell {
    grid-column: 3;
    grid-row: 1 / 3;
    display: grid;
    align-content: start;
    justify-items: end;
  }

  .performance-table .rate-cell strong {
    font-size: 31px;
    line-height: 0.86;
  }

  .performance-table .rate-track {
    display: none;
  }
}

/* 561px+ */

@media (min-width: 561px) {
  :root {
    --shell: min(1240px, calc(100vw - 48px));
  }

  .hero-content {
    padding-bottom: 96px;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
  }

  .hero-actions .button {
    width: auto;
  }

  .hero-source-link {
    justify-content: flex-start;
  }

  .hero-last-name {
    font-size: clamp(118px, 25vw, 174px);
  }

  .proof-item {
    padding-inline: 24px;
  }

  .profile-facts > div {
    padding-inline: 20px;
  }

  .signature-races li {
    grid-template-columns: 76px minmax(0, 1fr) 88px;
  }

  .race-name {
    padding-inline: 22px;
  }

  .race-result {
    padding-right: 22px;
  }

  .performance-table th,
  .performance-table td {
    padding: 18px 12px;
  }

  .performance-table thead th {
    font-size: 12px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* 821px+ */

@media (min-width: 821px) {
  :root {
    --shell: min(1240px, calc(100vw - 72px));
    --header-height: 82px;
  }

  body {
    font-size: 17px;
  }

  .hero {
    min-height: max(720px, 100svh);
    align-items: center;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 6, 0.18) 0%, rgba(5, 7, 6, 0.12) 44%, rgba(5, 7, 6, 0.74) 100%),
      linear-gradient(90deg, rgba(5, 7, 6, 0.98) 0%, rgba(5, 7, 6, 0.89) 45%, rgba(5, 7, 6, 0.16) 75%, rgba(5, 7, 6, 0.06) 100%);
  }

  .hero-grid {
    left: max(36px, calc((100vw - 1240px) / 2));
    right: max(36px, calc((100vw - 1240px) / 2));
    background:
      linear-gradient(90deg, transparent calc(58.333% - 0.5px), rgba(242, 239, 231, 0.15) 58.333%, transparent calc(58.333% + 0.5px)),
      repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(242, 239, 231, 0.045) 8.333%);
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 70px);
    padding-bottom: 72px;
  }

  .hero-kicker {
    max-width: none;
    margin-bottom: 32px;
  }

  .hero-first-name {
    margin-bottom: 18px;
    font-size: 46px;
  }

  .hero-last-name {
    font-size: clamp(168px, 16.5vw, 236px);
  }

  .hero-slogan {
    margin-top: 38px;
    padding-top: 28px;
    font-size: clamp(50px, 5vw, 66px);
  }

  .hero-actions {
    margin-top: 36px;
  }

  .hero-race-note {
    position: absolute;
    right: max(36px, calc((100vw - 1240px) / 2));
    bottom: 76px;
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    gap: 0 14px;
    min-width: 210px;
    padding: 17px 0 0;
    border-top: 1px solid rgba(242, 239, 231, 0.42);
  }

  .hero-race-note > span {
    grid-column: 1 / -1;
    margin-bottom: 6px;
    color: var(--red-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
  }

  .hero-race-note strong {
    color: var(--bone);
    font-family: var(--font-numeric);
    font-size: 70px;
    line-height: 0.8;
  }

  .hero-race-note small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .hero-disclaimer {
    top: calc(var(--header-height) + 24px);
    right: max(36px, calc((100vw - 1240px) / 2));
  }

  .scroll-cue {
    position: absolute;
    bottom: 35px;
    left: max(36px, calc((100vw - 1240px) / 2));
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .scroll-cue i {
    color: var(--red-text);
    animation: scroll-cue 1.7s ease-in-out infinite;
  }

  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-item {
    min-height: 190px;
    border-right: 1px solid rgba(185, 154, 97, 0.32);
    border-bottom: 0;
  }

  .proof-item:nth-child(2n) {
    border-right: 1px solid rgba(185, 154, 97, 0.32);
  }

  .proof-item:last-child {
    border-right: 0;
  }

  .proof-item strong {
    font-size: clamp(72px, 8vw, 112px);
  }

  .profile-section,
  .performance-section,
  .archive-section {
    padding-block: 132px;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 72px;
  }

  .profile-visual,
  .profile-visual img {
    min-height: 690px;
  }

  .profile-content h2,
  .performance-head h2,
  .archive-head h2,
  .source-copy h2 {
    font-size: clamp(78px, 8vw, 114px);
  }

  .profile-content h2 {
    font-size: clamp(68px, 6.5vw, 94px);
  }

  .profile-lede {
    font-size: 20px;
  }

  .signature-section {
    min-height: 880px;
    padding-block: 124px;
  }

  .signature-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 6, 0.97) 0%, rgba(5, 7, 6, 0.88) 48%, rgba(5, 7, 6, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 7, 6, 0.22), rgba(5, 7, 6, 0.7) 100%);
  }

  .signature-head h2 {
    font-size: clamp(92px, 8.5vw, 132px);
  }

  .signature-figure {
    top: -72px;
    right: -30px;
    font-size: 280px;
  }

  .signature-disclaimer {
    right: max(36px, calc((100vw - 1240px) / 2));
    bottom: 26px;
  }

  .horse-index li {
    grid-template-columns: 42px minmax(180px, 1.2fr) 120px minmax(160px, 1fr);
    align-items: center;
    gap: 14px;
  }

  .horse-index li > span {
    grid-row: auto;
  }

  .horse-index time {
    justify-self: end;
  }

  .horse-index small {
    grid-column: auto;
    text-align: right;
  }

  .career-section {
    padding-block: 128px;
  }

  .career-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 88px;
  }

  .career-intro > h2 {
    font-size: clamp(84px, 8vw, 116px);
  }

  .season-snapshot {
    margin-top: 52px;
  }

  .timeline li {
    grid-template-columns: 108px 1fr;
    gap: 25px;
    min-height: 180px;
    padding: 38px 0 38px 58px;
  }

  .timeline time {
    font-size: 58px;
  }

  .timeline h3 {
    font-size: 32px;
  }

  .performance-head,
  .archive-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
    align-items: end;
    gap: 72px;
  }

  .performance-table-wrap {
    margin-top: 72px;
  }

  .performance-table tbody th,
  .performance-table tbody td {
    font-size: 31px;
  }

  .rate-cell strong {
    font-size: 31px;
  }

  .ratio-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 88px;
  }

  .ratio-strip article {
    min-height: 310px;
    border-bottom: 0;
  }

  .ratio-strip strong {
    font-size: clamp(94px, 8vw, 124px);
  }

  .archive-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    margin-top: 78px;
  }

  .story-card-offset {
    margin-top: 100px;
  }

  .story-image,
  .story-image img {
    min-height: 480px;
  }

  .horse-index {
    margin-top: 120px;
  }

  .source-section {
    padding-block: 108px;
  }

  .source-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: 90px;
  }

  .source-panel {
    padding: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-top nav {
    justify-content: flex-end;
  }
}

/* 1081px+ */

@media (min-width: 1081px) {
  .no-js .mobile-menu[hidden] {
    display: none !important;
  }

  .hero {
    min-height: max(820px, 100svh);
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2vw, 34px);
    margin-left: auto;
  }

  .desktop-nav a {
    position: relative;
    padding-block: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition: color var(--motion-ui) var(--ease-out);
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--red-text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--motion-ui) var(--ease-out);
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible,
  .desktop-nav a.is-active {
    color: var(--bone);
  }

  .desktop-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
    color: var(--bone-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--motion-ui) var(--ease-out);
  }

  .header-link:hover,
  .header-link:focus-visible {
    color: var(--red-text);
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-content {
    max-width: 69%;
    margin-left: max(36px, calc((100vw - 1240px) / 2));
    margin-right: 0;
  }

  .hero-last-name {
    font-size: clamp(190px, 17vw, 246px);
  }

  .signature-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 74px;
  }

  .signature-transparency {
    grid-column: 2;
  }

  .horse-index {
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
    gap: 66px;
  }
}

@media (min-width: 821px) and (max-width: 899px) {
  .career-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 430px) {
  .hero-kicker {
    max-width: 300px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .hero-data-note {
    font-size: 12px;
  }

  .profile-visual,
  .profile-visual img {
    min-height: 410px;
  }

  .profile-visual figcaption {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .profile-visual figcaption strong {
    max-width: none;
    text-align: left;
  }

}

@media (max-width: 360px) {
  :root {
    --shell: min(1240px, calc(100vw - 24px));
  }

  .brand-copy {
    display: none;
  }

  .hero-grid {
    left: 12px;
    right: 12px;
  }

  .hero-last-name {
    font-size: 94px;
  }

  .hero-slogan {
    font-size: 34px;
  }

  .proof-item {
    min-height: 126px;
    padding-inline: 10px;
  }

  .profile-facts > div {
    padding-inline: 10px;
  }

  .signature-races li {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .race-index {
    font-size: 34px;
  }

  .race-name {
    padding-inline: 10px;
  }

  .race-name strong {
    font-size: 27px;
  }

  .race-result {
    padding-right: 10px;
  }

  .timeline li {
    grid-template-columns: 60px minmax(0, 1fr);
    padding-left: 40px;
  }

  .timeline time {
    font-size: 38px;
  }

  .story-copy {
    padding-left: 56px;
  }
}

@media (max-height: 680px) and (max-width: 820px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 40px;
  }

  .hero-kicker {
    margin-bottom: 15px;
  }

  .hero-first-name {
    margin-bottom: 8px;
    font-size: 30px;
  }

  .hero-last-name {
    font-size: 86px;
  }

  .hero-slogan {
    margin-top: 20px;
    padding-top: 18px;
    font-size: 31px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-data-note {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 960px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    max-width: 62%;
  }

  .hero-media img {
    object-position: 75% center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .signature-races li:hover,
  .horse-index li:hover,
  .profile-visual:hover img,
  .story-image:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .hero-kicker,
  .motion-ready .hero h1,
  .motion-ready .hero-slogan,
  .motion-ready .hero-actions,
  .motion-ready .hero-data-note,
  .motion-ready .reveal,
  .motion-ready [data-motion-group] > * {
    opacity: 1;
    transform: none;
  }

  .motion-ready .performance-table tbody .rate-track i {
    transform: scaleX(1);
  }
}
