/* ==========================================================================
   josealv.com homepage — sleek/modern edition
   Inspired by the ChatGPT / Claude homepages: warm off-white, soft rounded
   surfaces, generous whitespace, restrained Inter type, a single warm accent,
   and smooth premium motion (ambient hero glow, gentle scroll reveals).
   Self-contained: loaded INSTEAD of style.css on index.html.
   ========================================================================== */

:root {
    --bg: #f7f5f1;            /* warm off-white */
    --surface: #ffffff;       /* cards / panels */
    --surface-2: #fbfaf7;
    --ink: #1b1a17;           /* warm near-black */
    --ink-2: #3c3a34;
    --muted: #6b665d;         /* warm muted (AA on bg) */
    --line: #e9e5dd;          /* hairline */
    --line-2: #ddd8cd;
    --accent: #c2683f;        /* warm clay — used sparingly */
    --accent-ink: #a8542f;
    --accent-glow: rgba(194, 104, 63, 0.16);
    --accent-tint: rgba(194, 104, 63, 0.22);   /* chip/pill backgrounds (AA for accent-ink) */
    --accent-2: #4f86d6;       /* cool blue (LED) — little accents */
    --accent-2-ink: #2f63ad;
    --accent-2-tint: rgba(79, 134, 214, 0.2);

    --font-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --fs-hero: clamp(2.4rem, 4.6vw, 4rem);
    --fs-h2: clamp(1.7rem, 2.8vw, 2.5rem);
    --fs-h3: 1.18rem;
    --fs-lead: clamp(1.14rem, 1.4vw, 1.38rem);
    --fs-label: 0.72rem;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-pill: 999px;

    --maxw: 1180px;
    --gutter: clamp(22px, 5vw, 44px);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* smooth, premium */
    --shadow-sm: 0 1px 2px rgba(27, 26, 23, 0.04), 0 6px 16px -8px rgba(27, 26, 23, 0.10);
    --shadow: 0 2px 8px rgba(27, 26, 23, 0.05), 0 24px 48px -20px rgba(27, 26, 23, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.content { display: block; }

/* generated full-bleed LA footer scene, refined with CSS light overlays */
.site-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    bottom: clamp(-116px, -7vw, -72px);
    height: clamp(470px, 46vw, 760px);
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    background:
        linear-gradient(to bottom, var(--bg) 0%, rgba(247, 245, 241, 0.96) 10%, rgba(247, 245, 241, 0) 28%),
        linear-gradient(to top, var(--bg) 0%, rgba(247, 245, 241, 0) 15%),
        url("assets/la-footer-pylons-v3.png") center bottom / cover no-repeat;
    transform: translate3d(0, var(--footer-parallax-y, 0px), 0) scale(1.05);
    transform-origin: center bottom;
    will-change: transform;
}

.site-footer::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    bottom: clamp(-116px, -7vw, -72px);
    height: clamp(470px, 46vw, 760px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.48;
    background:
        repeating-linear-gradient(to bottom, transparent 0 28px, rgba(80, 136, 218, 0.16) 29px 30px, transparent 31px 46px),
        radial-gradient(ellipse at 50% 100%, rgba(79, 134, 214, 0.18), transparent 58%),
        linear-gradient(to bottom, var(--bg), transparent 24%, transparent 78%, var(--bg));
    mix-blend-mode: multiply;
}

/* small recurring orange highlight on each eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------------- typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { text-wrap: pretty; }

.eyebrow, .section-kicker, .card-label, .price-kicker, .cap-name, .contrast-eyebrow {
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ------------------------------------------------------------- header/nav */
.site-header {
    position: sticky; top: 0; z-index: 50;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px;
    padding: 16px 0;
    background: rgba(247, 245, 241, 0.78);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease, padding 0.4s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); padding: 11px 0; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

.site-nav-panel { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-width: 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; font-size: 0.92rem; color: var(--muted); transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }

.header-cta {
    flex-shrink: 0; font-size: 0.9rem; font-weight: 500; color: #fff; background: var(--ink);
    padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--ink);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, opacity 0.2s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); opacity: 0.92; }

/* mobile nav toggle (injected by script.js) */
.nav-toggle { display: none; align-items: center; gap: 9px; justify-self: end; border: none; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 0; min-height: 44px; }
.nav-toggle-icon { display: grid; gap: 5px; }
.nav-toggle-icon span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.site-header.nav-open .nav-toggle-icon span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-icon span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================== HERO */
.slab { position: relative; padding: clamp(76px, 13vw, 172px) 0 clamp(52px, 8vw, 104px); --gx: 28%; --gy: 26%; }
.slab-overlay { display: none; }
/* ambient warm glow — slow, soft, premium (drifts on its own, eases toward cursor via JS) */
.slab::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    inset: -30% -20% 30% -20%;
    background: radial-gradient(46% 60% at var(--gx) var(--gy), var(--accent-glow), transparent 72%);
    filter: blur(30px);
    animation: glowPulse 13s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: 0.65; transform: scale(1); } to { opacity: 1; transform: scale(1.12); } }

.slab .hero-home { position: relative; z-index: 1; max-width: 920px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2.6vw, 32px); }
.hero-copy h1 { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; font-weight: 600; }
.hero-copy h1 .mark { color: var(--accent-ink); }
.hero-copy .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 56ch; line-height: 1.5; }
.hero-punch { font-size: 0.92rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-proof-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); padding-top: 22px; margin-top: 6px; border-top: 1px solid var(--line); width: 100%; max-width: 720px; }
.hero-proof-list li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 6px rgba(79, 134, 214, 0.55); }

/* ----------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 500; font-size: 0.96rem; padding: 13px 26px; border-radius: var(--r-pill); cursor: pointer; transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary::after { content: "\2192"; transition: transform 0.25s var(--ease-out); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------- recent-work line */
.ticker { margin-top: clamp(44px, 6vw, 80px); }
.recent-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.recent-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.recent-list li { font-size: 0.9rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 16px; transition: border-color 0.2s ease, transform 0.2s var(--ease-out); }
.recent-list li:hover { border-color: var(--line-2); transform: translateY(-1px); }

/* full-bleed custom moments */
.wide-band {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: clamp(54px, 7vw, 104px);
    padding: clamp(46px, 6vw, 86px) max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    border-block: 1px solid var(--line);
}
.wide-band-inner { max-width: var(--maxw); margin: 0 auto; }
.wide-kicker {
    font-family: var(--font-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2-ink);
    margin-bottom: 12px;
}
.wide-band h2 { max-width: 14ch; }

.proof-rail {
    background:
        linear-gradient(90deg, rgba(79, 134, 214, 0.08), transparent 34%, rgba(194, 104, 63, 0.08)),
        var(--surface);
}
.proof-rail-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}
.proof-rail-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.56);
    overflow: hidden;
}
.proof-rail-track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 26px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 134, 214, 0.55), rgba(255, 255, 255, 0.9), rgba(79, 134, 214, 0.4), transparent);
}
.proof-node {
    position: relative;
    min-height: 132px;
    padding: 54px 20px 22px;
    border-right: 1px solid var(--line);
}
.proof-node:last-child { border-right: none; }
.proof-node::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 22px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f8fbff;
    border: 1px solid rgba(79, 134, 214, 0.65);
    box-shadow: 0 0 18px rgba(79, 134, 214, 0.46);
}
.proof-node span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-2-ink);
    margin-bottom: 8px;
}
.proof-node strong { display: block; font-size: 0.96rem; line-height: 1.28; }

.system-map {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(79, 134, 214, 0.28), rgba(255, 255, 255, 0.03) 42%, rgba(194, 104, 63, 0.18)),
        #1b1a17;
    border-color: rgba(255, 255, 255, 0.12);
}
.system-map h2, .system-map .wide-kicker { color: #fff; }
.system-map .wide-kicker { opacity: 0.68; }
.system-map-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
}
.system-orbit {
    position: relative;
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at center, rgba(79, 134, 214, 0.24), transparent 34%),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    overflow: hidden;
}
.system-orbit::before, .system-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}
.system-orbit::before { width: 62%; aspect-ratio: 1; }
.system-orbit::after { width: 84%; aspect-ratio: 1; }
.system-orbit span {
    position: absolute;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-pill);
    padding: 7px 11px;
}
.system-orbit .system-core {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    color: #fff;
    background: rgba(79, 134, 214, 0.26);
    box-shadow: 0 0 42px rgba(79, 134, 214, 0.36);
}
.system-orbit span:nth-child(2) { left: 10%; top: 20%; }
.system-orbit span:nth-child(3) { right: 13%; top: 18%; }
.system-orbit span:nth-child(4) { left: 18%; bottom: 17%; }
.system-orbit span:nth-child(5) { right: 18%; bottom: 18%; }
.system-orbit span:nth-child(6) { left: 50%; top: 7%; transform: translateX(-50%); }
.system-orbit span:nth-child(7) { left: 50%; bottom: 8%; transform: translateX(-50%); }

.conversion-lane {
    background:
        linear-gradient(90deg, rgba(194, 104, 63, 0.08), rgba(79, 134, 214, 0.08)),
        var(--surface-2);
}
.conversion-lane-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.76fr) 1.24fr;
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
}
.lane-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.lane-steps li {
    position: relative;
    min-height: 148px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.58);
    overflow: hidden;
}
.lane-steps li::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 6px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--accent-2), rgba(255,255,255,0.8), var(--accent));
    opacity: 0.42;
}
.lane-steps span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.lane-steps strong { display: block; max-width: 14ch; line-height: 1.25; }

/* black & white SoCal photo band */
.section.socal-band { padding-top: clamp(56px, 8vw, 116px); }
.socal-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.socal-photo img { width: 100%; height: clamp(240px, 36vw, 440px); object-fit: cover; filter: grayscale(1) contrast(1.05); display: block; }
.socal-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 14, 12, 0.5), rgba(15, 14, 12, 0.04) 46%, transparent 70%); pointer-events: none; }
.socal-photo figcaption { position: absolute; z-index: 1; left: clamp(20px, 3vw, 38px); bottom: clamp(18px, 3vw, 30px); color: #fff; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.05em; }
.socal-photo figcaption b { color: #ffb38f; font-weight: 500; }

/* ===================================================================== SECTIONS */
.section { padding: clamp(76px, 10vw, 156px) 0 0; }
.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 62ch; }
.section-head h2 { margin-top: 14px; }
.section-head .section-intro { margin-top: 16px; color: var(--muted); font-size: var(--fs-lead); max-width: 54ch; line-height: 1.5; }
.section-head[data-index]::before { content: attr(data-index); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; color: var(--accent-ink); margin-right: 13px; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* soft, rounded, airy card — the sleek-modern surface */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.6vw, 34px); transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.card h3 { margin-bottom: 9px; }
.card p, .cap-detail, .portfolio-summary, .process-card p { color: var(--muted); line-height: 1.55; }

/* ---------- about ---------- */
#about .grid { max-width: 860px; }
.about-card { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 3vw, 44px); }
.about-portrait { flex: 0 0 auto; width: 104px; height: 104px; object-fit: cover; border-radius: var(--r); filter: grayscale(1); }
.about-card-body { flex: 1 1 360px; min-width: 0; }
.about-card-body h3 { font-size: 1.28rem; margin: 0 0 16px; }
.about-card-body p { color: var(--ink-2); margin-bottom: 14px; max-width: 60ch; }
.about-card-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(194, 104, 63, 0.4); }
.about-card-body a:hover { text-decoration-color: var(--accent); }

/* ---------- capabilities ---------- */
.cap-toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 22px); }
.cap-toggle { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.2vw, 30px); transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.cap-toggle:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.cap-name { display: block; margin-bottom: 9px; color: var(--ink); font-weight: 500; }
.cap-detail { font-size: 0.95rem; }

/* ===================================================================== DIFFERENCE */
.contrast-spine { margin-top: clamp(76px, 10vw, 156px); }
.contrast-spine-inner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 72px); display: grid; gap: clamp(24px, 3vw, 40px); }
.contrast-eyebrow { color: var(--muted); }
.contrast-copy h2 { margin: 16px 0 14px; max-width: 20ch; }
.contrast-copy h2 em { font-style: normal; color: var(--accent-ink); }
.contrast-lead { color: var(--muted); font-size: var(--fs-lead); max-width: 54ch; line-height: 1.5; }
.signal-stack { display: none; }
.contrast-spine-bullets { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 44px; margin-top: 6px; }
.contrast-spine-bullets strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; }
.contrast-spine-bullets span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ===================================================================== WORK */
/* full-bleed Work band */
#work {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: clamp(40px, 6vw, 88px);
    padding: clamp(72px, 9vw, 140px) max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    background: var(--surface-2);
    border-block: 1px solid var(--line);
}
.portfolio-grid { gap: clamp(20px, 2.4vw, 28px); }
.portfolio-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.portfolio-browser-bar { display: none; }
.portfolio-browser-screen { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.portfolio-browser-screen img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: transform 0.6s var(--ease-out), filter 0.4s ease; }
.portfolio-card:hover .portfolio-browser-screen img { transform: scale(1.03); filter: grayscale(0); }
.portfolio-card .card-label, .portfolio-card h3, .portfolio-summary, .portfolio-link-row { padding-left: clamp(20px, 2vw, 26px); padding-right: clamp(20px, 2vw, 26px); }
.portfolio-card .card-label { margin-top: 20px; }
.portfolio-card h3 { margin: 8px 0 8px; font-size: 1.14rem; }
.portfolio-summary { font-size: 0.93rem; }
.portfolio-notes { display: none; }
.portfolio-link-row { margin-top: 16px; padding-bottom: 22px; }
.portfolio-link { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.portfolio-link::after { content: " \2192"; display: inline-block; transition: transform 0.25s var(--ease-out); }
.portfolio-card:hover .portfolio-link { color: var(--accent-ink); }
.portfolio-card:hover .portfolio-link::after { transform: translateX(4px); }

/* ===================================================================== SERVICES */
.service-grid { gap: clamp(16px, 1.8vw, 22px); }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 2.6vw, 36px); transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.service-card .card-label { color: var(--accent); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.18rem; }

/* ===================================================================== PRICING */
.pricing-grid { gap: clamp(16px, 1.6vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2vw, 28px); transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.pricing-card .price-kicker { margin-bottom: 18px; }
.pricing-card h3 { font-size: 1.08rem; margin-bottom: 16px; }
.price-line { font-size: 0.9rem; color: var(--muted); }
.price-line strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.2vw, 2.05rem); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1; margin-top: 6px; }
.price-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); margin: 14px 0; }
.price-line strong, .price-meta, .price-kicker, .recent-list { font-variant-numeric: tabular-nums; }
.list-check { list-style: none; display: grid; gap: 9px; margin-top: auto; }
.list-check li { position: relative; padding-left: 20px; font-size: 0.88rem; color: var(--muted); }
.list-check li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-ink); font-size: 0.8rem; }
.service-card .list-check, .package-card .list-check { margin-top: 14px; }
.pricing-card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.pricing-card--featured .price-kicker { color: var(--accent-ink); }
.pricing-card--featured .price-kicker::after { content: " · recommended"; }
.pricing-note { margin-top: 28px; font-size: 0.92rem; color: var(--muted); max-width: 70ch; line-height: 1.6; }

/* ===================================================================== CTA */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(36px, 5vw, 60px); background: var(--ink); color: #fff; border-radius: var(--r-lg); }
.cta-band :focus-visible { outline-color: #fff; }
.cta-band h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.72); max-width: 44ch; margin-top: 12px; font-size: 1rem; line-height: 1.5; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ===================================================================== PROCESS */
.process-grid { gap: clamp(16px, 1.8vw, 22px); }
.process-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.4vw, 32px); }
.step-chip { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-2-tint); color: var(--accent-2-ink); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; margin-bottom: 18px; }
.process-card h3 { font-size: 1.1rem; margin-bottom: 9px; }

/* ===================================================================== FOOTER */
.site-footer { position: relative; overflow: visible; margin-top: clamp(84px, 11vw, 168px); padding: clamp(44px, 5vw, 64px) 0 clamp(390px, 40vw, 670px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 32px; }
.site-footer > * { position: relative; z-index: 1; }
@media (max-width: 760px) {
    .site-footer { padding-bottom: clamp(360px, 88vw, 520px); }
    .site-footer::before { bottom: -58px; height: clamp(380px, 96vw, 560px); opacity: 1; }
    .site-footer::after { bottom: -58px; height: clamp(380px, 96vw, 560px); opacity: 0.36; }
}
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer > div p { color: var(--muted); font-size: 0.92rem; max-width: 36ch; line-height: 1.55; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a, .footer-meta a { color: var(--muted); transition: color 0.2s ease; }
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover, .footer-meta a:hover { color: var(--ink); }
.footer-meta { display: grid; gap: 9px; align-content: start; font-size: 0.9rem; color: var(--muted); }
.footer-meta p { margin-top: 8px; font-size: 0.84rem; }

/* ===================================================================== MOTION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy > * { opacity: 0; animation: fadeUp 0.85s var(--ease-out) forwards; }
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.13s; }
.hero-copy .lead { animation-delay: 0.24s; }
.hero-copy .hero-punch { animation-delay: 0.32s; }
.hero-copy .hero-actions { animation-delay: 0.40s; }
.hero-copy .hero-proof-list { animation-delay: 0.48s; }

/* smooth scroll reveal (script.js toggles .reveal-on-scroll -> .reveal-visible) */
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-visible { opacity: 1; transform: none; }
.section.reveal-on-scroll { opacity: 1 !important; transform: none !important; }   /* sections don't fade — only their cards do */
.grid > *:nth-child(2) { transition-delay: 0.07s; }
.grid > *:nth-child(3) { transition-delay: 0.14s; }
.grid > *:nth-child(4) { transition-delay: 0.21s; }
.grid > *:nth-child(5) { transition-delay: 0.28s; }
.grid > *:nth-child(6) { transition-delay: 0.35s; }

/* ============================================================ LAUNCHER (injected by script.js) */
.launcher { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.launcher-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; border: none; font-size: 0.82rem; font-weight: 500; padding: 11px 18px; border-radius: var(--r-pill); cursor: pointer; box-shadow: var(--shadow); }
.launcher-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.launcher-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; width: min(280px, 80vw); display: grid; gap: 10px; }
.launcher-k { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.launcher-row, .preview-link { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.86rem; transition: border-color 0.2s ease, background-color 0.2s ease; }
.launcher-row:hover, .preview-link:hover { border-color: var(--line-2); background: var(--surface-2); }
.launcher-div { height: 1px; background: var(--line); }
.preview-gate { display: grid; gap: 8px; }
.preview-code { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 0.82rem; }
.preview-unlock { padding: 10px; border: none; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; }
.preview-error { color: var(--accent-ink); font-size: 0.76rem; }
.preview-note { font-size: 0.72rem; color: var(--muted); }
.preview-links { display: grid; gap: 8px; }
.preview-enter { color: var(--accent-ink); }
@keyframes launcher-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.preview-gate.shake { animation: launcher-shake 0.3s ease; }

.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; }

/* ===================================================================== RESPONSIVE */
@media (max-width: 1020px) {
    .nav-toggle { display: inline-flex; }
    .site-header { grid-template-columns: minmax(0,1fr) auto; }
    .site-nav-panel { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 2px; margin-top: 12px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
    .site-header.nav-open .site-nav-panel { display: flex; }
    .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav a { padding: 13px 12px; font-size: 1rem; border-radius: var(--r-sm); }
    .site-nav a:hover { background: var(--surface-2); }
    .header-cta { width: 100%; justify-content: center; text-align: center; margin-top: 8px; }
    .grid-3, .portfolio-grid, .pricing-grid, .package-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-copy h1 { max-width: none; }
    .cap-toggles, .service-grid, .grid-2, .grid-3, .portfolio-grid, .pricing-grid, .process-grid, .contrast-spine-bullets, .package-grid, .form-grid { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; gap: 26px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .hero-copy > * { opacity: 1; }
    .reveal-on-scroll { opacity: 1; transform: none; }
    .slab::before { animation: none; }
    .site-footer::before { transform: none; }
    .site-footer::after { transform: none; }
}

/* =====================================================================
   SHARED INNER-PAGE COMPONENTS (services / contact / faq / pentesting /
   checklists / cost-guide / locations) — same sleek system, rolled out site-wide
   ===================================================================== */

/* secondary two-column hero (inner pages put .hero directly under .content) */
.content > .hero { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; padding: clamp(58px, 9vw, 124px) 0 clamp(8px, 2vw, 28px); }
.content > .hero .hero-copy { flex: 1 1 460px; min-width: 0; gap: 20px; }
.content > .hero .hero-copy h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 19ch; }
.content > .hero .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 52ch; }
.hero-side { flex: 0 1 360px; align-self: start; }
.hero-summary-card, .quick-facts {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm); display: grid; gap: 18px; list-style: none;
}
.hero-summary-grid { display: grid; gap: 16px; }
.hero-summary-grid article, .quick-facts li { display: grid; gap: 3px; }
.hero-summary-grid strong, .quick-facts strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.hero-summary-grid span, .quick-facts span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.inline-pill { display: inline-flex; align-items: center; align-self: start; width: fit-content; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); border-radius: var(--r-pill); padding: 6px 14px; }

/* alternating soft section */
.section.section-soft { background: var(--surface-2); border-radius: var(--r-lg); padding: clamp(40px, 5vw, 72px); margin-top: clamp(72px, 9vw, 140px); }
.section-soft .section-head { margin-top: 0; }
.inline-pill--compact { white-space: nowrap; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 22px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--accent-ink); font-size: 1.4rem; font-weight: 300; line-height: 1; transition: transform 0.25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding: 0 0 20px; color: var(--muted); line-height: 1.6; max-width: 64ch; }

/* contact layout + cards + intake form */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-details { display: grid; gap: 12px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.contact-card h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--ink); font-size: 0.96rem; }
.contact-card a:hover { color: var(--accent-ink); }
.contact-id { display: flex; align-items: center; gap: 13px; }
.contact-id .about-portrait--sm { width: 60px; height: 60px; border-radius: 50%; }
.contact-id-name { display: flex; flex-direction: column; }
.contact-id-name strong { font-family: var(--font-display); font-weight: 600; }
.contact-id-name span { color: var(--muted); font-size: 0.84rem; }

.intake-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); outline: 2px solid transparent; outline-offset: 1px; }
.form-note { font-size: 0.86rem; color: var(--muted); }
.btn-full { width: 100%; justify-content: center; }

/* risk self-check */
.checklist { display: grid; gap: 10px; max-width: 760px; }
.risk-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s ease; }
.risk-item:hover { border-color: var(--line-2); }
.risk-item label { display: flex; align-items: flex-start; gap: 13px; padding: 15px 18px; cursor: pointer; font-size: 0.98rem; line-height: 1.5; }
.risk-item input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.checklist .btn-full { margin-top: 14px; }
.risk-result { margin-top: 22px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.risk-result h3 { font-size: 1.3rem; }
.risk-result p { color: var(--ink-2); line-height: 1.55; }
.risk-result .btn { margin-top: 6px; justify-self: start; white-space: normal; max-width: 100%; }
.risk-result.low { border-color: #c9d6c1; background: #f3f7ef; }
.risk-result.medium { border-color: #e6d6b0; background: #faf4e6; }
.risk-result.high { border-color: #e8c0ae; background: #fbede5; }

/* timeline (checklists / readiness) */
.timeline { display: grid; gap: 0; max-width: 760px; }
.timeline-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding-bottom: 30px; position: relative; }
.timeline-step::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: -2px; width: 1px; background: var(--line); }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:last-child::before { display: none; }
.timeline-index { width: 35px; height: 35px; border-radius: 50%; background: var(--accent-2-tint); color: var(--accent-2-ink); font-family: var(--font-mono); font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; z-index: 1; }
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-content p { color: var(--muted); line-height: 1.55; max-width: 60ch; }

/* package cards (cost guide) */
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 22px); align-items: start; }
.package-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 2.6vw, 36px); display: grid; gap: 6px; align-content: start; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; }
.package-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.package-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.package-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.package-card h3 { font-size: 1.18rem; margin: 6px 0 2px; }
.package-price { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.package-price span { font-size: 0.5em; color: var(--muted); }

@media (max-width: 860px) {
    .content > .hero .hero-copy, .content > .hero .hero-side { flex: 1 1 100%; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root {
        --fs-hero: clamp(2.1rem, 10vw, 3rem);
        --fs-h2: clamp(1.45rem, 7vw, 2rem);
        --fs-lead: clamp(1rem, 4.4vw, 1.14rem);
    }

    body { font-size: 1rem; line-height: 1.56; }
    .page-shell { padding-inline: clamp(18px, 5vw, 24px); }

    .slab { padding: 54px 0 40px; }
    .hero-copy { gap: 16px; }
    .hero-copy h1 { line-height: 1.02; }
    .hero-copy .lead { line-height: 1.42; }
    .hero-proof-list { gap: 8px 14px; padding-top: 14px; margin-top: 0; }
    .hero-actions { gap: 10px; }
    .btn { padding: 11px 20px; font-size: 0.92rem; }
    .ticker { margin-top: 30px; }
    .recent-label { margin-bottom: 10px; }
    .recent-list { gap: 8px; }
    .recent-list li { padding: 6px 12px; font-size: 0.84rem; }
    .wide-band {
        margin-top: 42px;
        padding: 34px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    }
    .wide-band h2 { max-width: 16ch; }
    .proof-rail-inner, .system-map-inner, .conversion-lane-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .proof-rail-track, .lane-steps {
        grid-template-columns: 1fr;
    }
    .proof-rail-track::before {
        left: 30px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(to bottom, transparent, rgba(79, 134, 214, 0.55), rgba(255,255,255,0.9), transparent);
    }
    .proof-node {
        min-height: auto;
        padding: 20px 20px 20px 58px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
    .proof-node:last-child { border-bottom: none; }
    .proof-node::before { left: 21px; top: 22px; }
    .system-orbit { min-height: 230px; }
    .system-orbit .system-core { width: 82px; height: 82px; }
    .system-orbit span { font-size: 0.66rem; padding: 6px 9px; }
    .lane-steps li {
        min-height: 112px;
        padding: 18px;
    }
    .lane-steps li::after { left: 18px; right: 18px; bottom: 18px; }

    .section { padding-top: 54px; }
    .section.socal-band { padding-top: 42px; }
    .section-head { margin-bottom: 24px; }
    .section-head h2 { margin-top: 8px; }
    .section-head .section-intro { margin-top: 10px; line-height: 1.42; }
    .grid, .portfolio-grid, .service-grid, .pricing-grid, .process-grid, .package-grid { gap: 14px; }
    .card, .cap-toggle, .service-card, .pricing-card, .process-card, .package-card { padding: 20px; }
    .card p, .cap-detail, .portfolio-summary, .process-card p { line-height: 1.45; }

    .socal-photo img { height: 220px; }
    .socal-photo figcaption { left: 18px; bottom: 16px; font-size: 0.7rem; }
    .contrast-spine { margin-top: 54px; }
    .contrast-spine-inner { padding: 26px 20px; gap: 18px; }
    .contrast-copy h2 { margin: 10px 0; }
    .contrast-lead { line-height: 1.42; }
    .contrast-spine-bullets { gap: 16px; }
    #work { margin-top: 30px; padding: 48px max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
    .portfolio-card .card-label { margin-top: 14px; }
    .portfolio-summary { line-height: 1.45; }
    .portfolio-link-row { padding-bottom: 18px; }

    .cta-band { margin-top: 38px; padding: 28px 22px; }
    .content > .hero { gap: 22px; padding: 46px 0 0; }
    .content > .hero .hero-copy { gap: 14px; }
    .content > .hero .hero-copy h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
    .hero-summary-card, .quick-facts { padding: 18px; gap: 12px; }
    .hero-summary-grid { gap: 12px; }
    .section.section-soft { margin-top: 48px; padding: 28px 20px; }

    .faq-list { gap: 9px; }
    .faq-list details { padding-inline: 18px; }
    .faq-list summary { padding: 14px 0; font-size: 1rem; }
    .faq-list details > p { padding-bottom: 16px; line-height: 1.5; }
    .contact-layout { gap: 22px; }
    .contact-card { padding: 16px 18px; }
    .intake-form { padding: 20px; }
    .form-grid { gap: 14px; }
    .field textarea { min-height: 110px; }
    .risk-item label { padding: 13px 16px; line-height: 1.42; }
    .timeline-step { gap: 16px; padding-bottom: 22px; }

    .site-footer {
        overflow: visible;
        margin-top: 30px;
        padding-top: 34px;
        padding-bottom: clamp(260px, 68vw, 390px);
        gap: 16px;
    }
    .site-footer::before {
        top: clamp(-300px, -82vw, -190px);
        bottom: -58px;
        height: auto;
        background-size: auto 100%;
        background-position: center bottom;
        transform: translate3d(0, var(--footer-parallax-y, 0px), 0) scale(1.02);
    }
    .site-footer::after {
        top: clamp(-300px, -82vw, -190px);
        bottom: -58px;
        height: auto;
    }
    .footer-title { margin-bottom: 8px; }
    .footer-links { gap: 8px; }
    .footer-meta { gap: 7px; }
}
