/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
    /* Colors */
    --bg-primary: #07090d;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --text-primary: #f2f5f8;
    --text-secondary: #a8b5c6;
    --text-muted: #657182;

    --accent-1: #69d5ff;
    --accent-2: #3ba6f5;
    --accent-gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));

    --glow-cyan: rgba(105, 213, 255, 0.2);

    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 255, 255, 0.16);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Orbitron', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-2xl: 12rem;

    /* Misc */
    --radius-md: 16px;

    /* Psychologically-tuned easing curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    /* hover exits, snap responses */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    /* general smooth transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* playful bounces */

    --transition-micro: 0.15s var(--ease-out-expo);
    /* hover states, instant feedback */
    --transition-fast: 0.25s var(--ease-out-quart);
    /* interactive elements */
    --transition-smooth: 0.5s var(--ease-out-quart);
    /* layout shifts, reveals */

    /* Cursor spotlight */
    --cursor-x: 50%;
    --cursor-y: 50%;
    --hero-velocity-glow: 0;
}

/* ================================================
   RESET & BASE
   ================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    /* Lenis handles smooth scroll */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-micro);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

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

/* ================================================
   HOVER SHIMMER (silver flash across cards & buttons)
   ================================================ */
.shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.12) 55%,
            transparent 70%);
    transform: translateX(-130%);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.shimmer:hover::after {
    transform: translateX(130%);
    transition: transform 0.72s var(--ease-out-quart);
}

/* Apply shimmer to cards and buttons site-wide */
.hero-btn,
.app-card,
.writing-card,
.writing-card--featured,
.range-card,
.startup-card,
.startup-case,
.startup-final-cta,
.price-card,
.info-card,
.pricing-cta,
.local-card,
.local-price-card,
.portfolio-item,
.playbook-card,
.playbook-btn,
.local-btn,
.nav-link--cta,
.contact-schedule-btn,
.contact-email,
.website-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-btn::after,
.app-card::after,
.writing-card::after,
.writing-card--featured::after,
.range-card::after,
.startup-card::after,
.startup-case::after,
.startup-final-cta::after,
.price-card::after,
.info-card::after,
.pricing-cta::after,
.local-card::after,
.local-price-card::after,
.portfolio-item::after,
.playbook-card::after,
.playbook-btn::after,
.local-btn::after,
.nav-link--cta::after,
.contact-schedule-btn::after,
.contact-email::after,
.website-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.12) 55%,
            transparent 70%);
    transform: translateX(-130%);
    transition: none;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.hero-btn:hover::after,
.app-card:hover::after,
.writing-card:hover::after,
.writing-card--featured:hover::after,
.range-card:hover::after,
.startup-card:hover::after,
.startup-case:hover::after,
.startup-final-cta:hover::after,
.price-card:hover::after,
.info-card:hover::after,
.pricing-cta:hover::after,
.local-card:hover::after,
.local-price-card:hover::after,
.portfolio-item:hover::after,
.playbook-card:hover::after,
.playbook-btn:hover::after,
.local-btn:hover::after,
.nav-link--cta:hover::after,
.contact-schedule-btn:hover::after,
.contact-email:hover::after,
.website-card:hover::after {
    transform: translateX(130%);
    transition: transform 0.72s var(--ease-out-quart);
}

/* Reduced motion: disable shimmer animation */
@media (prefers-reduced-motion: reduce) {

    .shimmer::after,
    .hero-btn::after,
    .app-card::after,
    .writing-card::after,
    .writing-card--featured::after,
    .range-card::after,
    .startup-card::after,
    .startup-case::after,
    .startup-final-cta::after,
    .price-card::after,
    .info-card::after,
    .pricing-cta::after,
    .local-card::after,
    .local-price-card::after,
    .portfolio-item::after,
    .playbook-card::after,
    .playbook-btn::after,
    .local-btn::after,
    .nav-link--cta::after,
    .contact-schedule-btn::after,
    .contact-email::after,
    .website-card::after {
        display: none;
    }

    .logo-loop__track {
        animation: none !important;
    }
}

/* ================================================
   SKILLS MARQUEE
   ================================================ */
.skills-marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.skills-marquee__track {
    display: flex;
    width: max-content;
    animation: skills-scroll 20s linear infinite;
}

.skills-marquee__list {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.skills-marquee__item {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--space-lg);
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.skills-marquee__item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
    margin-right: 1.5rem;
    opacity: 0.4;
}

.skills-marquee:hover .skills-marquee__track {
    animation-play-state: paused;
}

.skills-marquee:hover .skills-marquee__item {
    color: var(--text-secondary);
}

@keyframes skills-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .skills-marquee__track {
        animation: none !important;
    }
}

/* ================================================
   3D PARALLAX TILT CARDS
   ================================================ */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-out-expo);
    will-change: transform;
}

.tilt-card .tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        600px circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.12),
        transparent 50%
    );
}

.tilt-card:hover .tilt-glare {
    opacity: 1;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.custom-cursor {
    pointer-events: none;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
}

.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.18s var(--ease-out-expo),
        background 0.25s ease,
        box-shadow 0.25s ease;
    will-change: transform;
}

.custom-cursor.is-hovering .cursor-dot {
    transform: translate(-50%, -50%) scale(1.6);
}

.custom-cursor.is-hidden .cursor-dot {
    opacity: 0;
    transition: opacity 0.15s;
}

/* Black dot on essay/writing pages */
body.is-essay .cursor-dot {
    background: #111;
}


body.has-custom-cursor,
body.has-custom-cursor * {
    cursor: none !important;
}

/* ================================================
   CURSOR SPOTLIGHT
   ================================================ */
.cursor-spotlight {
    display: none;
}

/* ================================================
   GRAIN OVERLAY
   ================================================ */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-140%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 48px);
    max-width: 1100px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
}

.nav.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    transition: transform 0.4s var(--ease-out-expo),
        opacity 0.4s var(--ease-out-expo);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gradient);
    transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-letter {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo), color 0.2s, opacity 0.2s;
    transition-delay: var(--letter-delay, 0s);
}

.nav-link:hover .nav-letter {
    transform: translateY(-2px) scaleY(1.1);
    color: var(--accent-1);
}

.nav-link.is-active .nav-letter {
    transform: translateY(-1px);
    color: var(--text-primary);
}

.nav-link--cta {
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    border: 1px solid rgba(105, 213, 255, 0.45);
    border-radius: 100px;
    color: var(--text-primary);
    transition: all var(--transition-micro);
}

/* nav-link underline suppressed; shimmer ::after is applied via the global shimmer rules above */

.nav-link--cta:hover {
    background: var(--accent-gradient);
    color: #05101a;
    border-color: transparent;
    box-shadow: 0 10px 30px var(--glow-cyan);
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    z-index: 110;
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-micro);
    border-radius: 2px;
}

.nav-menu-btn.is-active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-menu-btn.is-active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background: rgba(7, 10, 14, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    transform: translateY(20px);
    opacity: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.mobile-menu.is-open .mobile-menu-link {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s var(--ease-out-expo),
        opacity 0.5s var(--ease-out-expo),
        color var(--transition-micro);
}

/* Decaying stagger — fast start, lingering finish */
.mobile-menu.is-open .mobile-menu-link:nth-child(1) {
    transition-delay: 0.08s;
}

.mobile-menu.is-open .mobile-menu-link:nth-child(2) {
    transition-delay: 0.13s;
}

.mobile-menu.is-open .mobile-menu-link:nth-child(3) {
    transition-delay: 0.165s;
}

.mobile-menu.is-open .mobile-menu-link:nth-child(4) {
    transition-delay: 0.19s;
}

.mobile-menu.is-open .mobile-menu-link:nth-child(5) {
    transition-delay: 0.21s;
}

.mobile-menu.is-open .mobile-menu-link:nth-child(6) {
    transition-delay: 0.225s;
}

.mobile-menu-link:hover {
    color: var(--text-primary);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.82rem 1.35rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-micro);
    box-shadow: 0 0 calc(6px + (16px * var(--hero-velocity-glow))) rgba(105, 213, 255, calc(0.03 + (0.09 * var(--hero-velocity-glow))));
}

.hero-btn--primary {
    background: var(--accent-gradient);
    color: #05111a;
}

.hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px var(--glow-cyan);
}

.hero-btn--secondary {
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.hero-btn--secondary:hover {
    border-color: rgba(105, 213, 255, 0.45);
    color: var(--accent-1);
}

/* ================================================
   SHARED SECTION STYLES
   ================================================ */
.section {
    position: relative;
    padding: var(--space-2xl) 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: #8bdfff;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    position: relative;
    padding: 0.25em 0.65em;
}

.section-number::before,
.section-number::after {
    position: absolute;
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(105, 213, 255, 0.35);
    font-size: 0.85em;
    letter-spacing: 0;
}

.section-number::before {
    content: '\250C';
    left: 0;
    top: -0.1em;
}

.section-number::after {
    content: '\2510';
    right: 0;
    top: -0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-title-line {
    display: block;
}


.section-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gradient);
    margin-bottom: var(--space-md);
    clip-path: inset(0 100% 0 0);
}

.section-description {
    max-width: 500px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(15px);
}

/* Footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-divider {
    color: var(--accent-1);
}

.footer--standalone {
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--space-lg);
}

/* ================================================
   SUB-PAGE NAV VARIANT
   ================================================ */
.nav--sub {
    position: sticky;
    left: auto;
    transform: none;
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   SUB-PAGE SHARED STYLES
   ================================================ */
.sub-page {
    min-height: 100vh;
    padding: calc(var(--space-xl) + 2rem) 0 var(--space-xl);
    position: relative;
    overflow: clip;
}

.sub-page::before,
.sub-page::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(42px);
    opacity: 0.36;
    z-index: 0;
    animation: drift 13s ease-in-out infinite;
}

.sub-page::before {
    width: 430px;
    height: 430px;
    top: -140px;
    left: -120px;
    background: radial-gradient(circle at 32% 32%, rgba(105, 213, 255, 0.42), transparent 67%);
}

.sub-page::after {
    width: 520px;
    height: 520px;
    right: -170px;
    bottom: -230px;
    background: radial-gradient(circle at 63% 61%, rgba(59, 166, 245, 0.36), transparent 70%);
    animation-delay: 2s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(16px, -13px) scale(1.04);
    }
}

.sub-page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

[data-animation="fade"] {
    opacity: 0;
    transform: translateY(15px);
}

/* ================================================
   STARTUP HIRE PAGE
   ================================================ */
.startup-hero {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: clamp(1.25rem, 2.5vw, 2.1rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.31);
}

.startup-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(105, 213, 255, 0.52);
    background: rgba(105, 213, 255, 0.12);
    color: #a8e8ff;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.startup-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: 980px;
}

.startup-subtitle {
    max-width: 800px;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.startup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.startup-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.34rem 0.7rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.02);
}

.startup-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

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

.startup-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.startup-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(105, 213, 255, 0.24), transparent 44%, rgba(59, 166, 245, 0.2));
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.startup-card:hover {
    transform: translateY(-6px);
    border-color: rgba(105, 213, 255, 0.36);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.startup-card:hover::before {
    opacity: 1;
}

.startup-card h2 {
    font-family: var(--font-display);
    font-size: 1.16rem;
    margin-bottom: 0.65rem;
}

.startup-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.66;
}

.startup-list li {
    position: relative;
    padding-left: 1rem;
}

.startup-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.62rem;
    background: var(--accent-gradient);
}

.startup-list strong {
    color: var(--text-primary);
}

.startup-section {
    margin-top: var(--space-lg);
}

.startup-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.42rem, 3.1vw, 2rem);
    margin-bottom: var(--space-sm);
}

.startup-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

.startup-case {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-sm) var(--space-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.startup-case:hover {
    transform: translateY(-4px);
    border-color: rgba(105, 213, 255, 0.31);
}

.startup-case h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.startup-case p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.startup-final-cta {
    margin-top: var(--space-lg);
    padding: clamp(1.2rem, 2.6vw, 1.8rem);
    border: 1px solid rgba(105, 213, 255, 0.42);
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(105, 213, 255, 0.12), rgba(59, 166, 245, 0.06));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.startup-final-cta p {
    color: var(--text-secondary);
    max-width: 650px;
}

.startup-final-title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    max-width: 720px;
}

.startup-section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    max-width: 700px;
}

/* ── Metrics Bar ── */
.startup-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    background: var(--border-subtle);
}

.startup-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.4rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.startup-metric-item strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.startup-metric-item span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Visual Timeline ── */
.startup-timeline {
    position: relative;
    display: grid;
    gap: var(--space-md);
    padding-left: 2.5rem;
}

.startup-timeline-line {
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2), rgba(59, 166, 245, 0.15));
    border-radius: 2px;
}

.startup-timeline-phase {
    position: relative;
    display: grid;
    gap: 0;
}

.startup-timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.15rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.startup-timeline-dot-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: 0 0 12px rgba(105, 213, 255, 0.4);
}

.startup-timeline-content {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-sm) var(--space-md);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.startup-timeline-content:hover {
    border-color: rgba(105, 213, 255, 0.31);
    transform: translateX(4px);
}

.startup-timeline-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-1);
}

.startup-timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0.2rem 0 0.35rem;
}

.startup-timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Case Studies (rendered by JS) ── */
.startup-study {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.startup-study:last-child {
    margin-bottom: 0;
}

.startup-study:hover {
    border-color: rgba(105, 213, 255, 0.28);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.startup-study-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.startup-study-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px;
}

.startup-study-company {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.startup-study-oneliner {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 0.15rem;
}

.startup-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.startup-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    background: var(--border-subtle);
}

.startup-study-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.startup-study-metric strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.startup-study-metric span {
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.startup-study-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: 1rem;
}

.startup-study-block h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-1);
    margin-bottom: 0.4rem;
}

.startup-study-block p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.startup-study-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

/* ── Stack Grid ── */
.startup-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.startup-stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.4rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    text-align: center;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.startup-stack-item:hover {
    border-color: rgba(105, 213, 255, 0.25);
    transform: translateY(-3px);
}

.startup-stack-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.startup-stack-item strong {
    font-family: var(--font-display);
    font-size: 0.88rem;
}

.startup-stack-item span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ================================================
   WEBSITE PRICING PAGE
   ================================================ */
.pricing-hero {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pricing-top-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.pricing-kicker {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(105, 213, 255, 0.45);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fe6ff;
    width: fit-content;
    background: rgba(105, 213, 255, 0.07);
}

.pricing-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: 900px;
}

.pricing-subtitle {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.price-card.featured {
    border-color: rgba(105, 213, 255, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(105, 213, 255, 0.38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.price-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(105, 213, 255, 0.45);
    color: #9fe6ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(105, 213, 255, 0.1);
}

.price-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.price-amount {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.price-target {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.price-list li {
    position: relative;
    padding-left: 1.1rem;
}

.price-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #83ddff;
}

.pricing-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pricing-section {
    margin-top: var(--space-lg);
}

.pricing-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.5vw, 2.2rem);
    margin-bottom: var(--space-sm);
}

.comparison-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 740px;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.comparison-table th {
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: #8ce6ff;
    font-weight: 700;
}

.x {
    color: var(--text-muted);
}

.pricing-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: var(--space-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(105, 213, 255, 0.32);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.info-card ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.info-card li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}

.info-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-cta {
    margin-top: var(--space-lg);
    background: linear-gradient(140deg, rgba(105, 213, 255, 0.12), rgba(59, 166, 245, 0.07));
    border: 1px solid rgba(105, 213, 255, 0.33);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-cta p {
    max-width: 640px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-cta .hero-btn {
    white-space: nowrap;
}

/* ================================================
   PLAYBOOK PAGE
   ================================================ */
.playbook-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.4rem 2.2rem;
}

.playbook-sheet {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.playbook-hero {
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 0.9rem;
}

.playbook-kicker {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(105, 213, 255, 0.45);
    border-radius: 999px;
    color: #a8e8ff;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    font-weight: 700;
    background: rgba(105, 213, 255, 0.1);
}

.playbook-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4.1vw, 2.55rem);
    line-height: 1.06;
    margin-bottom: 0.5rem;
}

.playbook-hero p {
    color: var(--text-secondary);
    max-width: 920px;
    font-size: 0.93rem;
}

.playbook-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.playbook-card {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 0.8rem;
}

.playbook-card h2 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
}

.playbook-card p,
.playbook-card li {
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.playbook-col-4 {
    grid-column: span 4;
}

.playbook-col-6 {
    grid-column: span 6;
}

.playbook-col-8 {
    grid-column: span 8;
}

.playbook-col-12 {
    grid-column: span 12;
}

.playbook-card ol,
.playbook-card ul {
    padding-left: 1.05rem;
    display: grid;
    gap: 0.32rem;
}

.playbook-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.playbook-label {
    display: inline-block;
    margin-bottom: 0.38rem;
    color: #b6eafd;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
}

.playbook-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.playbook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.025);
}

.playbook-btn-primary {
    background: var(--accent-gradient);
    color: #081420;
    border-color: transparent;
}

/* ================================================
   WEBSITES (LOCAL BUSINESS) PAGE
   ================================================ */
.local-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
}

.local-kicker {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(105, 213, 255, 0.1);
    color: var(--accent-1);
    border: 1px solid rgba(105, 213, 255, 0.25);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.local-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.local-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.local-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: #05111a;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(105, 213, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.local-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(105, 213, 255, 0.3);
    color: #05111a;
}

.local-section {
    padding: var(--space-xl) 0;
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.local-card {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.local-card:hover {
    border-color: rgba(105, 213, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
}

.local-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.local-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(105, 213, 255, 0.1);
    color: var(--accent-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border: 1px solid rgba(105, 213, 255, 0.2);
}

.local-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: var(--space-md);
}

a.portfolio-item {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    border-color: rgba(105, 213, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.portfolio-img .img-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(145deg, rgba(8, 12, 18, 0.4), rgba(8, 12, 18, 0.7));
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.location-callout {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: var(--space-lg);
    text-align: center;
    margin-top: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.location-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(105, 213, 255, 0.05), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.location-callout h2,
.location-callout p {
    position: relative;
    z-index: 1;
}

.location-callout-heading {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.trust-item {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.local-pricing {
    margin-top: var(--space-xl);
}

.local-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.local-price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.local-price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(105, 213, 255, 0.38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.local-price-card.featured {
    border-color: rgba(105, 213, 255, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.local-price-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(105, 213, 255, 0.45);
    color: #9fe6ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(105, 213, 255, 0.1);
}

.local-price-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.local-price-amount {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.local-price-target {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.local-price-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.local-price-list li {
    position: relative;
    padding-left: 1.1rem;
}

.local-price-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #83ddff;
}

/* ================================================
   SUB-PAGE RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {

    .startup-grid,
    .startup-cases {
        grid-template-columns: 1fr;
    }

    .startup-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .startup-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .startup-study-body {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .startup-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .startup-actions .hero-btn {
        width: 100%;
        max-width: 420px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-two-col {
        grid-template-columns: 1fr;
    }

    .playbook-col-4,
    .playbook-col-6,
    .playbook-col-8 {
        grid-column: span 12;
    }

    .playbook-split {
        grid-template-columns: 1fr;
    }

    .local-pricing-grid {
        grid-template-columns: 1fr;
    }

    .local-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .local-hero h1 {
        font-size: 3rem;
    }

    /* ── Local page mobile fixes ── */
    .trust-bar {
        gap: 1.2rem 2rem;
        padding: 1.5rem 1rem;
    }

    .trust-item {
        font-size: 0.78rem;
    }

    .local-card {
        padding: var(--space-md);
    }

    .local-hero p {
        font-size: 1.08rem;
    }

    .local-btn {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
    }

    .location-callout {
        padding: var(--space-md);
        border-radius: 20px;
    }

    .location-callout-heading {
        font-size: 1.5rem;
    }

    /* ── Pricing CTA + Final CTA — stack on mobile ── */
    .pricing-cta,
    .startup-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-cta .hero-actions,
    .startup-final-cta .startup-actions {
        width: 100%;
    }

    .pricing-cta .hero-btn,
    .startup-final-cta .hero-btn {
        width: 100%;
        max-width: 420px;
    }

    /* ── Info card list — stack on narrow screens ── */
    .info-card li {
        flex-direction: column;
        gap: 0.15rem;
    }

    .info-card li strong {
        font-size: 0.88rem;
    }

    /* ── Pricing top actions — stack buttons ── */
    .pricing-top-actions {
        flex-direction: column;
        width: 100%;
    }

    .pricing-top-actions .hero-btn {
        width: 100%;
        max-width: 420px;
    }

    /* ── Pricing hero subtitle — tighter on mobile ── */
    .pricing-subtitle {
        font-size: 0.95rem;
    }

    .pricing-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media print {
    .playbook-wrap {
        max-width: 100%;
        padding: 0;
    }

    .nav--sub,
    .footer--standalone {
        display: none;
    }

    .playbook-sheet {
        border: 1px solid #d8d8d8;
        box-shadow: none;
        border-radius: 0;
        padding: 0.55in;
        min-height: 10.5in;
        background: white;
    }

    .playbook-hero,
    .playbook-card {
        background: white;
        border-color: #dcdcdc;
        break-inside: avoid;
    }

    .playbook-title,
    .playbook-card h2,
    .playbook-label,
    .playbook-card p,
    .playbook-card li,
    .playbook-hero p,
    .playbook-kicker {
        color: #111 !important;
    }
}

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

/* ================================================
   PAGE TRANSITIONS (Barba.js) — Staggered Column Blinds
   ================================================ */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    display: flex;
    overflow: hidden;
}

.page-transition-col {
    flex: 1;
    background: linear-gradient(180deg, #3ba6f5 0%, #69d5ff 40%, #3ba6f5 100%);
    transform: scaleY(0);
    transform-origin: top;
    will-change: transform;
}

.page-transition-col:nth-child(odd) {
    background: linear-gradient(180deg, #69d5ff 0%, #3ba6f5 50%, #69d5ff 100%);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .websites-gallery-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .websites-gallery-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Marquee compact on tablets */
    .skills-marquee__item {
        padding: 0 var(--space-md);
        font-size: 0.85rem;
    }

    .skills-marquee__item::before {
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 5rem;
        --space-2xl: 7rem;
    }

    /* ── Nav ── */
    .nav {
        width: calc(100% - 32px);
        padding: 8px 16px;
        top: 10px;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    /* ── Mobile Menu — immersive full-screen overlay ── */
    .mobile-menu {
        padding: 5rem 2rem 3rem;
        gap: 0;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .mobile-menu-link {
        font-size: 2.4rem;
        padding: 0.6rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu-link:last-child {
        border-bottom: none;
        margin-top: 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent-1);
        padding: 0.9rem 1.5rem;
        border: 1px solid rgba(105, 213, 255, 0.35);
        border-radius: 999px;
        justify-content: center;
        width: auto;
        align-self: flex-start;
    }

    /* ── Hero ── */
    .hero {
        min-height: 100svh;
        padding-top: 0;
    }

    .hero-roles {
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero-role-divider {
        display: none;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
        max-width: 100%;
        font-size: 0.76rem;
        min-height: 48px;
    }

    /* ── Grids ── */
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .writing-grid {
        grid-template-columns: 1fr;
    }

    .writing-topics {
        gap: var(--space-md);
    }

    .writing-card--featured {
        grid-column: span 1;
        padding: var(--space-md);
    }

    .writing-card--featured .writing-card-title {
        font-size: 1.5rem;
    }

    /* ── Website Cards ── */
    .website-card {
        width: min(380px, 88vw);
    }

    .website-card-screen {
        height: 240px;
    }

    .website-card-actions {
        flex-direction: column;
    }

    .website-card-link {
        width: 100%;
        min-height: 44px;
    }

    /* ── Startup CTA ── */
    .startup-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .startup-cta .hero-btn {
        width: 100%;
        max-width: 420px;
    }

    .websites-pricing-link {
        width: 100%;
        max-width: 420px;
    }

    /* ── Story Player ── */
    .story-controls {
        padding: 10px 14px;
        gap: 12px;
    }

    /* ── Contact ── */
    .contact-content {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-email {
        font-size: 0.95rem;
        padding: 0.88rem var(--space-md);
        min-height: 48px;
        width: 100%;
        max-width: 380px;
    }

    .contact-schedule-btn {
        margin-left: 0;
        display: inline-flex;
        width: 100%;
        max-width: 380px;
        margin-top: 0.45rem;
        padding: 0.88rem var(--space-md);
    }

    /* ── Section Headers ── */
    .section-header {
        margin-bottom: var(--space-lg);
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-number {
        font-size: 0.8rem;
    }

}

@media (max-width: 480px) {
    :root {
        --space-xl: 3.5rem;
        --space-2xl: 5rem;
    }

    /* ── Nav — tighter on small screens ── */
    .nav {
        width: calc(100% - 24px);
        padding: 7px 14px;
        top: 8px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    /* ── Hero ── */
    .hero-name {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-metrics {
        gap: 0.4rem;
    }

    .hero-metric {
        padding: 0.6rem 0.55rem;
        border-radius: 10px;
    }

    .hero-metric strong {
        font-size: 0.95rem;
    }

    .hero-metric span {
        font-size: 0.65rem;
    }

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

    /* ── Sections ── */
    .section-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .contact-heading {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .section-container {
        padding: 0 1rem;
    }

    /* ── Cards ── */
    .app-card-content,
    .writing-card,
    .writing-card--featured {
        padding: 1rem;
    }

    .app-card-desc,
    .writing-card-excerpt {
        font-size: 0.9rem;
    }

    .writing-card-title {
        font-size: 1.25rem;
    }

    /* ── Website Cards — full bleed feel ── */
    .website-card {
        width: 92vw;
    }

    .website-card-screen {
        height: 200px;
    }

    .website-card-info h3 {
        font-size: 1rem;
    }

    .website-card-result {
        font-size: 0.85rem;
    }

    /* ── Contact — stack centered ── */
    .contact-sub {
        font-size: 0.95rem;
    }

    .contact-email {
        font-size: 0.88rem;
        max-width: 100%;
    }

    .contact-schedule-btn {
        max-width: 100%;
    }

    /* ── Mobile Menu — larger on small screens ── */
    .mobile-menu {
        padding: 4.5rem 1.5rem 2rem;
    }

    .mobile-menu-link {
        font-size: 2rem;
        padding: 0.5rem 0;
    }

    /* ── Footer ── */
    .footer {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
        padding: var(--space-sm) var(--space-sm);
    }

    .footer-divider {
        display: none;
    }

    /* ── Tags ── */
    .tag {
        font-size: 0.68rem;
        padding: 0.2rem 0.6rem;
    }

    /* ── Local page — small screen polish ── */
    .trust-bar {
        gap: 0.8rem 1.5rem;
        padding: 1.2rem 0.75rem;
    }

    .trust-item {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .local-hero p {
        font-size: 0.95rem;
    }

    .local-btn {
        font-size: 0.88rem;
        padding: 0.78rem 1.25rem;
        width: 100%;
        justify-content: center;
    }

    .local-card h3 {
        font-size: 1.25rem;
    }

    .location-callout-heading {
        font-size: 1.2rem;
    }

    .location-callout p {
        font-size: 0.9rem;
    }

    /* ── Portfolio cards — tighter padding ── */
    .portfolio-content {
        padding: 1rem;
    }

    .portfolio-content h4 {
        font-size: 1.1rem;
    }

    /* ── Pricing cards — breathing room ── */
    .price-card,
    .local-price-card {
        padding: 1.25rem;
    }

    .price-amount,
    .local-price-amount {
        font-size: 1.6rem;
    }

    /* ── Startup page ── */
    .startup-hero {
        padding: 1rem;
        border-radius: 18px;
    }

    .startup-chip {
        font-size: 0.68rem;
        padding: 0.28rem 0.55rem;
    }

    .startup-final-cta {
        padding: 1rem;
        border-radius: 14px;
    }

    .startup-case {
        padding: var(--space-sm);
    }

    .startup-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 12px;
    }

    .startup-metric-item {
        padding: 1rem 0.6rem;
    }

    .startup-metric-item strong {
        font-size: 1.1rem;
    }

    .startup-stack-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .startup-stack-item {
        padding: 1rem 0.6rem;
        border-radius: 10px;
    }

    .startup-timeline {
        padding-left: 2rem;
    }

    .startup-timeline-dot {
        left: -2rem;
    }

    .startup-timeline-line {
        left: 0.5rem;
    }

    .startup-study {
        padding: var(--space-sm);
        border-radius: 14px;
    }

    .startup-study-metrics {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 10px;
    }

    /* ── Playbook — tighter on small screens ── */
    .playbook-sheet {
        padding: 0.75rem;
        border-radius: 16px;
    }

    .playbook-hero {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .playbook-card {
        padding: 0.65rem;
        border-radius: 10px;
    }

    .playbook-actions {
        flex-direction: column;
    }

    .playbook-btn {
        width: 100%;
        justify-content: center;
    }
}
