/* ===== HOMEPAGE HERO — flow field ===== */
.hero-wrap {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
}

.hero-seam {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-flow-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--paper) 20%, rgba(245, 243, 239, 0.55) 48%, rgba(245, 243, 239, 0) 78%);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    padding: 96px 64px 88px;
}

.hero-main {
    grid-column: span 9;
}

.hero .chip-row {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 100px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 48px;
    text-wrap: balance;
}

.hero-sub {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 620px;
    color: var(--ink-70);
    margin: 0 0 48px;
}

.cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-rail {
    grid-column: span 3;
    border-left: 1px solid var(--ink-20);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink-60);
}

.hero-rail .rail-foot {
    margin-top: auto;
    color: var(--ink-40);
}

/* ===== GAP SECTION ===== */
.gap-section .chip-row {
    margin-bottom: 72px;
}

.gap-section .stagger:first-of-type {
    margin-bottom: 80px;
}

.gap-statement {
    font-size: clamp(36px, 5.3vw, 76px);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.025em;
    max-width: 1080px;
    margin: 0 0 72px;
    text-wrap: balance;
}

/* ===== VALUE VELOCITY ===== */
.velocity-heading {
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

/* ===== INNER PAGE HEAD ===== */
.page-head {
    position: relative;
    overflow: hidden;
    padding: 96px 64px 88px;
    border-bottom: 1px solid var(--rule);
}

.page-head-flow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-head-flow-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--paper) 20%, rgba(245, 243, 239, 0.55) 48%, rgba(245, 243, 239, 0) 78%);
}

.page-head > :not(.page-head-flow),
.post-head > :not(.page-head-flow) {
    position: relative;
    z-index: 2;
}

.page-head .chip-row {
    margin-bottom: 40px;
}

.page-head h1 {
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 1.0;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 40px;
    max-width: 980px;
    text-wrap: balance;
}

.page-head .page-sub {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 620px;
    color: var(--ink-70);
    margin: 0 0 48px;
}

/* ===== MANIFESTO (large running text) ===== */
.manifesto-text {
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 500;
    color: var(--ink-70);
    line-height: 1.6;
    max-width: 880px;
    margin: 0 0 48px;
}

.manifesto-text:last-child {
    margin-bottom: 0;
}

.manifesto-text strong {
    font-weight: 600;
    color: var(--ink);
}

/* ===== PILLAR GRID (Who We Are — What We Believe) ===== */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 48px;
}

.pillar {
    border-left: 1px solid var(--rule);
    padding-left: 32px;
}

.pillar h4 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 14px;
}

.pillar p {
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
    color: var(--ink-65);
    margin: 0;
}

/* ===== CLIENT PROFILES (Who We Work With) ===== */
.profile-row {
    padding: 72px 0;
    border-top: 1px dotted var(--ink-35);
}

.profile-row:last-of-type {
    padding-bottom: 0;
}

.profile-heading {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 24px;
}

.profile-body {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ink-65);
    margin: 0;
}

.profile-card {
    border-left: 1px solid var(--rule);
    padding-left: 32px;
}

.profile-card p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ink-65);
    margin: 0;
}

/* ===== BLOG POST ===== */
.post-head {
    position: relative;
    overflow: hidden;
    padding: 96px 64px 72px;
    border-bottom: 1px solid var(--rule);
}

.back-link {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-50);
    margin-bottom: 48px;
}

.back-link .arrow {
    color: var(--accent);
}

.post-meta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-50);
    margin-bottom: 20px;
}

.post-head h1 {
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.025em;
    max-width: 900px;
    margin: 0;
    text-wrap: balance;
}

.post-lede {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--ink-70);
    max-width: 640px;
    margin: 28px 0 0;
}

.post-body {
    padding: 88px 64px 128px;
}

.post-content {
    max-width: 720px;
}

.post-content p {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ink-70);
    margin: 0 0 28px;
}

.post-content strong {
    font-weight: 600;
    color: var(--ink);
}

.post-content h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 56px 0 20px;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 40px 0 16px;
}

.post-content blockquote {
    border-left: 1px solid var(--rule);
    padding: 4px 0 4px 28px;
    margin: 36px 0;
}

.post-content blockquote p {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0;
}

.post-content code {
    font-family: var(--mono);
    font-size: 15px;
    background: var(--ink-06);
    padding: 2px 7px;
}

.post-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content ul,
.post-content ol {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ink-70);
    margin: 0 0 28px;
    padding-left: 24px;
}

.post-content hr {
    border: none;
    border-top: 1px dotted var(--ink-35);
    margin: 48px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-flow-fade {
        background: linear-gradient(180deg, rgba(245, 243, 239, 0.6) 0%, rgba(245, 243, 239, 0.35) 100%);
    }

    .hero {
        display: block;
        padding: 64px 24px;
    }

    .hero-rail {
        display: none;
    }

    .gap-section .stagger:first-of-type {
        margin-bottom: 48px;
    }

    .gap-statement {
        margin-bottom: 48px;
    }

    .page-head {
        padding: 64px 24px;
    }

    .page-head-flow-fade {
        background: linear-gradient(180deg, rgba(245, 243, 239, 0.6) 0%, rgba(245, 243, 239, 0.35) 100%);
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillar {
        padding-left: 24px;
    }

    .profile-row {
        padding: 48px 0;
    }

    .profile-card {
        padding-left: 24px;
    }

    .post-head {
        padding: 64px 24px;
    }

    .post-body {
        padding: 56px 24px 72px;
    }
}
