/* ============================================================
   Root — independent consulting practice
   Black/white, sober, editorial. Extends css/site.css.
   Keeps the full-bleed black hero; matches the site shell
   (container, breadcrumb header, section rules, footer).
   ============================================================ */

/* ---- Root links stay monochrome (sober identity) ---- */

body.root a {
    color: #1a1a1a;
}

body.root a:hover {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* ---- Header identity (avatar + wordmark) ---- */

.root-id {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.root-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

/* ---- Header wraps tightly into the hero band ---- */

body.root > .container:first-child {
    padding-bottom: 0;
}

body.root header {
    margin-bottom: 0;
}

/* ---- Hero (full-bleed black band) ---- */

.root-hero {
    background: #0f0f0f;
    color: #f5f5f5;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.root-hero-inner {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 4.5rem;
}

.root-hero-mark {
    position: absolute;
    right: 0.5rem;
    bottom: -1rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.13;
    pointer-events: none;
}

.root-wordmark {
    font-size: 3.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
    color: #f5f5f5;
    margin: 0 0 1.25rem;
}

.root-tagline {
    font-size: 1.125rem;
    color: #f5f5f5;
    max-width: 28em;
    margin-bottom: 1.5rem;
}

.root-positioning {
    font-size: 0.9375rem;
    color: #b0b0b0;
    max-width: 30em;
    border-top: 1px solid #2c2c2c;
    padding-top: 1.25rem;
}

/* ---- Main sections (light) ---- */

.root-section {
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.root-section:last-of-type {
    border-bottom: none;
}

.root-product h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.root-product h3 a {
    text-decoration: none;
}

.root-product h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.root-product p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    max-width: 34em;
}

.root-relation {
    padding: 2rem 0 3.5rem;
}

.root-relation p {
    font-size: 0.875rem;
    color: #666;
}

/* ---- Product page ---- */

.root-page-head {
    padding: 4rem 0 2.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2.5rem;
}

.root-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
    margin-bottom: 1rem;
}

.root-page-head h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.root-subtitle {
    font-size: 1.0625rem;
    color: #666;
    line-height: 1.55;
    max-width: 36em;
}

.root-body {
    padding-bottom: 3rem;
}

.root-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 3rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.root-body h2:first-of-type {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.root-body h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 2rem 0 0.5rem;
}

.root-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.root-body ul {
    margin: 0 0 1rem 1.25rem;
    line-height: 1.7;
}

.root-body li {
    margin-bottom: 0.4rem;
}

/* ---- Footer (full-bleed black band) ---- */

.root-footer {
    background: #0f0f0f;
    color: #b0b0b0;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.root-footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    position: relative;
}

.root-footer-mark {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.08;
    pointer-events: none;
}

.root-footer p {
    margin-bottom: 0.35rem;
    color: #8a8a8a;
}

.root-footer .links {
    margin-top: 0.75rem;
}

.root-footer .links a {
    color: #e5e5e5;
    text-decoration: none;
}

.root-footer .links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.root-footer .sep {
    color: #333333;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
    .root-hero-inner {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .root-wordmark {
        font-size: 2.5rem;
    }

    .root-hero-mark {
        width: 110px;
        height: 110px;
    }

    .root-page-head {
        padding-top: 3rem;
    }

    .root-page-head h1 {
        font-size: 1.6rem;
    }
}