
#cl-index {
    --ink-soft: #161b25;
    --ink-line: rgba(255,255,255,.09);
    --primary-soft: rgba(245,70,12,.14);
    --primary-glow: rgba(245,70,12,.35);
    --paper: #f7f4ee;
    --paper-line: rgba(17,21,28,.09);
    --text-dark: #11151c;
    --text-muted: #5c6273;
    --display: 'Space Grotesk', var(--mono, monospace);
    --body-font: 'Poppins', sans-serif;
    --ease: cubic-bezier(.16,.84,.32,1);
    font-family: var(--body-font);
    color: var(--text-dark);
    overflow: hidden;
}
#cl-index * { box-sizing: border-box; }
#cl-index .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono, monospace);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--primary);
}
#cl-index .eyebrow::before { content: ''; width: 16px; height: 1.5px; background: var(--primary); }
#cl-index h1, #cl-index h2, #cl-index h3 { font-family: var(--display); margin: 0; }
#cl-index .hl { color: var(--primary); }
#cl-index .blink { display:inline-block; color: var(--primary); animation: cl-i-blink 1s steps(1) infinite; }
@keyframes cl-i-blink { 0%,50%{opacity:1;} 50.01%,100%{opacity:0;} }

/* ---- shared reveal system (bidirectional: replays on re-entry,
   reverses on exit in either scroll direction) ---- */
#cl-index [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
#cl-index [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
#cl-index [data-reveal="left"] { transform: translateX(-34px); }
#cl-index [data-reveal="left"].is-revealed { transform: translateX(0); }
#cl-index [data-reveal="right"] { transform: translateX(34px); }
#cl-index [data-reveal="right"].is-revealed { transform: translateX(0); }
#cl-index [data-reveal="scale"] { transform: scale(.94); }
#cl-index [data-reveal="scale"].is-revealed { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
    #cl-index [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    #cl-index .blink { animation: none; opacity: 1; }
}

/* ============================================================
   HERO — full-bleed portrait stage: one uncropped photograph as
   the thesis image, framed like an editor window, with a soft
   depth stack behind it and pointer-driven 3D parallax across
   the whole composition (image + floating badges + grid).
   ============================================================ */
.cl-hero {
    position: relative;
    background: var(--ink, #11151c);
    background-image:
        radial-gradient(560px 420px at 85% -10%, var(--primary-soft), transparent 70%),
        radial-gradient(420px 360px at -5% 110%, rgba(245,70,12,.08), transparent 70%);
    padding: 76px 5% 96px;
    color: #fff;
    overflow: hidden;
}
.cl-hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
    pointer-events: none;
}
.cl-hero-inner {
    position: relative;
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 56px; align-items: center;
}
.cl-hero-tab {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.04); border: 1px solid var(--ink-line);
    padding: 6px 12px; margin-bottom: 22px;
}
.cl-hero-tab .dots { display: inline-flex; gap: 4px; }
.cl-hero-tab .dots span { width: 7px; height: 7px; border-radius: 50%; }
.cl-hero-tab .dots span:nth-child(1) { background: #ff5f57; }
.cl-hero-tab .dots span:nth-child(2) { background: #febc2e; }
.cl-hero-tab .dots span:nth-child(3) { background: #28c840; }
.cl-hero h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700; line-height: 1.12; letter-spacing: -.015em;
    margin: 18px 0 22px;
}
.cl-hero-desc { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.68); max-width: 480px; margin-bottom: 32px; }
.cl-hero-stat { font-family: var(--mono); color: var(--primary); font-weight: 600; }

.cl-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 48px; }
.cl-cta-primary {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono); font-size: 14px; font-weight: 600; color: #fff;
    background: var(--primary); border: 1px solid var(--primary);
    padding: 13px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    box-shadow: 0 14px 30px -10px var(--primary-glow);
}
.cl-cta-primary::before { content: '>'; }
.cl-cta-primary:hover { transform: translateY(-3px); background: #ff5a1f; box-shadow: 0 18px 34px -8px var(--primary-glow); }
.cl-cta-secondary {
    font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.65);
    display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid transparent; transition: var(--trans, .25s ease);
}
.cl-cta-secondary:hover { color: #fff; border-color: var(--primary); }

.cl-feature-rail { display: flex; gap: 26px; flex-wrap: wrap; }
.cl-feature-rail .cl-feat { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.cl-feature-rail .cl-feat i { color: var(--primary); font-size: 13px; }

/* ---- full-image hero stage ----
   .cl-hero-stage is the 3D scene root (perspective).
   .cl-hero-scene tilts as one rigid body on pointer move — the
   photo, its glow, and the two badges all move together so the
   whole thing reads as a single tilting pane of glass, not three
   competing layers. */
.cl-hero-stage { position: relative; height: 480px; perspective: 1600px; }
.cl-hero-scene {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform .5s var(--ease);
    will-change: transform;
}
.cl-hero-frame {
    position: relative; width: 100%; height: 100%;
    border: 1px solid var(--ink-line);
    background: var(--ink-soft);
    box-shadow: 0 40px 80px -24px rgba(0,0,0,.6);
    overflow: hidden;
    transform: translateZ(0);
}
.cl-hero-frame .cl-win-bar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3;
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 13px; font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.55);
    background: linear-gradient(180deg, rgba(11,14,20,.85), rgba(11,14,20,0));
}
.cl-hero-frame .cl-win-bar .dots { display: inline-flex; gap: 4px; }
.cl-hero-frame .cl-win-bar .dots span { width: 6px; height: 6px; border-radius: 50%; }
.cl-hero-frame .cl-win-bar .dots span:nth-child(1) { background: #ff5f57; }
.cl-hero-frame .cl-win-bar .dots span:nth-child(2) { background: #febc2e; }
.cl-hero-frame .cl-win-bar .dots span:nth-child(3) { background: #28c840; }
.cl-hero-frame .cl-win-bar span[data-filename] { font-variant-numeric: tabular-nums; }
/* ---- slider track: full-bleed slides, uncropped photos, that
   cross-fade + drift so each image gets to be seen whole rather
   than three photos fighting for the same frame ---- */
.cl-hero-slides {
    position: absolute; inset: 0; top: 34px;
}
.cl-hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transform: scale(1.03);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease);
    pointer-events: none;
}
.cl-hero-slide.is-active {
    opacity: 1; transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}
.cl-hero-slide img {
    display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
    background: var(--ink-soft);
}
.cl-hero-slide-label {
    position: absolute; bottom: 12px; left: 13px; z-index: 3;
    font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.5);
    background: rgba(11,14,20,.6); padding: 3px 8px; backdrop-filter: blur(4px);
}
/* nav arrows */
.cl-hero-nav {
    position: absolute; top: 50%; z-index: 4;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    background: rgba(11,14,20,.55); border: 1px solid rgba(255,255,255,.12); color: #fff;
    backdrop-filter: blur(4px); cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    transform: translateY(-50%);
}
.cl-hero-nav:hover { background: var(--primary); border-color: var(--primary); }
.cl-hero-nav.prev { left: 12px; }
.cl-hero-nav.next { right: 12px; }
/* dot pagination */
.cl-hero-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; gap: 7px;
}
.cl-hero-dots button {
    width: 20px; height: 3px; padding: 0; border: none; background: rgba(255,255,255,.28);
    cursor: pointer; transition: background .25s var(--ease), width .25s var(--ease);
}
.cl-hero-dots button.is-active { background: var(--primary); width: 30px; }
/* faint edge glow that answers the badge accent color, sits just
   behind the frame in 3D space so the tilt reveals it at the rim */
.cl-hero-frame::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    pointer-events: none;
    z-index: 5;
}
.cl-hero-glow {
    position: absolute; inset: -6%;
    background: radial-gradient(closest-side, var(--primary-glow), transparent 72%);
    opacity: .35; filter: blur(30px);
    transform: translateZ(-80px) scale(1.05);
    pointer-events: none;
}
.cl-hero-badge {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    background: rgba(17,21,28,.92); color: #fff; backdrop-filter: blur(8px);
    padding: 12px 16px; border: 1px solid rgba(255,255,255,.1);
    font-family: var(--mono); font-size: 12.5px; font-weight: 500;
    box-shadow: 0 20px 38px -16px rgba(0,0,0,.55);
    transform: translateZ(60px);
    white-space: nowrap;
}
.cl-hero-badge svg { color: var(--primary); flex-shrink: 0; }
.cl-hero-badge.b1 { top: 22px; left: -22px; transform: translateZ(70px); }
.cl-hero-badge.b2 { bottom: 26px; right: -18px; transform: translateZ(50px); }
.cl-hero-badge .num { color: var(--primary); font-weight: 700; }

@media (max-width: 980px) {
    .cl-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .cl-hero-stage { height: 380px; }
}
@media (max-width: 560px) {
    .cl-hero { padding: 56px 6% 64px; }
    .cl-hero-desc { font-size: 15px; }
    .cl-hero-stage { height: 300px; }
    .cl-hero-badge { padding: 9px 12px; font-size: 11px; }
    .cl-hero-badge.b1 { left: 0; top: 12px; }
    .cl-hero-badge.b2 { right: 0; bottom: 12px; }
}

/* ============================================================
   ABOUT — warm paper section; glass composition + function cards
   ============================================================ */
.cl-about { background: var(--paper); padding: 100px 5%; position: relative; }
.cl-about-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: center; }
.cl-about-art { position: relative; perspective: 1200px; }
.cl-about-art .frame {
    position: relative; border: 1px solid var(--paper-line);
    transition: transform .15s linear; will-change: transform;
}
.cl-about-art img { display: block; width: 100%; height: 420px; object-fit: cover; }
.cl-about-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(17,21,28,.92); color: #fff; backdrop-filter: blur(6px);
    padding: 12px 16px; border: 1px solid rgba(255,255,255,.08);
    font-size: 13px; font-weight: 500; box-shadow: 0 18px 34px -14px rgba(0,0,0,.5);
}
.cl-about-card svg { color: var(--primary); flex-shrink: 0; }
.cl-about-card.c1 { top: 24px; left: -28px; }
.cl-about-card.c2 { bottom: 24px; right: -24px; }

.cl-about-content h2 { font-size: clamp(28px,3.2vw,40px); line-height: 1.25; letter-spacing: -.01em; margin: 14px 0 26px; }
.cl-fn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.cl-fn-card {
    background: #fff; border: 1px solid var(--paper-line); padding: 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cl-fn-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(17,21,28,.18); border-color: var(--primary); }
.cl-fn-sig { display: block; font-family: var(--mono); font-size: 12px; color: var(--primary); margin-bottom: 10px; }
.cl-fn-card h3 { font-size: 17px; margin-bottom: 8px; }
.cl-fn-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 12px; }
.cl-fn-card a { font-family: var(--mono); font-size: 12px; color: var(--text-dark); border-bottom: 1px solid var(--primary); }

.cl-console {
    background: var(--ink); color: rgba(255,255,255,.78); padding: 22px 24px;
    font-family: var(--mono); font-size: 13px; line-height: 1.75; border-left: 3px solid var(--primary);
}
.cl-console .ln { color: rgba(255,255,255,.35); margin-right: 10px; }
.cl-console strong { color: #fff; }

@media (max-width: 980px) {
    .cl-about-inner { grid-template-columns: 1fr; gap: 56px; }
    .cl-about-art { max-width: 460px; margin: 0 auto; }
    .cl-about-card.c1 { left: 0; }
    .cl-about-card.c2 { right: 0; }
}
@media (max-width: 560px) {
    .cl-about { padding: 72px 6%; }
    .cl-fn-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY US — dark ink panel, glowing terminal cards, console stats
   ============================================================ */
.cl-why { background: var(--ink); color: #fff; padding: 100px 5%; position: relative; }
.cl-why-inner { max-width: 1240px; margin: 0 auto; }
.cl-why-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.cl-why-head h2 { font-size: clamp(28px,3.2vw,40px); margin: 14px 0 14px; }
.cl-why-head p { color: rgba(255,255,255,.6); font-size: 15.5px; }
.cl-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cl-why-card {
    position: relative; background: var(--ink-soft); border: 1px solid var(--ink-line);
    padding: 30px 26px; perspective: 900px; transition: transform .15s linear, border-color .3s var(--ease);
    will-change: transform;
}
.cl-why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.cl-why-card:hover::before { transform: scaleX(1); }
.cl-why-card:hover { border-color: rgba(245,70,12,.4); }
.cl-why-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ink-line); color: var(--primary); margin-bottom: 18px;
}
.cl-why-card h3 { font-size: 18px; margin-bottom: 10px; }
.cl-why-card p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.65; margin: 0 0 20px; }
.cl-why-stat { font-family: var(--mono); display: flex; align-items: baseline; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.cl-why-stat .num { font-size: 26px; font-weight: 600; color: var(--primary); }
.cl-why-stat .num::before { content: '> '; color: rgba(255,255,255,.3); font-size: 16px; }
.cl-why-stat .lbl { font-size: 11.5px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 900px) { .cl-why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cl-why { padding: 72px 6%; } }

/* ============================================================
   FACULTIES BOARD — keeps original IDs/classes (JS-bound) so the
   existing tab-switch script in include/footer.php keeps working;
   the skin is rebuilt as a responsive grid of compact vertical
   course cards (rather than one stacked split-row card at a time),
   which is what actually holds up across desktop and mobile.
   ============================================================ */
.cl-faculties-wrap { background: var(--paper); padding: 96px 5% 100px; }
.cl-faculties-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.cl-faculties-head h2 { font-size: clamp(26px,3vw,36px); margin: 14px 0 12px; }
.cl-faculties-head p { color: var(--text-muted); font-size: 15px; }

.faculty-list-scroll-container { max-width: 1240px; margin: 0 auto 28px; overflow-x: auto; display: none; -webkit-overflow-scrolling: touch; }
.faculty-list-scroll-container::-webkit-scrollbar { display: none; }
.faculty-list-scroll { display: flex; gap: 10px; padding-bottom: 4px; }
.faculty-list-scroll a {
    flex-shrink: 0; font-family: var(--mono); font-size: 12.5px; color: var(--text-dark);
    border: 1px solid var(--paper-line); padding: 9px 16px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    transition: var(--trans, .2s ease);
}
.faculty-list-scroll a.active, .faculty-list-scroll a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.board { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.faculty-list { background: #fff; border: 1px solid var(--paper-line); padding: 24px 20px; position: sticky; top: 90px; }
.faculty-list h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 16px; }
.faculty-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.faculty-list a {
    display: flex; align-items: center; gap: 10px; padding: 10px 10px; font-size: 13.5px; color: var(--text-muted);
    border-left: 2px solid transparent; transition: var(--trans, .2s ease);
}
.faculty-list a.active, .faculty-list a:hover { color: var(--text-dark); border-left-color: var(--primary); background: var(--primary-soft); }
.faculty-list a i { color: var(--primary); width: 16px; flex-shrink: 0; }

/* grid of course cards — only .active cards participate in layout,
   since display:none items are skipped by CSS grid automatically */
.courses-container { min-width: 0; }
.board-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    align-items: stretch;
}
.board-card-main {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--paper-line);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.board-card-main.active { display: flex; animation: cl-card-in .4s var(--ease); }
.board-card-main.card-leaving { display: flex; }
.board-card-main:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -20px rgba(17,21,28,.16); border-color: var(--primary); }
@keyframes cl-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.board-card-main .image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.board-card-main .image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.board-card-main:hover .image img { transform: scale(1.08); }
.category-tag {
    position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    color: #fff; background: var(--ink); padding: 5px 10px; display: inline-flex; align-items: center; gap: 5px; z-index: 2;
}
.category-tag::before { content: '⎇'; color: var(--primary); }
.board-card-main-content { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.board-card-main-content h2 { font-size: 17.5px; line-height: 1.35; margin-bottom: 9px; }
.board-card-main-content p {
    font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.board-card-main-content a {
    font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--text-dark);
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    border-bottom: 1.5px solid var(--primary); padding-bottom: 2px; margin-top: auto;
}
.board-card-main-content a:hover { color: var(--primary); }

@media (max-width: 980px) {
    .board { grid-template-columns: 1fr; gap: 28px; }
    .faculty-list { display: none; }
    .faculty-list-scroll-container { display: block; }
    .board-card { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
}
@media (max-width: 560px) {
    .cl-faculties-wrap { padding: 72px 6% 80px; }
    .board-card { grid-template-columns: 1fr; gap: 18px; }
    .board-card-main .image { aspect-ratio: 16 / 10; }
}

/* ============================================================
   TESTIMONIALS — dark console-message cards
   ============================================================ */
.cl-testimonials { background: var(--ink-soft); padding: 100px 5%; position: relative; }
.cl-testimonials::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(480px 320px at 50% 0%, rgba(245,70,12,.08), transparent 70%);
}
.cl-test-head { position: relative; max-width: 620px; margin: 0 auto 50px; text-align: center; color: #fff; }
.cl-test-head h2 { font-size: clamp(26px,3vw,36px); margin: 14px 0 12px; }
.cl-test-head p { color: rgba(255,255,255,.55); font-size: 15px; }
.cl-test-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cl-test-card {
    background: var(--ink); border: 1px solid var(--ink-line); padding: 26px; perspective: 900px;
    transition: transform .15s linear, border-color .3s var(--ease); will-change: transform;
}
.cl-test-card:hover { border-color: rgba(245,70,12,.35); }
.cl-test-prompt { font-family: var(--mono); color: var(--primary); font-size: 13px; margin-bottom: 10px; }
.cl-test-card p.quote { color: rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; }
.cl-test-client { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.cl-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; color: #fff; }
.cl-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-test-client h4 { font-size: 13.5px; color: #fff; margin: 0; }
.cl-test-client span { font-size: 12px; color: rgba(255,255,255,.45); }

@media (max-width: 980px) { .cl-test-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cl-testimonials { padding: 72px 6%; } }

/* ============================================================
   BLOG — keeps filter-btn / article-card / featured-article
   classnames intact for the existing filter script.
   ============================================================ */
.cl-blog { background: var(--paper); padding: 96px 5% 100px; }
.cl-blog-inner { max-width: 1240px; margin: 0 auto; }
.cl-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.cl-blog-head h2 { font-size: clamp(26px,3vw,36px); margin: 14px 0 0; }
.category-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: var(--mono); font-size: 12px; padding: 8px 15px; border: 1px solid var(--paper-line); background: #fff; color: var(--text-muted); cursor: pointer; transition: var(--trans,.2s ease); }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.featured-article { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border: 1px solid var(--paper-line); margin-bottom: 28px; transition: opacity .25s ease, transform .3s var(--ease); }
.featured-article:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(17,21,28,.18); }
.featured-image { position: relative; overflow: hidden; min-height: 280px; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-content { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.article-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.article-meta .category { color: var(--primary); }
.article-title { font-size: 22px; margin-bottom: 12px; }
.article-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.read-more { font-family: var(--mono); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--text-dark); border-bottom: 1.5px solid var(--primary); align-self: flex-start; padding-bottom: 2px; }
.read-more:hover { color: var(--primary); }

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.article-card { background: #fff; border: 1px solid var(--paper-line); transition: opacity .25s ease, transform .3s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -20px rgba(17,21,28,.16); }
.card-image { position: relative; overflow: hidden; height: 190px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.article-card:hover .card-image img { transform: scale(1.07); }
.card-content { padding: 24px; }
.category-badge { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; background: var(--ink); color: #fff; padding: 5px 10px; }
.card-fade-out { opacity: 0; transform: translateY(10px); }

.load-more { text-align: center; margin-top: 48px; }
.load-more-btn { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text-dark); display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--paper-line); padding: 12px 22px; transition: var(--trans,.2s ease); }
.load-more-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.alert.alert-info { font-family: var(--mono); font-size: 13px; text-align: center; padding: 24px; border: 1px dashed var(--paper-line); color: var(--text-muted); }

@media (max-width: 980px) {
    .featured-article { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
    .cl-blog { padding: 72px 6% 80px; }
    .article-grid { grid-template-columns: 1fr; }
    .cl-blog-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PARTNERS — dark strip, grayscale → color on hover
   ============================================================ */
.cl-partners { background: var(--ink); padding: 56px 5%; border-top: 1px solid var(--ink-line); }
.cl-partners-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.cl-partners-inner .section-title { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 30px; }
.carousel-container { overflow: hidden; }
.carousel-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: cl-marquee 22s linear infinite; }
.carousel-slide img { height: 38px; opacity: .8; filter: grayscale(.25); transition: opacity .3s ease, filter .3s ease, transform .3s ease; }
.carousel-slide img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.06); }
@keyframes cl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carousel-track { animation: none; } }
