/* Gibson Technology Partners — design system v2 (claude.ai/design, 2026-07) */

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/space-grotesk-var.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a1330;
    --navy2: #111f47;
    --primary: #1e3a8a;
    --blue: #3b82f6;
    --accent: #60a5fa;
    --ink: #0d1526;
    --text: #3f4a5c;
    --muted: #6b7688;
    --line: #e6e9f0;
    --bg: #f7f9fc;
    --white: #ffffff;
    --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* legacy aliases (older templates/content) */
    --primary-color: var(--primary);
    --secondary-color: var(--blue);
    --accent-color: var(--accent);
    --text-dark: var(--ink);
    --text-light: var(--muted);
    --bg-light: var(--bg);
    --section-padding: 80px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--primary); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

@keyframes floaty { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -24px); } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }

/* ─── Header & navigation ─── */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }

.logo-mark {
    width: 36px;
    height: 36px;
    flex: none;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

.nav-right { display: flex; align-items: center; gap: 30px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 26px;
}

.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
    font-family: var(--display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--white);
    background: var(--ink);
    padding: 11px 20px;
    border-radius: 9px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(13, 21, 38, 0.28);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--ink);
    transition: 0.3s;
}

button.mobile-menu { background: none; border: 0; padding: 0; }

/* ─── Dark heroes ─── */
.hero,
.page-hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.hero { padding: 120px 0 130px; }
.page-hero { padding: 96px 0 84px; }

.hero-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.page-hero .hero-art { opacity: .7; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art .node { animation: pulse 4s ease-in-out infinite; }
.hero-art .node:nth-of-type(2n) { animation-duration: 3.2s; }
.hero-art .node:nth-of-type(3n) { animation-delay: 1.1s; }
.hero-art .node:nth-of-type(5n) { animation-delay: 2s; }

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 70%);
    top: -120px;
    right: -40px;
    filter: blur(12px);
    animation: floaty 12s ease-in-out infinite;
}

.hero .container,
.page-hero .container { position: relative; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow-pill {
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.28);
    padding: 7px 15px;
    border-radius: 100px;
}

.hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 26px 0 0;
    text-wrap: balance;
}

.page-hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 16px 0 0;
    text-wrap: balance;
}

.grad-text {
    background: linear-gradient(120deg, var(--accent), #a9c8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .subtitle,
.hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.6;
    color: #c3cde0;
    max-width: 640px;
    margin: 26px auto 0;
    text-wrap: pretty;
}
.page-hero .hero-tagline { font-size: 1.18rem; margin-top: 22px; max-width: 600px; }

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 38px;
}

.btn-light {
    display: inline-block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    padding: 15px 30px;
    border-radius: 11px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-light:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.btn-ghost {
    display: inline-block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 11px;
    transition: background 0.2s;
}

.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.13); }

.hero-strip {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 52px;
    color: #8a97b0;
    font-size: 14.5px;
    font-weight: 500;
}
.hero-strip .sep { color: rgba(255, 255, 255, 0.2); }

.breadcrumbs { font-size: 0.9rem; margin: 18px 0 0; color: #8a97b0; }
.breadcrumbs a { color: #c3cde0; }
.breadcrumbs a:hover { color: var(--white); }

.page-hero .post-meta { color: #8a97b0; margin-top: 10px; }

/* ─── Section scaffolding ─── */
.section { padding: 100px 0 40px; }
.section-tight { padding: 60px 0 40px; }
.section-why { padding: 70px 0 90px; }
.container-wide { max-width: 940px; margin: 0 auto; padding: 0 28px; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-head .eyebrow { color: var(--blue); }

.section-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 14px 0 0;
}

/* ─── Cards ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(13, 21, 38, 0.1);
    border-color: transparent;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.28);
}

.service-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.service-card h3 a { color: var(--ink); }
.service-card h3 a:hover { color: var(--blue); }

.service-card p { color: var(--text); line-height: 1.7; font-size: 15.5px; margin-bottom: 18px; }

.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.service-card li {
    font-size: 14.5px;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* ─── Differentiator band ─── */
.band-wrap { padding: 70px 0; }

.band {
    background: var(--navy2);
    border-radius: 26px;
    padding: 66px 56px;
    position: relative;
    overflow: hidden;
}

.band-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent 70%);
    top: -120px;
    right: -60px;
    filter: blur(8px);
}

.band-inner { position: relative; max-width: 760px; }

.band h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--white);
    text-wrap: balance;
}

.band p {
    color: #b9c4da;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-top: 22px;
    max-width: 620px;
}

/* ─── Process steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.step-card {
    padding: 30px 26px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.step-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 9px;
    letter-spacing: -0.01em;
}

.step-card p { font-size: 14.5px; color: var(--text); line-height: 1.65; }

/* ─── Why items ─── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.why-item { display: flex; gap: 16px; padding: 26px 22px; }

.why-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1.2rem;
}

.why-item h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.why-item p { font-size: 14.5px; color: var(--text); line-height: 1.6; }

/* ─── Contact CTA band ─── */
.cta-wrap { padding: 20px 0 90px; }

.cta-band {
    background: linear-gradient(135deg, var(--navy), var(--primary));
    border-radius: 26px;
    padding: 70px 56px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow-a,
.cta-glow-b {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
}

.cta-glow-a {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.42), transparent 70%);
    top: -140px;
    left: -40px;
}

.cta-glow-b {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
    bottom: -160px;
    right: -40px;
}

.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }

.cta-band h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--white);
    text-wrap: balance;
}

.cta-band p { color: #c3cde0; font-size: 1.12rem; line-height: 1.6; margin-top: 18px; }

.cta-band .btn-light { margin-top: 30px; padding: 15px 32px; }

.cta-band .cta-email { color: #8a97b0; font-size: 14px; margin-top: 18px; }

/* ─── Page content (services, about, posts) ─── */
.page-content { padding: 70px 0 30px; }
.page-content .container { max-width: 820px; }

.page-content h2,
.post-body h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 2.5rem 0 1rem;
}

.page-content h3,
.post-body h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
    margin: 1.8rem 0 0.6rem;
}

.page-content p,
.page-content li,
.post-body p,
.post-body li {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 16.5px;
}

.page-content ul,
.post-body ul { padding-left: 1.5rem; }

.page-content ol,
.post-body ol { padding-left: 1.5rem; }

.lede {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.28rem;
    line-height: 1.6;
    color: var(--ink);
    letter-spacing: -0.01em;
    text-wrap: pretty;
}

/* ─── Values grid (about) ─── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding: 0;
    margin: 1.5rem 0;
    list-style: none;
}

.values-grid li {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 26px;
    margin: 0;
}

.values-grid strong {
    display: block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--ink);
    margin-bottom: 8px;
}

/* ─── Blog ─── */
.post-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.post-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 34px;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(13, 21, 38, 0.1);
    border-color: transparent;
}

.post-card h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.42rem;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 10px;
}

.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--blue); }

.post-card p { color: var(--text); line-height: 1.65; font-size: 15.5px; }

.post-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }

.tag-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 5px 11px;
    border-radius: 100px;
    margin-right: 0.5rem;
}

.post-body a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(59, 130, 246, 0.35); }
.post-body a:hover { color: var(--primary); }

.pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    font-family: var(--display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 9px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pagination a:hover { border-color: var(--blue); }

/* ─── Footer ─── */
footer {
    background: var(--ink);
    color: var(--white);
    padding: 56px 0 40px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand { max-width: 340px; }

.footer-brand .logo { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-brand .logo-mark { box-shadow: none; }

.footer-brand p { color: #8a97b0; font-size: 14.5px; line-height: 1.6; }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }

.footer-col { display: flex; flex-direction: column; gap: 11px; }

.footer-col-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5f6c85;
}

.footer-col a { color: #c3cde0; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }

.footer-legal {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #5f6c85;
    font-size: 13.5px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .mobile-menu { display: flex; }
    .hero { padding: 90px 0 100px; }
    .band { padding: 46px 32px; }
    .cta-band { padding: 50px 32px; }
    .footer-grid { flex-direction: column; }
}
