/*
Theme Name: Apex Unify
Theme URI: https://apexunify.com/
Author: OpenAI Codex
Description: Custom WordPress theme for the Apex Unify technology and creative agency landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: apex
*/

/* RESET */
html { overflow-x: clip; scrollbar-width: thin; scrollbar-color: #3b82f6 #eef2f8; }
body { margin: 0; background: #f4f8ff; overflow-x: clip; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #eef2f8; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* ── FLOATING NAV ── */
.floating-nav {
    position: fixed;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    width: min(94%, 1780px);
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.34));
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    border: 1px solid rgba(255,255,255,0.62);
    border-radius: 50px;
    padding: 10px 22px;
    box-shadow:
        0 24px 60px rgba(15,23,42,0.08),
        inset 0 1px 0 rgba(255,255,255,0.74);
}
.logo-box {
    width: 45px; height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: bold;
}
.nav-link { margin: 0 10px; font-weight: 600; color: rgba(17,24,39,0.86) !important; }
.nav-link:hover { color: #0f172a !important; }
.cta-btn {
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 30px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

/* ── CUSTOM CURSOR ── */
body { cursor: none; }
a, button, .service-tile, .pf-card, .stage-panel, .pf-chip, .chip-check, .team-link { cursor: none; }

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 28px; height: 28px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.15s ease, height 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: background 0.15s ease;
}
.cursor-ring.hovered {
    width: 44px; height: 44px;
    background: rgba(59,130,246,0.08);
}

/* ── MOUSE GLOW ── */
.mouse-glow {
    position: fixed;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ── HERO ── */
.hero-section {
    height: 88vh;
    min-height: 640px;
    position: relative;
    overflow: hidden;
}
.hv {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 0 7%; gap: 60px;
}
.hv-orbit {
    background:
        radial-gradient(circle at 50% 50%, rgba(59,130,246,0.06), transparent 60%),
        #f4f8ff;
}

/* orbit stage */
.hv-orbit-stage {
    position: relative;
    width: min(54vh, 540px);
    aspect-ratio: 1;
    flex-shrink: 0;
}
.orbit-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.16);
    pointer-events: none;
}
.orbit-ring-1 { width: 38%; height: 38%; border-color: rgba(59,130,246,0.22); }
.orbit-ring-2 {
    width: 68%; height: 68%;
    border-style: dashed; border-color: rgba(59,130,246,0.28);
    animation: orbitRingSpin 56s linear infinite;
}
.orbit-ring-3 {
    width: 100%; height: 100%;
    border-color: rgba(59,130,246,0.18); border-style: dashed;
    animation: orbitRingSpin 120s linear infinite reverse;
}
@keyframes orbitRingSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1);   opacity: 0.6; }
    50%       { transform: scale(1.5); opacity: 1;   }
}

.orbit-track {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.track-outer {
    width: 100%; height: 100%;
    animation: orbitTrackSpin 64s linear infinite;
}
.track-inner {
    width: 56%; height: 56%;
    animation: orbitTrackSpinRev 44s linear infinite;
}
@keyframes orbitTrackSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes orbitTrackSpinRev {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
.orbit-node-wrap {
    position: absolute;
    top: 0; left: 50%;
    width: 0; height: 50%;
    transform: translateX(-50%) rotate(var(--a, 0deg));
    transform-origin: bottom center;
}
.orbit-node {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem; font-weight: 500; color: #0f172a;
    box-shadow: 0 4px 14px rgba(15,23,42,0.06);
    white-space: nowrap;
    animation: orbitNodeUprightOuter 64s linear infinite;
}
.track-inner .orbit-node {
    font-size: 0.72rem; padding: 6px 12px;
    animation: orbitNodeUprightInner 44s linear infinite;
}
.orbit-node-wrap:nth-child(even) .orbit-node {
    background: #0f172a; color: #fff; border-color: #0f172a;
}
@keyframes orbitNodeUprightOuter {
    from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg))); }
    to   { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg) - 360deg)); }
}
@keyframes orbitNodeUprightInner {
    from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg))); }
    to   { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a, 0deg) + 360deg)); }
}
.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 116px; height: 116px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 16px 40px rgba(59,130,246,0.30), inset 0 0 0 6px rgba(255,255,255,0.08);
    z-index: 2;
}
.orbit-core-pulse {
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.4);
    animation: orbitPulse 2.6s ease-out infinite;
}
@keyframes orbitPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0;   }
}
.orbit-mark { color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.03em; }
.orbit-label { color: rgba(255,255,255,0.75); font-size: 0.52rem; font-weight: 700; letter-spacing: 0.22em; margin-top: 4px; }

.hv-orbit-text { max-width: 520px; }
.hv-orbit-text h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 600; color: #0f172a;
    letter-spacing: -0.025em; line-height: 1.12;
    margin: 0 0 18px;
}
.hv-orbit-text p { font-size: 1rem; color: #475569; line-height: 1.7; margin: 0 0 28px; }
.hv-cta { display: flex; gap: 12px; align-items: center; }
.hv-cta.center { justify-content: flex-start; }
.hv-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #0f172a; color: #fff;
    padding: 13px 22px; border-radius: 999px;
    font-weight: 500; font-size: 0.92rem; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.hv-btn-primary:hover { background: #3b82f6; color: #fff; transform: translateY(-1px); }
.hv-btn-primary span { transition: transform 0.2s ease; }
.hv-btn-primary:hover span { transform: translateX(3px); }
.hv-btn-ghost {
    display: inline-flex; align-items: center;
    color: #0f172a; padding: 13px 22px; border-radius: 999px;
    font-weight: 500; font-size: 0.92rem; text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.hv-btn-ghost:hover { border-color: #0f172a; background: #fff; color: #0f172a; }

.hv-scroll {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3;
}
.hv-scroll span { font-size: 0.66rem; letter-spacing: 0.24em; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
.hv-scroll-line { width: 1px; height: 36px; background: #cbd5e1; position: relative; overflow: hidden; }
.hv-scroll-dash {
    position: absolute; top: -16px; left: 0;
    width: 1px; height: 16px; background: #3b82f6;
    animation: scrollDash 1.8s ease-in-out infinite;
}
@keyframes scrollDash {
    0%   { top: -16px; }
    100% { top: 36px; }
}

@media (max-width: 900px) {
    .hv { flex-direction: column; gap: 36px; padding: 80px 7% 60px; }
    .hv-orbit-stage { width: min(60vw, 360px); }
    .hv-orbit-text { text-align: center; }
    .hv-cta.center { justify-content: center; }
}

/* ── TICKER ── */
.ticker-ribbon {
    width: 100%; overflow: hidden;
    background: white;
    border-top: 1px solid #e5eaf3; border-bottom: 1px solid #e5eaf3;
    padding: 14px 0; position: relative; z-index: 10;
}
.ticker-track {
    display: flex; align-items: center; gap: 32px;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
}
.ticker-track span { font-size: 0.9rem; font-weight: 500; color: #1e293b; flex-shrink: 0; }
.ticker-dot { color: #3b82f6 !important; font-size: 0.6rem !important; }
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── SERVICES ── */
.services-section { background: #ffffff; padding: 0 5%; }
.services-heading { padding: 80px 0 40px; }
.services-title { font-size: 2.5rem; font-weight: 600; }
.services-sub { color: #666; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; width: 100%; padding-bottom: 80px;
}
.service-tile {
    background: #ffffff; color: #111;
    padding: 36px 32px; min-height: 200px;
    display: flex; flex-direction: column; justify-content: space-between;
    border: 1px solid #f0f0f0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer; user-select: none;
}
.service-tile h4 { font-size: 1.1rem; font-weight: 600; color: #111; margin-bottom: 10px; }
.service-tile p { font-size: 0.88rem; color: #555; margin: 0; flex: 1; }
.service-tile span { font-size: 0.75rem; color: #aaa; letter-spacing: 0.03em; margin-top: 16px; }
.service-tile:hover { background: #3b82f6; border-color: #3b82f6; }
.service-tile:hover h4, .service-tile:hover p, .service-tile:hover span { color: #fff; }
.service-tile.highlight { background: #f5f9ff; }
.service-tile.highlight:hover { background: #3b82f6; border-color: #3b82f6; }
.service-tile.wide { grid-column: span 2; }

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-tile.wide { grid-column: span 2; }
}
@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-tile.wide { grid-column: span 1; }
}

/* ── SERVICE MODAL ── */
.service-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
    z-index: 5000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.service-modal.open { opacity: 1; pointer-events: all; }
.modal-panel {
    background: #fff;
    width: min(680px, 94vw); max-height: 88vh;
    border-radius: 4px; display: flex; flex-direction: column; overflow: hidden;
    transform: translateY(24px);
    transition: transform 0.25s ease;
}
.service-modal.open .modal-panel { transform: translateY(0); }
.modal-back {
    background: none; border: none;
    padding: 20px 28px; font-size: 0.85rem; font-weight: 600;
    color: #3b82f6; letter-spacing: 0.04em; text-align: left;
    border-bottom: 1px solid #f0f0f0; cursor: pointer;
}
.modal-body-content { padding: 32px 36px 24px; overflow-y: auto; flex: 1; }
.modal-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: #3b82f6; text-transform: uppercase; margin-bottom: 10px; }
.modal-title { font-size: 2rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; line-height: 1.2; }
.modal-tagline { font-size: 1rem; color: #475569; font-style: italic; margin-bottom: 20px; }
.modal-desc { font-size: 0.95rem; color: #334155; line-height: 1.75; margin-bottom: 28px; }
.modal-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-list li { font-size: 0.875rem; color: #1e293b; padding: 10px 14px; background: #f8fafc; border-left: 3px solid #3b82f6; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-tags span { font-size: 0.75rem; background: #eff6ff; color: #2563eb; padding: 4px 12px; border-radius: 20px; font-weight: 500; }
.modal-footer { padding: 20px 36px; border-top: 1px solid #f0f0f0; background: #fafafa; }
.modal-cta {
    display: inline-block; background: #3b82f6; color: #fff;
    padding: 13px 28px; border-radius: 4px;
    font-weight: 600; font-size: 0.9rem; text-decoration: none;
    transition: background 0.2s ease;
}
.modal-cta:hover { background: #2563eb; color: #fff; }

@media (max-width: 576px) { .modal-list { grid-template-columns: 1fr; } }

/* ── SYSTEM PREVIEW ── */
.preview-section {
    background: #f8fafc;
    padding: 104px 5.5% 96px;
    border-top: 1px solid #edf0f5;
}
.preview-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(48px, 5.4vw, 88px);
    max-width: 1420px;
    margin: 0 auto;
    align-items: start;
}
.preview-laptop-col {
    position: sticky;
    top: 116px;
    align-self: start;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
}
.preview-stages-col {
    display: flex;
    flex-direction: column;
    min-height: 320vh;
    padding: 2vh 0 18vh;
    position: relative;
}

.preview-label {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em;
    text-transform: uppercase; color: #3b82f6;
    text-align: center; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.preview-pulse {
    display: inline-block;
    width: 6px; height: 6px;
    background: #3b82f6; border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.preview-hint {
    text-align: center;
    font-size: 0.75rem; color: #94a3b8;
    letter-spacing: 0.08em; margin: 12px 0 8px;
}

/* laptop device */
.laptop-device {
    background: #1e293b;
    border-radius: 18px 18px 6px 6px;
    box-shadow: 0 30px 60px rgba(15,23,42,0.18);
}
.laptop-lid {
    background: #0f172a;
    border-radius: 18px 18px 4px 4px;
    padding: 14px;
}
.laptop-camera-bar { height: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.laptop-camera-dot { width: 6px; height: 6px; background: #475569; border-radius: 50%; }
.laptop-screen-area {
    background: #fff; border-radius: 4px;
    aspect-ratio: 16 / 10; overflow: hidden; position: relative;
}
.laptop-chin {
    height: 16px; background: #0f172a;
    border-radius: 0 0 4px 4px;
}
.laptop-base-bar {
    height: 14px; background: #1e293b;
    border-radius: 0 0 18px 18px;
    margin: 0 -8px; position: relative;
}
.laptop-trackpad {
    width: 80px; height: 4px; background: #334155; border-radius: 2px;
    position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
}

/* browser chrome inside screen */
.ss-chrome {
    background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
    padding: 6px 10px; display: flex; align-items: center; gap: 8px;
}
.ss-chrome.dark { background: #1e293b; border-bottom-color: #334155; }
.ss-dots { display: flex; gap: 4px; }
.ss-dots span { width: 7px; height: 7px; background: #cbd5e1; border-radius: 50%; display: inline-block; }
.ss-dots span:nth-child(1) { background: #ef4444; }
.ss-dots span:nth-child(2) { background: #f59e0b; }
.ss-dots span:nth-child(3) { background: #10b981; }
.ss-urlbar {
    flex: 1; background: #fff; border-radius: 3px;
    padding: 3px 8px; font-size: 0.58rem; color: #94a3b8;
    font-family: ui-monospace, monospace; height: 16px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ss-urlbar.dark { background: #0f172a; color: #475569; }
.screen-kicker {
    display: inline-flex;
    width: fit-content;
    color: #3b82f6;
    background: #eff6ff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* screen stages */
.screen-stage {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
    display: flex; flex-direction: column;
}
.screen-stage.active { opacity: 1; pointer-events: auto; }

/* Stage 0 — Discover */
.discover-body {
    display: flex; flex: 1; overflow: hidden;
}
.disc-sidebar {
    width: 28%; background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 8px 6px; display: flex; flex-direction: column; gap: 5px;
}
.disc-nav {
    height: 6px; background: #e2e8f0; border-radius: 3px;
    width: 80%;
}
.disc-nav.active { background: #3b82f6; width: 90%; }
.disc-main {
    flex: 1; padding: 12px 12px 10px;
    display: flex; flex-direction: column; gap: 7px; overflow: hidden;
}
.disc-h {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
}
.disc-sub { color: #64748b; font-size: 0.66rem; font-weight: 600; }
.disc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 4px; flex: 1; min-height: 0; }
.disc-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
    padding: 10px 8px;
    display: flex; flex-direction: column; gap: 5px;
    min-width: 0;
}
.disc-card span {
    color: #3b82f6; font-size: 0.52rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.disc-card strong { color: #0f172a; font-size: 0.64rem; line-height: 1.25; }
.disc-card i {
    display: block; height: 4px; width: 100%;
    background: #dbeafe; border-radius: 999px;
}
.disc-card i:nth-of-type(2) { width: 78%; }
.disc-card i:nth-of-type(3) { width: 56%; }
.disc-bar { height: 4px; width: 120px; background: linear-gradient(to right, #3b82f6, #06b6d4); border-radius: 999px; margin-top: 2px; }

/* Stage 1 — Build */
#screen-1 { background: #fff; }
.build-nav {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 8px; border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.build-logo { width: 16px; height: 12px; background: linear-gradient(135deg, #3b82f6, #06b6d4); border-radius: 3px; flex-shrink: 0; }
.build-links { display: flex; gap: 4px; flex: 1; }
.build-links span { height: 5px; background: #e2e8f0; border-radius: 3px; display: block; width: 24px; }
.build-cta { width: 40px; height: 10px; background: #3b82f6; border-radius: 5px; flex-shrink: 0; }
.build-hero { padding: 12px 12px 8px; flex-shrink: 0; }
.build-hero .screen-kicker { margin-bottom: 7px; }
.build-h1 {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 3px;
}
.build-h1.w60 {
    color: #475569;
    font-size: 0.64rem;
    font-weight: 700;
}
.build-p {
    color: #64748b;
    font-size: 0.58rem;
    line-height: 1.35;
    margin: 5px 0 8px;
    max-width: 80%;
}
.build-btns { display: flex; gap: 4px; }
.build-btn-blue,
.build-btn-outline {
    display: grid; place-items: center;
    min-width: 46px; height: 14px; border-radius: 999px;
    font-size: 0.5rem; font-weight: 800;
}
.build-btn-blue { background: #3b82f6; color: #fff; }
.build-btn-outline { border: 1px solid #e2e8f0; color: #475569; }
.build-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0 8px 8px; }
.build-card {
    min-height: 34px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px;
    padding: 7px 8px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.build-card span { color: #94a3b8; font-size: 0.48rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.build-card strong { color: #0f172a; font-size: 0.82rem; line-height: 1; }

/* Stage 2 — Automate */
#screen-2 { background: #0d1526; }
.auto-flow {
    display: flex; align-items: center; justify-content: center;
    gap: 5px; padding: 18px 12px 20px; flex-shrink: 0;
}
.flow-node {
    width: 42px; height: 34px;
    background: #1a2f4e; border: 1px solid #3b82f6; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #60a5fa; position: relative; flex-shrink: 0;
}
.flow-node span { font-size: 0.56rem; font-weight: 800; }
.flow-node::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 0.48rem;
    font-weight: 700;
    white-space: nowrap;
}
.ai-node {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-color: #93c5fd; width: 46px; height: 38px;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
}
.ai-ring {
    position: absolute; inset: -5px; border-radius: 50%;
    border: 1px solid rgba(96,165,250,0.4);
    animation: aiRingPulse 2s ease-out infinite;
}
@keyframes aiRingPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0;   }
}
.out-node { border-color: #10b981; color: #34d399; }
.flow-wire { flex: 1; height: 2px; background: linear-gradient(to right, #3b82f6, #1e40af); max-width: 28px; border-radius: 999px; }
.auto-status {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 12px 5px; flex-shrink: 0;
}
.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(16,185,129,0.15); color: #34d399;
    padding: 3px 8px; border-radius: 999px;
    font-size: 0.6rem; font-weight: 600;
}
.status-track { flex: 1; height: 3px; background: #1e293b; border-radius: 2px; overflow: hidden; }
.status-fill { height: 100%; background: linear-gradient(to right, #3b82f6, #06b6d4); width: 70%; }
.status-text { font-size: 0.55rem; color: #64748b; font-family: ui-monospace, monospace; white-space: nowrap; }
.auto-log { padding: 8px 12px; display: flex; flex-direction: column; gap: 5px; }
.log-line { height: 5px; background: #1a2f4e; border-radius: 999px; }

/* Stage 3 — Scale */
#screen-3 { background: #fff; }
.analytics-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 5px; padding: 8px; flex-shrink: 0;
}
.metric-card {
    background: #fff; border: 1px solid #edf0f5;
    border-radius: 6px; padding: 8px 10px;
    display: flex; flex-direction: column; gap: 3px;
}
.metric-val { font-size: 0.9rem; font-weight: 600; color: #0f172a; }
.metric-lbl { font-size: 0.5rem; color: #94a3b8; letter-spacing: 0.12em; text-transform: uppercase; }
.analytics-chart {
    display: flex; align-items: flex-end; gap: 4px;
    padding: 4px 8px 8px; flex: 1;
}
.chart-bar { flex: 1; background: linear-gradient(to top, #3b82f6, #93c5fd); border-radius: 2px 2px 0 0; }
.chart-bar.hi { background: linear-gradient(to top, #1d4ed8, #3b82f6); }

/* stage panels (right col) */
.stage-panel {
    min-height: 78vh;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 8vh 0 8vh clamp(4px, 1.8vw, 28px);
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.12;
    filter: blur(7px);
    transform: translate3d(0, 36px, 0);
    transition:
        opacity 0.75s cubic-bezier(.22,.7,.25,1),
        filter 0.75s cubic-bezier(.22,.7,.25,1),
        transform 0.75s cubic-bezier(.22,.7,.25,1),
        color 0.35s ease;
    will-change: opacity, filter, transform;
}
.stage-panel.visible {
    opacity: 0.26;
    filter: blur(3px);
    transform: translate3d(0, 18px, 0);
}
.stage-panel.visible:hover, .stage-panel.visible.active {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
}
.stage-number {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem; font-weight: 800; line-height: 1;
    color: #3b82f6; letter-spacing: 0.18em;
    margin: 0 0 28px;
}
.stage-title {
    font-size: clamp(2.8rem, 4.7vw, 4.1rem);
    font-weight: 800; line-height: 0.96;
    color: #111827; letter-spacing: 0; margin: 0 0 24px;
}
.stage-desc {
    max-width: 560px;
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.62;
    color: #475569; margin: 0;
}
.stage-panel .stage-number,
.stage-panel .stage-title,
.stage-panel .stage-desc {
    transform: translateY(12px);
    transition: transform 0.72s cubic-bezier(.22,.7,.25,1);
}
.stage-panel.visible .stage-number,
.stage-panel.visible .stage-title,
.stage-panel.visible .stage-desc {
    transform: translateY(8px);
}
.stage-panel.visible.active .stage-number,
.stage-panel.visible.active .stage-title,
.stage-panel.visible.active .stage-desc {
    transform: translateY(0);
}
.stage-dots { display: flex; gap: 4px; justify-content: center; margin-top: 12px; }
.stage-dot { width: 6px; height: 6px; background: #cbd5e1; border-radius: 999px; transition: background 0.3s ease, width 0.3s ease; }
.stage-dot.active { width: 28px; background: #3b82f6; }

@media (prefers-reduced-motion: reduce) {
    .stage-panel,
    .stage-panel .stage-number,
    .stage-panel .stage-title,
    .stage-panel .stage-desc {
        transition: none;
        filter: none;
        transform: none;
        will-change: auto;
    }
    .stage-panel,
    .stage-panel.visible {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .preview-inner { grid-template-columns: 1fr; }
    .preview-laptop-col { position: static; max-width: 500px; margin: 0 auto; }
    .preview-stages-col { min-height: auto; padding-top: 0; padding-bottom: 0; gap: 22px; }
    .stage-panel {
        min-height: auto;
        padding: 32px 0;
        opacity: 1;
        filter: none;
        transform: none;
    }
    .stage-panel.visible { opacity: 1; filter: none; transform: none; }
}

/* ── ABOUT ── */
.about-section {
    background: #fff;
    padding: 140px 7%;
    border-top: 1px solid #edf0f5;
    position: relative; overflow: hidden;
}
.about-section::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.08); pointer-events: none;
}
.about-section::after {
    content: ''; position: absolute; top: -120px; right: -120px;
    width: 440px; height: 440px; border-radius: 50%;
    border: 1px dashed rgba(59,130,246,0.12);
    animation: orbitSpin 60s linear infinite; pointer-events: none;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.22,.7,.25,1), transform 0.9s cubic-bezier(.22,.7,.25,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }
.reveal.delay-6 { transition-delay: 0.48s; }

.about-intro { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.about-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: #3b82f6; background: #eff6ff; padding: 8px 16px; border-radius: 999px; margin: 0 0 24px;
}
.about-eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #3b82f6; animation: dotPulse 2s ease-in-out infinite;
}
.about-heading { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 600; color: #0f172a; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 24px; }
.about-heading .word-accent {
    background: linear-gradient(120deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-style: italic; font-family: Georgia, serif; font-weight: 400;
}
.about-lead { font-size: 1.1rem; color: #475569; line-height: 1.8; max-width: 640px; margin: 0 auto; }
.about-rule { height: 1px; background: linear-gradient(to right, transparent, #e2e8f0, transparent); margin: 90px 0; border: none; }

.about-story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; max-width: 1080px; margin: 0 auto; align-items: start; }
.story-label-col { position: sticky; top: 120px; }
.story-label {
    display: inline-block; font-family: ui-monospace, monospace;
    font-size: 0.74rem; color: #94a3b8; letter-spacing: 0.18em; text-transform: uppercase;
    border-left: 2px solid #3b82f6; padding: 4px 0 4px 14px; margin-bottom: 22px;
}
.story-label-col h3 { font-size: 2rem; font-weight: 600; color: #0f172a; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.story-text-col p { font-size: 1.02rem; color: #475569; line-height: 1.85; margin: 0 0 22px; }
.story-text-col p:last-child { margin: 0; }
.story-lead { font-size: 1.18rem !important; color: #0f172a !important; font-weight: 500 !important; border-left: 3px solid #3b82f6; padding-left: 22px; }

.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1080px; margin: 0 auto; }
.principle-card {
    background: #fff; padding: 36px 32px;
    border: 1px solid #edf0f5; border-radius: 14px;
    transition: transform 0.4s cubic-bezier(.22,.7,.25,1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative; overflow: hidden;
}
.principle-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(.22,.7,.25,1);
}
.principle-card:hover { transform: translateY(-6px); border-color: #d1e3ff; box-shadow: 0 22px 50px rgba(59,130,246,0.10); background: #fafcff; }
.principle-card:hover::before { transform: scaleX(1); }
.principle-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(6,182,212,0.04));
    border: 1px solid rgba(59,130,246,0.18);
    display: grid; place-items: center;
    color: #3b82f6; font-size: 1.1rem; font-weight: 700;
    margin-bottom: 22px; transition: transform 0.4s ease;
}
.principle-card:hover .principle-icon { transform: rotate(-8deg) scale(1.06); }
.principle-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #94a3b8; margin-bottom: 14px; }
.principle-title { font-size: 1.1rem; font-weight: 600; color: #0f172a; margin: 0 0 12px; letter-spacing: -0.01em; }
.principle-card p { font-size: 0.92rem; color: #475569; line-height: 1.78; margin: 0; }

.about-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    max-width: 1080px; margin: 0 auto;
    border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; padding: 38px 0;
}
.stat-cell { text-align: center; border-right: 1px solid #edf0f5; padding: 0 16px; }
.stat-cell:last-child { border-right: none; }
.stat-num { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; color: #0f172a; letter-spacing: -0.025em; line-height: 1; }
.stat-num .plus { color: #3b82f6; }
.stat-lbl { margin-top: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #94a3b8; }

.about-team-header { max-width: 1080px; margin: 0 auto 32px; }
.team-heading { font-size: 1.7rem; font-weight: 600; color: #0f172a; margin: 0 0 6px; letter-spacing: -0.015em; }
.team-sub { font-size: 0.92rem; color: #94a3b8; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1080px; margin: 0 auto; }
.team-card {
    background: #fff; border: 1px solid #edf0f5; border-radius: 14px;
    padding: 22px 20px; display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.35s cubic-bezier(.22,.7,.25,1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative; overflow: hidden;
}
.team-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,0.08), transparent 60%);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(15,23,42,0.08); border-color: #d1e3ff; }
.team-card:hover::after { opacity: 1; }
.team-card.featured {
    grid-column: span 2; flex-direction: row; align-items: flex-start; gap: 22px; padding: 30px 26px;
    background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%); border-color: #dbeafe;
}
.team-card.featured:hover { border-color: #bfdbfe; }
.team-avatar-wrap { flex-shrink: 0; }
.team-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.team-avatar {
    width: 44px; height: 44px; background: #0f172a; border-radius: 12px;
    color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-bottom: 4px;
    transition: transform 0.4s cubic-bezier(.22,.7,.25,1);
    overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-avatar { transform: rotate(-6deg) scale(1.05); }
.team-card.featured .team-avatar { width: 56px; height: 56px; border-radius: 14px; font-size: 0.82rem; background: linear-gradient(135deg, #1e40af, #3b82f6); }
.team-role { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #3b82f6; }
.team-name { font-size: 1rem; font-weight: 600; color: #0f172a; margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
.team-card.featured .team-name { font-size: 1.18rem; }
.team-desc { font-size: 0.85rem; color: #64748b; line-height: 1.7; margin: 0; flex: 1; }
.team-link { font-size: 0.78rem; color: #94a3b8; text-decoration: none; font-weight: 500; margin-top: 6px; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 4px; }
.team-link::after { content: ''; transition: transform 0.2s ease; }
.team-link:hover { color: #3b82f6; }
.team-link:hover::after { transform: translateX(4px); }

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .team-card.featured { grid-column: span 3; }
    .about-story { grid-template-columns: 1fr; gap: 32px; }
    .story-label-col { position: static; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid #edf0f5; padding-bottom: 24px; }
    .stat-cell:nth-child(3), .stat-cell:nth-child(4) { padding-top: 24px; }
}
@media (max-width: 768px) {
    .about-section { padding: 90px 5% 100px; }
    .about-principles { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-card.featured { grid-column: span 2; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-card.featured { grid-column: span 1; flex-direction: column; }
}

/* ── PORTFOLIO ── */
.portfolio-section { background: #fff; padding: 130px 7%; border-top: 1px solid #edf0f5; }
.portfolio-header { max-width: 1080px; margin: 0 auto 48px; text-align: center; }
.portfolio-eyebrow {
    display: inline-block; font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: #3b82f6; background: #eff6ff; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.portfolio-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; color: #0f172a; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 16px; }
.portfolio-sub { font-size: 1.05rem; color: #64748b; line-height: 1.75; max-width: 560px; margin: 0 auto; }
.portfolio-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1080px; margin: 36px auto 40px; }
.pf-chip {
    background: #fff; border: 1px solid #e2e8f0; color: #475569;
    padding: 9px 18px; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s ease;
}
.pf-chip:hover { border-color: #3b82f6; color: #3b82f6; }
.pf-chip.active { background: #0f172a; border-color: #0f172a; color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; grid-auto-rows: minmax(240px, auto); }
.pf-card {
    background: #fff; border: 1px solid #edf0f5; border-radius: 14px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(.22,.7,.25,1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer; text-decoration: none;
}
.pf-card.tall { grid-row: span 2; }
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15,23,42,0.08); border-color: #d1e3ff; }
.pf-card.hidden { display: none; }
.pf-thumb { flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.78rem; letter-spacing: 0.08em; }
.pf-thumb img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.pf-thumb-1 { background: linear-gradient(135deg, #1e40af, #3b82f6); color: rgba(255,255,255,0.7); }
.pf-thumb-2 { background: linear-gradient(135deg, #f8fafc, #e2e8f0); }
.pf-thumb-3 { background: linear-gradient(135deg, #0f172a, #1e293b); color: rgba(255,255,255,0.5); }
.pf-thumb-4 { background: linear-gradient(135deg, #ecfeff, #cffafe); color: #0e7490; }
.pf-thumb-5 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.pf-thumb-6 { background: linear-gradient(135deg, #fef2f2, #fecaca); color: #991b1b; }
.pf-thumb-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pf-meta { padding: 20px 22px 22px; border-top: 1px solid #edf0f5; }
.pf-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #3b82f6; margin-bottom: 8px; display: block; }
.pf-name { font-size: 1rem; font-weight: 600; color: #0f172a; margin: 0 0 6px; letter-spacing: -0.01em; }
.pf-blurb { font-size: 0.84rem; color: #64748b; line-height: 1.6; margin: 0; }
.portfolio-foot { text-align: center; margin-top: 50px; }
.portfolio-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #0f172a; text-decoration: none; font-weight: 500;
    border-bottom: 1px solid #0f172a; padding-bottom: 4px; font-size: 0.95rem;
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.portfolio-link:hover { color: #3b82f6; border-color: #3b82f6; gap: 12px; }

@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } .pf-card.tall { grid-row: auto; } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ── TESTIMONIALS ── */
.testi-section { background: #f8fafc; padding: 120px 7%; border-top: 1px solid #edf0f5; }
.testi-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.testi-eyebrow {
    display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: #3b82f6; background: #eff6ff; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.testi-title { font-size: clamp(2rem, 3.8vw, 2.8rem); font-weight: 600; color: #0f172a; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.testi-card {
    background: #fff; border: 1px solid #edf0f5; border-radius: 16px;
    padding: 32px 28px; display: flex; flex-direction: column; gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}
.testi-card::before { content: ''; position: absolute; top: 14px; right: 22px; font-family: Georgia, serif; font-size: 4rem; color: #e2e8f0; line-height: 1; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15,23,42,0.06); border-color: #d1e3ff; }
.testi-quote { font-size: 0.98rem; color: #1e293b; line-height: 1.7; margin: 0; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; border-top: 1px solid #f1f5f9; padding-top: 18px; }
.testi-avatar { width: 40px; height: 40px; background: #0f172a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 0.92rem; font-weight: 600; color: #0f172a; }
.testi-role { font-size: 0.78rem; color: #94a3b8; margin-top: 2px; }
.testi-logos { max-width: 1080px; margin: 60px auto 0; padding-top: 50px; border-top: 1px solid #e2e8f0; }
.logo-eyebrow { display: block; text-align: center; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #94a3b8; margin-bottom: 24px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-slot { height: 40px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.7rem; letter-spacing: 0.08em; font-family: ui-monospace, monospace; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } .logo-row { grid-template-columns: repeat(3, 1fr); } }

/* ── CONTACT ── */
.contact-section {
    background: #0f172a; color: #f8fafc;
    padding: 120px 7%; position: relative; overflow: hidden;
}
.contact-section::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(59,130,246,0.18); }
.contact-section::after { content: ''; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px dashed rgba(59,130,246,0.14); animation: orbitSpin 60s linear infinite; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.contact-eyebrow { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #60a5fa; background: rgba(59,130,246,0.12); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.contact-heading { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: #fff; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 18px; }
.contact-lead { font-size: 1.02rem; color: #cbd5e1; line-height: 1.75; margin: 0 0 36px; }
.contact-meta { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.meta-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
.meta-val { font-size: 1rem; color: #f8fafc; font-weight: 500; text-decoration: none; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; color: #cbd5e1; text-decoration: none; font-size: 0.82rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); transition: all 0.2s ease; }
.social-pill:hover { color: #fff; background: rgba(59,130,246,0.18); border-color: rgba(96,165,250,0.4); }

.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 38px 36px; backdrop-filter: blur(8px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field > span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #94a3b8; }
.form-field input, .form-field textarea, .form-field select {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 12px 14px; color: #f8fafc;
    font-size: 0.95rem; font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: #3b82f6; background: rgba(59,130,246,0.06); }
.form-field select { color-scheme: dark; }
.form-field select option {
    background: #111827;
    color: #f8fafc;
}
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-check { cursor: pointer; user-select: none; }
.chip-check input { display: none; }
.chip-check span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); color: #cbd5e1; font-size: 0.82rem; font-weight: 500; transition: all 0.2s ease; }
.chip-check input:checked + span { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.form-submit { background: #3b82f6; color: #fff; border: none; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; cursor: pointer; margin-top: 10px; width: 100%; transition: background 0.2s ease, transform 0.2s ease; }
.form-submit:hover { background: #2563eb; transform: translateY(-1px); }
.form-note { font-size: 0.78rem; color: #64748b; margin: 12px 0 0; text-align: center; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .form-row { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.site-footer { background: #0a1120; color: #cbd5e1; padding: 70px 7% 28px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto 50px; }
.footer-blurb { font-size: 0.92rem; color: #94a3b8; line-height: 1.7; margin: 0 0 20px; max-width: 320px; }
.footer-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: #3b82f6; transition: background 0.2s ease; }
.footer-cta:hover { background: #2563eb; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #64748b; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #64748b; text-decoration: none; }
.footer-legal a:hover { color: #cbd5e1; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* width helpers */
.w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w90 { width: 90%; }

/* WordPress shell */
body.admin-bar .floating-nav { top: 50px; }
.apex-brand-link { color: #0f172a; }
.apex-brand-link:hover { color: #0f172a; }
.apex-brand-name { color: #111827; }
.apex-custom-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.apex-custom-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.floating-nav .menu-item {
    list-style: none;
}
.floating-nav .menu-item > a {
    display: block;
    margin: 0 10px;
    padding: 0.5rem;
    font-weight: 600;
    color: rgba(17,24,39,0.86);
    text-decoration: none;
}
.floating-nav .menu-item > a:hover {
    color: #0f172a;
}
.apex-page-shell {
    min-height: 72vh;
    padding: 150px 7% 100px;
    background: #f8fafc;
}
.apex-content-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid #edf0f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15,23,42,0.06);
}
.entry-title {
    margin: 0 0 22px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}
.entry-content {
    color: #475569;
    line-height: 1.8;
}
.entry-content a {
    color: #2563eb;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 782px) {
    body.admin-bar .floating-nav { top: 64px; }
}
