/* ── Nav ─────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(14, 14, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0;
    transition: transform var(--duration) var(--ease);
}

.nav__logo:hover {
    transform: scale(1.03);
}

.nav__logo-text {
    font-family: var(--font-headline);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.nav__logo-f {
    transition: color var(--duration) var(--ease);
}

.nav__logo:hover .nav__logo-f {
    color: var(--accent);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.nav__links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav__cta {
    background: var(--accent);
    color: #0E0E10 !important;
    padding: 0.45rem 1.2rem;
    border-radius: 0;
    font-weight: 700 !important;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease) !important;
}

.nav__cta:hover {
    background: #fff;
    color: #0E0E10 !important;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform var(--duration) var(--ease),
                opacity var(--duration) var(--ease);
}

.nav__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'dF';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-headline);
    font-size: clamp(30rem, 50vw, 55rem);
    font-weight: 700;
    color: var(--accent);
    opacity: 0.04;
    line-height: 0.85;
    letter-spacing: -0.05em;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    user-select: none;
}

.hero__inner {
    padding: var(--space-2xl) 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__headline {
    font-family: var(--font-headline);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hero__sub {
    position: absolute;
    top: calc(var(--nav-height) + 2rem);
    right: var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-align: right;
    z-index: 3;
}

/* ── Hero Word Animations ───────────────── */
.hero__word {
    display: block;
    position: relative;
    cursor: default;
    overflow: visible;
}

/* GROW — MTA Yellow, scales up when active */
.hero__word--grow {
    color: var(--mta-yellow);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

.hero__word--grow.active {
    transform: scale(1.12);
    color: #fff;
}

/* SEED — sinks down when active */
.hero__word--seed {
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.hero__word--seed.active {
    transform: translateY(8px);
    opacity: 0.6;
}

/* ── CLIP — Slash Line ──────────────────── */
.hero__clip-slash {
    position: absolute;
    top: -10%;
    height: 120%;
    width: 4px;
    left: -15%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.8) 20%, #fff 50%, rgba(255,255,255,0.8) 80%, transparent 100%);
    transform: skewX(-12deg);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    filter: blur(0.5px);
    box-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 40px rgba(102,211,250,0.3);
}

.hero__clip-slash.animate {
    animation: slashMove 0.45s ease-out forwards;
}

@keyframes slashMove {
    0% { left: -15%; opacity: 1; }
    80% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* CLIP — Cut line flash across middle */
.hero__clip-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), rgba(102,211,250,0.4), rgba(255,255,255,0.7), transparent);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    pointer-events: none;
    z-index: 9;
}

.hero__clip-line.animate {
    animation: cutLineFlash 0.5s ease-out 0.15s forwards;
}

@keyframes cutLineFlash {
    0% { transform: translateY(-50%) scaleX(0); opacity: 1; }
    30% { transform: translateY(-50%) scaleX(1); opacity: 1; }
    100% { transform: translateY(-50%) scaleX(1); opacity: 0; }
}

/* CLIP — Split halves */
.hero__clip-half {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__clip-half--top {
    clip-path: inset(0 0 50% 0);
}

.hero__clip-half--bottom {
    clip-path: inset(50% 0 0 0);
}

.hero__clip-half--top.split {
    transform: translateY(-8px) translateX(-4px) rotate(-0.5deg);
}

.hero__clip-half--bottom.split {
    transform: translateY(8px) translateX(4px) rotate(0.5deg);
}

/* CLIP — Sparks */
.hero__clip-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 11;
    animation: sparkFly 0.6s ease-out forwards;
}

@keyframes sparkFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* ── SEED — Dirt particles ──────────────── */
.hero__seed-particle {
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    background: #8B7355;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    animation: dirtFall 0.8s ease-in forwards;
}

@keyframes dirtFall {
    0% { transform: translateY(0); opacity: 0.7; }
    100% { transform: translateY(50px); opacity: 0; }
}

/* SEED — Sprout */
.hero__sprout {
    position: absolute;
    bottom: 100%;
    left: 55%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

.hero__sprout-stem {
    width: 3px;
    height: 0;
    background: #34C759;
    margin: 0 auto;
    border-radius: 2px;
    animation: stemGrow 0.8s ease-out forwards;
}

.hero__sprout-leaf {
    position: absolute;
    top: 2px;
    width: 14px;
    height: 10px;
    background: #34C759;
    pointer-events: none;
    opacity: 0;
}

.hero__sprout-leaf--left {
    right: 55%;
    border-radius: 70% 0 70% 0;
    transform-origin: right center;
    transform: rotate(15deg) scale(0);
    animation: leafGrowLeft 0.5s ease-out 0.5s forwards;
}

.hero__sprout-leaf--right {
    left: 55%;
    border-radius: 0 70% 0 70%;
    transform-origin: left center;
    transform: rotate(-15deg) scale(0);
    animation: leafGrowRight 0.5s ease-out 0.65s forwards;
}

@keyframes stemGrow {
    from { height: 0; }
    to { height: 35px; }
}

@keyframes leafGrowLeft {
    from { opacity: 0; transform: rotate(15deg) scale(0); }
    to { opacity: 1; transform: rotate(15deg) scale(1); }
}

@keyframes leafGrowRight {
    from { opacity: 0; transform: rotate(-15deg) scale(0); }
    to { opacity: 1; transform: rotate(-15deg) scale(1); }
}

/* ── GROW — Floating hearts ─────────────── */
.hero__grow-heart {
    position: absolute;
    bottom: 50%;
    pointer-events: none;
    z-index: 10;
    animation: growHeartFloat 2s ease-out forwards;
}

@keyframes growHeartFloat {
    0% { transform: translateY(0) scale(0.3); opacity: 0; }
    15% { opacity: 1; transform: translateY(-10px) scale(1); }
    100% { transform: translateY(-100px) scale(0.2); opacity: 0; }
}

/* Hero — subtitle highlight */
.hero__sub-highlight {
    transition: color var(--duration) var(--ease);
    cursor: default;
}

.hero__sub-highlight:hover {
    color: var(--accent);
}

/* Hero — "artists and labels" link */
.hero__sub-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.hero__sub-link:hover {
    color: #fff;
}

/* Hero — platform icons */
.hero__platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.hero__platform {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    opacity: 0.3;
    transition: opacity var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hero__platform:hover {
    opacity: 1;
    color: #fff;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.hero__desc {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin-top: var(--space-md);
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hero .btn:hover {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* ── Phone Status Bar ───────────────────── */
.phone-status {
    position: absolute;
    top: calc(var(--nav-height) + 1.5rem);
    left: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    opacity: 0.25;
    pointer-events: none;
}

.phone-status__time {
    font-family: var(--font-headline);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
    animation: timePulse 4s ease-in-out infinite;
}

.phone-status__right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
}

.phone-status__signal {
    opacity: 0.9;
}

.phone-status__battery {
    opacity: 0.9;
    animation: batteryGlow 3s ease-in-out infinite;
}

@keyframes batteryGlow {
    0%, 100% { opacity: 0.7; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.3); }
}

@keyframes timePulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* ── Twitch Chat Overlay ────────────────── */
.twitch-chat {
    position: fixed;
    bottom: 30px;
    left: 24px;
    width: 320px;
    max-height: 260px;
    overflow: hidden;
    z-index: 50;
    pointer-events: none;
    opacity: 0.35;
    text-align: left;
    mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
}

.twitch-chat__msg {
    padding: 4px 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    animation: chatFadeIn 0.3s ease;
}

.twitch-chat__user {
    font-weight: 700;
    margin-right: 4px;
}

@keyframes chatFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ── Floating Engagement Likes ───────────── */
.engagement-likes {
    position: fixed;
    bottom: 30px;
    right: 50px;
    width: 160px;
    height: 450px;
    z-index: 50;
    pointer-events: none;
    overflow: visible;
    transition: opacity 0.5s ease;
}

.engagement-likes__heart {
    position: absolute;
    bottom: 0;
    font-size: 2rem;
    opacity: 0;
    animation: floatHeart 3.5s ease-out forwards;
}

@keyframes floatHeart {
    0% {
        opacity: 0.7;
        transform: translateY(0) scale(1);
    }
    20% {
        opacity: 0.6;
        transform: translateY(-90px) scale(1.15);
    }
    50% {
        opacity: 0.4;
        transform: translateY(-220px) scale(1.05);
    }
    75% {
        opacity: 0.2;
        transform: translateY(-340px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translateY(-450px) scale(0.7);
    }
}

/* ── Ticker ─────────────────────────────── */
.ticker {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
}

.ticker__slide {
    display: flex;
    gap: 2.5rem;
    padding-right: 2.5rem;
}

.ticker__item {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.ticker__item:hover {
    transform: scale(1.06);
    color: var(--text);
}

.ticker__item--hot {
    color: var(--accent);
    font-weight: 700;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Clients (Infinite Scroll) ──────────── */
.clients {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.clients__track {
    display: flex;
    width: max-content;
    animation: clientsScroll 40s linear infinite;
}

.clients__slide {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding-right: 6rem;
}

.clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clients__logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.2;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.clients__logo--white {
    filter: none;
    opacity: 0.2;
}

.clients__logo:hover {
    opacity: 0.6;
    transform: scale(1.08);
}

.clients__logo--white:hover {
    opacity: 0.6;
    transform: scale(1.08);
}

/* Pause scroll on hover */
.clients__track:hover {
    animation-play-state: paused;
}

/* Client item — relative for overlay + hearts */
.clients__item {
    position: relative;
    cursor: pointer;
    overflow: visible;
}

/* Client overlay text */
.clients__overlay {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.clients__item:hover .clients__overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
}

/* Client hover hearts */
.clients__heart {
    position: absolute;
    bottom: 10px;
    pointer-events: none;
    opacity: 0;
    animation: clientHeart 1.8s ease-out forwards;
    z-index: 10;
}

@keyframes clientHeart {
    0% { opacity: 0.6; transform: translateY(0) scale(0.8); }
    40% { opacity: 0.5; transform: translateY(-25px) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.6); }
}

@keyframes clientsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Showcase — Sticky Scroll Feed ──────── */
.showcase {
    min-height: 220vh;
    position: relative;
}

.showcase__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) 0;
}

.showcase__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.showcase__headline {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.showcase__phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    perspective: 1200px;
}

.showcase__phone--left {
    transform: translateY(30px) rotateY(5deg);
}

.showcase__phone--right {
    transform: translateY(30px) rotateY(-5deg);
}

.showcase__phone--center {
    z-index: 2;
}

.showcase__phone {
    transition: transform 0.4s var(--ease);
}

.showcase__phone:hover {
    transform: translateY(-4px) scale(1.02);
}

.showcase__phone--left:hover {
    transform: translateY(26px) rotateY(5deg) scale(1.02);
}

.showcase__phone--right:hover {
    transform: translateY(26px) rotateY(-5deg) scale(1.02);
}

/* Phone mockup */
.phone {
    width: 220px;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone--hero {
    width: 260px;
}

.phone__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #000;
    border-radius: 0 0 12px 12px;
    z-index: 5;
}

.phone__screen {
    border-radius: 28px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0A1628, #1A3A5C);
}

.phone__feed {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.phone__video {
    width: 100%;
    aspect-ratio: 9 / 16;
    position: relative;
    flex-shrink: 0;
    background-color: #0A1628;
}

.phone__handle {
    position: absolute;
    top: 32px;
    left: 12px;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
}

.phone__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 50px;
    padding: 1.2rem 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    text-align: left;
    z-index: 2;
}

.phone__platform {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    margin-bottom: 0.4rem;
}

.phone__desc {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.phone__views {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.phone__engagement {
    position: absolute;
    right: 8px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.phone__eng-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.phone__eng-item svg {
    opacity: 0.9;
}

.phone__eng-item span {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Phone dissolution — when feeds run out */
.showcase__phones {
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.showcase__phones.dissolve {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(8px);
    pointer-events: none;
}

.showcase__total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.showcase__total.takeover {
    transform: scale(1.6);
}

.showcase__total-number {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    transition: font-size 0.8s ease;
    line-height: 1;
}

.showcase__total-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ── Stats ───────────────────────────────── */
.stats {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.stats__item {
    transition: transform var(--duration) var(--ease);
}

.stats__item:hover {
    transform: scale(1.04);
}

.stats__number {
    display: block;
    font-family: var(--font-headline);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stats__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: var(--space-xs);
    text-transform: uppercase;
}

/* ── Services ────────────────────────────── */
.services {
    padding: var(--space-2xl) 0;
}

.services__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--space-xs);
}

.services__headline {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* Card shine + hover animation */
.card {
    transition: transform var(--duration) var(--ease),
                border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Subway-style colored left border on cards */
.card {
    border-left: 3px solid var(--mta-orange);
    border-radius: 0;
    position: relative;
}

.card:nth-child(2) {
    border-left-color: var(--mta-red);
}

.card:nth-child(3) {
    border-left-color: var(--mta-green);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 204, 10, 0.08), transparent);
    transform: skewX(-15deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.card:hover::after {
    opacity: 1;
    animation: cardShine 0.7s ease-out forwards;
}

.card:hover .card__icon-wrap {
    color: var(--accent);
    transform: scale(1.1);
    transition: transform 0.3s ease, color 0.3s ease;
}

@keyframes cardShine {
    from { left: -60%; }
    to { left: 120%; }
}

/* ── Creative Services ───────────────────── */
.creative {
    padding: var(--space-2xl) 0;
    background: var(--surface);
    border-top: 3px solid var(--mta-purple);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.creative__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--space-xs);
}

.creative__headline {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.creative__sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto var(--space-xl);
}

.creative__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.creative__item {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    border: 1px solid var(--border);
    border-left: 3px solid var(--mta-purple);
    background: var(--bg);
    border-radius: 0;
    transition: border-color var(--duration) var(--ease),
                transform var(--duration) var(--ease),
                background var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}

.creative__item:hover {
    border-color: var(--mta-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(185, 51, 173, 0.1);
}

.creative__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    color: var(--accent);
}

.creative__title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.creative__desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ── Process — Subway Line Map ───────────── */
.process {
    padding: var(--space-2xl) 0;
}

.process__headline {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.process__sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
}

/* Subway line — vertical track with stops */
.process__line {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

/* The vertical line connecting all stops */
.process__line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 4px;
    height: 100%;
    background: var(--border);
    border-radius: 2px;
}

.process__stop {
    position: relative;
    padding: var(--space-md) 0 var(--space-lg) var(--space-md);
}

.process__stop--last {
    padding-bottom: 0;
}

/* Colored station dot */
.process__dot {
    position: absolute;
    left: -33px;
    top: calc(var(--space-md) + 2px);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid var(--bg);
    z-index: 2;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.process__dot--red { background: var(--mta-red); }
.process__dot--orange { background: var(--mta-orange); }
.process__dot--yellow { background: var(--mta-yellow); }
.process__dot--green { background: var(--mta-green); }

.process__stop:hover .process__dot {
    transform: scale(1.3);
    box-shadow: 0 0 16px currentColor;
}

.process__stop:hover .process__dot--red { box-shadow: 0 0 16px var(--mta-red); }
.process__stop:hover .process__dot--orange { box-shadow: 0 0 16px var(--mta-orange); }
.process__stop:hover .process__dot--yellow { box-shadow: 0 0 16px var(--mta-yellow); }
.process__stop:hover .process__dot--green { box-shadow: 0 0 16px var(--mta-green); }

.process__content {
    transition: transform var(--duration) var(--ease);
}

.process__stop:hover .process__content {
    transform: translateX(4px);
}

.process__title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.process__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── About ───────────────────────────────── */
.about {
    padding: var(--space-2xl) 0;
    background: var(--surface);
}

.about__inner {
    max-width: 760px;
}

.about__headline {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: var(--space-lg);
}

.about__text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* ── Contact ─────────────────────────────── */
.contact {
    background: var(--accent);
    color: #0E0E10;
    padding: var(--space-2xl) 0;
}

.contact__inner {
    max-width: 640px;
}

.contact__headline {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: var(--space-sm);
    color: #0E0E10;
}

.contact__sub {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: rgba(14, 14, 16, 0.6);
    line-height: 1.6;
}

.contact__fields {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact__form .input {
    background: rgba(14, 14, 16, 0.08);
    border: 1px solid rgba(14, 14, 16, 0.15);
    color: #0E0E10;
}

.contact__form .input::placeholder {
    color: rgba(14, 14, 16, 0.4);
}

.contact__form .input:focus {
    background: rgba(14, 14, 16, 0.12);
    border-color: #0E0E10;
    box-shadow: 0 0 0 3px rgba(14, 14, 16, 0.1);
}

.contact__form .btn--dark {
    background: #0E0E10;
    color: var(--accent);
}

/* ── Footer ──────────────────────────────── */
.footer {
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer__logo-text {
    font-family: var(--font-headline);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.footer__links {
    display: flex;
    gap: var(--space-md);
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
    display: inline-block;
}

.footer__links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

/* Footer social icons */
.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: var(--space-md) 0;
}

.footer__social {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: opacity var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease);
    display: block;
}

.footer__social svg {
    width: 100%;
    height: 100%;
}

.footer__social:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__bottom a {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}

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

/* ── Legal Pages ────────────────────────── */
.legal {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
}

.legal__inner {
    max-width: 800px;
}

.legal__headline {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.legal__updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.legal h2 {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.legal ul {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
    list-style: disc;
}

.legal li {
    margin-bottom: 0.25rem;
}

.legal__link {
    color: var(--accent);
    transition: opacity var(--duration) var(--ease);
}

.legal__link:hover {
    opacity: 0.8;
}


/* ── LIVE Indicator ──────────────────────── */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #E74C3C;
    margin-right: 0.8rem;
}

.live-indicator__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E74C3C;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(231, 76, 60, 0); }
}

/* ── Card Engagement Burst ────────────────── */
.card-burst {
    position: absolute;
    font-size: 1rem;
    pointer-events: none;
    animation: burstUp 1s ease-out forwards;
    z-index: 10;
}

@keyframes burstUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { opacity: 0.8; transform: translateY(-40px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-80px) scale(0.6); }
}


/* ── Cards need relative for burst ────────── */
.card,
.creative__item,
.process__step,
.stats__item {
    position: relative;
    overflow: hidden;
}
