:root {
  --ink: #2a3439;
  --ink-soft: #2a3439;
  --paper: #d9dcda;
  --paper-bright: #eef0ed;
  --muted: #9da2a0;
  --turquoise: #87d003;
  --turquoise-deep: #87d003;
  --red: #f04444;
  --line: rgba(255, 255, 255, .18);
  --corner: 5px;
  --panel-gap: clamp(16px, 2.5vw, 38px);
  --panel-radius: clamp(8px, .9vw, 13px);
  --panel-cut: clamp(36px, 3.4vw, 56px);
  --panel-cut-soft: 3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { scroll-behavior: smooth; line-height: 1.5; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { display: grid; gap: var(--panel-gap); padding: var(--panel-gap); background: var(--ink); }
.hero, .about, .sponsors, .moments, .machine, .partnership, .contact, .bio-hero, footer { border-radius: var(--panel-radius); clip-path: polygon(calc(var(--panel-cut) + var(--panel-cut-soft)) 0, 100% 0, 100% calc(100% - var(--panel-cut) - var(--panel-cut-soft)), calc(100% - 1px) calc(100% - var(--panel-cut)), calc(100% - var(--panel-cut)) calc(100% - 1px), calc(100% - var(--panel-cut) - var(--panel-cut-soft)) 100%, 0 100%, 0 calc(var(--panel-cut) + var(--panel-cut-soft)), 1px var(--panel-cut), var(--panel-cut) 1px); }
.hero, .about, .sponsors, .moments, .machine, .partnership, .contact { scroll-margin-top: var(--panel-gap); }
img { display: block; max-width: 100%; border-radius: var(--corner); }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }
.section-kicker { margin: 0; color: var(--turquoise); text-transform: uppercase; font-size: 11px; letter-spacing: .2em; font-weight: 800; }

.hero { --photo-start: clamp(280px, 27vw, 420px); min-height: calc(100svh - (var(--panel-gap) * 2)); position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-radius: var(--panel-radius); background: var(--ink-soft); }
.hero-photo { position: absolute; inset: 0 0 0 var(--photo-start); z-index: -3; border-radius: 0 0 0 var(--corner); background: #2a3439 url('assets/valerio-hero.jpg') 18% 42% / cover no-repeat; }
.hero-shape { position: absolute; inset: 0 auto 0 0; z-index: -1; width: clamp(400px, 39vw, 600px); border-radius: 0 0 var(--corner) 0; background: var(--turquoise); clip-path: polygon(0 0, var(--photo-start) 0, 100% 100%, 0 100%); }
.hero-shape-number { position: absolute; z-index: 1; top: calc(clamp(24px, 3vw, 42px) - 20px); left: calc(var(--photo-start) + clamp(22px, 2.5vw, 38px)); width: clamp(150px, 14vw, 220px); aspect-ratio: 1.6; background: url('assets/number-14-transparent.png') center / contain no-repeat; }
.hero-track { position: absolute; top: calc(32% - 20px); left: clamp(30px, 3.6vw, 54px); width: clamp(245px, 23vw, 350px); transform: translateY(-50%) rotate(-8deg); transform-origin: center; }
.hero-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-track-base, .hero-track-runner { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-track-base { stroke: rgba(42,52,57,.55); stroke-width: 5px; }
.hero-track-runner { stroke: #fff; stroke-width: 10px; stroke-dasharray: 5 95; filter: drop-shadow(0 0 4px rgba(255,255,255,.35)); animation: mugello-lap 5.4s linear infinite; }
@keyframes mugello-lap { to { stroke-dashoffset: -100; } }
.hero-nav { position: absolute; z-index: 3; top: clamp(24px, 3vw, 42px); right: clamp(24px, 3vw, 48px); display: flex; justify-content: flex-end; gap: 8px; }
.hero-nav a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--corner); background: var(--ink); color: #cbd0d2; text-align: center; text-transform: uppercase; font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .13em; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.hero-nav a:hover, .hero-nav a:focus-visible { border-color: var(--turquoise); background: var(--turquoise); color: #fff; }
.hero-nav .hero-nav-social { padding-inline: 11px; color: #cbd0d2; }
.hero-nav-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-nav-social .instagram-dot { fill: currentColor; stroke: none; }
.hero-shadow { position: absolute; inset: auto 0 0 var(--photo-start); z-index: -2; height: 48%; background: linear-gradient(0deg, rgba(42,52,57,.88) 0%, rgba(42,52,57,.48) 44%, transparent 100%); }
.hero-content { position: relative; z-index: 1; width: min(1380px, calc(100% - 64px)); margin: 0 32px; padding-bottom: clamp(56px, 8vh, 92px); text-align: left; }
.eyebrow { margin: 0 0 24px; color: #fff; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; }
.eyebrow span { color: var(--ink); }
h1 { margin: 0; font-size: clamp(82px, 12vw, 190px); line-height: .72; letter-spacing: -.075em; text-transform: uppercase; font-style: italic; font-weight: 950; color: #f1f2ef; }
h1 em { color: transparent; -webkit-text-stroke: 2px rgba(241,242,239,.9); font-style: inherit; }

.section-light { border-radius: var(--panel-radius); background: var(--paper); color: var(--ink); }
.about { position: relative; overflow: hidden; padding: 150px 0 170px; }
.about::before { content: ''; position: absolute; left: -8vw; top: 20%; width: 30vw; height: 1px; background: rgba(42,52,57,.22); transform: rotate(-28deg); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: clamp(80px, 10vw, 160px); align-items: center; }
.about-copy h2, .section-heading h2, .machine-panel h2, .partnership-panel h2 { margin: 30px 0 0; text-transform: uppercase; font-style: italic; font-weight: 950; letter-spacing: -.07em; }
.about-copy h2 { font-size: clamp(64px, 7.6vw, 120px); line-height: .8; }
.about-copy h2 span { color: var(--turquoise); }
.lead { max-width: 700px; margin: 54px 0 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.body-copy { max-width: 580px; margin: 24px 0 0; color: #555a58; font-size: 16px; line-height: 1.65; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 700px; margin-top: 62px; border-top: 1px solid rgba(42,52,57,.28); }
.stat-row div { padding: 24px 20px 0 0; border-right: 1px solid rgba(42,52,57,.22); }
.stat-row div + div { padding-left: 20px; }
.stat-row div:last-child { border-right: 0; }
.stat-row strong { display: block; color: var(--turquoise-deep); font-size: clamp(25px, 3vw, 42px); line-height: 1; letter-spacing: -.06em; }
.stat-row span { display: block; margin-top: 10px; color: #4b504e; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.racing-portrait { position: relative; min-height: 660px; }
.portrait-image-wrap { position: absolute; inset: 51px 33px 35px 19px; overflow: hidden; border-radius: var(--corner); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); background: var(--ink); }
.portrait-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,52,57,.62), transparent 48%); }
.portrait-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; filter: saturate(.82) contrast(1.05); }
.portrait-outline { position: absolute; inset: 24px 4px 14px 60px; border: 2px solid var(--turquoise); border-radius: var(--corner); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.portrait-number { position: absolute; right: 8px; top: -78px; z-index: 1; color: rgba(42,52,57,.1); font-size: 200px; line-height: 1; font-weight: 950; font-style: italic; letter-spacing: -.12em; pointer-events: none; }
.portrait-tag { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 18px 26px; border-radius: 0 var(--corner) var(--corner) 0; background: var(--ink); color: white; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.portrait-tag span { color: var(--turquoise); }
.portrait-stripe { position: absolute; right: 0; top: 38%; width: 8px; height: 120px; background: var(--red); transform: skewY(-25deg); }

.sponsors { position: relative; padding: clamp(52px, 5vw, 72px) 0 clamp(44px, 4vw, 58px); overflow: hidden; }
.sponsors::after { content: '14'; position: absolute; right: -1vw; bottom: -5vw; color: rgba(42,52,57,.035); font-size: 22vw; line-height: .8; font-style: italic; font-weight: 950; pointer-events: none; }
.sponsor-heading { position: relative; z-index: 1; display: flex; flex-direction: row-reverse; align-items: end; justify-content: space-between; gap: 70px; }
.sponsor-heading h2 { margin-top: 18px; text-transform: uppercase; font-size: clamp(58px, 6.3vw, 90px); line-height: .76; font-style: italic; font-weight: 950; letter-spacing: -.07em; }
.sponsor-heading h2 em { color: var(--turquoise); font-style: inherit; }
.sponsor-heading > p { width: min(390px, 100%); margin-bottom: 8px; color: #555a58; font-size: 15px; line-height: 1.7; }
.sponsor-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(38px, 4vw, 54px); border-top: 1px solid rgba(42,52,57,.22); border-bottom: 1px solid rgba(42,52,57,.22); }
.sponsor-grid div { min-height: 128px; display: flex; align-items: center; justify-content: center; padding: 18px 14px; border-right: 1px solid rgba(42,52,57,.18); text-align: center; }
.sponsor-grid div:last-child { border-right: 0; }
.sponsor-grid img { display: block; width: 100%; height: 76px; object-fit: contain; }

.moments { position: relative; padding: clamp(52px, 5vw, 72px) 0 0; border-radius: var(--panel-radius); background: var(--paper); color: var(--ink); overflow: hidden; }
.moments::after { content: 'RACING'; position: absolute; right: -4vw; bottom: -4vw; color: rgba(42,52,57,.035); font-size: 20vw; line-height: .8; font-style: italic; font-weight: 950; letter-spacing: -.09em; pointer-events: none; }
.heading-dark { display: flex; justify-content: space-between; gap: 70px; align-items: end; }
.heading-dark .section-kicker { color: var(--turquoise); }
.section-heading h2 { color: var(--paper-bright); font-size: clamp(70px, 9vw, 138px); line-height: .76; }
.section-heading h2 em { color: transparent; -webkit-text-stroke: 1.5px rgba(217,220,218,.75); }
.section-heading > p { width: min(380px, 100%); margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.moments .section-heading h2 { color: var(--ink); }
.moments .section-heading h2 { font-size: clamp(58px, 6.3vw, 90px); }
.moments .section-heading h2 em { -webkit-text-stroke-color: rgba(42,52,57,.68); }
.moments .section-heading > p { color: #555a58; }
.moments-strip { width: 100%; margin-top: clamp(34px, 4vw, 52px); overflow: hidden; }
.moments-track { --slide-width: clamp(300px, 34vw, 520px); display: flex; width: max-content; gap: 14px; padding: 0 0 clamp(38px, 4vw, 56px); animation: paddock-scroll 42s linear infinite; }
.moments-strip:hover .moments-track { animation-play-state: paused; }
.moment-slide { flex: 0 0 var(--slide-width); width: var(--slide-width); height: clamp(220px, 21vw, 290px); margin: 0; overflow: hidden; border-radius: var(--corner); background: var(--ink); clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.moment-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@keyframes paddock-scroll { to { transform: translateX(calc(-50% - 7px)); } }

.machine { position: relative; display: flex; align-items: flex-end; min-height: 920px; overflow: hidden; border-radius: var(--panel-radius); background: #cfd1d0; color: var(--ink); }
.machine-visual { position: absolute; inset: 0; overflow: hidden; background: #cfd1d0 url('assets/moto5-render.png') center / cover no-repeat; }
.machine-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center top; border-radius: 0; }
.machine-visual-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,52,57,.24), transparent 55%); }
.machine-word { position: absolute; left: -15px; bottom: 48px; z-index: 1; color: rgba(255,255,255,.15); font-size: clamp(90px, 10vw, 180px); font-weight: 950; font-style: italic; letter-spacing: -.09em; line-height: .8; }
.machine-caption { position: absolute; top: 40px; left: 42px; z-index: 1; margin: 0; color: white; text-transform: uppercase; font-size: 10px; letter-spacing: .19em; font-weight: 800; }
.machine-panel { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: clamp(54px, 7vw, 110px); align-items: center; width: 100%; margin: 0; padding: clamp(30px, 3.5vh, 46px) max(32px, calc((100% - 1380px) / 2)); border-top: 1px solid rgba(255,255,255,.45); background: rgba(217,220,218,.4); -webkit-backdrop-filter: blur(9px) brightness(1.18) saturate(.75); backdrop-filter: blur(9px) brightness(1.18) saturate(.75); }
.machine-panel h2 { font-size: clamp(48px, 4.8vw, 76px); line-height: .8; }
.machine-panel h2 em { color: var(--turquoise-deep); font-style: inherit; }
.machine-panel h2 em, .machine-panel .section-kicker, .machine-panel .race-result strong { text-shadow: 0 1px 2px rgba(42,52,57,.38); }
.machine-panel .section-kicker { display: inline-block; width: max-content; padding: 6px 10px; border-radius: var(--corner); background: rgba(42,52,57,.88); text-shadow: none; }
.machine-intro { max-width: 680px; margin: 24px 0 0; color: var(--ink); font-size: 14px; line-height: 1.48; font-weight: 500; }
.machine-intro span { display: block; }
.machine-intro span + span { margin-top: 16px; }
.race-result { padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(42,52,57,.25); }
.race-result > span { text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.race-result > strong { display: block; margin-top: 6px; color: var(--turquoise-deep); font-size: clamp(22px, 2.2vw, 32px); line-height: 1; letter-spacing: -.035em; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; }
.spec-grid div { padding: 0 20px 24px 0; }
.spec-grid div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(42,52,57,.18); }
.spec-grid dt { color: #767b79; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.spec-grid dd { margin: 8px 0 0; font-size: 15px; font-weight: 800; }

.partnership { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: var(--panel-radius); background: var(--paper); color: var(--ink); }
.partnership-visual { position: relative; min-height: 720px; overflow: hidden; background: var(--ink-soft); }
.partnership-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; border-radius: 0; }
.partnership-visual-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(42,52,57,.68)), linear-gradient(0deg, rgba(42,52,57,.75), transparent 50%); }
.partnership-word { position: absolute; left: -15px; bottom: 48px; color: rgba(255,255,255,.15); font-size: clamp(70px, 8vw, 130px); font-weight: 950; font-style: italic; letter-spacing: -.09em; line-height: .8; }
.partnership-caption { position: absolute; top: 40px; left: 42px; color: white; text-transform: uppercase; font-size: 10px; letter-spacing: .19em; font-weight: 800; }
.partnership-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vh, 62px) clamp(36px, 4vw, 64px); }
.partnership-panel h2 { margin-top: 20px; font-size: clamp(48px, 5.1vw, 74px); line-height: .78; }
.partnership-panel h2 em { color: var(--turquoise); font-style: inherit; }
.partnership-copy { position: relative; margin-top: 34px; padding: clamp(30px, 3vw, 44px); overflow: hidden; border-radius: var(--corner); background: var(--ink); color: #dce0e1; clip-path: polygon(8% 0, 100% 0, 100% 88%, 92% 100%, 0 100%, 0 12%); }
.partnership-copy::after { content: '05'; position: absolute; right: -8px; bottom: -20px; color: rgba(255,255,255,.045); font-size: clamp(120px, 14vw, 210px); line-height: .8; font-style: italic; font-weight: 950; pointer-events: none; }
.partnership-label { color: var(--turquoise); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.partnership-copy > p:not(.partnership-label) { position: relative; z-index: 1; margin-top: 22px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; }
.partnership-mark { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 14px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.partnership-mark strong { color: var(--turquoise); font-size: 44px; line-height: 1; letter-spacing: -.06em; }
.partnership-mark span { text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .16em; }

.contact { overflow: hidden; border-radius: var(--panel-radius); background: var(--paper); color: var(--ink); }
.contact-body { height: 100%; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 8vw, 120px); align-items: center; padding-block: clamp(42px, 5vh, 64px); }
.contact-heading h2 { margin-top: 24px; text-transform: uppercase; font-size: clamp(62px, 6.4vw, 98px); line-height: .78; font-style: italic; font-weight: 950; letter-spacing: -.07em; }
.contact-heading h2 span { color: var(--turquoise); }
.contact-heading > p:last-child { max-width: 470px; margin-top: 30px; color: #555a58; font-size: 15px; line-height: 1.6; }
.contact-form { padding: clamp(30px, 3.5vw, 50px); border-radius: var(--corner); background: var(--paper-bright); }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.contact-fields label { display: grid; gap: 8px; }
.contact-fields label > span { color: #656b6e; text-transform: uppercase; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.contact-fields input, .contact-fields textarea { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(42,52,57,.3); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; resize: vertical; }
.contact-fields input:focus, .contact-fields textarea:focus { border-color: var(--turquoise); box-shadow: 0 2px 0 var(--turquoise); }
.contact-message { grid-column: 1 / -1; }
.contact-submit { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.contact-submit button { padding: 13px 18px; border-radius: var(--corner); background: var(--ink); color: #cbd0d2; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .14em; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.contact-submit button:hover, .contact-submit button:focus-visible { background: var(--turquoise); color: #fff; }
.contact-submit p { color: #777d80; font-size: 11px; }
footer { --panel-cut: 24px; border: 1px solid rgba(42,52,57,.08); border-radius: var(--panel-radius); background: var(--paper); }
.footer-inner { width: min(1380px, calc(100% - 64px)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #555a58; text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.footer-inner a { color: var(--turquoise); transition: color .2s ease; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: white; }
:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 4px; }

.bio-page { min-height: 100svh; display: block; }
.bio-hero { min-height: calc(100svh - (var(--panel-gap) * 2)); display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; }
.bio-image-wrap { position: relative; min-height: 720px; overflow: hidden; background: var(--ink); }
.bio-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,52,57,.55), transparent 46%); pointer-events: none; }
.bio-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; border-radius: 0; }
.bio-number { position: absolute; z-index: 1; left: clamp(28px, 4vw, 64px); bottom: clamp(24px, 4vw, 56px); color: rgba(255,255,255,.16); font-size: clamp(110px, 14vw, 220px); line-height: .72; font-weight: 950; font-style: italic; letter-spacing: -.1em; }
.bio-content { position: relative; display: flex; align-items: center; padding: clamp(72px, 8vh, 104px) clamp(38px, 5vw, 82px); }
.bio-nav { position: absolute; top: 28px; right: clamp(28px, 3vw, 46px); display: flex; gap: 8px; }
.bio-nav a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(42,52,57,.14); border-radius: var(--corner); background: var(--ink); color: #cbd0d2; text-transform: uppercase; font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .13em; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.bio-nav a:hover, .bio-nav a:focus-visible { border-color: var(--turquoise); background: var(--turquoise); color: #fff; }
.bio-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bio-nav .instagram-dot { fill: currentColor; stroke: none; }
.bio-copy { width: min(100%, 620px); }
.bio-copy h1 { margin-top: 24px; color: var(--ink); font-size: clamp(58px, 5.2vw, 82px); line-height: .78; }
.bio-copy h1 em { color: var(--turquoise); -webkit-text-stroke: 0; }
.bio-lead { margin-top: clamp(28px, 3.5vh, 42px); color: var(--ink); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.bio-body { margin-top: 20px; color: #555a58; font-size: 15px; line-height: 1.65; }
.bio-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(34px, 5vh, 54px); border-top: 1px solid rgba(42,52,57,.24); }
.bio-facts span { padding: 20px 16px 0 0; color: #656b6e; text-transform: uppercase; font-size: 8px; line-height: 1.45; font-weight: 800; letter-spacing: .13em; }
.bio-facts strong { display: block; margin-bottom: 6px; color: var(--turquoise); font-size: clamp(22px, 2.2vw, 34px); line-height: 1; letter-spacing: -.04em; text-transform: none; }

.bio-details { min-height: calc(100svh - (var(--panel-gap) * 2)); display: grid; grid-template-columns: 1fr 1fr; gap: var(--panel-gap); margin-top: var(--panel-gap); }
.bio-career, .bio-social { min-width: 0; min-height: 720px; overflow: hidden; border-radius: var(--panel-radius); clip-path: polygon(calc(var(--panel-cut) + var(--panel-cut-soft)) 0, 100% 0, 100% calc(100% - var(--panel-cut) - var(--panel-cut-soft)), calc(100% - 1px) calc(100% - var(--panel-cut)), calc(100% - var(--panel-cut)) calc(100% - 1px), calc(100% - var(--panel-cut) - var(--panel-cut-soft)) 100%, 0 100%, 0 calc(var(--panel-cut) + var(--panel-cut-soft)), 1px var(--panel-cut), var(--panel-cut) 1px); }
.bio-career { padding: clamp(40px, 4vw, 60px); }
.bio-career h2, .bio-social h2 { margin-top: 18px; text-transform: uppercase; font-size: clamp(48px, 4.7vw, 72px); line-height: .78; font-style: italic; font-weight: 950; letter-spacing: -.07em; }
.bio-career h2 em, .bio-social h2 em { color: var(--turquoise); font-style: inherit; }
.career-years { display: grid; gap: 14px; margin-top: clamp(22px, 2.5vh, 32px); }
.career-year { padding-top: 10px; border-top: 1px solid rgba(42,52,57,.22); }
.career-year h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: var(--turquoise); font-size: 22px; line-height: 1; }
.career-year h3 span { color: #656b6e; text-align: right; text-transform: uppercase; font-size: 8px; letter-spacing: .14em; }
.career-year ul { list-style: none; margin-top: 8px; }
.career-year li { display: grid; grid-template-columns: minmax(110px, .62fr) 1.38fr; gap: 12px; padding: 3px 0; color: #626765; font-size: 11px; line-height: 1.25; }
.career-year li strong { color: var(--ink); font-size: 12px; }
.bio-social { display: flex; flex-direction: column; align-items: center; padding: clamp(48px, 5vw, 74px); background: var(--paper); color: var(--ink); }
.social-heading { width: min(100%, 520px); }
.social-heading > p:last-child { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.instagram-embed { width: min(76%, 380px); min-height: 0; aspect-ratio: .7; position: relative; margin-top: 28px; overflow: hidden; border-radius: var(--corner); background: #000; }
.instagram-embed .instagram-media { position: absolute !important; top: -52px; left: 0; width: 142% !important; max-width: none !important; min-width: 0 !important; height: 800px !important; margin: 0 !important; transform: translateX(-14.8%); }

@media (min-width: 901px) {
  .about, .machine, .partnership { height: calc(100svh - (var(--panel-gap) * 2)); min-height: 720px; }
  .contact { height: calc(100svh - (var(--panel-gap) * 3) - 74px); min-height: 600px; }
  .bio-hero { height: calc(100svh - (var(--panel-gap) * 2)); min-height: 720px; }
  .bio-details { height: calc(100svh - (var(--panel-gap) * 2)); min-height: 720px; }
  .bio-career, .bio-social { min-height: 0; }
  .bio-image-wrap { min-height: 0; }
  .about { display: flex; align-items: center; padding: clamp(64px, 8vh, 100px) 0; }
  .about-grid { gap: clamp(52px, 6vw, 90px); }
  .about-copy h2 { margin-top: 20px; font-size: clamp(54px, 5.8vw, 88px); }
  .lead { margin-top: clamp(24px, 3vh, 36px); font-size: clamp(17px, 1.55vw, 22px); }
  .body-copy { margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .stat-row { margin-top: clamp(24px, 3vh, 36px); }
  .stat-row div { padding-top: 18px; }
  .racing-portrait { min-height: min(66vh, 600px); }
  .moments > .section-shell { width: min(1380px, calc(100% - 64px)); }
  .section-heading h2 { font-size: clamp(58px, 7.5vw, 108px); }
  .machine-visual, .partnership-visual { min-height: 0; }
  .machine-panel h2 { margin-top: 18px; }
  .machine-intro span + span { margin-top: 10px; }
  .spec-grid div { padding-bottom: 15px; }
}

@media (min-width: 781px) and (max-width: 1100px) {
  .hero-nav { right: 24px; gap: 5px; }
  .hero-nav a { padding: 9px 10px; font-size: 8px; letter-spacing: .1em; }
  .hero-nav .hero-nav-social { padding-inline: 9px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr 430px; gap: 50px; }
  .racing-portrait { min-height: 560px; }
  .machine { min-height: 1120px; }
  .machine-visual img { object-fit: cover; object-position: center; }
  .machine-panel { grid-template-columns: 1fr; gap: 52px; padding: 80px 32px; }
  .partnership { grid-template-columns: 1fr; }
  .partnership-visual { min-height: 720px; }
  .partnership-panel { padding-block: 100px; }
  .contact-body { grid-template-columns: 1fr; gap: 52px; padding-block: 100px 70px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; padding: 24px 0; white-space: normal; text-align: center; }
}

@media (max-width: 780px) {
  .section-shell { width: calc(100% - 36px); }
  .hero { --photo-start: clamp(110px, 30vw, 180px); min-height: 820px; }
  .hero-photo { background-position: 20% center; }
  .hero-shape { width: 72vw; }
  .hero-shape-number { top: 24px; left: 14px; }
  .hero-nav { top: 22px; right: 18px; width: 122px; flex-direction: column; gap: 6px; }
  .hero-nav a { padding: 8px 10px; font-size: 8px; text-align: center; }
  .hero-nav .hero-nav-social { width: 34px; align-self: flex-end; padding-inline: 0; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px; padding-bottom: 84px; }
  h1 { font-size: clamp(70px, 24vw, 110px); line-height: .78; }
  h1 em { -webkit-text-stroke-width: 1px; }
  .about { padding: 100px 0 115px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy h2 { font-size: clamp(58px, 18vw, 90px); }
  .lead { margin-top: 40px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row div, .stat-row div + div { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(42,52,57,.18); }
  .racing-portrait { min-height: 540px; margin-top: 20px; }
  .portrait-image-wrap { inset: 37px 15px 25px 3px; }
  .portrait-outline { inset: 20px 0 12px 35px; }
  .portrait-number { right: 6px; top: -30px; font-size: 140px; }
  .moments { padding: 72px 0 0; }
  .heading-dark { display: block; }
  .section-heading h2 { font-size: clamp(65px, 21vw, 104px); }
  .section-heading > p { margin-top: 38px; }
  .moments .section-heading h2 { font-size: clamp(58px, 18vw, 90px); }
  .moments-track { --slide-width: min(78vw, 390px); }
  .moment-slide { height: 250px; }
  .machine-panel { width: 100%; padding: 80px 18px; }
  .machine-panel h2 { font-size: clamp(54px, 15vw, 82px); }
  .footer-inner { width: calc(100% - 36px); flex-direction: column; gap: 13px; }
  .bio-hero { grid-template-columns: 1fr; }
  .bio-image-wrap { height: 62svh; min-height: 0; }
  .bio-content { padding: 100px 24px 80px; }
  .bio-copy h1 { font-size: clamp(58px, 18vw, 88px); }
  .bio-nav { top: 24px; right: 24px; }
  .partnership-visual { min-height: 620px; }
  .partnership-panel { padding: 90px 24px; }
  .partnership-panel h2 { font-size: clamp(54px, 15vw, 82px); }
  .partnership-copy { padding: 48px 28px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-message { grid-column: auto; }
  .contact-submit { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 68px; }
  .eyebrow { font-size: 10px; }
  .machine { min-height: 1180px; }
  .machine-panel { width: 100%; }
  .partnership-visual { min-height: 520px; }
  .partnership-panel { padding-inline: 18px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
  .bio-image-wrap { height: 56svh; min-height: 0; }
  .bio-content { padding-inline: 18px; }
  .bio-facts { grid-template-columns: 1fr; }
  .bio-facts span { padding-bottom: 16px; border-bottom: 1px solid rgba(42,52,57,.14); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .moments-strip { overflow-x: auto; }
  .moments-track { animation: none; }
  .hero-track-runner { animation: none; }
}
