
/* =========================================================
    Base / Reset
========================================================= */
:root {
    --bg: #f7f5f2;
    --text: #18181b;        /* zinc-900 */
    --muted: #3f3f46;       /* zinc-700 */
    --muted-2: #52525b;     /* zinc-600 */
    --muted-3: #71717a;     /* zinc-500 */
    --border: rgba(228, 228, 231, 0.9); /* zinc-200-ish */
    --card: #ffffff;
    --soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 28px;
    --radius-hero: 32px;
    --max: 1100px;

    --blue: #2563eb;
    --indigo: #4f46e5;
    --ring: rgba(161, 161, 170, 0.6); /* zinc-400-ish */
    }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) {
    .container { padding: 0 24px; }
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* =========================================================
    Decorative background
========================================================= */
.bg-decor {
    pointer-events: none;
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.blob {
    position: absolute;
    filter: blur(48px);
    transform: translateZ(0);
}
.blob.top {
    top: -96px;
    left: 50%;
    width: 48rem;
    height: 20rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(
        to right,
        rgba(191, 219, 254, 0.35),
        rgba(199, 210, 254, 0.25),
        rgba(165, 243, 252, 0.25)
    );
}
.blob.bottom {
    bottom: -128px;
    right: -160px;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: linear-gradient(
        to top right,
        rgba(167, 243, 208, 0.20),
        rgba(186, 230, 253, 0.20)
    );
}

/* =========================================================
    Header / Nav
========================================================= */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(228, 228, 231, 0.7);
    background: rgba(247, 245, 242, 0.80);
    backdrop-filter: blur(10px);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #111827;
    color: #fff;
    box-shadow: var(--soft);
    font-weight: 800;
}
.brand-text {
    line-height: 1.1;
}
.brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.brand-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-2);
}

nav.primary {
    display: none;
    align-items: center;
    gap: 18px;
}
@media (min-width: 768px) {
    nav.primary { display: flex; }
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 160ms ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active {
    color: var(--text);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    outline: none;
}
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.55);
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: var(--soft);
}
.btn-primary:hover { background: #1f2937; }
.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: rgba(228, 228, 231, 0.9);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: #fafafa; }

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #27272a;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background 160ms ease;
}
.menu-btn:hover { background: #fafafa; }
@media (min-width: 768px) {
    .menu-btn { display: none; }
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(228, 228, 231, 0.7);
    background: var(--bg);
}
.mobile-menu.open { display: block; }

.mobile-links {
    padding: 12px 0;
    display: grid;
    gap: 8px;
}
.mobile-links a {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: background 160ms ease, color 160ms ease;
}
.mobile-links a:hover {
    background: #fff;
    color: var(--text);
}

/* =========================================================
    Sections / Typography
========================================================= */
main { position: relative; z-index: 1; }

section { scroll-margin-top: 96px; }

.section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}
@media (min-width: 640px) {
    .section-title { font-size: 30px; }
}
.section-sub {
    margin: 12px 0 0;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.55;
}

/* =========================================================
    HERO
========================================================= */
.hero {
    padding-top: 48px;
}
@media (min-width: 640px) {
    .hero { padding-top: 64px; }
}

.hero-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}
@media (min-width: 768px) {
.hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    }
}

.hero h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}
@media (min-width: 640px) {
    .hero h1 { font-size: 48px; }
}

.gradient-text {
    background: linear-gradient(to right, var(--blue), var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-quote {
    margin: 16px 0 0;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-card-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .hero-card-wrap {
        height: 75%;
        max-height: 75%;
    }
}

.hero-glow {
    position: absolute;
    inset: -8px;
    border-radius: 32px;
    background: linear-gradient(
        to top right,
        rgba(191, 219, 254, 0.40),
        rgba(199, 210, 254, 0.30),
        rgba(165, 243, 252, 0.30)
    );
    filter: blur(18px);
}

.hero-card {
    position: relative;
    border-radius: 32px;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    box-shadow: var(--soft);
    overflow: hidden;
    height: 380px;

    /* Make it fill wrapper and let image flex */
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hero-card {
        height: 420px;
    }
}

.hero-card img { /* Fix something ChatGPT was screwing up with headshot pic */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-body {
    padding: 18px 18px 20px;
}
.hero-card-name {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}
.hero-card-desc {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--muted-2);
    line-height: 1.5;
}

/* =========================================================
    Cards / Grids
========================================================= */
.mt-16 { margin-top: 64px; }
.mt-12 { margin-top: 48px; }
.mt-8  { margin-top: 32px; }

.grid-3 {
    display: grid;
    gap: 18px;
}
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-impact-top {
    display: grid;
    gap: 18px;
}
@media (min-width: 1024px) {
    .grid-impact-top { grid-template-columns: repeat(3, 1fr); }
}

.grid-metrics {
    display: grid;
    gap: 18px;
}
@media (min-width: 640px) {
    .grid-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-metrics { grid-template-columns: repeat(4, 1fr); }
}

.card {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.card-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #111827; /* #111827 */
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 18px;
}

.card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.card p {
    margin: 10px 0 0;
    line-height: 1.55;
}

/* Impact "what I do" cards: subtle gradient */
.card-soft {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}
.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
}
.bar {
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(191,219,254,0.7), rgba(199,210,254,0.7));
}

/* Metric cards */
.metric-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.02em;
    margin: 0;
}
.metric-title {
    margin: 6px 0 0;
    font-weight: 800;
}
.metric-desc {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================================================
    Clients
========================================================= */
.clients-grid {
    display: grid;
    gap: 12px;
}
@media (min-width: 640px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .clients-grid { grid-template-columns: repeat(5, 1fr); }
}

.logo-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    padding: 22px 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 220ms ease, box-shadow 220ms ease;
    outline: none;
}

.logo-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--soft);
}
.logo-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.5), var(--soft);
}

.logo-sheen {
    pointer-events: none;
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.40), transparent);
    transition: transform 700ms ease;
}
.logo-btn:hover .logo-sheen {
    transform: translateX(100%);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: transform 220ms ease;
}
.logo-btn:hover .logo-img {
    transform: scale(1.03);
}
.logo-img.small { height: 36px; }
.logo-img.atlassian { height: 36px; }
.logo-img.affirm { height: 36px; }

/* Quote */
figure.quote {
    margin: 32px 0 0;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 26px;
}
figure.quote blockquote {
    margin: 0;
    color: #27272a;
    line-height: 1.7;
}
figure.quote figcaption {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Placeholder space for small headshot near name (circle) */
.quote-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e4e4e7;
    border: 1px solid rgba(228,228,231,0.9);
    overflow: hidden;
    flex: 0 0 auto;
}
.quote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
    Contact
========================================================= */
.contact-card {
    border-radius: var(--radius-hero);
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fff;
    box-shadow: var(--soft);
    overflow: hidden;
}

.contact-grid {
    padding: 28px;
    display: grid;
    gap: 28px;
}
@media (min-width: 768px) {
.contact-grid {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
    gap: 32px;
    }
}

.contact-right {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(228, 228, 231, 0.9);
    background: #fafafa;
    padding: 20px;
}
.contact-right h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    color: var(--text);
}
.bullets {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.bullets li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}
.dot {
    margin-top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #a1a1aa;
    flex: 0 0 auto;
    }

.fineprint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted-3);
}
.fineprint strong { color: var(--muted); }

footer.site-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: var(--muted-3);
    padding-bottom: 12px;
}

footer.site-footer a {
    text-decoration: underline;
    text-underline-offset: 1px;
}

/* =========================================================
    Reveal animation (progressive enhancement)
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}