/* ═══════════════════════════════════════════════════════════════════════════
   Aspire To Be Foundation — temporary homepage takeover (landingMode "aspire").
   Uses the global app tokens; same warm palette + gradient-mesh signature as
   the Brand Footprint hero so the site still reads as one family, but every
   class is as2b-scoped and nothing here touches the Footprint surfaces.
   All @media rules live in stylingMedias.css per project rule.
   ═══════════════════════════════════════════════════════════════════════════ */

.as2b-page {
    background: var(--bg-page);
    min-height: 100vh;
    font-family: var(--font-ui);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.as2b-hero {
    position: relative;
    min-height: 88vh;
    margin-top: -16px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 90px;
}

.as2b-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.6), transparent 60%),
        var(--bg-page);
    overflow: hidden;
}

.as2b-mesh-blob {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(96px);
    opacity: 0.5;
    will-change: transform;
}
.as2b-mesh-blob--1 {
    background: radial-gradient(circle, var(--accent), transparent 65%);
    top: -140px;
    left: -100px;
    opacity: 0.28;
    animation: as2b-blob-drift-1 20s ease-in-out infinite alternate;
}
.as2b-mesh-blob--2 {
    background: radial-gradient(circle, #ffd6a8, transparent 65%);
    top: 10%;
    right: -140px;
    opacity: 0.45;
    animation: as2b-blob-drift-2 24s ease-in-out infinite alternate;
}
.as2b-mesh-blob--3 {
    background: radial-gradient(circle, var(--accent-sage), transparent 68%);
    bottom: -180px;
    left: 32%;
    width: 640px;
    height: 640px;
    opacity: 0.22;
    animation: as2b-blob-drift-3 28s ease-in-out infinite alternate;
}

@keyframes as2b-blob-drift-1 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(90px, 50px, 0) scale(1.12); }
}
@keyframes as2b-blob-drift-2 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-110px, 90px, 0) scale(1.06); }
}
@keyframes as2b-blob-drift-3 {
    0%   { transform: translate3d(0, 0, 0) scale(1.05); }
    100% { transform: translate3d(70px, -90px, 0) scale(1); }
}

.as2b-mesh-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(216, 90, 48, 0.22) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black, transparent 80%);
    pointer-events: none;
}
[data-theme="dark"] .as2b-mesh-grid {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.10) 1.2px, transparent 1.2px);
}

.as2b-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}

.as2b-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(15, 15, 14, 0.04);
}

.as2b-hero__sparkle {
    color: var(--accent);
    font-size: 0.95rem;
    line-height: 1;
    animation: as2b-sparkle-pulse 2.8s ease-in-out infinite;
}
@keyframes as2b-sparkle-pulse {
    0%, 100% { transform: scale(1)   rotate(0deg);   opacity: 1;   }
    50%      { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.as2b-hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin: 4px 0 0;
}

.as2b-hero__headline-accent {
    display: block;
    background: linear-gradient(120deg, var(--accent) 0%, #ff8a4f 50%, #f06a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    padding: 0 0.14em 0.12em;
}

.as2b-hero__sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
    max-width: 560px;
}

.as2b-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.as2b-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 13px;
    font-family: var(--font-ui);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 15px 24px;
    cursor: pointer;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.15s ease, border-color 0.15s ease;
}
.as2b-btn:hover { text-decoration: none; transform: translateY(-1px); }
.as2b-btn:active { transform: translateY(0); }

/* color needs !important — the buttons are anchors, and the global
   `a { color: inherit !important }` in styling.css wins otherwise. */
.as2b-btn--primary {
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    box-shadow: 0 4px 14px rgba(15, 15, 14, 0.18);
}
.as2b-btn--primary:hover {
    box-shadow: 0 8px 22px rgba(15, 15, 14, 0.26);
}

.as2b-btn--ghost {
    background: var(--bg-primary);
    color: var(--text-primary) !important;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(15, 15, 14, 0.05);
}
.as2b-btn--ghost:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px -8px rgba(255, 122, 64, 0.35);
}

.as2b-btn--inverse {
    background: var(--bg-primary);
    color: var(--text-primary) !important;
    box-shadow: 0 4px 14px rgba(15, 15, 14, 0.25);
}

.as2b-btn__arrow {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.as2b-btn:hover .as2b-btn__arrow { transform: translateX(3px); }
.as2b-btn--primary:hover .as2b-btn__arrow { transform: translateY(2px); }

.as2b-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.as2b-trust__item { display: inline-flex; align-items: center; gap: 7px; }
.as2b-trust__sep { opacity: 0.5; }
.as2b-trust__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* ── Stats band ──────────────────────────────────────────────────────────── */
.as2b-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

.as2b-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 26px 16px 22px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.as2b-stat__num {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(120deg, var(--accent) 0%, #ff8a4f 50%, #f06a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.08em;
}

.as2b-stat__label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ── Shared section chrome ───────────────────────────────────────────────── */
.as2b-section {
    position: relative;
    padding: 88px 24px 96px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-page);
}

.as2b-section__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}

.as2b-section__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 48px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.as2b-section__heading-accent {
    display: inline-block;
    background: linear-gradient(120deg, var(--accent) 0%, #ff8a4f 50%, #f06a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
    padding-bottom: 0.12em;
}

.as2b-section__sub {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 560px;
    margin: -32px auto 44px;
}

.as2b-section__cta { margin-top: 44px; }

/* ── Vision ──────────────────────────────────────────────────────────────── */
.as2b-vision__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    max-width: 820px;
    margin: 0 auto;
    padding: 0 12px;
    border: none;
}

.as2b-vision__tagline {
    display: inline-flex;
    align-items: center;
    margin: 36px auto 0;
    padding: 9px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ── Model steps — mirrors the home-steps signature ──────────────────────── */
.as2b-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1040px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.as2b-steps__item {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.as2b-steps__item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow:
        0 12px 28px -16px rgba(15, 15, 14, 0.18),
        0 4px 14px -8px rgba(255, 122, 64, 0.22);
}

.as2b-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 20px;
    height: 0;
    border-top: 2px dotted var(--accent);
    opacity: 0.45;
    transform: translateY(-50%);
}

.as2b-steps__num {
    display: inline-block;
    width: 100%;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(120deg, var(--accent) 0%, #ff8a4f 50%, #f06a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.18em;
    margin-bottom: 14px;
}

.as2b-steps__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.as2b-steps__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ── Cards (projects + tools) ────────────────────────────────────────────── */
.as2b-card-grid {
    display: grid;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}
.as2b-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.as2b-card-grid--4 { grid-template-columns: repeat(4, 1fr); max-width: 1180px; }

.as2b-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 26px 22px 22px;
    text-align: left;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.as2b-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow:
        0 12px 28px -16px rgba(15, 15, 14, 0.18),
        0 4px 14px -8px rgba(255, 122, 64, 0.22);
}

.as2b-card--link { text-decoration: none; }
.as2b-card--link:hover { text-decoration: none; }

.as2b-card__icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 14px;
}

.as2b-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.as2b-card__meta {
    font-family: var(--font-mono, var(--font-ui));
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.as2b-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.as2b-card__cta {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
}
.as2b-card--link:hover .as2b-card__cta { text-decoration: underline; }

/* ── Blog list ───────────────────────────────────────────────────────────── */
.as2b-blog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.as2b-blog__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.as2b-blog__row:hover {
    text-decoration: none;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -12px rgba(15, 15, 14, 0.2);
}

.as2b-blog__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.as2b-blog__meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.as2b-blog__arrow {
    font-size: 0.95rem;
    color: var(--accent);
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.as2b-blog__row:hover .as2b-blog__arrow { transform: translateX(3px); }

/* ── Credentials / contact band ──────────────────────────────────────────── */
.as2b-cred {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 72px 24px;
}

.as2b-cred__inner {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.as2b-cred__main { text-align: left; }

.as2b-cred__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 12px;
    color: inherit;
}

.as2b-cred__sub {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.75;
    margin: 0 0 24px;
}

.as2b-cred__facts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    text-align: left;
}

.as2b-cred__fact dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 3px;
}

.as2b-cred__fact dd {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.as2b-cred__fact dd a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}
.as2b-cred__fact dd a:hover { color: inherit; text-decoration-color: currentColor; }
