/* ============================================================
   ZEYATEK — INDEX (HOMEPAGE) STYLES
   Requires: shared.css loaded first
   ============================================================ */

/* ── Custom Cursor (desktop only) ── */
.cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--blue);
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: width 0.25s ease, height 0.25s ease, opacity 0.3s ease;
}
.cursor-ring {
    position: fixed;
    width: 30px; height: 30px;
    border: 1px solid rgba(0, 71, 179, 0.35);
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: width 0.35s ease, height 0.35s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.cursor-dot.cursor-hover  { width: 10px; height: 10px; }
.cursor-ring.cursor-hover { width: 48px; height: 48px; border-color: rgba(0, 71, 179, 0.18); }
@media (max-width: 991px), (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ────────────────── HERO ────────────────── */
.hero {
    padding: clamp(90px, 6vw, 110px) 0 clamp(60px, 7vw, 100px);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(ellipse at center, rgba(0,71,179,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Large background watermark */
.hero-bg-label {
    position: absolute;
    bottom: -30px; right: -10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(100px, 18vw, 260px);
    font-weight: 800;
    color: rgba(0,0,0,0.025);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    letter-spacing: -6px;
}

/* ── Neural canvas (particle layer) ── */
#neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* FIXED: Forces canvas strictly behind the hero content */
    pointer-events: none; /* canvas is visual-only; clicks fall through */
}

@media (max-width: 991px) {
    #neural-canvas { display: none; }
}

/* Ensure all direct hero children stack above the canvas */
.hero > *:not(#neural-canvas) {
    position: relative;
    z-index: 2; /* Elevated to ensure top-level stacking */
}

/* ── Hero headline word animation ── */
.hero h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--black);
    margin-bottom: 40px;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
}
.hero h1 .word {
    display: block;
    line-height: 1.15;
}
.hero h1 .word-inner {
    display: block;
    opacity: 0;
    filter: blur(12px);
    animation: wordBlurIn 0.6s ease forwards;
}
.hero h1 .word:nth-child(1) .word-inner { animation-delay: 0.05s; }
.hero h1 .word:nth-child(2) .word-inner { animation-delay: 0.2s; }
.hero h1 .word:nth-child(3) .word-inner { animation-delay: 0.35s; }

@keyframes wordBlurIn {
    to { opacity: 1; filter: blur(0px); }
}

.hero h1 .accent { color: var(--blue); }

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--gray);
    max-width: 440px;
    margin-bottom: 52px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(10px);
    animation: heroSlideUp 0.6s ease 0.55s forwards;
}
.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    animation: heroSlideUp 0.6s ease 0.7s forwards;
}

@keyframes heroSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero assessment nudge link ── */
.hero-assessment-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--gray);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: heroSlideUp 0.6s ease 0.85s forwards;
}
.hero-assessment-cta:hover { color: var(--blue); border-color: var(--blue); }
.hero-assessment-cta i { font-size: 0.68rem; transition: transform .2s ease; }
.hero-assessment-cta:hover i { transform: translateX(3px); }
.hac-label {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
    border: 1px solid rgba(0,71,179,0.3);
    padding: 2px 6px;
}

/* ────────────────── MARQUEE STRIP ────────────────── */
.marquee-strip {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    overflow: hidden;
    background: var(--off-white);
    position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.marquee-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white), transparent);
}
.marquee-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white), transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gray);
    font-family: 'IBM Plex Sans', sans-serif;
    white-space: nowrap;
}
.marquee-sep {
    display: inline-block;
    width: 4px; height: 4px;
    background: var(--gray-light);
    flex-shrink: 0;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ────────────────── MANIFESTO (DARK) ────────────────── */
.manifesto {
    padding: var(--space-lg) 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(0,71,179,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.manifesto h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
    max-width: 960px;
    color: var(--white);
}
.manifesto h2 span { color: var(--blue); }

.manifesto-method {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-dark);
    padding-top: 48px;
    gap: 1px;
}
.method-step {
    padding: 0 40px 0 0;
    transition: opacity 0.35s ease;
}
.manifesto-method:hover .method-step:not(:hover) { opacity: 0.55; }
.method-step:hover { opacity: 1 !important; }
.method-step:not(:last-child) { border-right: 1px solid var(--line-dark); padding-right: 40px; }
.method-step:not(:first-child) { padding-left: 40px; }

.method-num {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.62rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px; font-weight: 600;
}
.method-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    color: var(--white); margin-bottom: 8px;
}
.method-desc {
    font-size: 0.89rem; color: rgba(255,255,255,0.62);
    line-height: 1.7; font-weight: 300;
}

/* ────────────────── SERVICES / ADVISORY ────────────────── */
section.services,
section.advisory {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--line);
}
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; gap: 20px;
}
.section-head h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 700; color: var(--black);
    letter-spacing: -0.5px;
}

/* ────────────────── BENTO RAIL ────────────────── */
.rail-wrapper { position: relative; margin: 0 52px; }
.rail-fade-right {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--white));
    pointer-events: none; z-index: 5;
    transition: opacity .3s ease;
}
.rail-fade-right.hidden { opacity: 0; }

.rail-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: var(--white); color: var(--black);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; font-size: 0.75rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.rail-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.left-btn  { left: -52px; }
.right-btn { right: -52px; }
.rail-btn.hidden { opacity: 0; pointer-events: none; }

.bento-rail {
    display: flex; gap: 1px;
    overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-behavior: smooth;
    border: 1px solid var(--line);
}
.bento-rail::-webkit-scrollbar { display: none; }

@media (scripting: none) {
    .bento-rail { flex-wrap: wrap; }
    .rail-btn   { display: none; }
}

.bento-card {
    flex: 0 0 280px; min-height: 280px;
    padding: 32px 28px;
    background: var(--white);
    border-right: 1px solid var(--line);
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: background .25s ease;
    position: relative;
    overflow: hidden;
}
/* Accent line animates in on hover */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover::before { transform: scaleX(1); }
.bento-card:last-child { border-right: none; }
.bento-card:hover {
    background: var(--off-white);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    z-index: 1;
}

.bento-icon {
    font-size: 2rem; color: var(--black);
    margin-bottom: auto;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}
.bento-card:hover .bento-icon {
    color: var(--blue);
    transform: scale(1.1) translateY(-2px);
}

.bento-card h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    margin: 28px 0 5px; color: var(--black);
}
.bento-card p { font-size: 0.76rem; color: var(--gray-light); line-height: 1.5; }

.card-arrow {
    position: absolute; top: 28px; right: 28px;
    font-size: 0.7rem; color: var(--blue);
    opacity: 0; transition: opacity .2s ease, transform .25s ease;
}
.bento-card:hover .card-arrow { opacity: 1; transform: translate(2px, -2px); }

/* ────────────────── MOBILE WORD LIST ────────────────── */
.mobile-word-list { display: none; }

.mobile-word-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--black);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color .2s ease;
}
.mobile-word-item:last-child { border-bottom: none; }
.mobile-word-item i { font-size: 1rem; color: var(--blue); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.mobile-word-item:hover { color: var(--blue); }
.mobile-word-item:hover i { opacity: 1; transform: translateX(4px); }

/* ────────────────── EXPERTISE (DARK) ────────────────── */
.expertise-section {
    padding: var(--space-lg) 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}
.expertise-label {
    font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
    font-weight: 500; color: rgba(255,255,255,0.3); margin-bottom: 28px;
}
.expertise-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 400; line-height: 1.7;
    color: rgba(255,255,255,0.85);
}
.expertise-meta { margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }

.meta-item {
    border-top: 1px solid var(--line-dark);
    padding-top: 20px;
    position: relative;
}
/* Blue line sweeps across the top border on entry */
.meta-item::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    height: 1px;
    width: 0;
    background: var(--blue);
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.meta-item.line-active::before { width: 100%; }

.meta-num {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 800;
    color: var(--white); line-height: 1;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}
.meta-item.line-active .meta-num { color: var(--white); }
.meta-lbl { font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* ────────────────── THE DIFFERENCE ────────────────── */
.section-alt {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--line);
    background: var(--off-white);
}
.section-alt .section-label {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gray-light);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-body {
    font-size: clamp(0.88rem, 1.3vw, 1rem);
    color: var(--gray);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid var(--line);
    gap: 1px;
    background: var(--line);
}
.why-col {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
    display: flex; flex-direction: column; gap: 0;
}
.why-other { background: var(--white); }
.why-us {
    background: var(--black);
    position: relative;
    overflow: hidden;
}
/* Subtle glow on the ZEYATEK column */
.why-us::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 10%, rgba(0,71,179,0.2) 0%, transparent 65%);
    pointer-events: none;
}

.why-col-type {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.why-other .why-col-type { color: var(--gray-light); }
.why-us    .why-col-type { color: var(--blue); }

.why-col-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem; font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px; padding-bottom: 20px;
}
.why-other .why-col-title { color: var(--black); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.why-us    .why-col-title { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; letter-spacing: -0.3px; }

.why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.why-list li {
    font-size: 0.88rem; line-height: 1.65; font-weight: 300;
    padding-left: 18px; position: relative;
}
.why-list li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 6px; height: 1px;
}
.why-other .why-list li       { color: var(--gray); }
.why-other .why-list li::before { background: var(--gray-light); }
.why-us    .why-list li       { color: rgba(255,255,255,0.78); }
.why-us    .why-list li::before { background: var(--blue); }

/* ────────────────── INSIGHTS TEASER ────────────────── */
.insights-section {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--line);
}
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
}
.insight-card {
    padding: 36px 32px;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: background .25s ease;
    border-right: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
/* Bottom accent line on hover */
.insight-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.insight-card:hover::after { transform: scaleX(1); }
.insight-card:last-child { border-right: none; }
.insight-card:hover {
    background: var(--off-white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.insight-tag {
    font-size: 0.62rem; letter-spacing: 2.5px;
    text-transform: uppercase; font-weight: 500;
    color: var(--blue); margin-bottom: 16px;
}
.insight-card h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    line-height: 1.38; color: var(--black);
    margin-bottom: 12px; flex: 1;
    letter-spacing: -0.2px;
}
.insight-meta {
    font-size: 0.75rem; color: var(--gray-light);
    margin-top: 24px; display: flex; align-items: center; gap: 8px;
}
.insight-meta::before {
    content: '';
    display: inline-block;
    width: 20px; height: 1px;
    background: var(--gray-light);
    transition: width 0.3s ease;
}
.insight-card:hover .insight-meta::before { width: 36px; background: var(--blue); }

/* ────────────────── ASSESSMENT PROMO ────────────────── */
.assessment-promo {
    padding: var(--space-lg) 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.assessment-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(0,71,179,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.ap-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(48px, 7vw, 100px);
    align-items: center;
    position: relative;
}
.ap-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ap-label::before { content: ''; width: 20px; height: 1px; background: var(--blue); display: inline-block; }
.ap-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}
.ap-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 28px;
}
.ap-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ap-domains span {
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px;
}
.ap-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 200px;
}
.ap-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}
.ap-meta i { color: var(--blue); font-size: 0.72rem; }

@media (max-width: 768px) {
    .ap-inner { grid-template-columns: 1fr; gap: 40px; }
    .ap-right { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
    .ap-right .btn { width: 100%; justify-content: center; }
}

/* ────────────────── FOOTER CTA ────────────────── */
.footer-cta {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
/* Large decorative background text */
.footer-cta::before {
    content: 'ZEYATEK';
    position: absolute;
    bottom: -50px; right: -20px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(100px, 18vw, 260px);
    font-weight: 800;
    color: rgba(0,0,0,0.028);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -6px;
}
.footer-cta h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800; line-height: 1.0;
    letter-spacing: -2px;
    color: var(--black);
    margin-bottom: 52px;
}
.footer-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-cta-sub { font-size: 0.82rem; color: var(--gray-light); margin-left: 8px; }

/* ────────────────── PARTICLE SWARM ────────────────── */
.swarm-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.swarm-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(120, 170, 255, 0.45);
    will-change: transform, opacity;
}

/* Size tiers */
.swarm-dot:nth-child(3n)   { width: 2px; height: 2px; }
.swarm-dot:nth-child(3n+1) { width: 3px; height: 3px; }
.swarm-dot:nth-child(3n+2) { width: 4px; height: 4px; }

/* Positions */
.swarm-dot:nth-child(1)  { left:  8%; top: 18%; }
.swarm-dot:nth-child(2)  { left: 20%; top: 72%; }
.swarm-dot:nth-child(3)  { left: 35%; top: 12%; }
.swarm-dot:nth-child(4)  { left: 48%; top: 58%; }
.swarm-dot:nth-child(5)  { left: 62%; top: 28%; }
.swarm-dot:nth-child(6)  { left: 75%; top: 80%; }
.swarm-dot:nth-child(7)  { left: 88%; top: 45%; }
.swarm-dot:nth-child(8)  { left: 14%; top: 90%; }
.swarm-dot:nth-child(9)  { left: 55%; top: 88%; }
.swarm-dot:nth-child(10) { left: 92%; top: 15%; }
.swarm-dot:nth-child(11) { left: 28%; top: 42%; }
.swarm-dot:nth-child(12) { left: 70%; top: 10%; }
.swarm-dot:nth-child(13) { left:  5%; top: 55%; }
.swarm-dot:nth-child(14) { left: 42%; top: 30%; }
.swarm-dot:nth-child(15) { left: 80%; top: 65%; }
.swarm-dot:nth-child(16) { left: 18%; top: 25%; }
.swarm-dot:nth-child(17) { left: 60%; top: 50%; }
.swarm-dot:nth-child(18) { left: 38%; top: 78%; }
.swarm-dot:nth-child(19) { left: 85%; top: 30%; }
.swarm-dot:nth-child(20) { left: 50%; top: 15%; }

/* Animation assignment — 6 paths, staggered delays */
.swarm-dot:nth-child(1)  { animation: swarm-a 13s ease-in-out    0s infinite; }
.swarm-dot:nth-child(2)  { animation: swarm-b 17s ease-in-out   -3s infinite; }
.swarm-dot:nth-child(3)  { animation: swarm-c 11s ease-in-out   -6s infinite; }
.swarm-dot:nth-child(4)  { animation: swarm-d 19s ease-in-out   -1s infinite; }
.swarm-dot:nth-child(5)  { animation: swarm-e 15s ease-in-out   -8s infinite; }
.swarm-dot:nth-child(6)  { animation: swarm-f 22s ease-in-out   -4s infinite; }
.swarm-dot:nth-child(7)  { animation: swarm-a 16s ease-in-out  -11s infinite; }
.swarm-dot:nth-child(8)  { animation: swarm-b 12s ease-in-out   -2s infinite; }
.swarm-dot:nth-child(9)  { animation: swarm-c 18s ease-in-out   -9s infinite; }
.swarm-dot:nth-child(10) { animation: swarm-d 14s ease-in-out   -5s infinite; }
.swarm-dot:nth-child(11) { animation: swarm-e 20s ease-in-out   -7s infinite; }
.swarm-dot:nth-child(12) { animation: swarm-f 11s ease-in-out   -3s infinite; }
.swarm-dot:nth-child(13) { animation: swarm-a 24s ease-in-out  -12s infinite; }
.swarm-dot:nth-child(14) { animation: swarm-b 13s ease-in-out   -6s infinite; }
.swarm-dot:nth-child(15) { animation: swarm-c 17s ease-in-out  -0.5s infinite; }
.swarm-dot:nth-child(16) { animation: swarm-d 21s ease-in-out  -10s infinite; }
.swarm-dot:nth-child(17) { animation: swarm-e 15s ease-in-out   -4s infinite; }
.swarm-dot:nth-child(18) { animation: swarm-f 19s ease-in-out   -8s infinite; }
.swarm-dot:nth-child(19) { animation: swarm-a 12s ease-in-out   -2s infinite; }
.swarm-dot:nth-child(20) { animation: swarm-b 16s ease-in-out  -14s infinite; }

/* Organic swarm paths */
@keyframes swarm-a {
    0%   { transform: translate(  0px,   0px) scale(1.0); opacity: 0.45; }
    15%  { transform: translate( 38px, -52px) scale(1.3); opacity: 0.80; }
    38%  { transform: translate(-22px,  44px) scale(0.7); opacity: 0.25; }
    62%  { transform: translate( 55px,  18px) scale(1.1); opacity: 0.65; }
    82%  { transform: translate(-10px, -30px) scale(0.9); opacity: 0.35; }
    100% { transform: translate(  0px,   0px) scale(1.0); opacity: 0.45; }
}
@keyframes swarm-b {
    0%   { transform: translate(  0px,   0px); opacity: 0.50; }
    20%  { transform: translate(-45px,  28px); opacity: 0.30; }
    42%  { transform: translate( 30px,  65px); opacity: 0.75; }
    65%  { transform: translate( 60px, -20px); opacity: 0.55; }
    85%  { transform: translate(-15px, -40px); opacity: 0.20; }
    100% { transform: translate(  0px,   0px); opacity: 0.50; }
}
@keyframes swarm-c {
    0%   { transform: translate(  0px,   0px) scale(1.0); opacity: 0.40; }
    25%  { transform: translate( 20px, -60px) scale(1.2); opacity: 0.70; }
    50%  { transform: translate(-50px, -20px) scale(0.8); opacity: 0.55; }
    75%  { transform: translate( 15px,  50px) scale(1.1); opacity: 0.30; }
    100% { transform: translate(  0px,   0px) scale(1.0); opacity: 0.40; }
}
@keyframes swarm-d {
    0%   { transform: translate(  0px,   0px); opacity: 0.60; }
    30%  { transform: translate( 70px,  40px); opacity: 0.85; }
    55%  { transform: translate( 40px, -55px); opacity: 0.35; }
    80%  { transform: translate(-30px,  25px); opacity: 0.65; }
    100% { transform: translate(  0px,   0px); opacity: 0.60; }
}
@keyframes swarm-e {
    0%   { transform: translate(  0px,   0px) scale(1.0); opacity: 0.35; }
    10%  { transform: translate(-25px, -35px) scale(1.1); opacity: 0.60; }
    30%  { transform: translate( 45px,  15px) scale(0.9); opacity: 0.45; }
    55%  { transform: translate(-10px,  55px) scale(1.2); opacity: 0.80; }
    75%  { transform: translate( 35px, -25px) scale(0.8); opacity: 0.25; }
    90%  { transform: translate(-40px,  10px) scale(1.0); opacity: 0.50; }
    100% { transform: translate(  0px,   0px) scale(1.0); opacity: 0.35; }
}
@keyframes swarm-f {
    0%   { transform: translate(  0px,   0px); opacity: 0.55; }
    35%  { transform: translate(-60px, -45px); opacity: 0.20; }
    65%  { transform: translate( 50px,  60px); opacity: 0.75; }
    100% { transform: translate(  0px,   0px); opacity: 0.55; }
}

@media (max-width: 991px) { .swarm-field { display: none; } }

/* ────────────────── SPACING TOKENS ────────────────── */
:root {
    --space-xs: clamp(12px, 2vw, 20px);
    --space-sm: clamp(24px, 4vw, 40px);
    --space-md: clamp(48px, 7vw, 80px);
    --space-lg: clamp(80px, 10vw, 140px);
}

/* ────────────────── RESPONSIVE ────────────────── */
@media (max-width: 1024px) {
    .hero { padding: 90px 0 60px; }
    .hero h1 { letter-spacing: -1.5px; }
}

@media (max-width: 768px) {
    .hero { padding: 90px 0 60px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .bento-card { flex: 0 0 80vw; }
    .left-btn, .right-btn { display: none; }
    .rail-wrapper { display: none; }
    .mobile-word-list { display: block; }
    .manifesto { padding: 80px 0; }
    .manifesto-method { grid-template-columns: 1fr; gap: 0; }
    .method-step {
        border-right: none !important;
        padding: 0 !important;
        border-bottom: 1px solid var(--line-dark);
        padding-bottom: 28px !important;
        padding-top: 28px !important;
    }
    .method-step:last-child { border-bottom: none; }
    .expertise-section { padding: 80px 0; }
    .expertise-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-cta { padding: 80px 0; }
    .footer-cta::before { display: none; }
    .footer-cta h2 { letter-spacing: -2px; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card { border-right: none; border-bottom: 1px solid var(--line); }
    .insight-card:last-child { border-bottom: none; }
    .why-grid {
        grid-template-columns: 1fr;
        background: transparent;
        border: none;
        gap: 12px;
    }
    .why-col { border: 1px solid var(--line); }
    .why-us { border-color: var(--black); order: -1; }
    .marquee-strip { display: none; }
    .hero-bg-label { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(1.8rem, 9vw, 2.8rem); letter-spacing: -0.5px; }
}
