/* ═══════════════════════════════════════════
   LANDING
   ═══════════════════════════════════════════ */
.landing-body { overflow: hidden; background: var(--landing-bg); }

html.landing-exiting,
html.landing-exiting .landing-body { overflow: hidden; }

html.landing-exit-enterprise,
html.landing-exit-enterprise .landing-body { background: var(--landing-enterprise); }

html.landing-exit-sports,
html.landing-exit-sports .landing-body { background: var(--landing-sports); }

.landing {
    min-height: 100dvh;
    display: flex;
    flex-direction: row;
    background: var(--landing-bg);
    position: relative;
}

.landing-divider {
    position: absolute;
    top: 12%;
    bottom: 12%;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 0.35), transparent);
    z-index: 20;
    pointer-events: none;
}

.landing-panel {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2.5rem, 6vw, 5rem);
    min-height: 100dvh;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: flex 0.5s var(--ease-out), filter 0.4s var(--ease);
    will-change: flex;
}

.landing-panel--enterprise { background: var(--landing-enterprise); color: #f8fafc; }
.landing-panel--sports { background: var(--landing-sports); color: #fef2f2; }

.landing-panel__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--panel-photo);
    background-size: cover;
    background-position: center;
    opacity: 0.38;
}

.landing-panel--enterprise .landing-panel__photo { opacity: 0.32; }

.landing-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgb(0 0 0 / 0.48) 0%, rgb(0 0 0 / 0.18) 55%, rgb(0 0 0 / 0.28) 100%);
    pointer-events: none;
}

.landing-panel__inner { position: relative; z-index: 2; max-width: 26rem; }

.landing-logo {
    position: fixed;
    top: clamp(1.25rem, 3vw, 2rem);
    left: clamp(1.25rem, 3vw, 2rem);
    z-index: 40;
    color: #fff;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity 0.25s var(--ease);
}

.landing-logo:hover { opacity: 0.8; }

.landing.is-exiting { pointer-events: none; background: transparent; }

.landing.is-exiting .landing-panel,
.landing.is-exiting .landing-logo,
.landing.is-exiting .landing-divider {
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.landing-panel__eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.65);
    margin-bottom: 0.85rem;
}

.landing-panel__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin-bottom: 0.85rem;
}

.landing-panel__desc {
    font-size: 0.95rem;
    color: rgb(255 255 255 / 0.78);
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.landing-overlay {
    position: fixed;
    z-index: 200;
    margin: 0;
    border: none;
    pointer-events: none;
    transition:
        top 0.92s var(--ease-out),
        left 0.92s var(--ease-out),
        width 0.92s var(--ease-out),
        height 0.92s var(--ease-out);
    will-change: top, left, width, height;
}

.landing-overlay--enterprise { background: var(--landing-enterprise); }
.landing-overlay--sports { background: var(--landing-sports); }

.landing-overlay.is-fullscreen {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
}

/* ─── Transition loader ─── */
.transition-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.landing-overlay.is-loading .transition-loader,
.page-transition-loader.is-visible { opacity: 1; }

.transition-loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: min(12rem, 72vw);
}

.transition-loader__name {
    margin: 0;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
}

.transition-loader__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.72);
}

.transition-loader__bar {
    width: 100%;
    height: 2px;
    background: rgb(255 255 255 / 0.28);
    border-radius: 2px;
    overflow: hidden;
}

.transition-loader__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    border-radius: 2px;
}

.page-transition-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

html.page-transition--out .page-transition-loader { opacity: 0; }

html.page-transition::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.95s var(--ease-out);
}

html.page-transition--enterprise::before { background: var(--landing-enterprise); }
html.page-transition--sports::before { background: var(--landing-sports); }
html.page-transition--out::before { opacity: 0; }

@media (max-width: 768px) {
    .landing { flex-direction: column; }
    .landing-panel { min-height: 50dvh; flex: 1 !important; }
    .landing-divider {
        top: 50%;
        left: 12%;
        right: 12%;
        bottom: auto;
        width: auto;
        height: 1px;
        transform: translateY(-50%);
        background: linear-gradient(to right, transparent, rgb(255 255 255 / 0.35), transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-panel,
    .landing-overlay { transition: none; }
    html.page-transition::before,
    .page-transition-loader { transition: none; }
}

/* ═══════════════════════════════════════════
   SITE CHROME
   ═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--nav-h);
    background: rgb(255 255 255 / 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.site-logo:hover { color: var(--primary); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.site-nav a {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: rgb(15 23 42 / 0.05);
}

.track-switch {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    margin-left: 0.35rem;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.track-switch:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgb(37 99 235 / 0.04);
}

.track-sports .track-switch:hover {
    background: rgb(220 38 38 / 0.04);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
}

@media (max-width: 900px) {
    .menu-btn { display: block; }
    .site-nav {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.3s var(--ease), opacity 0.3s;
    }
    .site-nav.is-open { transform: translateY(0); opacity: 1; }
    .site-nav a { padding: 0.75rem 1rem; }
    .track-switch { margin: 0.5rem 0 0; text-align: center; }
}

/* ═══════════════════════════════════════════
   HERO (TRACK PAGES)
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 2.25rem) 0 2.75rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, var(--hero-glow) 0%, transparent 68%);
    pointer-events: none;
}

.hero--bg {
    min-height: clamp(22rem, 58vh, 34rem);
    padding: 0;
    display: flex;
    align-items: stretch;
    border-bottom: none;
    background: #0f172a;
}

.hero--bg::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        linear-gradient(105deg, rgb(15 23 42 / 0.94) 0%, rgb(15 23 42 / 0.82) 38%, rgb(30 58 138 / 0.45) 68%, rgb(15 23 42 / 0.25) 100%),
        var(--hero-bg) var(--hero-bg-position, center) / cover no-repeat;
}

.hero--bg::after {
    content: none;
}

.track-sports .hero--bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--hero-bg) var(--hero-bg-position, center) / cover no-repeat;
    pointer-events: none;
}

.track-sports .hero--bg::before {
    background:
        linear-gradient(105deg, rgb(15 23 42 / 0.82) 0%, rgb(69 10 10 / 0.72) 38%, rgb(127 29 29 / 0.55) 68%, rgb(15 23 42 / 0.78) 100%);
}

.track-sports .hero--bg .hero__eyebrow {
    color: rgb(254 202 202);
}

.hero--bg .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: inherit;
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero--bg .hero__content {
    width: 22ch;
    max-width: min(100%, 22ch);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.hero--bg .hero__eyebrow {
    color: rgb(147 197 253);
    font-size: 0.205em;
    margin-bottom: 0.45em;
}

.hero--bg .hero__title {
    color: #fff;
    max-width: 100%;
    width: 100%;
    font-size: 1em;
    margin-bottom: 0.33em;
}

.hero--bg .hero__lead {
    color: rgb(255 255 255 / 0.8);
    max-width: 100%;
    width: 100%;
    font-size: 0.3em;
    line-height: 1.65;
    margin-bottom: 0.52em;
}

.hero--bg .hero__actions {
    font-size: 1.05rem;
}

.hero--bg .btn--outline {
    color: #fff;
    border-color: rgb(255 255 255 / 0.38);
    background: rgb(255 255 255 / 0.06);
}

.hero--bg .btn--outline:hover {
    background: rgb(255 255 255 / 0.12);
    border-color: rgb(255 255 255 / 0.55);
    color: #fff;
}

@media (max-width: 768px) {
    .hero--bg::before {
        background:
            linear-gradient(to top, rgb(15 23 42 / 0.95) 0%, rgb(15 23 42 / 0.7) 45%, rgb(15 23 42 / 0.35) 100%),
            var(--hero-bg) var(--hero-bg-position, center) / cover no-repeat;
    }

    .hero--bg .hero__content {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
}

@media (max-width: 768px) {
    .track-sports .hero--bg::before {
        background:
            linear-gradient(to top, rgb(15 23 42 / 0.88) 0%, rgb(69 10 10 / 0.68) 45%, rgb(15 23 42 / 0.72) 100%);
    }
}

.hero__grid {
    position: relative;
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero__grid--solo {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: 44rem;
}

.hero__grid--solo .hero__title { max-width: 18ch; }

.hero__grid--split {
    grid-template-columns: minmax(0, 1fr) clamp(11rem, 18vw, 13.5rem);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__content {
    min-width: 0;
}

.hero__grid--split .hero__title {
    max-width: 12ch;
    margin-bottom: 1rem;
}

.track-enterprise .hero__grid--split .hero__title {
    max-width: 26ch;
}

.hero__grid--split .hero__lead {
    max-width: 40ch;
    margin-bottom: 1.5rem;
}

.hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    max-width: 14ch;
    margin-bottom: 1.15rem;
}

.hero__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 44ch;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hero__visual {
    min-width: 0;
    justify-self: end;
    align-self: center;
}

.hero__figure {
    margin: 0;
    width: 100%;
    max-width: 13.5rem;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-enterprise .hero__figure {
    background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
}

.track-enterprise .hero__figure img {
    object-fit: cover;
    object-position: center top;
}

.hero--photo .hero__title { max-width: 12ch; }

.hero__metrics {
    display: grid;
    gap: 0.75rem;
    min-width: 11rem;
}

.metric {
    padding: 1rem 1.15rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.metric strong {
    display: block;
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.metric span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

@media (max-width: 768px) {
    .hero { padding: calc(var(--nav-h) + 1.75rem) 0 2.25rem; }
    .hero__grid--split {
        grid-template-columns: minmax(0, 1fr) clamp(9rem, 28vw, 11rem);
        gap: 1.25rem;
    }
    .hero__figure { max-width: 11rem; border-radius: var(--radius); }
    .hero__metrics { grid-template-columns: repeat(3, 1fr); min-width: 0; }
    .metric { padding: 0.85rem; }
}

@media (max-width: 520px) {
    .hero__grid--split {
        grid-template-columns: 1fr;
    }
    .hero__visual {
        justify-self: start;
        order: -1;
        max-width: 10rem;
    }
    .hero__figure { max-width: 10rem; aspect-ratio: 1; }
    .hero__metrics { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgb(37 99 235 / 0.2);
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgb(37 99 235 / 0.28);
}

.track-sports .btn--primary {
    box-shadow: 0 2px 8px rgb(220 38 38 / 0.2);
}

.track-sports .btn--primary:hover {
    box-shadow: 0 6px 20px rgb(220 38 38 / 0.28);
}

.btn--outline {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--wa {
    background: #128c7e;
    color: #fff;
}

.btn--wa:hover { background: #0d7368; transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }

.section--alt {
    background: var(--bg-elevated);
    border-block: 1px solid var(--border);
}

.section--coaching {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 2.75rem; max-width: 36rem; }

.section-head__eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-head p {
    margin-top: 0.65rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   PILLARS & WORK CARDS
   ═══════════════════════════════════════════ */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.pillar-card {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.section--alt .pillar-card { background: var(--bg); }

.pillar-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.pillar-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.45rem;
}

.pillar-card__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.work-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.65rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    overflow: hidden;
}

.work-card--media { padding: 0; }

.work-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg);
}

.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s var(--ease);
}

.track-enterprise .work-card__media {
    background: linear-gradient(145deg, #eff6ff 0%, #f1f5f9 100%);
}

.work-card--media:hover .work-card__media img { transform: scale(1.04); }

.work-card--media .work-card__index,
.work-card--media .work-card__title,
.work-card--media .work-card__summary,
.work-card--media .work-card__cta {
    margin-left: 1.65rem;
    margin-right: 1.65rem;
}

.work-card--media .work-card__index { margin-top: 1.35rem; }
.work-card--media .work-card__cta { margin-bottom: 1.65rem; }

.section--alt .work-card { background: var(--bg); }

.work-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.work-card__index {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.work-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.work-card__summary {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.work-card__cta {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Legacy card aliases for list/detail pages */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

a.card { display: block; }

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.card__arrow {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* ═══════════════════════════════════════════
   TECHNOLOGIES
   ═══════════════════════════════════════════ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.tech-group {
    padding: 1.35rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.section--alt .tech-group { background: var(--bg-elevated); }

.tech-group__label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.tech-group__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
}

.section--alt .tag { background: var(--bg); }

/* ═══════════════════════════════════════════
   JOURNEY TIMELINE
   ═══════════════════════════════════════════ */
.journey {
    position: relative;
    padding: 0.5rem 0 1rem;
}

.section--journey {
    position: relative;
    overflow: clip;
}

.section--journey::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--hero-glow) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 100%, var(--hero-glow) 0%, transparent 50%);
    opacity: 0.45;
}

.section--journey > .container {
    position: relative;
    z-index: 1;
}

.journey__spine {
    position: absolute;
    top: 0.75rem;
    bottom: 2rem;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.journey__spine-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(to bottom, var(--border), var(--border-strong));
    opacity: 0.65;
}

.journey__spine-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border-radius: 999px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    box-shadow: 0 0 18px var(--hero-glow);
    transition: height 0.45s var(--ease-out);
}

.journey__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.journey__step {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.25rem minmax(0, 1fr);
    gap: 0 1.75rem;
    align-items: center;
    min-height: 7.5rem;
}

.journey__card-wrap {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 26rem;
}

.journey__step:nth-child(even) .journey__card-wrap {
    grid-column: 3;
    justify-self: start;
}

.journey__marker {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    justify-self: center;
    z-index: 2;
}

.journey__ring {
    position: absolute;
    inset: -0.45rem;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.5s;
}

.journey__dot {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 1px var(--border);
    transform: scale(0.85);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s, background 0.45s;
}

.journey__card {
    padding: 1.35rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out),
        border-color 0.35s,
        box-shadow 0.35s;
    transition-delay: var(--step-delay, 0ms);
}

.section--alt .journey__card {
    background: var(--bg);
}

.journey__step.is-active .journey__card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.journey__step.is-active .journey__dot {
    transform: scale(1);
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--hero-glow), 0 0 20px var(--hero-glow);
}

.journey__step.is-active .journey__ring {
    opacity: 1;
    transform: scale(1);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.journey__step--present.is-active .journey__dot {
    animation: journey-pulse 2.2s var(--ease) infinite;
}

.journey__step--present.is-active .journey__ring {
    animation: journey-ring 2.2s var(--ease) infinite;
}

@keyframes journey-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--hero-glow), 0 0 16px var(--hero-glow); }
    50% { box-shadow: 0 0 0 8px transparent, 0 0 28px var(--hero-glow); }
}

@keyframes journey-ring {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.35); opacity: 0.25; }
}

.journey__card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.journey__step.is-active .journey__card:hover {
    border-color: var(--primary);
}

.journey__period {
    display: block;
    font-family: var(--mono);
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 0.65rem;
}

.journey__title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.journey__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.journey__parts {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.journey__part-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.journey__part-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.journey__step:nth-child(odd) .journey__card {
    text-align: right;
}

.journey__step:nth-child(odd) .journey__desc,
.journey__step:nth-child(odd) .journey__parts {
    margin-left: auto;
}

@media (max-width: 820px) {
    .journey__spine {
        left: 1.1rem;
        transform: none;
    }

    .journey__step {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: 0 1.15rem;
        min-height: 0;
        padding: 0.35rem 0;
    }

    .journey__card-wrap,
    .journey__step:nth-child(even) .journey__card-wrap {
        grid-column: 2;
        grid-row: 1;
        justify-self: stretch;
        max-width: none;
    }

    .journey__marker {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .journey__step:nth-child(odd) .journey__card,
    .journey__step:nth-child(even) .journey__card {
        text-align: left;
    }

    .journey__step:nth-child(odd) .journey__desc,
    .journey__step:nth-child(odd) .journey__parts {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey__card,
    .journey__dot,
    .journey__ring,
    .journey__spine-progress {
        transition: none;
    }

    .journey__step .journey__card {
        opacity: 1;
        transform: none;
    }

    .journey__step--present.is-active .journey__dot,
    .journey__step--present.is-active .journey__ring {
        animation: none;
    }
}

/* ═══════════════════════════════════════════
   COACHING
   ═══════════════════════════════════════════ */
.coaching-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) clamp(11rem, 16vw, 13.5rem);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: start;
}

.section--coaching {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.coaching-block__media {
    justify-self: end;
}

.coaching-block__product {
    margin-bottom: 2rem;
    padding: 1.35rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.coaching-block__product-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.coaching-block__product-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.55rem;
}

.coaching-block__product-title a:hover { color: var(--primary); }

.coaching-block__product-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 48ch;
    margin-bottom: 1rem;
}

.coaching-block__product-cta { margin-top: 0.15rem; }

.coaching-block__figure {
    margin: 0;
    width: 100%;
    max-width: 13.5rem;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.coaching-block__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coaching-block__badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.coaching-block__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.coaching-block__summary {
    color: var(--text-muted);
    max-width: 54ch;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.coaching-block__list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.coaching-block__list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}

.coaching-block__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.coaching-block__results { margin-top: 1.75rem; }

.coaching-block__results-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.coaching-block__aside {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.coaching-block__aside-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.coaching-block__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.coaching-block__link:last-of-type { border-bottom: none; }
.coaching-block__link:hover { color: var(--primary); }

.coaching-block__cta {
    width: 100%;
    margin-top: 1.25rem;
}

@media (max-width: 960px) {
    .coaching-block {
        grid-template-columns: minmax(0, 1fr) clamp(11rem, 22vw, 13.5rem);
    }
    .coaching-block__aside {
        grid-column: 1 / -1;
        max-width: 24rem;
    }
}

@media (max-width: 768px) {
    .coaching-block {
        grid-template-columns: 1fr;
    }
    .coaching-block__media {
        justify-self: start;
        max-width: 11rem;
    }
    .coaching-block__figure { max-width: 11rem; }
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-section {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background: var(--bg-inverse);
    color: var(--text-inverse);
    overflow: hidden;
}

.contact-section--photo {
    background: #1c1917;
}

.contact-section--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgb(28 25 23 / 0.9) 0%, rgb(69 10 10 / 0.84) 100%),
        var(--contact-photo) center / cover no-repeat;
    pointer-events: none;
}

.contact-section--photo .contact-section__inner { position: relative; z-index: 1; }

.track-sports .contact-section:not(.contact-section--photo) {
    background: linear-gradient(135deg, #1c1917 0%, #450a0a 100%);
}

.track-enterprise .contact-section:not(.contact-section--photo) {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.contact-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.contact-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.contact-section p {
    color: rgb(255 255 255 / 0.65);
    font-size: 0.95rem;
    max-width: 38ch;
}

.contact-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.contact-section .btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgb(255 255 255 / 0.35);
}

.contact-section .btn--outline:hover {
    background: rgb(255 255 255 / 0.08);
    border-color: rgb(255 255 255 / 0.6);
    color: #fff;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.site-footer__links a {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.site-footer__links a:hover { color: var(--text); }

.site-footer__copy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   DETAIL PAGES
   ═══════════════════════════════════════════ */
.page-banner {
    padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse, var(--hero-glow) 0%, transparent 70%);
    pointer-events: none;
}

.page-banner .container { position: relative; }

.page-banner .breadcrumb {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-banner .breadcrumb a:hover { color: var(--primary); }

.page-banner h1 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 22ch;
}

.page-banner .lead {
    margin-top: 0.85rem;
    color: var(--text-muted);
    max-width: 58ch;
    line-height: 1.65;
    font-size: 1.02rem;
}

.page-banner--photo {
    min-height: 18rem;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2.5rem;
    color: #fff;
    border-bottom: none;
}

.page-banner--photo::before {
    inset: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top, rgb(15 23 42 / 0.88) 0%, rgb(15 23 42 / 0.45) 100%),
        var(--banner-photo) center / cover no-repeat;
}

.page-banner--photo .breadcrumb,
.page-banner--photo .breadcrumb a { color: rgb(255 255 255 / 0.72); }

.page-banner--photo .breadcrumb a:hover { color: #fff; }

.page-banner--photo .lead { color: rgb(255 255 255 / 0.78); }

.track-sports .page-banner--photo::before {
    background:
        linear-gradient(to top, rgb(69 10 10 / 0.88) 0%, rgb(28 25 23 / 0.45) 100%),
        var(--banner-photo) center / cover no-repeat;
}

/* ═══════════════════════════════════════════
   PHOTO GALLERY
   ═══════════════════════════════════════════ */
.section--gallery { background: var(--bg); }

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.85rem;
}

.photo-gallery__item {
    position: relative;
    margin: 0;
    grid-column: span 4;
    min-height: 12rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.photo-gallery__item--featured {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 18rem;
}

.photo-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease);
}

.photo-gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
    .photo-gallery__item,
    .photo-gallery__item--featured {
        grid-column: span 6;
        grid-row: span 1;
        min-height: 11rem;
    }
}

@media (max-width: 560px) {
    .photo-gallery { grid-template-columns: 1fr 1fr; }
    .photo-gallery__item,
    .photo-gallery__item--featured { grid-column: span 1; }
}

.prose {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 0 4.5rem;
}

.detail-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-block:last-of-type { border-bottom: none; }

.detail-block h3 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.55rem;
}

.detail-block p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.prose h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.prose p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose .callout {
    padding: 1.25rem 1.5rem;
    background: var(--bg);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.prose .prose__actions,
.prose .btn-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* ═══════════════════════════════════════════
   MOTION
   ═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
}

.hero .fade-in {
    opacity: 1;
    transform: none;
}
