:root {
    --aura-1: #dc2626;
    --aura-2: #ea580c;
    --aura-3: #fdba74;
}

html { scroll-padding-top: 104px; }
body { overflow-x: hidden; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(170px, 250px) 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    color: white;
    background: rgba(10, 10, 10, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand-lockup {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 0.86;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.brand-lockup sup {
    font-size: 0.2em;
    margin-left: 3px;
    vertical-align: super;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2vw, 30px);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.site-nav a,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover { color: white; }

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.market-clock {
    display: flex;
    gap: 18px;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
    font-weight: 800;
}

.market-clock span { display: grid; gap: 4px; text-align: right; }
.market-clock b { color: white; font-weight: 700; letter-spacing: 0.02em; }

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    transition: background 180ms ease, color 180ms ease;
}

.icon-btn:hover { background: white; color: black; }

.header-cta,
.pill-btn {
    min-height: 42px;
    border-radius: 999px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta {
    background: white;
    color: black;
}

.menu-toggle {
    display: none;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: rgba(255, 255, 255, 0.05);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-panel {
    min-height: 100%;
    width: min(100%, 420px);
    margin-left: auto;
    padding: 18px;
    background:
        radial-gradient(circle at 80% 22%, rgba(234, 88, 12, 0.26), transparent 34%),
        #050505;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 48px;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mobile-menu-top span {
    font-size: 28px;
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.mobile-menu-top sup {
    font-size: 0.22em;
}

.menu-close {
    min-height: 34px;
    border-radius: 999px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: rgba(255, 255, 255, 0.06);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.mobile-menu-nav {
    display: grid;
    align-content: center;
    gap: 4px;
}

.mobile-menu-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: clamp(34px, 12vw, 56px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    font-weight: 760;
}

.mobile-menu-nav a:last-child {
    margin-top: 20px;
    border-bottom: 0;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f97316;
}

.pill-btn:hover,
.header-cta:hover { transform: translateY(-1px); }

.pill-btn-solid {
    background: white;
    color: black;
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.08);
}

.pill-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

.dark .pill-btn-ghost {
    border-color: rgba(255, 255, 255, 0.16);
}

.hero-shell {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 46%, rgba(234, 88, 12, 0.24), transparent 34%),
        radial-gradient(circle at 22% 72%, rgba(220, 38, 38, 0.16), transparent 30%),
        linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
    mask-image: linear-gradient(to bottom, black 62%, transparent 100%);
}

.kicker,
.hero-copy {
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.94);
}

.kicker span,
.hero-copy { color: rgba(255, 255, 255, 0.56); }
.hero-copy span { color: white; }

.hero-word {
    color: rgba(255, 255, 255, 0.18);
    font-size: clamp(58px, 12vw, 176px);
    line-height: 0.82;
    font-weight: 800;
    letter-spacing: -0.07em;
    text-align: center;
    text-shadow: 0 20px 120px rgba(249, 115, 22, 0.18);
}

.hero-word sup {
    font-size: 0.18em;
    vertical-align: super;
    letter-spacing: 0;
}

.round-link {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.band {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dark .band { background: rgba(10, 10, 10, 0.74); }

.section-pad { padding: clamp(80px, 8vw, 128px) 0; position: relative; z-index: 10; }

.client-logo-strip {
    position: relative;
    z-index: 12;
    overflow: hidden;
    padding: 28px 0 34px;
    color: white;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logo-head {
    margin-bottom: 18px;
}

.client-logo-head .eyebrow {
    margin-bottom: 0;
}

.logo-marquee {
    display: grid;
    gap: 12px;
    mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

.logo-row {
    overflow: hidden;
}

.logo-track {
    display: flex;
    width: max-content;
    gap: clamp(16px, 2.4vw, 32px);
    will-change: transform;
    animation-name: logo-marquee-left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-track-slow { animation-duration: 58s; }
.logo-track-slower { animation-duration: 72s; }

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-tile {
    width: clamp(132px, 12vw, 184px);
    height: clamp(58px, 6.4vw, 86px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.logo-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.78;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
    transition: opacity 200ms ease, transform 200ms ease;
}

.logo-tile:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f97316;
    font-weight: 800;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(34px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 600;
}

.lead-copy {
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.24;
    letter-spacing: -0.04em;
    color: rgb(82, 82, 91);
}

.dark .lead-copy { color: rgb(212, 212, 216); }

.stat-cell {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(113, 113, 122, 0.28);
    padding-left: 24px;
}

.stat-cell strong {
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 300;
}

.stat-cell span {
    margin-top: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgb(113, 113, 122);
    font-weight: 800;
}

.feature-card,
.work-card,
.page-card,
.detail-card,
.contact-card {
    border: 1px solid rgba(113, 113, 122, 0.28);
    background: rgba(255, 255, 255, 0.66);
    border-radius: 18px;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.dark .feature-card,
.dark .work-card,
.dark .page-card,
.dark .detail-card,
.dark .contact-card { background: rgba(24, 24, 27, 0.56); }

.feature-card,
.page-card,
.detail-card { padding: 28px; }

.feature-card:hover,
.page-card:hover,
.detail-card:hover,
.work-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.72);
}

.feature-card span,
.page-card span,
.detail-card span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f97316;
    font-weight: 800;
    margin-bottom: 36px;
}

.feature-card h3,
.page-card h3,
.detail-card h3 {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 650;
    margin-bottom: 16px;
}

.feature-card p,
.page-card p,
.detail-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgb(82, 82, 91);
    font-weight: 600;
}

.dark .feature-card p,
.dark .page-card p,
.dark .detail-card p { color: rgb(161, 161, 170); }

.stack-list {
    border-top: 1px solid rgba(113, 113, 122, 0.3);
}

.stack-list a {
    display: grid;
    grid-template-columns: 46px minmax(160px, 0.8fr) 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(113, 113, 122, 0.3);
}

.stack-list span {
    font-size: 11px;
    color: #f97316;
    font-weight: 800;
}

.stack-list b {
    font-size: clamp(24px, 3vw, 44px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 650;
}

.stack-list em {
    font-style: normal;
    color: rgb(113, 113, 122);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.work-card {
    overflow: hidden;
}

.work-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.78;
    transition: filter 400ms ease, opacity 400ms ease, transform 500ms ease;
}

.work-card:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

.work-card div { padding: 22px; }
.work-card h3 { font-size: 22px; letter-spacing: -0.04em; font-weight: 800; }
.work-card p { margin-top: 5px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(113,113,122); font-weight: 800; }

.website-showcase {
    position: relative;
    display: grid;
    gap: clamp(26px, 4vw, 48px);
    padding: clamp(22px, 3.4vw, 44px);
    overflow: hidden;
    border: 1px solid rgba(113, 113, 122, 0.3);
    border-radius: 18px;
    background:
        radial-gradient(circle at 74% 34%, rgba(234, 88, 12, 0.2), transparent 30%),
        rgba(255, 255, 255, 0.6);
}

.dark .website-showcase {
    background:
        radial-gradient(circle at 74% 34%, rgba(234, 88, 12, 0.22), transparent 30%),
        rgba(14, 14, 16, 0.72);
}

.website-showcase:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.45;
    mask-image: linear-gradient(120deg, transparent 0%, black 42%, black 100%);
}

.website-copy,
.website-showcase-head,
.website-preview,
.website-preview-stack {
    position: relative;
    z-index: 1;
}

.website-copy .lead-copy {
    margin-top: 24px;
    max-width: 760px;
}

.website-showcase-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.showcase-actions,
.showcase-stats,
.website-carousel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.website-carousel-actions {
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;
}

.rail-control {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 18px;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.rail-control:hover {
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.72);
    background: white;
    color: black;
}

.showcase-stats span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid rgba(113, 113, 122, 0.32);
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(113, 113, 122);
    font-weight: 800;
}

.showcase-stats b { color: #f97316; }

.website-preview-stack { width: 100%; }

.website-preview-rail {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: 8px 0 18px;
    margin: -8px 0 -18px;
    mask-image: linear-gradient(to right, transparent 0, black 36px, black calc(100% - 36px), transparent 100%);
}

.website-preview-rail::-webkit-scrollbar { display: none; }

.website-preview-rail-large {
    margin-right: calc(clamp(22px, 3.4vw, 44px) * -1);
    padding-right: clamp(22px, 3.4vw, 44px);
}

.website-preview-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
}

.website-preview {
    display: block;
    flex: 0 0 clamp(320px, 72vw, 920px);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 5, 5, 0.92);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.website-preview:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.72);
    box-shadow: 0 44px 120px rgba(234, 88, 12, 0.18);
}

.browser-bar {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.browser-bar b {
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    letter-spacing: 0.04em;
}

.website-preview img {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(0.2);
    transition: transform 700ms ease, filter 400ms ease;
}

.website-preview:hover img {
    filter: grayscale(0);
    transform: scale(1.025);
}

.preview-caption {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(220px, 0.3fr);
    gap: 4px 18px;
    align-items: end;
    padding: 18px;
}

.preview-caption span {
    grid-column: 1 / -1;
    color: #f97316;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.preview-caption strong {
    color: white;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    font-weight: 800;
}

.preview-caption em {
    justify-self: end;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.52);
    font-style: normal;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
    font-weight: 800;
}

.contact-card {
    position: relative;
    padding: 34px;
    display: grid;
    gap: 30px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(113, 113, 122, 0.66);
    padding: 12px 0;
    font-size: 14px;
    font-weight: 750;
    outline: none;
}

.contact-card textarea { min-height: 96px; resize: vertical; }
.consent { display: flex; gap: 12px; font-size: 11px; line-height: 1.5; color: rgb(113,113,122); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.consent input { width: 16px; min-width: 16px; margin-top: 2px; }

.form-success {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 32px;
}

.dark .form-success { background: rgba(10, 10, 10, 0.96); }
.form-success h3 { font-size: 34px; letter-spacing: -0.05em; font-weight: 800; }
.form-success p { margin-top: 10px; color: rgb(113,113,122); font-weight: 700; }
.hidden { display: none !important; }

.site-footer {
    position: relative;
    z-index: 10;
    padding: 34px 24px;
    color: white;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.site-footer div,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.aura-stage {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.aura-orb {
    position: absolute;
    width: clamp(280px, 34vw, 520px);
    height: clamp(280px, 34vw, 520px);
    transform: translate3d(var(--aura-x, 0), var(--aura-y, 0), 0) scale(var(--aura-scale, 1));
    transition: filter 900ms ease;
    will-change: transform;
}

.aura-orange {
    --out-border: rgba(220, 38, 38, 0.5);
    --out-shadow: 0 0 120px rgba(220, 38, 38, 0.9), inset 0 0 100px rgba(220, 38, 38, 0.7);
    --mid-border: rgba(234, 88, 12, 0.9);
    --mid-shadow: 0 0 50px rgba(234, 88, 12, 0.9), inset 0 0 50px rgba(234, 88, 12, 0.9);
    --in-border: #fdba74;
    --in-shadow: 0 0 30px #fdba74, inset 0 0 30px #fdba74;
}

.aura-ring {
    position: absolute;
    border-style: solid;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.aura-ring-out {
    inset: 0;
    border-width: 6px;
    border-color: var(--out-border);
    box-shadow: var(--out-shadow);
    animation: morph 12s ease-in-out infinite;
}

.aura-ring-mid {
    inset: 18px;
    border-width: 3px;
    border-color: var(--mid-border);
    box-shadow: var(--mid-shadow);
    animation: morph-reverse 9s ease-in-out infinite;
}

.aura-ring-in {
    inset: 36px;
    border-width: 2px;
    border-color: var(--in-border);
    box-shadow: var(--in-shadow);
    animation: morph 6s ease-in-out infinite;
}

.aura-spin {
    position: absolute;
    inset: -22px;
    border-radius: 999px;
    background: conic-gradient(from 0deg, transparent 0%, #dc2626 15%, transparent 40%, #ea580c 65%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, transparent 55%, black 60%, black 65%, transparent 70%);
    mask-image: radial-gradient(circle, transparent 55%, black 60%, black 65%, transparent 70%);
    animation: spin-slow 20s linear infinite;
    opacity: 0.9;
}

.aura-hud {
    position: absolute;
    bottom: -54px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: #ea580c;
    font-size: 10px;
    letter-spacing: 0.2em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    opacity: 0.74;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); }
}

@keyframes morph-reverse {
    0% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; transform: rotate(360deg); }
    50% { border-radius: 40% 60% 50% 50% / 40% 50% 60% 50%; transform: rotate(180deg); }
    100% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; transform: rotate(0deg); }
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

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

.subhero {
    position: relative;
    min-height: 72svh;
    padding: 150px 24px 80px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background: #050505;
}

.subhero:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 68% 45%, rgba(234, 88, 12, 0.22), transparent 36%),
        linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
}

.subhero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
    gap: 56px;
    align-items: end;
}

.subhero h1 {
    color: white;
    font-size: clamp(56px, 11vw, 150px);
    line-height: 0.86;
    letter-spacing: -0.08em;
    font-weight: 800;
}

.subhero p {
    color: rgba(255,255,255,0.68);
    font-size: clamp(17px, 2vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1180px) {
    .site-header { grid-template-columns: minmax(160px, 220px) 1fr auto; }
    .market-clock { display: none; }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px 16px;
        padding: 12px 16px 10px;
    }
    .site-nav {
        display: none;
    }
    .header-cta { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .subhero-inner { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .stack-list a { grid-template-columns: 36px 1fr; }
    .stack-list em { grid-column: 2; }
    .client-logo-head { grid-template-columns: 1fr; }
    .website-showcase-head { grid-template-columns: 1fr; }
    .website-carousel-actions { justify-content: flex-start; }
    .website-preview { flex-basis: min(82vw, 720px); }
    .website-copy .lead-copy { max-width: none; }
}

@media (max-width: 640px) {
    .site-header {
        padding: 8px 14px 7px;
        gap: 6px 12px;
        align-items: center;
    }
    .brand-lockup { font-size: 22px; }
    .header-tools { gap: 8px; }
    .icon-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    .site-nav {
        display: none;
    }
    .hero-shell { padding-top: 76px; }
    .stat-cell { border-left: 0; padding-left: 0; }
    .site-footer { flex-direction: column; }
    .contact-card { padding: 24px; }
    .client-logo-strip { padding: 26px 0 30px; }
    .logo-marquee { gap: 10px; }
    .logo-track { gap: 14px; }
    .logo-tile {
        width: 108px;
        height: 52px;
    }
    .website-showcase { padding: 18px; border-radius: 16px; }
    .website-preview-rail {
        mask-image: linear-gradient(to right, black 0, black calc(100% - 34px), transparent 100%);
    }
    .website-preview { flex-basis: 304px; }
    .browser-bar { min-height: 36px; }
    .website-preview img { aspect-ratio: 16 / 10.5; }
    .preview-caption {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .preview-caption strong { font-size: 30px; }
    .preview-caption em {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding: 7px 12px 6px;
        gap: 5px 10px;
    }
    .brand-lockup {
        font-size: 21px;
        letter-spacing: -0.052em;
    }
    .site-nav {
        display: none;
    }
    .icon-btn {
        width: 27px;
        height: 27px;
    }
    .hero-shell {
        padding-top: 70px;
    }
}

@media (max-height: 520px) and (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
        padding: 8px 14px;
        gap: 14px;
        align-items: center;
    }
    .brand-lockup {
        font-size: 25px;
        line-height: 0.9;
    }
    .site-nav {
        display: none;
    }
    .header-tools {
        gap: 6px;
    }
    .icon-btn {
        width: 30px;
        height: 30px;
    }
    .hero-shell {
        padding-top: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
