/* =====================================================================
 * service-elevated.css — shared elevation for the standard service pages.
 * Restyles the existing .service-hero markup (eyebrow + h1 + lede) into the
 * home "carbon + Archivo" system, with no per-page markup changes, and
 * applies the Archivo type system + light polish to pricing/included/why-us.
 *
 * Loaded after app.css + service.css (so these rules win). Body & Paint has
 * its own richer body-paint.css and does NOT load this file.
 * ===================================================================== */

:root {
    --font-display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
    --font-body:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --carbon:       #0B0B0D;
    --carbon-2:     #141117;
}

body { font-family: var(--font-body); }

/* ---------------------------------------------------------------------
 * Carbon hero (type-only) — background layers via pseudo-elements so the
 * existing .service-hero > eyebrow/title/lede markup needs no changes.
 * ------------------------------------------------------------------- */

.service-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: var(--space-3) 0 var(--space-5);
    padding: clamp(28px, 7vw, 48px) clamp(20px, 5vw, 36px) clamp(28px, 6vw, 40px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 24px 60px -24px rgba(234, 33, 39, .32), 0 10px 30px -12px rgba(0, 0, 0, .5);
    background:
        radial-gradient(420px 420px at 100% -10%, rgba(234, 33, 39, .4) 0%, rgba(234, 33, 39, 0) 60%),
        radial-gradient(135% 120% at 85% -25%, var(--carbon-2) 0%, var(--carbon) 52%);
}
/* Red top hairline. */
.service-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 3;
    background: linear-gradient(90deg, transparent, var(--red) 30%, #ff5a5f 50%, var(--red) 70%, transparent);
}
/* Blueprint grid, masked to fade toward the edges. */
.service-hero::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
            mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
}
.service-hero > * { position: relative; z-index: 2; }

.service-hero__eyebrow {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.service-hero__eyebrow::before {
    content: "//";
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: var(--red);
    font-weight: 700;
}

.service-hero__title {
    margin: 14px 0 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 7vw, 46px);
    line-height: .99;
    letter-spacing: -.01em;
    color: #fff;
}
.service-hero__title .text-red { color: var(--red); text-shadow: 0 0 26px rgba(234, 33, 39, .4); }

.service-hero__lede {
    margin: 16px 0 0;
    max-width: 52ch;
    font-size: clamp(14px, 2.3vw, 16px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .7);
}
.service-hero__lede strong { color: #fff; font-weight: 700; }

/* Staggered entrance. */
.service-hero__eyebrow { animation: seRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .05s; }
.service-hero__title   { animation: seRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .13s; }
.service-hero__lede    { animation: seRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .24s; }
@keyframes seRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
 * Light polish to the white content blocks below the hero.
 * ------------------------------------------------------------------- */

.pricing__table { border-radius: 18px; }
.pricing__price { font-weight: 800; }
.why-us__icon { color: var(--red); }

/* ---------------------------------------------------------------------
 * Reduced motion
 * ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .service-hero__eyebrow,
    .service-hero__title,
    .service-hero__lede { animation: none; }
}
