/* Equipe Morcego: dark earth, racing typography and motion in visible sections.
   The header uses backdrop glass; cards use translucent layers without additional blur. */
:root {
  color-scheme: dark;
  --primary: #ff7a28; --primary-hover: #ff9652; --accent: #ef5237;
  --bg-dark: #11100f; --surface: #1d1b19; --bg-card: #1d1b19;
  --surface-hover: #29241f; --surface-active: #382c23;
  --border: rgba(231, 206, 187, .15); --text-main: #f5f0e9; --text-muted: #b8b0a8;
  --font-heading: 'Inter', system-ui, sans-serif;
  --glass-fill: linear-gradient(135deg, rgba(255, 230, 210, .065), rgba(255, 255, 255, .012)), rgba(27, 24, 22, .88);
}
html { background: var(--bg-dark); scroll-padding-top: 130px; }
body { background: radial-gradient(ellipse at 85% 35%, #44201435, transparent 46%), #11100f; }
.homologation-notice { position: relative; z-index: 101; padding: 12px 20px; background: #ffb479; color: #24160d; text-align: center; font-size: 13px; line-height: 1.5; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.13; }
h2 em { font-style: normal; color: #ff8c43; }
a:hover, .text-link:hover { color: #ffab72; }
::selection { color: #130e0a; background: #ff9451; }
.section-space { padding-block: clamp(64px, 7vw, 108px); }
.section-heading { margin-bottom: 44px; }
.eyebrow, .event-facts svg, .event-detail-item svg, .benefit-list svg { color: #ff9c5d; }
.eyebrow { font-size: 11px; letter-spacing: .16em; }
.btn { font-family: 'Inter', sans-serif; font-weight: 700; }
.btn-primary { box-shadow: 0 8px 28px #d94b1826, inset 0 1px #ffc89e80; }
.btn-primary:hover { box-shadow: 0 10px 32px #d94b183d; }
.btn-dark, .btn-secondary, .btn-light { background: #ffffff09; color: #f5f0e9; border-color: var(--border); }
.btn-dark:hover, .btn-secondary:hover, .btn-light:hover { background: #ffffff12; color: #fff; border-color: #ff9b5650; }
.navbar { width: min(1280px, calc(100% - 64px)); margin: 16px auto 0; top: 16px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-container { width: 100%; height: 94px; padding: 9px 28px; border: 1px solid #ffffff26; border-radius: 999px; background: linear-gradient(120deg, #ffffff0a, #ffffff02), #181614bd; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px #ffffff0b, 0 10px 40px #00000030; }
.brand-logo img { width: 80px; height: 62px; object-fit: contain; }
.desktop-navigation { gap: 28px; }
.nav-link { color: #cfc7bf; position: relative; font-family: Inter, sans-serif; font-weight: 500; }
.nav-link.active { color: #ff9956; }
.nav-link.active::after { content: ''; position: absolute; bottom: 4px; left: 40%; width: 5px; height: 5px; border-radius: 50%; background: #ff8a43; }
.header-actions .btn { background: #ffffff0c; border-color: #ffffff24; }
.mobile-menu { --mobile-menu-fallback-top: 120px; position: absolute; top: calc(100% + 10px); left: 0; right: 0; max-height: max(0px, calc(100dvh - var(--mobile-menu-viewport-top, var(--mobile-menu-fallback-top)) - max(16px, env(safe-area-inset-bottom)))); overflow-y: auto; overscroll-behavior-y: contain; border: 1px solid var(--border); border-radius: 24px; background: #1c1917; box-shadow: 0 20px 45px #0006; }
.trail-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -110px; padding: 174px 0 24px; min-height: 790px; background: #17130f; }
.trail-hero-art, .trail-hero-shade { position: absolute; z-index: -3; inset: 0; pointer-events: none; }
.trail-hero-art { overflow: hidden; }
.trail-hero-art picture { display: contents; }
.trail-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.trail-hero-shade { z-index: -2; background: linear-gradient(90deg, #100f0fe8 0%, #100f0fa6 31%, #100f0f15 66%), linear-gradient(0deg, #11100f 0%, #11100f08 30%, #11100f16 75%, #11100f77); }
.trail-hero-content.spotlight-layout { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; min-height: 515px; }
.trail-hero-copy { max-width: 660px; }
.trail-eyebrow { color: #e4d3c3; margin-bottom: 26px; }
.live-dot { display: inline-block; width: 7px; height: 7px; background: #ff8740; border-radius: 50%; box-shadow: 0 0 0 5px #ff87401c; }
.trail-hero h1 { font-family: Inter, sans-serif; font-size: clamp(68px, 7.6vw, 112px); line-height: .95; font-weight: 800; letter-spacing: -.07em; margin: 0 0 28px; }
.trail-hero h1 em { display: inline-block; color: #ff8438; font-style: italic; padding-right: .08em; }
.trail-hero-lead { color: #d1c7bd; font-size: 16px; line-height: 1.8; }
.trail-hero .action-row { margin-top: 28px; gap: 26px; }
.trail-secondary-link { display: inline-flex; align-items: center; gap: 10px; color: #eee4d8; font: 500 13px/1.5 Inter, sans-serif; min-height: 44px; }
.trail-secondary-link svg { width: 16px; }
.trail-location-stamp { margin: 0 0 6px; text-align: right; color: #f6e8db; text-shadow: 0 2px 15px #000; }
.trail-location-stamp > span { font: 700 10px/1.6 Inter, sans-serif; letter-spacing: .26em; border-top: 2px solid #ff8c43; padding-top: 14px; }
.trail-location-stamp strong { display: block; font: 800 24px/1.1 Inter, sans-serif; margin: 8px 0; letter-spacing: -.04em; }
.trail-location-stamp small { font-size: 9px; letter-spacing: .18em; }
.trail-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #c5b8a9; font: 500 11px/1.5 Inter, sans-serif; margin-top: 44px; padding-top: 18px; border-top: 1px solid #ffffff1a; }
.trail-hero-foot > span { display: flex; align-items: center; gap: 9px; }
.trail-hero-foot small { color: #b8aaa0; font-size: 10px; }
.trail-hero-foot svg { width: 17px; color: #ff9b57; }
.tire-track { position: absolute; width: 162px; height: 900px; background: url('../img/trail-tread.svg') repeat-y center / 162px 81px; opacity: .13; transform: rotate(-25deg); pointer-events: none; }
.tire-track--hero { z-index: -1; top: 60px; left: -110px; opacity: .12; animation: tread-arrive 1.3s cubic-bezier(.2,.6,.2,1) both; }
.trail-dust { position: absolute; inset: 30% 5% 10% 50%; pointer-events: none; z-index: -1; }
.trail-dust span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffbc80; opacity: 0; animation: dust-lift 4s ease-out infinite; }
.trail-dust span:nth-child(1) { left: 15%; top: 80%; }
.trail-dust span:nth-child(2) { left: 40%; top: 63%; animation-delay: .7s; width: 3px; height: 3px; }
.trail-dust span:nth-child(3) { left: 63%; top: 75%; animation-delay: 1.4s; }
.trail-dust span:nth-child(4) { left: 83%; top: 50%; animation-delay: 2.1s; width: 2px; height: 2px; }
.trail-dust span:nth-child(5) { left: 28%; top: 44%; animation-delay: 2.8s; width: 3px; height: 3px; }
.trail-dust span:nth-child(6) { left: 70%; top: 90%; animation-delay: 3.4s; width: 2px; height: 2px; }
.trail-band { overflow: hidden; padding: 16px 0; background: #ef7029; color: #1b100b; border-block: 1px solid #ffb479; }
.trail-band-track { display: flex; width: max-content; transform: translateX(-80px); animation: trail-band-enter 3.5s ease-out both; }
.trail-band span { font: 800 17px/1.5 Inter, sans-serif; letter-spacing: .055em; white-space: nowrap; padding-right: 28px; }
.trail-band b { font-size: 21px; padding-inline: 28px; }
.trail-event-card { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 34px; align-items: center; background: var(--glass-fill); border: 1px solid var(--border); border-top-color: #e8c5a846; border-radius: 26px; padding: 36px; box-shadow: 0 20px 50px #0002; }
.trail-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; padding: 20px 0; border-right: 1px solid var(--border); padding-right: 30px; }
.trail-date span { color: #ff9c61; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.trail-date strong { font: 800 64px/1.2 Inter, sans-serif; letter-spacing: -.07em; }
.trail-date small { font-size: 12px; color: var(--text-muted); }
.trail-event-info .eyebrow { margin-bottom: 8px; }
.trail-event-info h3 { font-size: clamp(24px, 2.5vw, 34px); margin-bottom: 16px; }
.trail-event-info p { font-size: 13px; line-height: 1.8; color: var(--text-muted); margin-bottom: 20px; max-width: 63ch; }
.trail-event-info .event-facts { font-size: 12px; gap: 8px; }
.trail-shortcuts { padding: 24px 0 0; }
.shortcut, .card, .product-card, .event-preview, .sponsor-card { background: var(--glass-fill); border-color: var(--border); box-shadow: inset 0 1px #ffffff05; }
.shortcut:hover { border-color: #ff8c435c; background-color: #302018; }
.icon-tile { color: #ff9d64; background: #ff8b4010; border: 1px solid #ff8b4029; }
.how-section { position: relative; background: radial-gradient(ellipse at 10% 100%, #642b152d, transparent 60%), #161311; border-block: 1px solid var(--border); }
.how-grid article { border-color: #75524150; padding-top: 30px; }
.step-number { color: #ff8a47; font-size: 42px; font-family: Inter, sans-serif; font-style: italic; }
.how-grid h3 { font-size: 22px; }
.community-callout { position: relative; overflow: hidden; background: radial-gradient(ellipse at 100% 50%, #6f281759, transparent 65%), linear-gradient(120deg, #2b211a, #1b1613); border: 1px solid #a8663e40; padding: 64px; }
.community-callout > :not(.tire-track) { position: relative; z-index: 1; }
.community-callout .tire-track { top: -200px; right: 24%; opacity: .14; }
.community-callout p { color: var(--text-muted); }
.sponsor-section { background: radial-gradient(ellipse at 85% 0%, #6b2b1926, transparent 55%), #151210; border-block-color: var(--border); }
.sponsor-card { border-top-color: #e7c7b12b; border-radius: 22px; }
.sponsor-art { height: 170px; }
.sponsor-placeholder { background: #ffffff04; border: 1px dashed #e0c7b62b; color: #a99a8d; }
.sponsor-invitation { background: var(--surface); border-color: var(--border); }
.sponsor-instagram { color: #e8dace; border-color: #e7c7b125; }
.event-subnav a { color: #ddd0c5; background: #ffffff05; }
.event-subnav a:hover { border-color: #ff8a4366; color: #ffad77; }
.event-subnav .event-raffle-link { color: #ffab72; border-color: #fc8a414a; }
.event-detail-item { background: var(--glass-fill); border: 1px solid var(--border); }
.event-preview-media { background: #211b17; }
.trail-hero--event { min-height: 700px; padding-bottom: 36px; }
.trail-hero--event .trail-hero-content { min-height: 420px; align-items: center; }
.trail-hero--event .trail-hero-copy { max-width: 690px; }
.trail-hero--event h1 { font-size: clamp(44px, 5.9vw, 82px); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.trail-hero--event .lead { color: #d3c4b7; max-width: 570px; font-size: 15px; margin-bottom: 24px; }
.trail-hero--event .back-link { color: #d5c3b3; margin-bottom: 24px; }
.trail-hero--event .event-facts { font-size: 13px; color: #e1d7cd; }
.trail-hero--event .event-emblem { width: 250px; align-self: flex-end; margin-bottom: 28px; }
.raffle-teaser-section { padding-top: 0; }
.raffle-teaser { position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; padding: 60px; border: 1px solid #b16d414d; border-radius: 28px; background: radial-gradient(ellipse at 12% 50%, #ad4b2140, transparent 60%), linear-gradient(115deg, #302015, #181410); }
.raffle-teaser-copy { z-index: 1; }
.raffle-teaser-copy p { font-size: 14px; color: #c3b2a3; margin: 24px 0 28px; max-width: 54ch; }
.raffle-art { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; color: #ff9452; }
.raffle-art svg { width: 180px; height: 180px; stroke-width: .75; transform: rotate(-9deg); }
.raffle-art span { color: #e0a981; font: 800 32px/1 Inter, sans-serif; letter-spacing: -.04em; margin-top: 18px; }
.raffle-teaser .tire-track { left: 50px; top: -290px; opacity: .11; }
.form-control { background: #171411; }
.footer { background: #0d0c0b; border-color: var(--border); }
.footer-brand strong { font-size: 24px; }
.badge-success, .alert-success, .public-tag--positive, .public-note--success { background: #173025; color: #a9dfba; border-color: #a9dfba25; }
.badge-warning, .alert-warning, .public-tag--warning, .public-note--warning { background: #372519; color: #ffc091; border-color: #ffc09125; }
.badge-info, .alert-info { background: #262422; color: #ded2c6; border-color: #ded2c625; }
.badge-danger, .alert-error, .alert-danger, .public-tag--negative, .public-note--error { background: #3a1c18; color: #ffb5a9; border-color: #ffb5a925; }
.public-page { --page-accent: #ff9c5d; }
.public-card, .public-empty, .public-event-card, .public-timeline-item { background: var(--glass-fill); box-shadow: inset 0 1px #ffffff05; }
.public-icon { color: #ffa566; background: #ff8b4012; border: 1px solid #ff8b4025; }
.public-button { background: #33302b; color: #f7eee6; }
.public-button:hover { background: #494035; }
.public-button--primary { background: #ff7a28; color: #211208; }
.public-button--primary:hover { background: #ff9451; color: #211208; }
.public-button--secondary { background: #ffffff07; color: #f7eee6; }
.public-tag { background: #332a23; color: #d8c2b1; }
.public-tag--positive { background: #173025; color: #a9dfba; }
.public-tag--warning { background: #372519; color: #ffc091; }
.public-tag--negative { background: #3a1c18; color: #ffb5a9; }
.public-prose p, .public-document, .public-note, .public-meta-list { color: #c2b8ae; }
.public-note--warning { color: #ffc091; }.public-note--success { color: #a9dfba; }.public-note--error { color: #ffb5a9; }
.payment-card { background: var(--glass-fill); box-shadow: inset 0 1px #ffffff05; }
.payment-page h1, .story-studio h1 { font-family: var(--font-heading); font-weight: 800; }
.payment-kicker { color: #ff9c5d; }
.payment-alert[role=alert] { background: #352217; border-color: #ffb67c44; color: #ffd1ab; }
.payment-status-icon { background: #ff8b4015; color: #ffaa71; }
/* Hosted card fields have their own foreground color; retain a readable neutral canvas. */
.payment-secure-field { background: #fff; color-scheme: light; }
.story-studio .studio-eyebrow, .story-studio h1 span, .story-studio .studio-zoom { color: #ffa364; }
.story-studio .version-option[aria-pressed="true"], .story-studio .version-option.active-version { background: #3a2518; }
.story-studio .version-option[aria-pressed="true"] span, .story-studio .version-option.active-version span { color: #ffbe8e; }
.story-studio .studio-panel, .story-studio .studio-card { background: var(--glass-fill); }
.trail-revealed { animation: trail-arrive .65s cubic-bezier(.2,.7,.2,1) both; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; scroll-behavior: auto !important; }
.page-inactive *, .page-inactive *::before, .page-inactive *::after, .hero-offscreen .trail-dust span { animation-play-state: paused !important; }
@keyframes dust-lift { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .7; } 100% { opacity: 0; transform: translate(-90px, -110px); } }
@keyframes tread-arrive { from { opacity: 0; transform: translateY(-150px) rotate(-25deg); } to { opacity: .12; transform: translateY(0) rotate(-25deg); } }
@keyframes trail-band-enter { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes trail-arrive { from { opacity: .3; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) { .trail-hero { min-height: 880px; padding-top: 210px; } .trail-hero-content.spotlight-layout { min-height: 530px; } }
@media (max-width: 1100px) { .navbar { width: calc(100% - 40px); } .trail-event-card { grid-template-columns: 88px minmax(0, 1fr); gap: 26px; } .trail-event-card > .btn { grid-column: 2; justify-self: start; } .trail-date { grid-row: span 2; padding-right: 24px; } .trail-location-stamp { display: none; } .raffle-teaser { gap: 36px; padding: 44px; } }
@media (max-width: 700px) {
  html { scroll-padding-top: 104px; }
  .navbar { width: calc(100% - 28px); top: 10px; margin-top: 10px; }
  .nav-container { height: 76px; padding: 5px 16px; gap: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .brand-logo img { width: 62px; height: 50px; }
  .header-actions .btn { width: auto; font-size: 12px; min-width: 64px; }
  .header-actions .btn .lucide { display: none; }
  .mobile-menu { --mobile-menu-fallback-top: 96px; }
  .trail-hero { margin-top: -86px; padding: 284px 0 24px; min-height: 810px; }
  .trail-hero-art { height: 500px; }
  .trail-hero-art img { object-position: 72% 0%; }
  .trail-hero-shade { background: linear-gradient(0deg, #11100f 0%, #11100f 10%, #11100fe6 40%, #11100f15 75%, #11100f55); }
  .trail-hero-content.spotlight-layout { display: block; min-height: 0; }
  .trail-hero h1 { font-size: clamp(59px, 14.7vw, 98px); line-height: .98; letter-spacing: -.065em; margin-bottom: 22px; }
  .trail-eyebrow { font-size: 9px; margin-bottom: 22px; letter-spacing: .12em; }
  .trail-hero-lead { font-size: 14px; }
  .trail-hero .action-row { gap: 16px; margin-top: 24px; }
  .trail-hero .btn { font-size: 13px; padding-inline: 22px; }
  .trail-secondary-link { font-size: 12px; }
  .trail-hero-foot { margin-top: 32px; font-size: 10px; gap: 14px; }
  .trail-hero-foot small { font-size: 9px; }
  .trail-dust { inset: 15% 0 50% 30%; }
  .tire-track--hero { left: -130px; top: 180px; }
  .trail-band { padding-block: 12px; }.trail-band span { font-size: 13px; }.trail-band b { padding-inline: 20px; }
  .section-space { padding-block: 60px; }
  .section-heading { margin-bottom: 30px; }
  h2 { font-size: clamp(30px, 8vw, 42px); }
  .trail-event-card { grid-template-columns: 60px minmax(0, 1fr); gap: 20px; padding: 24px 20px; border-radius: 22px; align-items: start; }
  .trail-date { grid-row: 1; padding: 0 16px 0 0; align-self: start; }
  .trail-date strong { font-size: 42px; }.trail-date span { font-size: 10px; }.trail-date small { font-size: 10px; }
  .trail-event-info .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .trail-event-info h3 { font-size: 24px; }.trail-event-info p { font-size: 12px; }
  .trail-event-info .event-facts { font-size: 11px; }
  .trail-event-card > .btn { grid-column: 1/-1; width: 100%; }
  .trail-shortcuts { padding-top: 20px; }
  .shortcut { padding: 20px; }
  .sponsor-art { height: 112px; }.sponsor-card { padding: 18px; }
  .how-grid article { padding-top: 24px; }.step-number { font-size: 28px; }
  .community-callout { padding: 34px 26px; }.community-callout h2 { font-size: 34px; }.community-callout .tire-track { right: -40px; }
  .trail-hero--event { padding-top: 230px; min-height: 0; padding-bottom: 32px; }
  .trail-hero--event .trail-hero-content { min-height: 0; }
  .trail-hero--event h1 { font-size: clamp(38px, 10.8vw, 64px); }
  .trail-hero--event .lead { font-size: 14px; }
  .trail-hero--event .back-link { margin-bottom: 20px; }
  .trail-hero--event .event-emblem { display: none; }
  .trail-hero--event .event-facts { font-size: 12px; }
  .event-subnav { margin-top: 0; }
  .raffle-teaser-section { padding-top: 0; }
  .raffle-teaser { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
  .raffle-art { flex-direction: row; gap: 26px; justify-content: flex-start; }.raffle-art svg { width: 110px; height: 90px; }.raffle-art span { font-size: 28px; margin-top: 0; }
  .raffle-teaser-copy p { font-size: 13px; }.raffle-teaser .tire-track { left: auto; right: -70px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .nav-container, .mobile-menu { background: #1c1917; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav-container { background: #1c1917; } }

/* Institutional home and portrait-first campaign art. */
.trail-hero-art img { object-position: center top; }
.trail-hero--home { min-height: 720px; padding-top: 148px; }
.trail-hero--home .trail-hero-content { min-height: 0; align-items: flex-start; }
.trail-hero-copy h1 > span, .trail-hero-copy h1 > em { display: inline-block; animation: headline-launch .9s cubic-bezier(.2,.75,.2,1) both; }
.trail-hero-copy h1 > span:nth-of-type(2) { animation-delay: .12s; }
.trail-hero-copy h1 > em { animation-delay: .24s; }
.trail-hero--home .trail-hero-copy { max-width: 650px; }
.trail-hero--home .trail-hero-lead { max-width: 43ch; }
.trail-hero-shade { background: linear-gradient(90deg,#100f0feb 0%,#100f0fb5 28%,#100f0f15 64%),linear-gradient(0deg,#11100f 0%,#11100f00 27%,#11100f0d 82%,#11100f44); }
.trail-band-track { transform: none; animation: trail-band-run 28s linear infinite; }
.trail-band-track > span { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.trail-band .lucide { width: 22px; height: 22px; }
.live-dot { position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -5px; border: 1px solid #ff9f5d77; border-radius: 50%; animation: trail-pulse 2.6s ease-out infinite; }
.trail-speed-lines { position: absolute; inset: 22% 0 8%; z-index: -1; pointer-events: none; overflow: hidden; }
.trail-speed-lines span { position: absolute; top: 36%; right: -100px; width: 120px; height: 1px; background: linear-gradient(90deg,transparent,#ffb67c66); transform: rotate(-14deg); animation: trail-speed 7s ease-in infinite; opacity: 0; }
.trail-speed-lines span:nth-child(2) { top: 56%; animation-delay: 2s; width: 85px; }
.trail-speed-lines span:nth-child(3) { top: 78%; animation-delay: 4s; width: 180px; }
.tire-track--hero { animation: trail-tread-pass 12s ease-in-out infinite; }
.trail-featured-event { display: grid; grid-template-columns: .95fr 1.05fr; background: var(--glass-fill); border: 1px solid #d69b6838; border-radius: 30px; overflow: hidden; box-shadow: inset 0 1px #ffe1bd15,0 30px 80px #0003; }
.trail-featured-art { min-width: 0; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 65px 36px 80px; background: radial-gradient(ellipse at 50% 45%,#81401844,transparent 70%),#181411; overflow: hidden; }
.trail-featured-art::after { content: ''; position: absolute; inset: 0; z-index: -2; opacity: .3; background: repeating-linear-gradient(135deg,transparent 0 48px,#e7ba8e0a 49px 50px); }
.trail-featured-art img { width: 100%; max-height: 310px; position: relative; transition: transform .5s ease; }
.trail-featured-art:hover img { transform: translateY(-6px) rotate(-2deg); }
.trail-featured-label { position: absolute; bottom: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; background: #fff1; border: 1px solid #fff2; border-radius: 99px; font-size: 11px; }
.trail-featured-copy { padding: 48px; }
.trail-featured-copy h3 { font-size: clamp(28px,3vw,42px); line-height: 1.14; margin-bottom: 20px; }
.trail-featured-copy > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.trail-featured-copy .event-facts { font-size: 12px; }
.trail-featured-copy > .btn { margin-top: 28px; }
.trail-event-hint { display: block; color: #aea196; font-size: 10px; margin-top: 12px; }
.trail-countdown { display: flex; gap: 12px; align-items: center; margin-top: 26px; }
.trail-countdown > span:not(.countdown-caption) { min-width: 58px; padding: 10px 13px; text-align: center; background: #ffffff06; border: 1px solid #ffffff12; border-radius: 12px; }
.trail-countdown strong { display: block; font: 800 28px/1.2 Inter,sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.06em; }
.trail-countdown small { font-size: 9px; color: #b8a18f; text-transform: uppercase; letter-spacing: .07em; }
.countdown-caption { font-size: 10px; color: #b8a18f; margin-left: 5px; }
.trail-calendar-grid { margin-top: 28px; }
.event-preview { transition: transform .25s,border-color .25s; }
.event-preview:hover { transform: translateY(-5px); border-color: #ff94515c; }
.event-preview-media { background: radial-gradient(ellipse,#71361530,transparent 70%),#1c1815; }
.event-preview-media .logo-emblem { max-height: 260px; }
.event-preview-copy .event-facts { font-size: 12px; margin: 20px 0; }
.trail-manifesto { background: radial-gradient(ellipse at 0 80%,#7e32132e,transparent 50%),#151210; border-block: 1px solid #fff1; overflow: hidden; }
.trail-manifesto-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 80px; }
.trail-team-art { position: relative; isolation: isolate; padding: 35px 25px 50px; }
.trail-team-art > img { display: block; width: 100%; position: relative; animation: emblem-float 7s ease-in-out infinite; }
.trail-coordinate { display: block; text-align: center; font: 500 10px/1.5 Inter,sans-serif; letter-spacing: .15em; color: #ad8971; margin-top: 30px; }
.trail-orbit { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed #e5a46a2b; left: 8%; top: 50%; translate: 0 -50%; z-index: -1; }
.trail-orbit::before { content: ''; position: absolute; inset: 8%; border: 1px solid #cda47c14; border-radius: 50%; }
.trail-orbit::after { content: ''; position: absolute; inset: -12%; border: 1px solid #cda47c0b; border-radius: 50%; }
.trail-featured-art .trail-orbit { animation: trail-orbit-spin 80s linear infinite; }
.trail-contour { position: absolute; inset: -20%; z-index: -2; background: repeating-radial-gradient(ellipse at 60% 40%,transparent 0 32px,#b0804b12 33px 34px,transparent 35px 55px); transform: rotate(-25deg); }
.trail-manifesto h2 { font-size: clamp(32px,3.5vw,48px); }
.trail-manifesto p { color: var(--text-muted); font-size: 14px; margin-top: 20px; }
.trail-manifesto p.trail-manifesto-lead { color: #e5d7cb; font-size: 17px; margin-top: 28px; }
.trail-values { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 28px 0 16px; }
.trail-values span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #ffb681; }
.trail-values svg { width: 18px; }
.trail-archive-card { display: grid; grid-template-columns: 180px 1fr 100px; align-items: center; gap: 48px; padding: 48px; border: 1px solid #cba08033; border-radius: 26px; background: linear-gradient(110deg,#322319,#171310); position: relative; overflow: hidden; transition: border-color .3s; }
.trail-archive-card:hover { border-color: #ffb27888; color: #fff; }
.trail-archive-card > :not(.tire-track) { z-index: 1; }
.trail-archive-number { font: italic 800 130px/.9 Inter,sans-serif; letter-spacing: -.1em; color: #ff945c; }
.trail-archive-number > span { display: block; margin-top: 14px; font: 600 10px/1.5 Inter,sans-serif; letter-spacing: .4em; text-align: center; }
.trail-archive-card h3 { font-size: 32px; line-height: 1.15; }
.trail-archive-card p { max-width: 50ch; font-size: 13px; color: #baa592; margin-top: 18px; }
.trail-archive-card .text-link { margin-top: 22px; }
.trail-archive-icon { width: 76px; height: 76px; stroke-width: 1; color: #ad744c; }
.trail-archive-card .tire-track { right: 40px; top: -350px; opacity: .1; }
.trail-past-events { margin-top: 28px; }
.trail-past-events a { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid #fff1; }
.trail-past-events small { color: #d59b6f; }
.trail-route-line { margin: -10px 0 18px; height: 70px; opacity: .7; }
.trail-route-line svg { width: 100%; height: 100%; overflow: visible; }
.trail-route-line path { fill: none; stroke-width: 2; }
.trail-route-base { stroke: #c68a5433; stroke-dasharray: 3 10; }
.trail-route-runner { stroke: #ff9b55; stroke-dasharray: 38 1200; animation: trail-route-travel 9s linear infinite; }
.motion-outside *, .motion-outside *::before, .motion-outside *::after { animation-play-state: paused !important; }
.trail-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.trail-gallery figure { margin: 0; }
.trail-gallery a { display: block; border-radius: 18px; overflow: hidden; }
.trail-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.trail-gallery a:hover img { transform: scale(1.035); }
.trail-gallery figcaption { font-size: 11px; color: var(--text-muted); margin: 12px 0 0; }
@keyframes headline-launch { from { transform: translateY(25px) rotate(1deg); opacity: 0; } to { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes trail-band-run { to { transform: translateX(-50%); } }
@keyframes trail-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes trail-speed { 0%,55% { transform: translateX(0) rotate(-14deg); opacity: 0; } 65% { opacity: .6; } 88%,100% { transform: translateX(-100vw) rotate(-14deg); opacity: 0; } }
@keyframes trail-tread-pass { 0%,100% { transform: translateY(0) rotate(-25deg); opacity: .1; } 50% { transform: translateY(70px) rotate(-25deg); opacity: .17; } }
@keyframes emblem-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes trail-orbit-spin { to { transform: rotate(360deg); } }
@keyframes trail-route-travel { to { stroke-dashoffset: -1238; } }
@media(min-width:1600px) { .trail-hero--home { min-height: 760px; } }
@media(max-width:1100px) {
 .trail-featured-event { grid-template-columns: .85fr 1.15fr; }
 .trail-featured-copy { padding: 36px; }
 .trail-featured-art { padding-inline: 24px; }
 .trail-manifesto-grid { gap: 40px; }
 .countdown-caption { display: none; }
 .trail-archive-card { grid-template-columns: 140px 1fr 65px; gap: 32px; }
 .trail-archive-number { font-size: 110px; }
}
@media(max-width:700px) {
 .trail-hero--home { padding-top: clamp(224px,64vw,300px); min-height: 0; }
 .trail-hero-art { height: auto; bottom: auto; aspect-ratio: 2/3; }
 .trail-hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
 .trail-hero-art--custom { top: 90px; height: 330px; aspect-ratio: auto; }
 .trail-hero-art--custom img { object-fit: contain; }
 .trail-hero-shade { background: linear-gradient(0deg,#11100f 0%,#11100f 12%,#11100f00 60%,#11100f00 86%,#11100f22); }
 .trail-hero--home .trail-hero-content { min-height: 0; }
 .trail-hero--home h1 { font-size: clamp(52px,14.5vw,88px); line-height: .98; }
 .trail-hero--home h1 { margin-bottom: 16px; }
 .trail-hero--home .trail-hero-lead { font-size: 13px; }
 .trail-hero--home .action-row { gap: 8px; margin-top: 18px; }
 .trail-hero--home .action-row > .btn { width: 100%; }
 .trail-hero--home .trail-secondary-link { justify-content: center; width: 100%; }
 .trail-hero-foot { margin-top: 22px; }
 .trail-speed-lines { inset: 16% 0 50%; }
 .trail-featured-event { grid-template-columns: 1fr; border-radius: 24px; }
 .trail-featured-art { min-height: 280px; padding: 35px 32px 70px; }
 .trail-featured-art img { max-height: 210px; max-width: 380px; }
 .trail-featured-art .trail-orbit { width: 65%; left: 17.5%; }
 .trail-featured-label { bottom: 20px; }
 .trail-featured-copy { padding: 28px 24px; }
 .trail-featured-copy > .eyebrow { font-size: 9px; }
 .trail-featured-copy h3 { font-size: 29px; }
 .trail-featured-copy > p { font-size: 13px; }
 .trail-featured-copy > .btn { width: 100%; }
 .trail-countdown { gap: 10px; }
 .trail-countdown > span:not(.countdown-caption) { flex: 1; padding: 10px; }
 .trail-manifesto-grid { grid-template-columns: 1fr; gap: 36px; }
 .trail-team-art { padding: 10px 30px 16px; max-width: 430px; justify-self: center; }
 .trail-manifesto h2 { font-size: clamp(30px,8.2vw,43px); }
 .trail-manifesto p.trail-manifesto-lead { font-size: 16px; }
 .trail-manifesto p { font-size: 13px; }
 .trail-archive-card { grid-template-columns: 1fr; gap: 30px; padding: 30px 26px; }
 .trail-archive-number { font-size: 88px; display: flex; align-items: flex-end; gap: 22px; }
 .trail-archive-number > span { margin-bottom: 6px; text-align: left; }
 .trail-archive-icon { position: absolute; right: 26px; top: 42px; width: 44px; height: 44px; }
 .trail-archive-card h3 { font-size: 28px; }
 .trail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
 .trail-gallery figure:first-child { grid-column: 1/-1; }
 .trail-gallery figure:first-child img { aspect-ratio: 16/9; }
 .trail-gallery figcaption { font-size: 10px; }
 .trail-route-line { height: 45px; margin: 0 0 20px; }
 .trail-past-events a { flex-direction: column; gap: 8px; }
 .trail-hero--event { padding-top: clamp(360px,111vw,530px); }
}
@media(prefers-reduced-motion:reduce) { .trail-hero-copy h1 > span,.trail-hero-copy h1 > em { opacity: 1; transform: none; } }
@media(max-width:360px) { .trail-hero--home { padding-top: 200px; } }

.event-edition-brand { width: min(27vw,360px); flex-shrink: 0; align-self: flex-end; margin-bottom: 20px; }
.event-edition-brand img { width: 100%; height: auto; max-height: 280px; }
.product-card--raffle { background: radial-gradient(ellipse at top right,#9a3d1833,transparent 65%),var(--glass-fill); border-color: #dc8a4c55; }
.product-card--raffle .product-price strong { color: #fbb17e; }
.event-subnav a[aria-current="page"] { color: #ffae73; border-color: #ff8a4366; background: #ff8a4310; }
@media(max-width:700px) {
 .event-edition-brand { width: 220px; max-width: 75%; margin: 24px auto 0; }
 .trail-hero--event .trail-hero-content { display: flex; flex-direction: column; gap: 8px; }
 .trail-hero--event .trail-hero-copy { width: 100%; }
 .product-grid { grid-template-columns: 1fr; }
 .product-card { min-width: 0; }
}

/* Keep the edition mark on the text side so it never masks the rider. */
.event-identity-row { display: flex; align-items: center; gap: 26px; margin: 0 0 26px; }
.event-identity-row .event-edition-brand { width: 180px; margin: 0; align-self: center; }
.event-identity-row .trail-eyebrow { margin: 0; line-height: 1.9; color: #c9a58d; font-size: 9px; }
.trail-hero--event .trail-hero-content { display: block; }
.trail-hero--event h1 { font-size: clamp(44px,5.4vw,76px); }
.trail-hero--event .back-link { margin-bottom: 18px; }
.raffle-card-symbol { display: block; color: #ffa66c; margin: 24px 0 20px; }
.raffle-card-symbol .lucide { width: 92px; height: 64px; stroke-width: 1.25; }
@media(max-width:700px) {
 .event-identity-row { gap: 20px; margin-bottom: 24px; }
 .event-identity-row .event-edition-brand { width: 150px; margin: 0; max-width: 50%; }
 .event-identity-row .trail-eyebrow { font-size: 8px; letter-spacing: .1em; }
 .trail-hero--event h1 { font-size: clamp(35px,10vw,58px); }
}

.trail-hero-art--custom img { object-fit: contain; object-position: right center; }
@media(max-width:700px) { .trail-hero-art--custom img { object-position: center top; } }

@media(min-width:701px) and (max-width:1000px) {
 .trail-hero,.trail-hero--event { padding-top: calc(66.667vw + 18px); min-height: 0; }
 .trail-hero--home { padding-top: 190px; }
 .trail-hero-art { height: auto; bottom: auto; aspect-ratio: 3/2; }
 .trail-hero-art img { object-fit: contain; object-position: right top; }
 .trail-hero-shade { background: linear-gradient(0deg,#11100f 0%,#11100f 20%,#11100f00 65%); }
 .trail-hero--home .trail-hero-content,.trail-hero--event .trail-hero-content { min-height: 0; }
 .trail-hero--home h1 { font-size: 88px; }
 .trail-hero--home .trail-hero-copy { max-width: 100%; }
 .trail-hero--home .trail-hero-shade { background: linear-gradient(90deg,#100f0fe8,#100f0f80 65%,#100f0f33),linear-gradient(0deg,#11100f,transparent 80%); }
 .trail-hero--home h1 > br:first-of-type { display: none; }
 .trail-hero--home h1 > span:first-child { margin-right: .16em; }
 .trail-hero--event .trail-hero-copy { max-width: 100%; }
}

.trail-hero-art:not(.trail-hero-art--custom) img { animation: trail-camera-drift 16s ease-in-out infinite; transform-origin: 70% 55%; }
@keyframes trail-camera-drift { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.025) translate(-.3%,.15%); } }

.trail-hero-art::after { content: ''; position: absolute; inset: 70% 0 0; background: linear-gradient(0deg,#11100f,transparent); pointer-events: none; }

/* Event campaign covers preserve the full artwork on every screen. */
.trail-featured-art.trail-featured-art--cover{padding:0;min-height:0;align-self:start;aspect-ratio:1;display:block}
.trail-featured-art.trail-featured-art--cover img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.trail-featured-art.trail-featured-art--cover:hover img{transform:none}
.trail-featured-art--cover .trail-featured-label{bottom:12px;left:12px;font-size:10px}
.event-preview-media{aspect-ratio:16/9}

/* Real team photo: preserve the full portrait on mobile and desktop. */
.trail-team-photo{position:relative;width:min(100%,440px);margin:0 auto;isolation:isolate;overflow:hidden;border-radius:28px;box-shadow:0 24px 64px #0004}
.trail-team-photo>img{display:block;width:100%;height:auto;aspect-ratio:2/3}
.trail-team-photo>figcaption{position:absolute;left:18px;right:18px;bottom:18px;padding:16px 18px;color:#fff;background:#14100ed9;border:1px solid #ffffff24;border-radius:18px;backdrop-filter:blur(12px);font-size:16px;font-weight:700}
.trail-team-photo>figcaption span{display:block;margin-top:4px;font-size:11px;font-weight:400;color:#e4d7cd}
.team-profile.public-event-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:center}
.team-profile .public-event-media{aspect-ratio:2/3}
.team-profile .public-event-media img{height:auto;object-fit:contain}
@media(max-width:640px){.team-profile.public-event-card{grid-template-columns:minmax(0,1fr)}.trail-team-photo{max-width:400px;border-radius:22px}}
