/* ============================================================
   QUEGENTIC — SHARED DESIGN SYSTEM
   Used by all subpages + homepage
   ============================================================ */
:root {
    --indigo: #3D35C8;
    --violet: #6B38C4;
    --teal: #0B9E94;
    --ink: #0A0B18;
    --slate: #3C3E5C;
    --stone: #828496;
    --cream:    #F4F4F4;
    --cream-dk: #EDE9E1;
    --cream-tint: #FAF8F4;
    --line: #DDD9CF;
    --line-2: #E8E4DA;
    --grad: linear-gradient(90deg, #3D35C8 0%, #6B38C4 50%, #0B9E94 100%);
    --f-display: "Exo", system-ui, sans-serif;
    --f-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --container: 1240px;
    --radius: 14px;
    --radius-lg: 22px;
    --t-fast: 160ms cubic-bezier(.2,.8,.2,1);
    --t-med: 260ms cubic-bezier(.2,.8,.2,1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--slate);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

.wrap {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .eyebrow::before {
        content: "";
        width: 24px;
        height: 1.5px;
        background: var(--teal);
    }

/* NAV */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(245, 241, 235, 0.82);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast), background var(--t-fast);
}

    .nav.scrolled {
        border-bottom-color: var(--line);
        background: rgba(245, 241, 235, 0.95);
    }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--f-sans);
  font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.brand__word {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand__dot {
  width: 5px;
  height: 5px;
    border-radius: 50%;
    background: var(--teal);
    margin-left: 4px;
    align-self: flex-end;
    margin-bottom: 4px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

    .nav__links a {
        position: relative;
        font-size: 14.5px;
        font-weight: 500;
        color: var(--slate);
  padding: 6px 15 px;
        transition: color var(--t-fast);
    }

        .nav__links a:hover {
            color: var(--ink);
        }

        .nav__links a.on {
            color: var(--ink);
        }

            .nav__links a.on::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -2px;
                height: 2px;
                background: var(--grad);
                border-radius: 2px;
            }

.nav__cta {
    padding: 10px 18px;
    background: var(--ink);
    color: var(--cream) !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: transform var(--t-fast), background var(--t-fast);
}

    .nav__cta:hover {
        background: #1A1B29;
        transform: translateY(-1px);
    }

@media (max-width: 820px) {
    .nav__links .item {
        display: none;
    }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: var(--ink);
    color: var(--cream);
}

    .btn--primary:hover {
        background: #1A1B29;
        transform: translateY(-1px);
    }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

    .btn--ghost:hover {
        border-color: var(--ink);
    }

.btn svg {
    width: 16px;
    height: 16px;
}

/* SECTIONS */
section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section--cream {
    background: var(--cream);
}

.section--tint {
    background: var(--cream-tint);
}

.section--white {
    background: #FFFFFF;
}

.section--ink {
    background: var(--ink);
    color: var(--cream);
}

    .section--ink h1,
    .section--ink h2,
    .section--ink h3 {
        color: var(--cream);
    }

.section__head {
    max-width: 780px;
    margin: 0 0 3.5rem;
}

    .section__head h2 {
        font-size: clamp(2rem, 3.6vw, 3rem);
        margin-bottom: 1rem;
    }

    .section__head p {
        font-size: 1.08rem;
        color: var(--slate);
        max-width: 620px;
    }

/* SUBPAGE HERO */
.subhero {
    position: relative;
    padding: 170px 0 80px;
    background: var(--cream);
    overflow: hidden;
}

    .subhero::before {
        content: "";
        position: absolute;
        width: 620px;
        height: 620px;
        right: -200px;
        top: -100px;
        background: radial-gradient(closest-side, rgba(107, 56, 196, 0.08), transparent 70%);
        pointer-events: none;
    }

.subhero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
}

@media (max-width: 820px) {
    .subhero__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.subhero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

    .subhero h1 em {
        font-style: italic;
        color: var(--teal);
    }

.subhero__lede {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 460px;
}

/* BREADCRUMB */
.crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

    .crumb a {
        color: var(--stone);
        text-decoration: none;
        transition: color var(--t-fast);
    }

        .crumb a:hover {
            color: var(--ink);
        }

    .crumb span {
        color: var(--teal);
    }

/* TWO-COL BLOCK */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 820px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

/* NUMBERED LIST */
.num-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .num-list li {
        position: relative;
        padding: 1.6rem 0 1.6rem 3.2rem;
        border-bottom: 1px solid var(--line);
    }

        .num-list li:last-child {
            border-bottom: 0;
        }

        .num-list li::before {
            content: counter(list-item, decimal-leading-zero);
            position: absolute;
            left: 0;
            top: 1.6rem;
            font-family: var(--f-mono);
            font-size: 11px;
            letter-spacing: 0.15em;
            color: var(--teal);
            font-weight: 500;
        }

    .num-list h4 {
        font-family: var(--f-display);
        font-weight: 400;
        font-size: 1.3rem;
        margin: 0 0 0.4rem;
        color: var(--ink);
    }

    .num-list p {
        margin: 0;
        font-size: 0.95rem;
        color: var(--slate);
    }

/* MODULE CARDS */
.modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .modules {
        grid-template-columns: 1fr;
    }
}

.mod {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

    .mod:hover {
        transform: translateY(-3px);
        border-color: var(--ink);
        box-shadow: 0 20px 40px -20px rgba(10, 11, 24, 0.12);
    }

.mod__num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--stone);
    margin-bottom: 0.8rem;
}

.mod__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    display: block;
}

.mod__head .mod__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.mod__head-text .mod__num {
    margin-bottom: 0.3rem;
}

.mod h3 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.35rem;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.mod p {
    font-size: 0.92rem;
    color: var(--slate);
    margin: 0 0 1rem;
    line-height: 1.55;
}

.mod__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mod__tag {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    background: var(--cream);
    color: var(--slate);
    border-radius: 5px;
    text-transform: uppercase;
}

/* CTA BAND */
.cta-band {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--ink);
    color: var(--cream);
    text-align: center;
}

    .cta-band h2 {
        color: var(--cream);
        font-size: clamp(1.8rem, 3.2vw, 2.6rem);
        margin-bottom: 1rem;
    }

        .cta-band h2 em {
            font-style: italic;
            color: var(--teal);
        }

    .cta-band p {
        color: rgba(245, 241, 235, 0.7);
        max-width: 540px;
        margin: 0 auto 2rem;
    }

    .cta-band .btn--primary {
        background: var(--cream);
        color: var(--ink);
    }

        .cta-band .btn--primary:hover {
            background: #FFFFFF;
        }

/* FOOTER */
.footer {
    background: var(--ink);
    color: var(--stone);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 241, 235, 0.1);
}

@media (max-width: 820px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer h5 {
    font-family: var(--f-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    margin: 0 0 1.1rem;
}

.footer__brand .brand {
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 320px;
    color: var(--stone);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.6rem;
}

    .footer li a {
        font-size: 0.92rem;
        color: var(--stone);
        transition: color var(--t-fast);
    }

        .footer li a:hover {
            color: var(--cream);
        }

.footer__base {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--stone);
    text-transform: uppercase;
}

.footer__grad-bar {
    height: 3px;
    background: var(--grad);
    border-radius: 2px;
    width: 100%;
    margin: 2rem 0 1.5rem;
}

/* REVEAL */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
    }

        .reveal.in {
            opacity: 1;
            transform: none;
        }
}

/* PHOTO STRIPS — full-width banner-style images with text overlay */
.photo-strip {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 6;
    overflow: hidden;
    background: var(--cream-tint);
}

    .photo-strip img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.photo-strip__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    background: linear-gradient(180deg, transparent 0%, var(--indigo) 99.9%, rgba(10, 11, 24, 0.78) 100%);
    color: #F5F1EB;
}

    .photo-strip__overlay h3 {
        font-family: var(--f-display);
        font-weight: 400;
        font-size: clamp(1.4rem, 2.4vw, 2rem);
        color: #F5F1EB;
        margin: 0 0 0.5rem;
        line-height: 1.2;
        max-width: 720px;
    }

        .photo-strip__overlay h3 em {
            font-style: italic;
            color: var(--teal);
        }

    .photo-strip__overlay p {
        font-size: 0.95rem;
        color: rgba(245, 241, 235, 0.85);
        margin: 0;
        max-width: 620px;
        line-height: 1.55;
    }

.photo-strip__credit {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(10, 11, 24, 0.72);
    color: rgba(245, 241, 235, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}

@media (max-width: 720px) {
    .photo-strip {
        aspect-ratio: 4 / 3;
    }

    .photo-strip__overlay {
        padding: 1.5rem;
    }
}

/* ============================================================
   ============================================================
   CONSOLIDATED PAGE STYLES
   The styles below were extracted from inline <style> blocks
   in individual HTML pages and consolidated here for clean
   architecture. Each section corresponds to one page's needs.
   Within sections, styles appear in their original source order.
   ============================================================
   ============================================================ */

/* ============================================================
   HOMEPAGE — hero, capabilities, expertise, approach, why,
   global presence, contact, photo strip components
   ============================================================ */

/* HOMEPAGE-SPECIFIC */
.hero {
    position: relative;
    padding: 140px 0 90px;
    overflow: hidden;
    background: var(--cream);
}

    .hero::before {
        content: "";
        position: absolute;
        width: 720px;
        height: 720px;
        right: -220px;
        top: -100px;
        background: radial-gradient(closest-side, rgba(107, 56, 196, 0.09), transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        left: -200px;
        bottom: -200px;
        background: radial-gradient(closest-side, rgba(11, 158, 148, 0.08), transparent 70%);
        pointer-events: none;
    }
/* Stacked hero: headline row + diagram row */
.hero__stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.hero__head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: normal;
}

@media (max-width: 900px) {
    .hero__head {
        grid-template-columns: 1fr;
    }
}

/* Compact radial MCP diagram (homepage hero, right column) */
.hero__radial-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
    .r-halo-pulse, .r-orbit-slow, .r-orbit-fast, .r-core-pulse {
        animation: none !important;
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

    .hero h1 em {
        font-style: italic;
        font-family: var(--f-display);
        font-weight: 400;
        color: var(--teal);
    }


h1:focus-visible {
    outline: none;
}
.hero__lede {
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    color: var(--slate);
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.hero__ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__meta {
    margin-top: 1.8rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--stone);
    text-transform: uppercase;
}

    .hero__meta span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .hero__meta .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--teal);
    }

/* Full-width MCP architecture stage */
.hero__stage {
    position: relative;
    background: var(--cream-tint);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    overflow: hidden;
}

    .hero__stage::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(closest-side at 20% 30%, rgba(61, 53, 200, 0.04), transparent 70%), radial-gradient(closest-side at 80% 70%, rgba(11, 158, 148, 0.04), transparent 70%);
        pointer-events: none;
    }

.hero__stage-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.4rem;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.hero__stage-title {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 0;
}

    .hero__stage-title::before {
        content: "";
        display: inline-block;
        width: 22px;
        height: 1.5px;
        background: var(--teal);
        vertical-align: middle;
        margin-right: 10px;
    }

.hero__stage-caption {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: var(--ink);
    margin: 0.3rem 0 0;
    line-height: 1.3;
}

    .hero__stage-caption em {
        font-style: italic;
        color: var(--teal);
    }

.hero__diagram {
    width: 100%;
    aspect-ratio: 1160 / 620;
    display: block;
    position: relative;
}

.hero__diagram--mobile {
    display: none;
}

@media (max-width: 880px) {
    /* On narrow screens, switch to the stacked mobile diagram */
    .hero__diagram--desktop {
        display: none;
    }

    .hero__diagram--mobile {
        display: block;
        aspect-ratio: 460 / 900;
    }
}

/* MCP diagram animations */
@keyframes mcp-particle-flow {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

.mcp-particle {
    offset-rotate: 0deg;
    animation: mcp-particle-flow 3.2s linear infinite;
}

.mcp-particle--slow {
    animation-duration: 4.2s;
}

.mcp-particle--mid {
    animation-duration: 3.2s;
}

.mcp-particle--fast {
    animation-duration: 2.6s;
}

.mp-d1 {
    animation-delay: 0s;
}

.mp-d2 {
    animation-delay: -1s;
}

.mp-d3 {
    animation-delay: -2s;
}

.mp-d4 {
    animation-delay: -3s;
}

/* Server → MCP paths */
.mpth-s1 {
    offset-path: path("M 275 105 C 370 105, 420 240, 500 275");
}

.mpth-s2 {
    offset-path: path("M 275 170 C 370 170, 420 250, 500 275");
}

.mpth-s3 {
    offset-path: path("M 275 235 C 370 235, 420 260, 500 275");
}

.mpth-s4 {
    offset-path: path("M 275 300 C 370 300, 420 290, 500 290");
}

.mpth-s5 {
    offset-path: path("M 275 365 C 370 365, 420 310, 500 300");
}

.mpth-s6 {
    offset-path: path("M 275 430 C 370 430, 420 340, 500 310");
}
/* MCP → Client paths */
.mpth-c1 {
    offset-path: path("M 660 275 C 740 275, 790 135, 880 135");
}

.mpth-c2 {
    offset-path: path("M 660 275 C 740 275, 790 215, 880 215");
}

.mpth-c3 {
    offset-path: path("M 660 285 C 740 285, 790 285, 880 285");
}

.mpth-c4 {
    offset-path: path("M 660 300 C 740 300, 790 355, 880 355");
}

.mpth-c5 {
    offset-path: path("M 660 310 C 740 310, 790 425, 880 425");
}

@keyframes mcp-core-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.88;
    }
}

.mcp-core-pulse {
    animation: mcp-core-pulse 2.4s ease-in-out infinite;
}

@keyframes mcp-orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mcp-orbit-1 {
    animation: mcp-orbit-rotate 40s linear infinite;
    transform-origin: 580px 290px;
    transform-box: fill-box;
}

.mcp-orbit-2 {
    animation: mcp-orbit-rotate 60s linear infinite reverse;
    transform-origin: 580px 290px;
    transform-box: fill-box;
}

@keyframes mcp-halo-breathe {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.mcp-halo-breathe {
    animation: mcp-halo-breathe 3s ease-in-out infinite;
}

@keyframes mcp-node-glow {
    0%, 100% {
        stroke-opacity: 1;
    }

    50% {
        stroke-opacity: 0.5;
    }
}

.mcp-node-glow {
    animation: mcp-node-glow 2.6s ease-in-out infinite;
}

.mng-1 {
    animation-delay: 0s;
}

.mng-2 {
    animation-delay: 0.35s;
}

.mng-3 {
    animation-delay: 0.7s;
}

.mng-4 {
    animation-delay: 1.05s;
}

.mng-5 {
    animation-delay: 1.4s;
}

.mng-6 {
    animation-delay: 1.75s;
}

@keyframes mcp-client-active {
    0%, 100% {
        fill: #F5F1EB;
    }

    40%, 60% {
        fill: #0B9E94;
    }
}

.mcp-client-dot {
    animation: mcp-client-active 3.6s ease-in-out infinite;
}

.mcd-1 {
    animation-delay: 0s;
}

.mcd-2 {
    animation-delay: 0.5s;
}

.mcd-3 {
    animation-delay: 1s;
}

.mcd-4 {
    animation-delay: 1.5s;
}

.mcd-5 {
    animation-delay: 2s;
}

@media (prefers-reduced-motion: reduce) {
    .mcp-particle, .mcp-core-pulse, .mcp-orbit-1, .mcp-orbit-2,
    .mcp-halo-breathe, .mcp-node-glow, .mcp-client-dot {
        animation: none !important;
    }

    .mcp-particle {
        opacity: 0.4;
    }
}

/* CAPABILITY CARDS */
.caps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 780px) {
    .caps {
        grid-template-columns: 1fr;
    }
}

.cap {
    position: relative;
    padding: 2.2rem;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
    overflow: hidden;
    height: 100%;
}

.cap-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .cap-link:hover .cap {
        transform: translateY(-4px);
        border-color: var(--ink);
        box-shadow: 0 24px 48px -24px rgba(10, 11, 24, 0.12);
    }

.cap__index {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--stone);
}

.cap__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    color: #fff;
}

.cap-link:nth-child(2) .cap__icon {
    background: linear-gradient(135deg, var(--violet), var(--teal));
}

.cap-link:nth-child(3) .cap__icon {
    background: linear-gradient(135deg, var(--teal), var(--indigo));
}

.cap-link:nth-child(4) .cap__icon {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--teal) 100%);
}

.cap__icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}
/* Microsoft product icon variant: remove gradient bg, let icon's own colors show */
.cap__icon--ms {
    background: transparent !important;
    width: 56px;
    height: 56px;
    border-radius: 0;
    margin-bottom: 1rem;
}

    .cap__icon--ms img {
        width: 100%;
        height: 100%;
        display: block;
    }

.cap h3 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.55rem;
    margin-bottom: 0.8rem;
    transition: color var(--t-fast);
}

.cap-link:hover .cap h3 {
    color: var(--violet);
}

.cap p {
    color: var(--slate);
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
}

.cap__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.cap__tag {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    background: var(--cream);
    color: var(--slate);
    border-radius: 6px;
    text-transform: uppercase;
}

.cap__more {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--t-fast);
}

.cap-link:hover .cap__more {
    gap: 14px;
}

/* EXPERTISE - 5 columns */
.expertise {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .expertise {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .expertise {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .expertise {
        grid-template-columns: 1fr;
    }
}

.xp {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color var(--t-med), box-shadow var(--t-med);
}

.xp-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform var(--t-med);
}

    .xp-link:hover {
        transform: translateY(-3px);
    }

        .xp-link:hover .xp {
            border-color: var(--ink);
            box-shadow: 0 20px 40px -20px rgba(10, 11, 24, 0.12);
        }

.xp__num {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.xp__kicker {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.xp h3 {
    font-family: var(--f-display);
    font-size: 1.2rem;
    margin: 0 0 0.8rem;
    line-height: 1.2;
}


.xp__desc {
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.55;
}

.xp__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

    .xp__list li {
        font-size: 0.82rem;
        color: var(--ink);
        font-weight: 500;
        padding: 7px 0;
        border-bottom: 1px solid var(--line-2);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .xp__list li:last-child {
            border-bottom: 0;
        }

        .xp__list li::before {
            content: "";
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--teal);
            flex-shrink: 0;
        }

.xp__more {
    margin-top: auto;
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t-fast);
}

.xp-link:hover .xp__more {
    gap: 12px;
}

/* PHASES */
.phases {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (max-width: 920px) {
    .phases {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .phases {
        grid-template-columns: 1fr;
    }
}

.phase {
    background: #FFFFFF;
    padding: 2rem 1.6rem;
    transition: background var(--t-fast);
}

    .phase:hover {
        background: var(--cream-tint);
    }

.phase__num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--stone);
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .phase__num::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

.phase h4 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}


.phase p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.phase__duration {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    color: var(--teal);
    text-transform: uppercase;
}

/* GLOBAL */
.global {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .global {
        grid-template-columns: 1fr;
    }
}

.regions {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(245, 241, 235, 0.1);
    border: 1px solid rgba(245, 241, 235, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.region {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 2rem;
    background: var(--ink);
    transition: background var(--t-fast);
}

    .region:hover {
        background: #12131F;
    }

.region__num {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--stone);
    letter-spacing: 0.14em;
}

.region__name {
    font-family: var(--f-display);
    font-size: 1.6rem;
    color: var(--cream);
}


.region__tag {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--teal);
    text-transform: uppercase;
    border: 1px solid rgba(11, 158, 148, 0.3);
    padding: 5px 10px;
    border-radius: 6px;
}

.region--hq .region__tag {
    background: var(--teal);
    color: var(--ink);
    border-color: var(--teal);
    font-weight: 600;
    padding: 0 10px 0 10px;
}

/* PILLARS */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 820px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

/* Why Quegentic: 2-col header with photo */
.why-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 900px) {
    .why-head {
        grid-template-columns: 1fr;
    }
}

.why-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
   
    background: var(--cream-tint);
    border: 1px solid var(--line);
}

    .why-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.why-photo__caption {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 11, 24, 0.78);
    color: rgba(245, 241, 235, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Abstract dot-grid pattern: subtle background utility */
.has-dot-pattern {
    position: relative;
}

    .has-dot-pattern::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(61, 53, 200, 0.18) 1px, transparent 1.2px);
        background-size: 28px 28px;
        background-position: 0 0;
        opacity: 0.5;
        pointer-events: none;
        mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
        -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    }

    .has-dot-pattern > * {
        position: relative;
        z-index: 1;
    }

.pillar {
    padding: 1.8rem;
    background: var(--cream-tint);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.pillar__num {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.6rem;
}

.pillar h4 {
    font-family: var(--f-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.pillar p {
    font-size: 0.88rem;
    color: var(--slate);
    margin: 0;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact__title {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    margin-bottom: 1rem;
}

.contact__lede {
    color: var(--slate);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 2rem;
}

.contact-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}

.contact-block {
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}

    .contact-block:first-child {
        padding-top: 0;
    }

    .contact-block:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.contact-label {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: var(--f-display);
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.35;
}


.contact-value a {
    color: var(--ink);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast);
}

.contact-value a:hover {
    border-color: var(--teal);
}

.contact-value--addr {
    font-family: var(--f-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate);
    line-height: 1.55;
}

/* ============================================================
   AI TRANSFORMATION PAGE — MCP architecture diagram + animations,
   photo strips, page-specific overrides
   ============================================================ */



@keyframes mcp-core-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.88;
    }
}

@keyframes mcp-orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes mcp-halo-breathe {
    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes mcp-node-glow {
    0%, 100% {
        stroke-opacity: 1;
    }

    50% {
        stroke-opacity: 0.5;
    }
}

@keyframes mcp-client-active {
    0%, 100% {
        fill: #F5F1EB;
    }

    40%, 60% {
        fill: #0B9E94;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mcp-particle, .mcp-core-pulse, .mcp-orbit-1, .mcp-orbit-2,
    .mcp-halo-breathe, .mcp-node-glow, .mcp-client-dot {
        animation: none !important;
    }

    .mcp-particle {
        opacity: 0.4;
    }
}

/* ============================================================
   BLOG INDEX — post listing rows, "more posts coming soon" band
   ============================================================ */

/* Blog-specific styles */
.posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.post-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: padding var(--t-med);
}

    .post-row:hover {
        padding-left: 1rem;
    }

@media (max-width: 720px) {
    .post-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 2rem 0;
    }

        .post-row:hover {
            padding-left: 0;
        }
}

.post-date {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
    padding-top: 0.5rem;
}

.post-main {
    max-width: 640px;
}

.post-category {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.post-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 0.8rem;
    transition: color var(--t-fast);
}

.post-row:hover .post-title {
    color: var(--violet);
}

.post-excerpt {
    font-size: 0.98rem;
    color: var(--slate);
    margin: 0;
    line-height: 1.65;
}

.post-arrow {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--stone);
    text-transform: uppercase;
    padding-top: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}

.post-row:hover .post-arrow {
    gap: 14px;
    color: var(--teal);
}

@media (max-width: 720px) {
    .post-arrow {
        padding-top: 0.4rem;
    }
}

/* ============================================================
   BLOG ARTICLES — shared article styles (used by all posts)
   Styles below override April 2026 post versions where May 2026
   refined them (newer cascade wins).
   ============================================================ */

/* Article-specific styles */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 0 5rem;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article__category {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    color: var(--teal);
    text-transform: uppercase;
    font-weight: 500;
}

.article__date {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
}

    .article__date::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 1px;
        background: var(--line);
        vertical-align: middle;
        margin-right: 16px;
    }

.article h1 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 1.2rem;
}

    .article h1 em {
        font-style: italic;
        color: var(--teal);
    }

.article__lede {
    font-size: 1.2rem;
    color: var(--slate);
    line-height: 1.55;
    margin: 0 0 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.article__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate);
}

    .article__body h2 {
        font-family: var(--f-display);
        font-weight: 400;
        font-size: clamp(1.5rem, 2.4vw, 2rem);
        color: var(--ink);
        margin: 3.5rem 0 1.2rem;
        line-height: 1.2;
    }

    .article__body h3 {
        font-family: var(--f-display);
        font-weight: 400;
        font-size: 1.35rem;
        color: var(--ink);
        margin: 2.5rem 0 0.8rem;
    }

    .article__body p {
        margin: 0 0 1.3em;
    }

    .article__body strong {
        color: var(--ink);
        font-weight: 600;
    }

    .article__body a {
        color: var(--ink);
        border-bottom: 1px solid var(--teal);
        transition: background var(--t-fast);
    }

        .article__body a:hover {
            background: rgba(11, 158, 148, 0.1);
        }

    .article__body code {
        font-family: var(--f-mono);
        font-size: 0.92em;
        background: var(--cream);
        padding: 2px 7px;
        border-radius: 4px;
        color: var(--ink);
        border: 1px solid var(--line);
    }

    .article__body ul {
        margin: 0 0 1.5em;
        padding: 0;
        list-style: none;
    }

        .article__body ul li {
            position: relative;
            padding: 0.4em 0 0.4em 1.5em;
        }

            .article__body ul li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 1.1em;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: var(--teal);
            }


            .article__body blockquote {
    margin: 2.5rem 0;
    padding: 1.4rem 1.8rem;
    border-left: 3px solid var(--teal);
    background: var(--cream-tint);
    border-radius: 0 12px 12px 0;
    font-family: var(--f-display);
    font-weight: 400;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.5;
}

.pullquote {
    margin: 2.5rem 0;
    padding: 2rem 2.2rem;
    border-left: 3px solid var(--teal);
    background: var(--cream-tint);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--ink);
}

.callout {
    margin: 2.5rem 0;
    padding: 1.8rem 2rem;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--radius);
}

.callout__label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.callout h4 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--cream);
    margin: 0 0 0.6rem;
}

.callout p {
    color: rgba(245, 241, 235, 0.85);
    margin: 0;
    font-size: 0.98rem;
}

.article__footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article__author {
    font-family: var(--f-sans);
    font-size: 0.95rem;
    color: var(--slate);
}

    .article__author strong {
        color: var(--ink);
        font-weight: 600;
    }

.article__back {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--stone);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--t-fast), gap var(--t-fast);
}

    .article__back:hover {
        color: var(--ink);
        gap: 14px;
    }

.tldr {
    background: var(--cream-tint);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    margin: 0 0 3rem;
}

.tldr__label {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.tldr p {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.65;
}







.compare-table {
    margin: 2.5rem 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

    .compare-row:last-child {
        border-bottom: 0;
    }

    .compare-row.compare-row--head {
        background: var(--cream-tint);
    }

.compare-cell {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--slate);
    border-right: 1px solid var(--line);
}

    .compare-cell:last-child {
        border-right: 0;
    }

.compare-cell--label {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    background: var(--cream-tint);
}

.compare-cell--head {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
}

    .compare-cell--head .compare-cell__sub {
        display: block;
        font-family: var(--f-mono);
        font-size: 9.5px;
        letter-spacing: 0.15em;
        color: var(--stone);
        text-transform: uppercase;
        font-weight: 400;
        margin-top: 4px;
    }

@media (max-width: 720px) {
    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-cell {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .compare-row:last-child .compare-cell:last-child {
        border-bottom: 0;
    }
}

/* ============================================================
   BRAND GUIDELINES PAGE — cover, section navigation, logo gallery,
   colour tiles, typography samples, do/donts grid, construction
   ============================================================ */




.wrap {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* Sticky brand-bar header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 241, 235, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: inherit;
}

.brand__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    margin-bottom: 4px;
}

.topbar__meta {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
}

/* Cover */
.cover {
    padding: clamp(4rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

    .cover::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        right: -200px;
        top: -100px;
        background: radial-gradient(closest-side, rgba(107, 56, 196, 0.10), transparent 70%);
        pointer-events: none;
    }

.cover__eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--stone);
    text-transform: uppercase;
    margin: 0 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .cover__eyebrow::before {
        content: "";
        width: 24px;
        height: 1.5px;
        background: var(--teal);
    }

.cover h1 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 1.2rem;
    letter-spacing: -0.01em;
}

    .cover h1 em {
        font-style: italic;
        color: var(--teal);
    }

.cover__lede {
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 620px;
    margin: 0 0 2.5rem;
}

.cover__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    max-width: 800px;
}

@media (max-width: 720px) {
    .cover__meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

.meta__label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.meta__value {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink);
}

/* Section */
section {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section--ink h2, .section--ink h3 {
    color: var(--cream);
}

.section--ink p {
    color: rgba(245, 241, 235, 0.7);
}

.section__num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--stone);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .section__num::before {
        content: "";
        width: 18px;
        height: 1.5px;
        background: var(--teal);
    }

.section--ink h2 {
    color: var(--cream);
}

.section__lede {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 620px;
    margin: 0 0 3rem;
}

.section--ink .section__lede {
    color: rgba(245, 241, 235, 0.7);
}

/* ============ LOGO STAGE ============ */
.logo-stage {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

    .logo-stage::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(closest-side at 25% 30%, rgba(61, 53, 200, 0.05), transparent 70%), radial-gradient(closest-side at 75% 70%, rgba(11, 158, 148, 0.05), transparent 70%);
        pointer-events: none;
    }

.logo-stage__caption {
    position: relative;
    text-align: center;
    margin-top: 2rem;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
}

.primary-logo {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    display: block;
    height: auto;
    position: relative;
}

/* Logo variants grid */
.variants {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 720px) {
    .variants {
        grid-template-columns: 1fr;
    }
}

.variant {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.5rem 2rem 1.5rem;
    background: var(--cream);
}

.variant--ink {
    background: var(--ink);
    border-color: rgba(245, 241, 235, 0.12);
}

.variant--white {
    background: #FFFFFF;
}

.variant--cream-tint {
    background: var(--cream-tint);
}

.variant__svg {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 1.5rem;
    display: block;
}

.variant__meta {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.variant--ink .variant__meta {
    border-top-color: rgba(245, 241, 235, 0.1);
}

.variant__name {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}

.variant--ink .variant__name {
    color: var(--cream);
}

.variant__use {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
}

/* Construction / spacing diagram */
.construction {
    background: var(--cream-tint);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.5rem;
}

.construction__svg {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.construction__notes {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 720px) {
    .construction__notes {
        grid-template-columns: 1fr;
    }
}

.construction__note h4 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    margin: 0 0 0.4rem;
}

.construction__note p {
    font-size: 0.92rem;
    color: var(--slate);
    margin: 0;
}

/* ============ COLOR PALETTE ============ */
.palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .palette {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .palette {
        grid-template-columns: 1fr;
    }
}

.swatch {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #FFFFFF;
}

.swatch__color {
    height: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem 1.2rem;
}

.swatch__name {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.swatch--light .swatch__name {
    color: var(--ink);
}

.swatch__meta {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--line-2);
}

.swatch__hex {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--ink);
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.swatch__role {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--stone);
    text-transform: uppercase;
}

/* Gradient strip */
.gradient-bar {
    height: 56px;
    border-radius: 14px;
    background: var(--grad);
    margin-bottom: 1rem;
}

.gradient-stops {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .gradient-stops {
        grid-template-columns: 1fr;
    }
}

.gradient-stop {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    background: #FFFFFF;
}

.gradient-stop__pct {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--stone);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.gradient-stop__name {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.gradient-stop__hex {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--slate);
}

/* ============ TYPOGRAPHY ============ */
.type-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    align-items: end;
}

    .type-row:last-child {
        border-bottom: 0;
    }

@media (max-width: 720px) {
    .type-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.type-meta {
    padding-bottom: 0.5rem;
}

.type-meta__name {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    margin: 0 0 0.4rem;
}

.type-meta__role {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.type-meta__use {
    font-size: 12.5px;
    color: var(--slate);
    line-height: 1.55;
    margin: 0;
}

.type-sample__display {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1;
    color: var(--ink);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

    .type-sample__display em {
        font-style: italic;
        color: var(--teal);
    }

.type-sample__sans {
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.type-sample__mono {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 0.4rem;
    letter-spacing: 0.04em;
}

.type-sample__pangram {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--stone);
    text-transform: uppercase;
    margin: 0;
}

/* ============ DOS & DON'TS ============ */
.rules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 720px) {
    .rules {
        grid-template-columns: 1fr;
    }
}

.rule {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
    background: #FFFFFF;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rule__mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: 14px;
}

.rule--do .rule__mark {
    background: var(--teal);
}

.rule--dont .rule__mark {
    background: #B23A3A;
}

.rule__body {
    flex: 1;
}

.rule__label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 0.4rem;
}

.rule--do .rule__label {
    color: var(--teal);
}

.rule--dont .rule__label {
    color: #B23A3A;
}

.rule__text {
    font-size: 0.95rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.55;
}

/* Tagline */
.tagline-row {
    background: var(--ink);
    color: var(--cream);
    border-radius: 18px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.tagline-label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tagline-value {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--cream);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .tagline-value .sep {
        color: var(--teal);
        margin: 0 0.3em;
    }

/* ============ FOOTER ============ */
.footer {
    background: var(--ink);
    color: rgba(245, 241, 235, 0.7);
    padding: 4rem 0 2rem;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 241, 235, 0.1);
}

@media (max-width: 720px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
}

.footer h5 {
    font-family: var(--f-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    margin: 0 0 1rem;
}

.footer p, .footer li {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
    color: rgba(245, 241, 235, 0.65);
}

.footer__grad-bar {
    height: 3px;
    background: var(--grad);
    border-radius: 2px;
    margin: 2rem 0 1rem;
}

.footer__base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: rgba(245, 241, 235, 0.5);
    text-transform: uppercase;
}

@media print {
    .topbar {
        position: static;
    }

    section {
        page-break-inside: avoid;
    }

    .footer {
        page-break-before: always;
    }
}
