:root {
    color-scheme: light;
    --bg: #f7f8fc;
    --bg-elevated: #fff;
    --bg-soft: #edf1fa;
    --paper: #f4f6fb;
    --paper-strong: #202b40;
    --ink: #202b40;
    --ink-soft: #566176;
    --text: #202b40;
    --muted: #59657a;
    --muted-strong: #637086;
    --gold: #375ed2;
    --gold-strong: #294cac;
    --gold-deep: #24449e;
    --line: #e1e6ef;
    --line-strong: #cbd5e5;
    --shadow: 0 16px 45px rgba(30, 50, 85, .07);
    --radius-xl: 24px;
}


/* Public typography uses one family throughout; icon fonts keep their own glyph family. */
body,
button,
input,
select,
textarea,
optgroup,
table,
pre,
code,
kbd,
samp,
.site-brand__text strong,
.site-nav__brand-text strong,
.site-footer__brand strong,
.quote-card p,
.callout-panel h3,
.media-card__title,
.listing-card__title,
.mini-post__title,
.author-badge__name,
.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.prose-content h5,
.prose-content h6 {
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

body :where(h1, h2, h3, h4, h5, h6, p, a, span, strong, small, label, li, dt, dd, blockquote, figcaption, button, input, textarea, select, option, pre, code, kbd, samp, th, td) {
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body { background: #f7f8fc; color: var(--text); }
body::before, body::after { display: none; }
.site-main { background: none; }
h1, h2, h3, h4, .page-title, .detail-title, .section-title,
.site-brand__text strong, .site-nav__brand-text strong { font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; background: rgba(247,248,252,.96); }
.site-header__bar { background: #fff; border-color: var(--line); padding: 14px 22px; border-radius: 18px; box-shadow: 0 4px 20px #23334e06; }
.site-brand { gap: 12px; }
.site-brand__mark,
.site-nav__brand-mark {
    border: 0;
    background: #edf1fa;
}
.site-brand__mark {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 18px;
}
.site-nav__brand-mark {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
}
.site-brand__text strong { font-size: 1.08rem; line-height: 1.25; white-space: nowrap; }
.site-brand__text small,
.site-nav__brand-text small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    color: #5d6b83;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.3;
    text-transform: none;
    white-space: nowrap;
}
.site-brand__text small::before,
.site-nav__brand-text small::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #375ed2, #d1a85d);
    box-shadow: 0 0 0 3px rgba(55, 94, 210, .08);
    flex: 0 0 auto;
}
.site-nav__link { font-size: .82rem; padding: .65rem .7rem; color: var(--muted); }
.site-nav__link.is-active, .site-nav__link:hover { background: #edf1ff; color: var(--gold); }
.site-header__toggle, .site-nav__close { background: #edf1fa; color: var(--ink); }
.site-header__toggle span { background: var(--ink); }
.button--accent, .scroll-top { background: #375ed2; border-color: #375ed2; color: #fff; box-shadow: 0 8px 20px #375ed220; }
.button--accent:hover { background: #294cac; color: #fff; }
.button--ghost, .button--soft { background: #fff; border-color: #d5ddeb; color: #294cac; }
.page-section--paper { background: #f0f3fa; }
.book-card, .media-card, .listing-card, .panel, .quote-card, .stat-card,
.manifest-card, .contact-card, .contact-form, .about-surface, .callout-panel,
.detail-hero__panel, .detail-hero__aside, .book-detail__content,
.book-detail__cover, .book-detail__facts-card, .detail-surface__main,
.detail-surface__side, .site-footer__shell { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.book-card__cover,
.book-detail__cover { background: linear-gradient(145deg, #dce3ef, #edf1f7); }

/* Developer identity and portfolio */
.personal-board__item--software {
    border-color: rgba(55, 94, 210, .24);
    background: linear-gradient(135deg, rgba(55, 94, 210, .08), rgba(139, 61, 240, .05));
}

.personal-project__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-top: auto;
}

.personal-project__actions a {
    margin-top: 0;
}

.personal-project__actions a + a {
    color: #66738e;
}

.developer-intro__grid,
.software-journey,
.engineering-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.developer-intro__copy h2,
.software-journey__intro h2,
.engineering-grid__intro h2 {
    margin: .65rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.developer-intro__copy > p,
.software-journey__intro > p,
.engineering-grid__intro > p {
    margin: 0 0 1.4rem;
    color: var(--muted);
}

.developer-capabilities,
.software-journey__capabilities,
.engineering-priorities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.developer-capabilities article,
.software-journey__capabilities article,
.engineering-priorities article {
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid rgba(55, 94, 210, .14);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(35, 52, 88, .07);
}

.developer-capabilities i {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 13px;
    color: #375ed2;
    background: #edf2ff;
    font-size: 1.35rem;
}

.developer-capabilities h3,
.software-journey__capabilities h3,
.engineering-priorities h3 {
    margin: 0 0 .45rem;
    font-size: 1.03rem;
}

.developer-capabilities p,
.software-journey__capabilities p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.engineering-priorities article > i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: .75rem;
    place-items: center;
    border-radius: 12px;
    color: #375ed2;
    background: #edf2ff;
    font-size: 1.2rem;
}

.product-card__actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--vxp-line);
}

.product-card__actions .product-card__link {
    margin: 0;
    padding: 0;
    border: 0;
}

.product-card__actions .product-card__link i {
    transform: none;
}

.product-card__external {
    color: var(--accent-start);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.software-search-empty {
    margin-top: 1.25rem;
    padding: 2rem;
    border: 1px dashed var(--vxp-line-strong);
    border-radius: 20px;
    text-align: center;
    background: var(--vxp-surface);
}

.developer-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 7rem) 0;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(95, 75, 230, .45), transparent 28rem),
        radial-gradient(circle at 8% 95%, rgba(0, 176, 240, .2), transparent 24rem),
        linear-gradient(135deg, #0b1635, #172a61 55%, #251c55);
}

.developer-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.developer-hero h1 {
    max-width: 14ch;
    margin: .9rem 0 1rem;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: .98;
    text-wrap: balance;
}

.developer-hero__lead {
    max-width: 48rem;
    color: rgba(235, 241, 255, .78);
    font-size: clamp(1.02rem, 2vw, 1.23rem);
}

.developer-hero__actions,
.case-outcome__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.developer-profile-card,
.developer-code-card {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 26px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.developer-profile-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.developer-profile-card__top img {
    width: min(11rem, 58%);
    max-height: 4.5rem;
    object-fit: contain;
    object-position: left center;
}

.developer-profile-card__top > span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 800;
}

.developer-profile-card__label {
    color: #a9c6ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.developer-profile-card > p {
    margin: .65rem 0 1.25rem;
    color: rgba(238, 243, 255, .82);
}

.developer-profile-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.developer-profile-card__tags span {
    padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: rgba(240, 245, 255, .76);
    background: rgba(255, 255, 255, .06);
    font-size: .7rem;
}

.developer-code-card {
    padding: 0;
    overflow: hidden;
}

.developer-code-card__bar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(4, 10, 28, .42);
}

.developer-code-card__bar span {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #ff6b6b;
}

.developer-code-card__bar span:nth-child(2) { background: #ffd166; }
.developer-code-card__bar span:nth-child(3) { background: #36d399; }
.developer-code-card__bar small { margin-left: auto; color: rgba(255, 255, 255, .55); }

.developer-code-card pre {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: #dce7ff;
    background: rgba(5, 12, 31, .55);
    font: 500 .88rem/1.85 Consolas, Monaco, monospace;
    white-space: pre-wrap;
}

.developer-code-card code span { color: #7dd3fc; }
.developer-code-card code b { color: #c4b5fd; font-weight: 600; }

.case-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.case-story-card {
    position: relative;
    min-height: 24rem;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3rem);
    border: 1px solid var(--vxp-line);
    border-radius: 26px;
    background: var(--vxp-surface);
    box-shadow: var(--vxp-shadow-sm);
}

.case-story-card--approach { background: linear-gradient(145deg, #eef3ff, #fff); }

.case-story-card h2 {
    position: relative;
    max-width: 15ch;
    margin: 1rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.case-story-card p { position: relative; max-width: 42rem; font-size: 1.04rem; }

.project-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-flow li {
    min-height: 9rem;
    padding: 1.3rem;
    border: 1px solid var(--vxp-line);
    border-radius: 18px;
    background: var(--vxp-surface);
}

.project-flow i { display: grid; width: 2.4rem; height: 2.4rem; margin-bottom: 1.4rem; place-items: center; border-radius: 50%; color: #fff; background: var(--vxp-brand-blue); font-size: 1.15rem; }
.project-flow strong { color: var(--vxp-ink); }

.ventures-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .65fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ventures-hero .vxp-page-hero__copy h1 { max-width: 15ch; font-size: clamp(2.85rem, 5vw, 4.8rem); }
.ventures-hero__statement { max-width: 28rem; justify-self: end; padding: clamp(1.5rem, 4vw, 2.35rem); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(15,29,66,.72); box-shadow: 0 24px 70px rgba(5,13,39,.2); }
.ventures-hero__statement i { display: grid; width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; place-items: center; border-radius: 16px; color: #17285b; background: #fff; font-size: 1.8rem; }
.ventures-hero__statement strong { display: block; color: #fff; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; }
.ventures-hero__statement p { margin: 1rem 0 0; color: rgba(255,255,255,.78); }
.venture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.venture-card { --accent-start: #375ed2; --accent-end: #718bf0; position: relative; display: flex; min-width: 0; min-height: 100%; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2rem); overflow: hidden; border: 1px solid #dce3f1; border-color: color-mix(in srgb, var(--accent-start) 22%, #dce3f1); border-radius: 24px; background: #fff; background: linear-gradient(155deg, color-mix(in srgb, var(--accent-start) 7%, #fff), #fff 42%); box-shadow: 0 16px 42px rgba(35,52,88,.08); }
.venture-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--accent-start), var(--accent-end)); }
.venture-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.venture-card__top img, .venture-card__monogram { display: grid; width: 4rem; height: 4rem; flex: 0 0 4rem; place-items: center; border: 1px solid #dce3f1; border-color: color-mix(in srgb, var(--accent-start) 18%, #dce3f1); border-radius: 17px; background: #fff; object-fit: contain; padding: .55rem; }
.venture-card__monogram { padding: 0; color: var(--accent-start); font-size: 1rem; font-weight: 900; letter-spacing: .04em; }
.venture-card__status { display: inline-flex; align-items: center; gap: .45rem; color: var(--vxp-muted); font-size: .78rem; font-weight: 800; }
.venture-card__category { color: var(--accent-start); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.venture-card h2 { margin: .55rem 0 .35rem; font-size: clamp(1.75rem, 2.6vw, 2.2rem); }
.venture-card > strong { min-height: 2.8em; color: var(--vxp-ink); font-size: .98rem; line-height: 1.4; }
.venture-card__summary { margin: 1rem 0; color: var(--vxp-muted); font-size: .9rem; line-height: 1.65; }
.venture-card__details { margin: 0 0 .25rem; padding: .8rem 0; border-top: 1px solid #e7ebf3; border-bottom: 1px solid #e7ebf3; }
.venture-card__details summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--vxp-ink); font-size: .8rem; font-weight: 850; cursor: pointer; list-style: none; }
.venture-card__details summary::-webkit-details-marker { display: none; }
.venture-card__details summary::after { content: "+"; color: var(--accent-start); font-size: 1.15rem; font-weight: 700; }
.venture-card__details[open] summary::after { content: "−"; }
.venture-card__details p { margin: .75rem 0 0; color: #48556b; font-size: .86rem; line-height: 1.65; }
.venture-card ul { display: grid; gap: .6rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.venture-card li { display: flex; gap: .55rem; color: #344057; font-size: .84rem; }
.venture-card li i { margin-top: .12rem; color: var(--accent-start); }
.venture-card > a { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin-top: auto; color: var(--accent-start); font-weight: 850; }

.case-outcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-radius: 28px;
    background: linear-gradient(135deg, #102451, #293f82 60%, #442675);
}

.case-outcome h2 { max-width: 42rem; margin: .6rem 0 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.case-outcome__actions { flex: 0 0 auto; margin-top: 0; }

.form-field select {
    width: 100%;
    padding: .95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: #fff;
}

@media (max-width: 900px) {
    .developer-intro__grid,
    .software-journey,
    .engineering-grid,
    .developer-hero__grid,
    .ventures-hero__grid {
        grid-template-columns: 1fr;
    }

    .venture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ventures-hero__statement { max-width: none; justify-self: stretch; }

    .case-outcome { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .developer-capabilities,
    .software-journey__capabilities,
    .engineering-priorities,
    .case-story-grid,
    .project-flow { grid-template-columns: 1fr; }
    .venture-grid { grid-template-columns: 1fr; }
    .case-story-card { min-height: 20rem; }
    .product-card__actions { grid-template-columns: 1fr; }
}
.hero-portrait, .about-portrait, .hero-portrait--logo, .about-portrait--logo { background: #edf1f8; }
.site-search select, .site-search input, .contact-form input, .contact-form textarea { color: var(--ink); background: #fff; border-color: var(--line); }
.site-search option { background: #fff; color: var(--ink); }
.social-list a, .pill--soft, .tag-list a { background: #edf1fa; color: #37518f; }
.pill--accent { color: #294cac; background: #e9efff; }
.mobile-dock { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: var(--shadow); }
.mobile-dock__link { color: var(--muted); }
.mobile-dock__link--home { background: #375ed2; color: #fff; }
.mobile-dock__link.is-active { color: #375ed2; }
.mobile-dock__link--home.is-active { color: #fff; }
.site-footer__copy, .footer-list a { color: var(--muted); }
.site-footer__mark { background: #edf1fa; }
.personal-hero { padding: clamp(40px,7vw,96px) 0 64px; }
.personal-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.personal-hero h1 { font-size: clamp(2.5rem,5.2vw,4.5rem); line-height: 1.13; margin: 20px 0 26px; font-weight: 800; max-width: 740px; }
.personal-hero h1 span { color: #375ed2; }
.personal-hero__intro { font-size: 1.08rem; max-width: 560px; color: var(--muted); }
.personal-kicker { display: inline-flex; gap: 9px; align-items: center; color: #375ed2; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.personal-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #375ed2; }
.personal-identity { display: grid; justify-items: start; gap: 8px; }
.personal-role {
    padding-left: 16px;
    color: #66748d;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .075em;
}
.about-role {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid #cad5eb;
    border-radius: 999px;
    background: #edf2ff;
    color: #294cac;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
}
.personal-board { padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 24px 70px #293b6610; transform: rotate(2deg); }
.personal-board__top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 18px; font-size: .76rem; color: var(--muted); }
.personal-board__item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.personal-board__item:last-child { border: 0; padding-bottom: 0; }
.personal-board__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #edf1ff; color: #375ed2; font-size: 1.1rem; font-weight: 800; }
.personal-board strong { display: block; font-size: 1rem; }
.personal-board small { color: var(--muted); font-size: .78rem; }
.personal-projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.personal-project { display: flex; flex-direction: column; gap: 15px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s; }
.personal-project:hover { transform: translateY(-4px); }
.personal-project img {
    width: min(180px, 58%);
    height: 68px;
    object-fit: contain;
    object-position: left center;
}
.personal-project h3 { margin: 0; font-size: 1.25rem; }
.personal-project p { color: var(--muted); font-size: .88rem; margin: 0; }
.personal-project a { margin-top: auto; font-weight: 700; color: #375ed2; }
.personal-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.personal-section-head h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin: 8px 0 0; }
.personal-section-head p { color: var(--muted); margin: 10px 0 0; }
/* Keep migrated tools within the same light personal identity. */
.vxp-page-hero, .tool-hero, .vxp-hero { background: #eef2fc; color: #202b40; }
.vxp-page-hero h1, .vxp-page-hero p, .vxp-metrics dt, .vxp-metrics dd,
.vxp-breadcrumb a, .vxp-breadcrumb li, .eyebrow--light { color: #263c6b; }
.vxp-page-hero .ventures-hero__statement p { color: rgba(255,255,255,.82); }
.vxp-page-hero::before, .vxp-page-hero::after { opacity: .12; }
.btn-ghost-light { color: #375ed2; border-color: #bbc9e9; }
.tool-stack, .brand-cloud { color: #202b40; }
.tool-stack { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tool-stack__top, .tool-stack__top strong, .tool-stack__footer { color: #37518f; }
.tool-stack__item { background: #f3f5fa; border-color: #e1e6ef; color: #202b40; }
.tool-stack__item small, .tool-stack__item > i { color: #59657a; }
.tool-stack__item:hover { background: #e9efff; color: #202b40; }
.vxp-page-hero .eyebrow--light, .eyebrow--light { color: #375ed2 !important; }
.site-nav__brand-text strong, .site-nav__close { color: var(--ink); }
.site-nav__brand-text strong { font-size: 1.15rem; letter-spacing: -.035em; }
.site-search input::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder { color: #69758a; opacity: 1; }
.personal-monogram { font-size: 3rem; letter-spacing: -.1em; color: #375ed2; }
.digital-tool-hero { background: #edf2fc; color: var(--ink); border: 1px solid var(--line); }
.digital-tool-hero > .position-absolute { display: none; }
.digital-tool-hero .text-light, .digital-tool-hero .text-white { color: var(--ink) !important; }
.digital-tool-hero .bg-dark { background: #fff !important; }
.signup-card, .mobile-flow__panel { background: #edf2fc; color: var(--ink); }
.signup-card h2, .signup-card p, .signup-card label, .signup-card small,
.signup-card__intro span, .mobile-flow__panel-head { color: var(--ink); }
.mobile-dock__link--home .mobile-dock__icon,
.mobile-dock__link--home.is-active .mobile-dock__icon { background: #375ed2; color: #fff; }
@media (max-width: 1140px) {
    .site-nav { background: #fff; color: var(--ink); }
    .site-nav__top { border-color: var(--line); }
    .site-nav:not(.is-open) { visibility: hidden; pointer-events: none; }
    .site-nav.is-open { visibility: visible; }
}
@media (max-width: 767px) {
    .personal-hero__grid { grid-template-columns: 1fr; gap: 35px; }
    .personal-board { transform: none; padding: 24px; }
    .personal-projects { grid-template-columns: 1fr; }
    .personal-section-head { align-items: start; flex-direction: column; }
    .site-header { padding: 8px 0; }
    .site-header__bar { padding: 12px; }
    .site-brand__mark { width: 58px; height: 58px; min-width: 58px; border-radius: 15px; }
    .site-nav__brand-mark { width: 56px; height: 56px; min-width: 56px; border-radius: 14px; }
    .ventures-hero__grid, .venture-grid { grid-template-columns: 1fr; }
}

/* Light-theme colors for migrated sections and their interaction states. */
.site-footer .site-footer__brand p, .site-footer .site-footer__copy { color: #59657a; }
.price-line span { color: #657086; }
.product-card .product-card__tag { color: #294cac; }
.platform-row span, .platform-row i,
.signup-card .signup-card__intro > div span, .signup-card__intro > div i { color: #37518f; }
.signup-form { background: #fff; border-color: #d5ddeb; }
.signup-form .form-control, .signup-form .form-select { background-color: #fff; color: #202b40; border-color: #aab8cf; }
.signup-form .form-control::placeholder { color: #657086; opacity: 1; }
.inline-cta, .tools-ai-banner { background: #edf2fc; color: #202b40; border: 1px solid #d5ddeb; box-shadow: 0 12px 32px #293b6610; }
.inline-cta h2, .tools-ai-banner h2 { color: #202b40; }
.inline-cta p, .tools-ai-banner p { color: #566176; }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: #e2eaff; color: #24449e; border-color: #375ed2; }
.inline-cta .btn-light { background: #375ed2; color: #fff; border-color: #375ed2; }
.inline-cta .btn-light:hover { background: #294cac; color: #fff; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid #375ed2; outline-offset: 3px; }
.breadcrumb-item, .breadcrumb-item a { color: #59657a; }
.btn-primary { background: #375ed2; border-color: #375ed2; color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: #294cac; border-color: #294cac; color: #fff; }

.site-footer { background: #f7f8fc; color: #59657a; }
.site-footer .site-footer__brand img { filter: none; opacity: 1; width: 100%; height: 100%; object-fit: contain; }
.site-footer__brand strong { font-family: "Manrope", sans-serif; color: #202b40; }
[id] { scroll-margin-top: 140px; }

/* Turkish document language also gives i/ı the correct capital forms. */
h1, h2, h3, h4, h5, h6,
.page-title, .detail-title, .section-title, .section-subtitle,
.eyebrow, .personal-kicker, .section-kicker, .footer-label,
.book-card__title, .media-card__title, .listing-card__title, .mini-post__title,
.personal-board__item strong, .tool-stack__item strong, .accordion-button {
    text-transform: capitalize;
}

/* Keep tool forms and long technical content usable on narrow screens. */
.digital-tool-hero form, .digital-tool-hero .position-relative { min-width: 0; width: 100%; }
.digital-tool-hero .badge { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; max-width: 100%; }
main pre { max-width: 100%; overflow-x: auto; }
main pre code { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 575px) {
    .digital-tool-hero { padding-inline: 16px !important; }
    .digital-tool-hero .input-group { border-radius: 18px !important; flex-wrap: wrap; min-width: 0; }
    .digital-tool-hero .input-group > .form-control { min-width: 0; width: 0; min-height: 48px; }
    .digital-tool-hero .input-group > .btn { flex: 0 0 100%; width: 100%; margin: 8px 0 0 !important; min-height: 48px; }
    .digital-tool-hero form, .digital-tool-hero .row > * { min-width: 0; }
    .site-main input, .site-main select, .site-main textarea { font-size: 16px; }
}
@media (max-width: 575px) {
    .footer-grid, .vxp-page-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid > *, .site-footer__brand > *, .vxp-page-hero__grid > *, .tool-stack__item > * { min-width: 0; }
    .site-footer__brand { flex-wrap: wrap; }
    .site-footer__copy, .footer-list a { overflow-wrap: anywhere; }
    .tool-stack__item small { white-space: normal; }
    .site-main form.d-grid { grid-template-columns: minmax(0, 1fr); }
    .site-main .btn { white-space: normal; max-width: 100%; }
    .site-main .btn.px-5 { padding-inline: 20px !important; }
    .vxp-page-hero h1 { overflow-wrap: anywhere; }
}

.site-main .badge { white-space: normal; overflow-wrap: anywhere; max-width: 100%; line-height: 1.5; }
@media (max-width: 575px) {
    .mobile-dock { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
    .mobile-dock__link { min-height: 44px; }
}
@media (max-width: 1140px) {
    .site-nav { justify-content: flex-start; }
    .site-nav > * { flex-shrink: 0; }
    .site-nav__top { position: sticky; top: -1px; z-index: 2; background: #fff; }
    .mobile-dock__link--home { background: transparent; box-shadow: none; }
    .site-nav {
        transform: none;
        clip-path: inset(0 0 0 100% round 28px);
        opacity: 0;
        transition: clip-path var(--transition), opacity var(--transition), visibility var(--transition);
    }
    .site-nav.is-open {
        transform: none;
        clip-path: inset(0 round 28px);
        opacity: 1;
    }
}

/* Keep every interactive state legible on the light theme. */
.scroll-top:hover,
.scroll-top:focus-visible {
    background: #294cac;
    border-color: #294cac;
    color: #fff;
    box-shadow: 0 12px 28px rgba(41, 76, 172, .28);
}

.button--ghost:hover,
.button--ghost:focus-visible,
.button--soft:hover,
.button--soft:focus-visible {
    background: #e9efff;
    border-color: #9fb2dc;
    color: #24449e;
}

.site-nav__link:focus-visible {
    background: #edf1ff;
    color: #294cac;
}

.vxp-breadcrumb a:hover,
.vxp-breadcrumb a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.footer-list a:hover,
.footer-list a:focus-visible,
.personal-project a:hover,
.personal-project a:focus-visible {
    color: #24449e;
}

.tag-list a:hover,
.tag-list a:focus-visible,
.social-list a:hover,
.social-list a:focus-visible {
    background: #e2eaff;
    border-color: #9fb2dc;
    color: #24449e;
}

.site-nav__close:hover,
.site-nav__close:focus-visible,
.site-header__toggle:hover,
.site-header__toggle:focus-visible {
    background: #e2eaff;
    border-color: #9fb2dc;
    color: #202b40;
}

/* Refined editorial identity. */
body {
    background:
        radial-gradient(circle at 8% 4%, rgba(55, 94, 210, .09), transparent 24rem),
        radial-gradient(circle at 94% 26%, rgba(205, 167, 96, .09), transparent 28rem),
        #f7f8fc;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.site-backdrop {
    opacity: .75;
    background-image:
        linear-gradient(rgba(45, 67, 111, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 67, 111, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.site-header__bar {
    border-color: rgba(129, 148, 185, .26);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 42px rgba(34, 49, 80, .08), inset 0 1px 0 #fff;
}

.site-brand__mark,
.site-nav__brand-mark {
    box-shadow: 0 8px 22px rgba(31, 44, 70, .14);
}

.page-home .site-main {
    overflow: hidden;
}

.personal-hero {
    padding: clamp(32px, 5vw, 68px) 0 42px;
}

.personal-hero__surface {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 72px);
    border: 1px solid rgba(127, 145, 181, .24);
    border-radius: 36px;
    background:
        radial-gradient(circle at 74% 15%, rgba(72, 108, 214, .13), transparent 33%),
        radial-gradient(circle at 15% 90%, rgba(210, 171, 95, .11), transparent 30%),
        rgba(255, 255, 255, .82);
    box-shadow: 0 32px 90px rgba(35, 52, 88, .11), inset 0 1px 0 #fff;
    isolation: isolate;
}

.personal-hero__surface::before {
    content: "";
    position: absolute;
    right: -9rem;
    bottom: -13rem;
    z-index: -1;
    width: clamp(22rem, 38vw, 36rem);
    aspect-ratio: 1;
    border: clamp(3rem, 7vw, 6rem) solid rgba(55, 94, 210, .035);
    border-radius: 50%;
}

.personal-hero__surface::after {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(24px, 4vw, 64px);
    width: 7rem;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, #375ed2, #d1a85d);
}

.personal-hero__folio {
    position: absolute;
    top: 1.25rem;
    right: clamp(24px, 4vw, 64px);
    color: #71809b;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.personal-hero__grid {
    position: relative;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(42px, 6vw, 88px);
}

.personal-hero__content {
    position: relative;
    padding-left: clamp(0px, 2vw, 24px);
}

.personal-hero h1 {
    margin: 24px 0 26px;
    max-width: 760px;
    font-size: clamp(3.1rem, 6vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -.065em;
}

.personal-hero h1 span {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #24449e, #5278e8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.personal-hero h1 span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .02em;
    left: .04em;
    height: .08em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(55, 94, 210, .18), rgba(209, 168, 93, .45));
}

.personal-hero__intro {
    max-width: 600px;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.85;
}

.personal-board {
    position: relative;
    padding: 18px;
    border-color: rgba(255, 255, 255, .11);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(84, 120, 226, .34), transparent 42%),
        linear-gradient(150deg, #202d49, #151e31 75%);
    box-shadow: 0 34px 70px rgba(26, 37, 62, .24);
    transform: rotate(1.25deg);
}

.personal-board::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 21px;
    pointer-events: none;
}

.personal-board__top {
    position: relative;
    z-index: 1;
    padding: 10px 12px 20px;
    border-color: rgba(255, 255, 255, .12);
    color: #afbdd6;
    letter-spacing: .12em;
}

.personal-board__item {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    padding: 18px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #fff;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.personal-board__item:last-child {
    padding-bottom: 18px;
}

.personal-board__item:hover,
.personal-board__item:focus-visible {
    transform: translateX(6px);
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .07);
}

.personal-board__icon {
    background: rgba(255, 255, 255, .1);
    color: #bcd0ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.personal-board strong {
    color: #fff;
    font-size: 1.03rem;
}

.personal-board small {
    color: #aebbd1;
}

.personal-board__arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #d7e2fb;
    transition: transform .25s ease, background .25s ease;
}

.personal-board__item:hover .personal-board__arrow {
    transform: rotate(45deg);
    background: #375ed2;
}

.page-home main > .page-section {
    position: relative;
    padding-block: clamp(64px, 7vw, 104px);
}

.page-home main > .page-section:nth-of-type(3n) {
    background: linear-gradient(90deg, rgba(236, 241, 251, .72), rgba(247, 248, 252, .25));
}

.page-home .section-heading {
    position: relative;
    margin-bottom: 2.35rem;
    padding-top: 20px;
    border-top: 1px solid #dce3ef;
}

.page-home .section-heading::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 82px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #375ed2, #d1a85d);
}

.page-home .section-title {
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    letter-spacing: -.055em;
}

.book-card,
.media-card,
.listing-card,
.personal-project {
    border-color: rgba(126, 146, 183, .22);
    box-shadow: 0 14px 42px rgba(32, 48, 80, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.book-card:hover,
.media-card:hover,
.listing-card:hover,
.personal-project:hover {
    transform: translateY(-7px);
    border-color: rgba(55, 94, 210, .3);
    box-shadow: 0 26px 62px rgba(35, 52, 88, .14);
}

.book-card__cover,
.media-card__image,
.listing-card__media {
    border-bottom: 1px solid rgba(126, 146, 183, .17);
}

.media-card__image,
.listing-card__media {
    position: relative;
}

.media-card__image::after,
.listing-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 25, 43, .2), transparent 48%);
    pointer-events: none;
}

.media-card__cta,
.listing-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.media-card__cta::after,
.listing-card__cta::after {
    content: "→";
    transition: transform .2s ease;
}

.media-card__cta:hover::after,
.listing-card__cta:hover::after {
    transform: translateX(5px);
}

.page-home .callout-panel {
    position: relative;
    overflow: hidden;
    border-color: #263b69;
    background:
        radial-gradient(circle at 90% 0, rgba(80, 119, 232, .36), transparent 38%),
        linear-gradient(135deg, #1d2a46, #172137);
    box-shadow: 0 28px 70px rgba(27, 40, 67, .22);
}

.page-home .callout-panel::after {
    content: "“";
    position: absolute;
    right: 2rem;
    bottom: -6rem;
    color: rgba(255, 255, 255, .045);
    font-size: 18rem;
    font-weight: 800;
    line-height: 1;
}

.page-home .callout-panel .eyebrow,
.page-home .callout-panel h3 {
    color: #fff;
}

.page-home .callout-panel p {
    color: #b9c5d9;
}

.page-home .callout-panel .button--soft,
.page-home .callout-panel .button--ghost {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.page-home .callout-panel .button--soft:hover,
.page-home .callout-panel .button--ghost:hover {
    border-color: rgba(255, 255, 255, .32);
    background: #fff;
    color: #24449e;
}

.site-footer__shell {
    border-color: rgba(126, 146, 183, .22);
    background:
        radial-gradient(circle at 90% 10%, rgba(55, 94, 210, .08), transparent 27%),
        #fff;
    box-shadow: 0 24px 70px rgba(35, 52, 88, .09);
}

@media (max-width: 980px) {
    .personal-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .personal-board {
        max-width: 660px;
        transform: none;
    }
}

@media (max-width: 767px) {
    .personal-hero__surface {
        padding: 34px 20px 22px;
        border-radius: 26px;
    }

    .personal-hero__folio {
        display: none;
    }

    .personal-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
        line-height: 1.04;
    }

    .personal-board {
        padding: 12px;
        border-radius: 22px;
    }

    .personal-board__item {
        grid-template-columns: 42px minmax(0, 1fr) 32px;
        padding: 15px 12px;
    }

    .personal-board__item:hover,
    .personal-board__item:focus-visible {
        transform: none;
    }

    .page-home main > .page-section {
        padding-block: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .book-card,
    .media-card,
    .listing-card,
    .personal-project,
    .personal-board__item,
    .personal-board__arrow {
        transition: none;
    }
}

/* Keep scrolling inexpensive: persistent controls use solid surfaces instead of live blur. */
.site-header,
.site-header__bar,
.mobile-dock,
.scroll-top,
.developer-profile-card,
.developer-code-card,
.contact-hero__note,
.legal-hero__index {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header {
    transition: none;
}

.mobile-dock,
.scroll-top {
    will-change: transform, opacity;
}

.product-directory::before,
.venture-directory::before {
    filter: none;
    opacity: .55;
}

.site-header {
    background: rgba(247, 248, 252, .985);
}

.site-header__bar,
.mobile-dock {
    background: rgba(255, 255, 255, .985);
}

.scroll-top,
.scroll-top:hover,
.scroll-top:focus-visible {
    border-color: #375ed2;
    background: #375ed2;
    color: #fff;
}

.site-backdrop {
    position: absolute;
    inset: 0 0 auto;
    height: min(1050px, 100vh);
    opacity: .52;
    -webkit-mask-image: none;
    mask-image: none;
}

.personal-hero__surface {
    box-shadow: 0 24px 58px rgba(35, 52, 88, .1), inset 0 1px 0 #fff;
}

.personal-board {
    box-shadow: 0 24px 50px rgba(26, 37, 62, .22);
}

.book-card,
.media-card,
.listing-card,
.personal-project {
    box-shadow: 0 10px 30px rgba(32, 48, 80, .07);
}

.book-card:hover,
.media-card:hover,
.listing-card:hover,
.personal-project:hover {
    box-shadow: 0 20px 46px rgba(35, 52, 88, .13);
}

.page-home .callout-panel,
.site-footer__shell {
    box-shadow: 0 20px 52px rgba(35, 52, 88, .12);
}

.brand-cloud__glow {
    filter: none;
    opacity: .72;
}

.signup-form,
.tool-stack,
.lab-visual__badge,
.mobile-hero-visual__badge {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Software and venture portfolio pages */
.portfolio-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2.25rem, 4vw, 3.75rem) 0 clamp(4.5rem, 8vw, 7.5rem);
    color: #172035;
    border-bottom: 1px solid #d9dfeb;
    background:
        radial-gradient(circle at 82% 20%, rgba(55, 94, 210, .13), transparent 24rem),
        radial-gradient(circle at 4% 82%, rgba(98, 121, 205, .08), transparent 22rem),
        linear-gradient(135deg, #f7f8fb 0%, #edf1f8 62%, #f6f7fa 100%);
}

.portfolio-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(55, 94, 210, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(55, 94, 210, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    content: "";
    pointer-events: none;
}

.portfolio-hero::after {
    position: absolute;
    right: -8vw;
    bottom: -17rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(55, 94, 210, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(55, 94, 210, .025), 0 0 0 10rem rgba(55, 94, 210, .018);
    content: "";
    pointer-events: none;
}

.portfolio-hero--ventures {
    background:
        radial-gradient(circle at 82% 20%, rgba(55, 94, 210, .13), transparent 24rem),
        radial-gradient(circle at 4% 82%, rgba(98, 121, 205, .08), transparent 22rem),
        linear-gradient(135deg, #f7f8fb 0%, #edf1f8 62%, #f6f7fa 100%);
}

.portfolio-hero--ventures::after {
    border-color: rgba(55, 94, 210, .12);
    box-shadow: 0 0 0 5rem rgba(55, 94, 210, .025), 0 0 0 10rem rgba(55, 94, 210, .018);
}

.portfolio-hero > .container {
    position: relative;
    z-index: 1;
}

.portfolio-hero__breadcrumb {
    margin-bottom: clamp(2.75rem, 5vw, 5rem);
}

.portfolio-hero .vxp-breadcrumb a,
.portfolio-hero .vxp-breadcrumb li {
    color: #667085;
}

.portfolio-hero .vxp-breadcrumb li[aria-current="page"] {
    color: #26334d;
}

.portfolio-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(25rem, .72fr);
    gap: clamp(3rem, 7vw, 7.5rem);
    align-items: center;
}

.portfolio-kicker {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #375ed2;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.portfolio-kicker::before {
    width: 2.25rem;
    height: 1px;
    background: currentColor;
    content: "";
}

.portfolio-hero--ventures .portfolio-kicker {
    color: #375ed2;
}

.portfolio-hero__copy h1 {
    max-width: 11ch;
    margin: 1.1rem 0 1.45rem;
    color: #172035;
    font-size: clamp(3.1rem, 6vw, 6.2rem);
    font-weight: 750;
    letter-spacing: -.075em;
    line-height: .94;
    text-transform: none;
}

.portfolio-hero__copy > p {
    max-width: 42rem;
    margin: 0;
    color: #58647a;
    font-size: clamp(1.03rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}

.portfolio-hero__actions,
.software-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    align-items: center;
    margin-top: 2rem;
}

.portfolio-button {
    display: inline-flex;
    min-height: 3.2rem;
    padding: .8rem 1.2rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.portfolio-button:hover {
    transform: translateY(-2px);
}

.portfolio-button--primary {
    color: #fff;
    background: #375ed2;
    box-shadow: 0 12px 24px rgba(55, 94, 210, .2);
}

.portfolio-hero--ventures .portfolio-button--primary {
    background: #375ed2;
    box-shadow: 0 12px 24px rgba(55, 94, 210, .2);
}

.portfolio-button--dark {
    color: #fff;
    background: #172035;
}

.portfolio-button--light {
    color: #172035;
    background: #fff;
}

.portfolio-text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #253552;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.portfolio-text-link i,
.software-editorial-card__footer i,
.venture-editorial__link i {
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.portfolio-text-link:hover i,
.software-editorial-card__footer a:hover i,
.venture-editorial__link:hover i {
    transform: translateX(3px);
}

.product-directory,
.venture-directory {
    position: relative;
    padding: .65rem;
    border: 1px solid #d6ddea;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 70px rgba(30, 45, 76, .11);
}

.product-directory::before,
.venture-directory::before {
    position: absolute;
    inset: -1rem 2.2rem auto;
    z-index: -1;
    height: 2rem;
    border-radius: 999px;
    background: rgba(55, 94, 210, .14);
    filter: blur(22px);
    content: "";
}

.product-directory__head,
.venture-directory__head {
    display: flex;
    padding: .8rem .85rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #6b7588;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-directory__head small,
.venture-directory__head small {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.product-directory__list {
    display: grid;
}

.product-directory__item,
.venture-directory__item {
    --accent-start: #375ed2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-width: 0;
    padding: .7rem .8rem;
    align-items: center;
    gap: .9rem;
    color: #1f2b42;
    border-top: 1px solid #e3e7ef;
    text-decoration: none;
    transition: background-color 170ms ease, padding-left 170ms ease;
}

.product-directory__item:first-child,
.venture-directory__item:first-of-type {
    border-top: 0;
}

.product-directory__item:hover,
.venture-directory__item:hover {
    padding-left: 1rem;
    border-radius: .85rem;
    background: color-mix(in srgb, var(--accent-start) 6%, #fff);
}

.product-directory__logo,
.venture-directory__mark {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 3.1rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent-start) 18%, #dfe4ed);
    border-radius: .8rem;
    background: #fff;
}

.product-directory__logo img {
    max-width: 82%;
    max-height: 1.9rem;
    object-fit: contain;
}

.venture-directory__mark {
    color: var(--accent-start);
    font-size: 1.05rem;
    font-weight: 900;
    background: color-mix(in srgb, var(--accent-start) 7%, #fff);
}

.product-directory__item > span:nth-child(2),
.venture-directory__item > span:nth-child(2) {
    min-width: 0;
}

.product-directory__item strong,
.venture-directory__item strong {
    display: block;
    overflow: hidden;
    font-size: .93rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-directory__item small,
.venture-directory__item small {
    display: block;
    margin-top: .15rem;
    overflow: hidden;
    color: #748096;
    font-size: .73rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-directory__item > i,
.venture-directory__item > i {
    color: var(--accent-start);
    font-size: 1.2rem;
}

.portfolio-ticker {
    position: relative;
    z-index: 2;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #172035;
    box-shadow: 0 18px 46px rgba(23, 32, 53, .16);
}

.portfolio-ticker__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
}

.portfolio-ticker__label {
    display: flex;
    padding: 1.2rem 1.6rem 1.2rem 0;
    align-items: center;
    color: #91a9f4;
    border-right: 1px solid rgba(255, 255, 255, .12);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.portfolio-ticker__rail {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.portfolio-ticker__rail::-webkit-scrollbar {
    display: none;
}

.portfolio-ticker__rail a {
    display: flex;
    min-width: max-content;
    padding: 1rem 1.4rem;
    align-items: center;
    gap: .65rem;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: background-color 170ms ease;
}

.portfolio-ticker__rail a:hover {
    background: rgba(255, 255, 255, .07);
}

.portfolio-ticker__rail strong {
    font-size: .82rem;
}

.portfolio-ticker__rail small {
    color: rgba(220, 228, 246, .56);
    font-size: .68rem;
}

.portfolio-section {
    padding: clamp(4.75rem, 8vw, 8rem) 0;
    background: #fff;
}

.portfolio-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .65fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.portfolio-section__head h2 {
    max-width: 14ch;
    margin: .85rem 0 0;
    color: #172035;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: .98;
    text-transform: none;
}

.portfolio-section__head > p {
    margin: 0;
    color: #657086;
    line-height: 1.75;
}

.software-feature {
    --accent-start: #375ed2;
    --accent-end: #718bf0;
    display: grid;
    grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr);
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid #dce2ec;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 55px rgba(34, 50, 82, .09);
}

.software-feature__visual {
    position: relative;
    display: flex;
    min-height: 28rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: color-mix(in srgb, var(--accent-start) 8%, #eef2f8);
}

.software-feature__visual::before,
.software-feature__visual::after {
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--accent-start) 20%, transparent);
    border-radius: 50%;
    content: "";
}

.software-feature__visual::before {
    width: 24rem;
    height: 24rem;
}

.software-feature__visual::after {
    width: 17rem;
    height: 17rem;
}

.software-feature__label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: color-mix(in srgb, var(--accent-start) 82%, #172035);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.software-feature__logo {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(82%, 24rem);
    min-height: 10rem;
    padding: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 22px 45px color-mix(in srgb, var(--accent-start) 12%, transparent);
}

.software-feature__logo img {
    max-width: 88%;
    max-height: 6rem;
    object-fit: contain;
}

.software-feature__signal {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    gap: .35rem;
    align-items: end;
}

.software-feature__signal span {
    width: .3rem;
    border-radius: 99px;
    background: var(--accent-start);
}

.software-feature__signal span:nth-child(1) { height: .65rem; opacity: .45; }
.software-feature__signal span:nth-child(2) { height: 1.05rem; opacity: .7; }
.software-feature__signal span:nth-child(3) { height: 1.45rem; }

.software-feature__content {
    display: flex;
    padding: clamp(2rem, 5vw, 4.5rem);
    flex-direction: column;
    justify-content: center;
}

.software-card-meta,
.venture-editorial__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--accent-start);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.software-card-meta small,
.venture-editorial__meta small,
.software-editorial-card__status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #6b7588;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}

.software-feature__content h3 {
    margin: .7rem 0 1rem;
    color: #172035;
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -.07em;
    line-height: .95;
    text-transform: none;
}

.software-feature__content > p,
.software-editorial-card > p {
    margin: 0;
    color: #5e6a80;
    line-height: 1.72;
}

.software-points {
    display: grid;
    gap: .65rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.software-points li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: #344158;
    font-size: .87rem;
}

.software-points li i {
    margin-top: .1rem;
    color: var(--accent-start);
    font-size: 1rem;
}

.software-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.software-editorial-card {
    --accent-start: #375ed2;
    display: flex;
    position: relative;
    min-height: 31rem;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    flex-direction: column;
    border: 1px solid #dce2ec;
    border-top: 4px solid var(--accent-start);
    border-radius: 1.25rem;
    background: #fff;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.software-editorial-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 9rem;
    height: 9rem;
    opacity: .6;
    background-image:
        linear-gradient(color-mix(in srgb, var(--accent-start) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--accent-start) 10%, transparent) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(225deg, #000, transparent 72%);
    content: "";
    pointer-events: none;
}

.software-editorial-card > * {
    position: relative;
    z-index: 1;
}

.software-editorial-card:nth-child(4n + 2),
.software-editorial-card:nth-child(4n + 3) {
    background: #f7f8fb;
}

.software-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(34, 50, 82, .1);
}

.software-editorial-card__head {
    display: flex;
    min-height: 5.3rem;
    margin-bottom: 1.65rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.software-editorial-card__logo {
    display: grid;
    width: 10rem;
    height: 4.5rem;
    padding: .75rem;
    place-items: center;
    border: 1px solid #dfe4ed;
    border-radius: .9rem;
    background: #fff;
}

.software-editorial-card__logo img {
    max-width: 100%;
    max-height: 2.75rem;
    object-fit: contain;
}

.software-editorial-card h3 {
    margin: .45rem 0 .75rem;
    color: #172035;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -.055em;
    line-height: 1;
    text-transform: none;
}

.software-editorial-card .software-points {
    margin-bottom: 1.6rem;
}

.software-editorial-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: 1.1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #dfe4ed;
}

.software-editorial-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #172035;
    font-size: .85rem;
    font-weight: 850;
    text-decoration: none;
}

.software-editorial-card__footer a:last-child {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    color: var(--accent-start);
    border: 1px solid color-mix(in srgb, var(--accent-start) 25%, #dfe4ed);
    border-radius: 50%;
}

.software-project-list {
    display: grid;
    gap: clamp(3rem, 7vw, 6rem);
}

.software-project-editorial {
    --accent-start: #375ed2;
    --accent-end: #718bf0;
    display: grid;
    grid-template-columns: minmax(20rem, .88fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 6vw, 6.5rem);
    align-items: center;
    scroll-margin-top: 9rem;
}

.software-project-editorial:nth-child(even) .software-project-editorial__visual {
    order: 2;
}

.software-project-editorial__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    min-width: 0;
    min-height: 0;
    padding: clamp(1.2rem, 2.7vw, 2.1rem);
    overflow: hidden;
    border: 1px solid #d7deec;
    border-radius: 1.5rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .28), transparent 46%),
        color-mix(in srgb, var(--accent-start) 10%, #eef2fa);
    box-shadow: 0 24px 55px rgba(34, 50, 82, .1);
}

.software-project-editorial__visual::before {
    position: absolute;
    inset: auto -18% -24% auto;
    width: 72%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--accent-start) 22%, transparent);
    border-radius: 50%;
    content: "";
}

.software-project-editorial__visual::after {
    position: absolute;
    top: 9%;
    left: 8%;
    width: 4.2rem;
    height: .28rem;
    border-radius: 99px;
    background: var(--accent-start);
    box-shadow: 1.2rem .7rem 0 color-mix(in srgb, var(--accent-start) 55%, transparent);
    content: "";
    transform: rotate(-12deg);
}

.software-project-editorial__canvas {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    height: 100%;
    padding: clamp(1.5rem, 4vw, 3.25rem);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 55px color-mix(in srgb, var(--accent-start) 13%, transparent);
}

.software-project-editorial__canvas img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.software-project-editorial__canvas.has-uploaded-image {
    padding: 0;
}

.software-project-editorial__canvas.has-uploaded-image img {
    object-fit: cover;
}

.software-project-editorial__wordmark {
    max-width: 100%;
    color: #182239;
    font-size: clamp(2.75rem, 5.6vw, 5.6rem);
    font-weight: 850;
    letter-spacing: -.075em;
    line-height: 1;
    overflow-wrap: anywhere;
    text-align: center;
}

.software-project-editorial__content {
    padding-block: 1rem;
}

.software-project-editorial__content h3 {
    margin: .75rem 0 1rem;
    color: #172035;
    font-size: clamp(3rem, 5vw, 5.2rem);
    letter-spacing: -.07em;
    line-height: .98;
    text-transform: none;
}

.software-project-editorial__summary {
    max-width: 40rem;
    margin: 0;
    color: #4d5a71;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.75;
}

.software-project-editorial .software-points {
    max-width: 38rem;
    margin-block: 1.6rem;
}

.software-project-editorial__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
    margin-top: 1.8rem;
}

.software-detail-visual {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .08);
}

.software-detail-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.software-detail-visual.has-uploaded-image {
    padding: 0;
}

.software-detail-visual.has-uploaded-image img {
    object-fit: cover;
}

.software-detail-visual strong {
    max-width: 100%;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 850;
    letter-spacing: -.07em;
    line-height: 1;
    overflow-wrap: anywhere;
    text-align: center;
}

.developer-profile-card__top--status {
    justify-content: flex-end;
    margin-bottom: 1.35rem;
}

.software-search-empty {
    margin-top: 2rem;
    padding: 3rem;
    text-align: center;
    border: 1px dashed #cfd6e2;
    border-radius: 1.2rem;
    background: #f7f8fb;
}

.software-search-empty h3 {
    margin: 0 0 .6rem;
    color: #172035;
    text-transform: none;
}

.software-search-empty p {
    margin: 0 0 1.25rem;
}

.venture-portfolio {
    background: #fff;
}

.portfolio-section__head--ventures .portfolio-kicker {
    color: #375ed2;
}

.venture-editorial-list {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.venture-editorial {
    --accent-start: #375ed2;
    --accent-end: #718bf0;
    display: grid;
    grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 6.5rem);
    align-items: center;
    scroll-margin-top: 9rem;
}

.venture-editorial:nth-child(even) .venture-editorial__visual {
    order: 2;
}

.venture-editorial__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    min-width: 0;
    min-height: 0;
    padding: clamp(1.4rem, 3vw, 2.3rem);
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #d7deec;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .22), transparent 45%),
        color-mix(in srgb, var(--accent-start) 10%, #eef2fa);
    box-shadow: 0 24px 55px rgba(34, 50, 82, .1);
}

.venture-editorial__visual::before {
    position: absolute;
    inset: 1.3rem;
    border: 1px solid color-mix(in srgb, var(--accent-start) 20%, transparent);
    border-radius: 50%;
    content: "";
    transform: translate(32%, -32%);
}

.venture-editorial__canvas {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 55px color-mix(in srgb, var(--accent-start) 13%, transparent);
}

.venture-editorial__canvas::after {
    position: absolute;
    right: 1.25rem;
    bottom: 1rem;
    color: color-mix(in srgb, var(--accent-start) 11%, transparent);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -.1em;
    line-height: .8;
    content: "◆";
    pointer-events: none;
}

.venture-editorial__canvas > * {
    position: relative;
    z-index: 1;
}

.venture-editorial__canvas img {
    width: min(100%, 20rem);
    max-height: 7rem;
    object-fit: contain;
    object-position: left center;
}

.venture-editorial__wordmark {
    color: #182239;
    font-size: clamp(3.25rem, 6vw, 6rem);
    font-weight: 850;
    letter-spacing: -.08em;
    line-height: .95;
}

.venture-editorial__canvas small {
    margin-top: 1.4rem;
    color: var(--accent-start);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.venture-editorial__content {
    padding-block: 1rem;
}

.venture-editorial__content h2 {
    margin: .75rem 0 .7rem;
    color: #172035;
    font-size: clamp(3rem, 5vw, 5.2rem);
    letter-spacing: -.075em;
    line-height: .94;
    text-transform: none;
}

.venture-editorial__tagline {
    max-width: 29rem;
    margin: 0 0 1.4rem;
    color: var(--accent-start);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.35;
}

.venture-editorial__summary {
    margin: 0 0 1rem;
    color: #344158;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}

.venture-editorial__description {
    margin: 0;
    color: #657086;
    font-size: .92rem;
    line-height: 1.75;
}

.venture-editorial__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 1.6rem 0 1.75rem;
    padding: 0;
    list-style: none;
}

.venture-editorial__highlights li {
    display: inline-flex;
    padding: .6rem .75rem;
    align-items: center;
    gap: .45rem;
    color: #344158;
    border: 1px solid #dce2ec;
    border-radius: .65rem;
    background: #f8f9fb;
    font-size: .77rem;
    font-weight: 700;
}

.venture-editorial__highlights li i {
    color: var(--accent-start);
}

.venture-editorial__link {
    display: inline-flex;
    min-height: 3rem;
    padding: .7rem 1rem;
    align-items: center;
    gap: .55rem;
    color: #fff;
    border-radius: .75rem;
    background: var(--accent-start);
    font-size: .85rem;
    font-weight: 850;
    text-decoration: none;
}

.portfolio-notes {
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    border-top: 1px solid #dce2ec;
    background:
        radial-gradient(circle at 88% 10%, rgba(55, 94, 210, .11), transparent 22rem),
        #eef2f9;
}

.portfolio-notes__head {
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.portfolio-notes__head h2 {
    max-width: 17ch;
    margin: 0;
    color: #172035;
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: .98;
    text-transform: none;
}

.portfolio-notes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #d7deea;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 22px 55px rgba(34, 50, 82, .08);
}

.portfolio-notes__grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    gap: 1rem;
    border-left: 1px solid #dce2ec;
}

.portfolio-notes__grid article:first-child {
    border-left: 0;
}

.portfolio-notes__grid article > i {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: #375ed2;
    border: 1px solid #cfd9f5;
    border-radius: .85rem;
    background: #eef2ff;
    font-size: 1.35rem;
}

.portfolio-notes__grid h3 {
    margin: .15rem 0 .55rem;
    color: #172035;
    font-size: 1.02rem;
    text-transform: none;
}

.portfolio-notes__grid p {
    margin: 0;
    color: #657086;
    font-size: .84rem;
    line-height: 1.7;
}

.portfolio-bridge {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
    color: #fff;
    background: #172035;
}

.portfolio-bridge--ventures {
    background: #172035;
}

.portfolio-bridge__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.portfolio-bridge .portfolio-kicker {
    color: #a9bdfd;
}

.portfolio-bridge--ventures .portfolio-kicker {
    color: #a9bdfd;
}

.portfolio-bridge h2 {
    max-width: 18ch;
    margin: .75rem 0 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.7rem);
    letter-spacing: -.055em;
    line-height: 1;
    text-transform: none;
}

@media (max-width: 991px) {
    .portfolio-hero__grid,
    .portfolio-section__head,
    .software-feature,
    .software-project-editorial,
    .venture-editorial {
        grid-template-columns: minmax(0, 1fr);
    }

    .portfolio-hero__grid {
        gap: 3rem;
    }

    .portfolio-hero__copy h1 {
        max-width: 13ch;
    }

    .product-directory,
    .venture-directory {
        max-width: 42rem;
    }

    .software-feature__visual {
        min-height: 23rem;
    }

    .venture-editorial,
    .venture-editorial:nth-child(even) {
        gap: 2rem;
    }

    .venture-editorial:nth-child(even) .venture-editorial__visual {
        order: initial;
    }

    .software-project-editorial,
    .software-project-editorial:nth-child(even) {
        gap: 2rem;
    }

    .software-project-editorial:nth-child(even) .software-project-editorial__visual {
        order: initial;
    }

    .venture-editorial__visual {
        min-height: 0;
    }

    .venture-editorial__canvas {
        min-height: 0;
    }

    .portfolio-notes__head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .portfolio-notes__grid {
        grid-template-columns: 1fr;
    }

    .portfolio-notes__grid article {
        border-top: 1px solid #dce2ec;
        border-left: 0;
    }

    .portfolio-notes__grid article:first-child {
        border-top: 0;
    }
}

@media (max-width: 767px) {
    .portfolio-hero {
        padding-top: 1.5rem;
    }

    .portfolio-hero__breadcrumb {
        margin-bottom: 2.25rem;
    }

    .portfolio-hero__copy h1 {
        font-size: clamp(2.7rem, 13vw, 4.4rem);
        overflow-wrap: normal;
    }

    .portfolio-section__head {
        gap: 1.25rem;
    }

    .portfolio-section__head h2 {
        max-width: 15ch;
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .software-editorial-grid {
        grid-template-columns: 1fr;
    }

    .software-editorial-card {
        min-height: 0;
    }

    .portfolio-bridge__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-ticker__inner {
        grid-template-columns: 1fr;
    }

    .portfolio-ticker__label {
        padding: .8rem 0 .55rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .portfolio-ticker__rail {
        margin-inline: -1.4rem;
        padding-inline: 1.4rem;
    }
}

@media (max-width: 575px) {
    .portfolio-hero__actions,
    .software-card-actions,
    .software-project-editorial__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .portfolio-button,
    .portfolio-hero__actions .portfolio-text-link,
    .software-card-actions .portfolio-text-link,
    .software-project-editorial__actions .portfolio-text-link {
        width: 100%;
        justify-content: center;
    }

    .product-directory__head,
    .venture-directory__head {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .product-directory__item,
    .venture-directory__item {
        padding-inline: .45rem;
    }

    .software-feature {
        border-radius: 1.1rem;
    }

    .software-feature__visual {
        min-height: 19rem;
        padding: 1rem;
    }

    .software-feature__visual::before {
        width: 19rem;
        height: 19rem;
    }

    .software-feature__visual::after {
        width: 13rem;
        height: 13rem;
    }

    .software-feature__logo {
        width: 90%;
        min-height: 8rem;
        padding: 1.25rem;
    }

    .software-feature__content {
        padding: 1.5rem;
    }

    .software-editorial-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .software-project-list {
        gap: 3.5rem;
    }

    .software-project-editorial__visual {
        padding: 1rem;
        border-radius: 1.1rem;
    }

    .software-project-editorial__canvas {
        padding: 1.25rem;
        border-radius: .9rem;
    }

    .software-project-editorial__canvas.has-uploaded-image {
        padding: 0;
    }

    .software-project-editorial__wordmark {
        font-size: clamp(2.4rem, 14vw, 4rem);
    }

    .venture-editorial__visual {
        min-height: 0;
        padding: 1rem;
        border-radius: 1.1rem;
    }

    .venture-editorial__canvas {
        min-height: 0;
        padding: 1.25rem;
    }

    .venture-editorial__wordmark {
        font-size: clamp(2.7rem, 15vw, 4.3rem);
    }

    .venture-editorial__content h2 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }
}

/* Public pages: richer collection surfaces, legal pages and mobile app shell. */
.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) {
    position: relative;
    isolation: isolate;
    min-height: clamp(18rem, 34vw, 25rem);
    padding: clamp(2.25rem, 6vw, 5rem);
    overflow: hidden;
    border: 1px solid #d8e0ef;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 88% 20%, rgba(55, 94, 210, .16), transparent 19rem),
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(237, 242, 252, .92));
    box-shadow: 0 28px 70px rgba(35, 52, 88, .1);
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::before,
.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(55, 94, 210, .13);
    border-radius: 50%;
    content: "";
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::before {
    top: -12rem;
    right: -8rem;
    width: 28rem;
    height: 28rem;
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::after {
    right: 10rem;
    bottom: -12rem;
    width: 19rem;
    height: 19rem;
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) .page-summary {
    max-width: 42rem;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.8;
}

.collection-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.35rem;
    align-items: center;
    min-height: 12rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px dashed #bfcbe1;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #fff, #f3f6fc);
}

.collection-empty__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    color: #375ed2;
    border: 1px solid #ced8ee;
    border-radius: 1.15rem;
    background: #eef3ff;
    font-size: 1.1rem;
    font-weight: 800;
}

.collection-empty h2 {
    margin: 0 0 .35rem;
    color: #202b40;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.collection-empty p {
    margin: 0;
    color: #657086;
}

.legal-hero {
    padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(circle at 85% 12%, rgba(55, 94, 210, .15), transparent 24rem),
        #eef2fa;
}

.legal-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .55fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-top: clamp(3rem, 7vw, 6rem);
}

.legal-hero h1 {
    max-width: 15ch;
    margin: .9rem 0 1rem;
    color: #172035;
    font-size: clamp(3rem, 6vw, 5.4rem);
    letter-spacing: -.065em;
    line-height: .98;
}

.legal-hero__grid > div > p {
    max-width: 44rem;
    margin: 0;
    color: #58657b;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.8;
}

.legal-hero__index {
    display: grid;
    gap: .6rem;
    padding: 1.5rem;
    border: 1px solid #d7deec;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 20px 48px rgba(35, 52, 88, .08);
}

.legal-hero__index span {
    color: #375ed2;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-hero__index strong {
    color: #202b40;
    line-height: 1.5;
}

.legal-hero__index a {
    width: fit-content;
    margin-top: .25rem;
    color: #375ed2;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}

.legal-content {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .65fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.legal-content__prose,
.legal-content__notes {
    min-width: 0;
}

.legal-content__prose h2 {
    margin: .8rem 0 1.6rem;
    color: #172035;
    font-size: clamp(2rem, 4vw, 3.6rem);
    letter-spacing: -.05em;
    line-height: 1.05;
}

.legal-content__prose p {
    margin: 0;
    color: #4e5b71;
    font-size: 1rem;
    line-height: 1.9;
}

.legal-content__prose p + p {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e5ef;
}

.legal-content__notes {
    position: sticky;
    top: 8rem;
}

.legal-note-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.legal-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid #dce2ec;
    border-radius: 1rem;
    background: #f7f9fd;
}

.legal-note > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: #375ed2;
    border-radius: .75rem;
    background: #e8efff;
}

.legal-note svg {
    width: 1.25rem;
    height: 1.25rem;
}

.legal-note p {
    margin: 0;
    color: #59657a;
    font-size: .88rem;
    line-height: 1.7;
}

.mobile-flow__copy li > span i {
    font-size: 1.05rem;
}

.mobile-dock__button {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 992px) {
    .legal-hero__grid,
    .legal-content__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-hero__index {
        max-width: 36rem;
    }

    .legal-content__notes {
        position: static;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
    }

    body {
        overscroll-behavior-y: auto;
    }

    .site-main,
    .site-main > *,
    .site-main .container,
    .site-main article,
    .site-main aside,
    .site-main form,
    .site-main form > *,
    .site-footer,
    .site-footer * {
        min-width: 0;
    }

    .site-main img,
    .site-main video,
    .site-main canvas,
    .site-main svg,
    .site-main iframe {
        max-width: 100%;
    }

    .site-main iframe {
        width: 100%;
    }

    .site-main table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-main pre,
    .site-main code,
    .prose-content {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .site-main input,
    .site-main select,
    .site-main textarea,
    .site-main button {
        max-width: 100%;
    }

    .site-main input,
    .site-main select,
    .site-main textarea {
        width: 100%;
        font-size: 16px;
    }

    .page-section {
        padding-block: clamp(3rem, 12vw, 4.5rem);
    }

    .page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) {
        min-height: 0;
        padding: 2rem 1.35rem 2.25rem;
        border-radius: 1.5rem;
    }

    .page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::before {
        top: -10rem;
        right: -12rem;
    }

    .page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::after {
        display: none;
    }

    .collection-empty {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        padding: 1.4rem;
    }

    .collection-empty .button {
        width: 100%;
        justify-content: center;
    }

    .legal-hero {
        padding: 1.5rem 0 3.5rem;
    }

    .legal-hero__grid {
        gap: 1.5rem;
        margin-top: 2.75rem;
    }

    .legal-hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .legal-content {
        padding-block: 3.75rem;
    }

    .legal-content__grid {
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.1rem;
    }

    .footer-grid > :first-child,
    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }

    .site-footer__brand {
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    .site-footer__mark {
        width: 4.5rem;
    }

    .site-footer__brand strong {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.05;
    }

    .footer-list a {
        display: inline-flex;
        min-height: 2rem;
        align-items: center;
        overflow-wrap: anywhere;
    }

    .mobile-dock {
        bottom: calc(.55rem + env(safe-area-inset-bottom));
        width: min(calc(100% - 1rem), 30rem);
        padding: .4rem;
        gap: .2rem;
        border-color: rgba(55, 94, 210, .2);
        border-radius: 1.35rem;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 48px rgba(19, 31, 59, .24);
    }

    .mobile-dock__link {
        display: flex;
        min-width: 0;
        min-height: 3.75rem;
        padding: .55rem .2rem .45rem;
        gap: .26rem;
        color: #68748a;
        border-radius: 1rem;
        background: transparent;
        text-decoration: none;
    }

    .mobile-dock__link:hover,
    .mobile-dock__link:focus-visible {
        color: #294cac;
        background: #f0f4fd;
        outline: none;
    }

    .mobile-dock__link.is-active {
        color: #294cac;
        background: #e8efff;
        transform: translateY(-1px);
    }

    .mobile-dock__icon,
    .mobile-dock__link--home .mobile-dock__icon {
        display: grid;
        width: 1.35rem;
        height: 1.35rem;
        place-items: center;
        color: currentColor;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .mobile-dock__icon svg,
    .mobile-dock__link--home .mobile-dock__icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }

    .mobile-dock__label {
        max-width: 100%;
        font-size: .62rem;
        font-weight: 750;
        letter-spacing: -.01em;
        line-height: 1.05;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-main {
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    }

    .site-footer {
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    }

    .scroll-top {
        right: .75rem;
        bottom: calc(5.85rem + env(safe-area-inset-bottom));
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 380px) {
    .mobile-dock {
        width: calc(100% - .65rem);
    }

    .mobile-dock__label {
        font-size: .56rem;
    }

    .site-footer__brand {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Contact page */
.page-contact .site-main {
    background: #f5f7fb;
}

.contact-hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6.75rem) 0 clamp(3.75rem, 7vw, 6rem);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(125, 147, 255, .3), transparent 28rem),
        radial-gradient(circle at 12% 100%, rgba(73, 111, 229, .2), transparent 25rem),
        linear-gradient(135deg, #0d1833 0%, #142653 55%, #1b3470 100%);
}

.contact-hero::before,
.contact-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.contact-hero::before {
    top: -11rem;
    right: 2%;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.contact-hero::after {
    right: 14%;
    bottom: -10rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.contact-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}

.contact-hero .eyebrow {
    color: #a9bcff;
}

.contact-hero__content h1 {
    max-width: 12ch;
    margin: .85rem 0 1.25rem;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: .96;
}

.contact-hero__content > p {
    max-width: 44rem;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
    margin-top: 2rem;
}

.contact-hero__mail {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .75rem;
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
    font-weight: 700;
}

.contact-hero__mail:hover {
    color: #fff;
}

.contact-hero__mail span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.contact-hero__mail svg {
    width: 1.1rem;
    height: 1.1rem;
}

.contact-hero__note {
    padding: clamp(1.5rem, 3vw, 2.15rem);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background: rgba(255, 255, 255, .075);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
}

.contact-hero__status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #c9d4ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-hero__status i {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #61d98f;
    box-shadow: 0 0 0 .28rem rgba(97, 217, 143, .13);
}

.contact-hero__note > strong {
    display: block;
    margin-top: 1.25rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    letter-spacing: -.035em;
    line-height: 1.15;
}

.contact-hero__note > p {
    margin: .8rem 0 1.4rem;
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
    line-height: 1.65;
}

.contact-hero__note dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.contact-hero__note dl > div {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    padding: .85rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-hero__note dt {
    color: rgba(255, 255, 255, .48);
    font-size: .75rem;
    font-weight: 650;
}

.contact-hero__note dd {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 700;
}

.contact-section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.contact-workspace {
    display: grid;
    grid-template-columns: minmax(17.5rem, .72fr) minmax(0, 1.28fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.contact-sidebar {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 1.5rem;
}

.contact-sidebar__intro h2 {
    margin: .65rem 0 .7rem;
    color: var(--ink);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    letter-spacing: -.045em;
}

.contact-sidebar__intro p {
    max-width: 27rem;
    margin: 0;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.65;
}

.contact-topics {
    display: grid;
    gap: .7rem;
}

.contact-topic {
    display: grid;
    width: 100%;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
    padding: .9rem;
    color: var(--ink);
    text-align: left;
    border: 1px solid #dde4f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(32, 43, 64, .035);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-topic:hover,
.contact-topic.is-active {
    border-color: rgba(55, 94, 210, .4);
    background: #f5f7ff;
    box-shadow: 0 12px 28px rgba(55, 94, 210, .09);
    transform: translateY(-2px);
}

.contact-topic__icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    color: #375ed2;
    border-radius: 13px;
    background: #e9efff;
}

.contact-topic__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-topic > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: .18rem;
}

.contact-topic strong {
    color: var(--ink);
    font-size: .86rem;
}

.contact-topic small {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
}

.contact-topic > i {
    color: #8794aa;
    font-size: 1rem;
    font-style: normal;
}

.contact-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #dce3ef;
}

.contact-social > span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-social .social-list {
    margin: 0;
}

.contact-form--refined {
    scroll-margin-top: 7rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #dce3ef;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(32, 43, 64, .09);
}

.contact-form__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.7rem;
    border-bottom: 1px solid #e4e9f2;
}

.contact-form__header h2 {
    margin: .55rem 0 .45rem;
    color: var(--ink);
    font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: -.055em;
}

.contact-form__header p {
    max-width: 33rem;
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

.contact-form__required {
    flex: 0 0 auto;
    padding: .55rem .75rem;
    color: #647086;
    font-size: .72rem;
    font-weight: 650;
    border-radius: 999px;
    background: #f1f4f9;
}

.contact-form__required i,
.contact-form--refined .form-field label > span {
    color: #375ed2;
    font-style: normal;
}

.contact-form--refined .form-field {
    gap: .55rem;
}

.contact-form--refined [hidden] {
    display: none !important;
}

.contact-form--refined .form-field label {
    color: #27344c;
    font-size: .8rem;
    font-weight: 750;
}

.contact-form--refined .form-field label small {
    color: #7a879b;
    font-size: .7rem;
    font-weight: 600;
}

.contact-form--refined .form-field input,
.contact-form--refined .form-field select,
.contact-form--refined .form-field textarea {
    min-height: 3.55rem;
    padding: .95rem 1rem;
    color: var(--ink);
    border: 1px solid #d8dfeb;
    border-radius: 14px;
    background: #f9fafc;
    box-shadow: none;
}

.contact-form--refined .form-field textarea {
    min-height: 10.5rem;
    line-height: 1.6;
}

.contact-form--refined .form-field input:focus,
.contact-form--refined .form-field select:focus,
.contact-form--refined .form-field textarea:focus {
    border-color: #5273dd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(55, 94, 210, .1);
}

.contact-form--refined .form-field--featured select {
    background-color: #f3f6ff;
    border-color: #cfd9f6;
    font-weight: 700;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    margin-top: .35rem;
}

.contact-form__footer p {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    color: #6b778b;
    font-size: .75rem;
}

.contact-form__footer p svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
    color: #375ed2;
}

.contact-form__submit {
    min-width: 11rem;
    justify-content: center;
}

.contact-form__submit span {
    transition: transform .2s ease;
}

.contact-form__submit:hover span {
    transform: translateX(.2rem);
}

@media (max-width: 992px) {
    .contact-hero__grid,
    .contact-workspace {
        grid-template-columns: 1fr;
    }

    .contact-hero__grid {
        gap: 2rem;
    }

    .contact-hero__content h1 {
        max-width: 14ch;
    }

    .contact-hero__note {
        max-width: none;
    }

    .contact-sidebar {
        position: static;
    }

    .contact-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2.5rem 0 3rem;
    }

    .contact-hero::before {
        top: -8rem;
        right: -9rem;
        width: 22rem;
        height: 22rem;
    }

    .contact-hero__content h1 {
        margin-top: .7rem;
        font-size: clamp(2.45rem, 12vw, 4rem);
        line-height: 1;
    }

    .contact-hero__content > p {
        font-size: .95rem;
        line-height: 1.65;
    }

    .contact-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-hero__actions .button {
        width: 100%;
        justify-content: center;
    }

    .contact-hero__mail {
        overflow-wrap: anywhere;
    }

    .contact-hero__note dl > div {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .contact-section {
        padding: 2.75rem 0;
    }

    .contact-topics {
        grid-template-columns: 1fr;
    }

    .contact-form--refined {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .contact-form__header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.3rem;
    }

    .contact-form__header h2 {
        font-size: 2rem;
    }

    .contact-form__required {
        align-self: flex-start;
    }

    .contact-form--refined .form-grid--two {
        grid-template-columns: 1fr;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__submit {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .contact-topic {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }

    .contact-topic__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .contact-topic > i {
        display: none;
    }

    .contact-social {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Site-wide navy and indigo identity, derived from the venture callout. */
:root {
    --brand-navy: #162349;
    --brand-mid: #273d7b;
    --brand-indigo: #34256d;
    --brand-blue: #375ed2;
    --brand-violet: #4a45a8;
    --brand-soft: #eef1fb;
    --brand-soft-strong: #e5eafb;
    --brand-gradient: linear-gradient(135deg, #162349 0%, #273d7b 58%, #34256d 100%);
    --brand-gradient-rich:
        radial-gradient(circle at 92% 0, rgba(84, 105, 226, .4), transparent 35%),
        radial-gradient(circle at 8% 100%, rgba(55, 94, 210, .18), transparent 32%),
        linear-gradient(135deg, #162349 0%, #273d7b 58%, #34256d 100%);
    --bg: #f6f7fc;
    --bg-soft: #eef1fb;
    --paper: #f4f6fc;
    --paper-strong: #182650;
    --ink: #182650;
    --ink-soft: #526079;
    --text: #182650;
    --muted: #59667f;
    --muted-strong: #66738b;
    --gold: #4569df;
    --gold-strong: #375ed2;
    --gold-deep: #273d7b;
    --line: #dfe4f0;
    --line-strong: #c9d2e6;
    --shadow: 0 18px 50px rgba(22, 35, 73, .08);
}

body,
.page-contact .site-main {
    background:
        radial-gradient(circle at 7% 3%, rgba(55, 94, 210, .09), transparent 24rem),
        radial-gradient(circle at 94% 25%, rgba(74, 69, 168, .08), transparent 28rem),
        #f6f7fc;
}

::selection {
    color: #fff;
    background: rgba(55, 94, 210, .72);
}

.site-brand__text small::before,
.site-nav__brand-text small::before,
.personal-hero__surface::after,
.page-home .section-heading::before {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-violet));
}

.site-nav__link.is-active,
.site-nav__link:hover {
    color: var(--brand-blue);
    background: #edf0ff;
}

.button--accent,
.portfolio-button--primary,
.portfolio-hero--ventures .portfolio-button--primary,
.venture-editorial__link,
.scroll-top {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand-blue), #4a58ce);
    box-shadow: 0 12px 28px rgba(55, 94, 210, .24);
}

.button--accent:hover,
.portfolio-button--primary:hover,
.venture-editorial__link:hover,
.scroll-top:hover {
    color: #fff;
    background: linear-gradient(135deg, #2f55c5, #403b9b);
}

.button--ghost,
.button--soft {
    color: var(--brand-mid);
    border-color: #cdd6ee;
}

.social-list a,
.pill--soft,
.tag-list a,
.collection-empty__icon,
.contact-topic__icon {
    color: var(--brand-blue);
    background: var(--brand-soft);
}

.personal-hero__surface {
    border-color: rgba(39, 61, 123, .16);
    background:
        radial-gradient(circle at 76% 14%, rgba(55, 94, 210, .14), transparent 34%),
        radial-gradient(circle at 16% 92%, rgba(74, 69, 168, .1), transparent 31%),
        rgba(255, 255, 255, .86);
}

.personal-hero h1 span {
    background: linear-gradient(135deg, var(--brand-mid), var(--brand-violet));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.personal-hero h1 span::after {
    background: linear-gradient(90deg, rgba(55, 94, 210, .22), rgba(74, 69, 168, .48));
}

.personal-board,
.developer-hero,
.case-outcome,
.page-home .callout-panel,
.contact-hero {
    color: #fff;
    border-color: rgba(255, 255, 255, .13);
    background: var(--brand-gradient-rich);
    box-shadow: 0 28px 72px rgba(22, 35, 73, .24);
}

.personal-board {
    background:
        radial-gradient(circle at 100% 0, rgba(84, 105, 226, .36), transparent 40%),
        var(--brand-gradient);
}

.developer-hero .eyebrow,
.contact-hero .eyebrow,
.page-home .callout-panel .eyebrow {
    color: #b8c8ff;
}

.page-home .callout-panel p,
.developer-hero__lead,
.contact-hero__content > p {
    color: rgba(238, 242, 255, .76);
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) {
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
    background: var(--brand-gradient-rich);
    box-shadow: 0 28px 72px rgba(22, 35, 73, .22);
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::before,
.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid)::after {
    border-color: rgba(255, 255, 255, .09);
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) .eyebrow {
    color: #b8c8ff;
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) .page-title {
    color: #fff;
}

.page-hero--compact > .container:not(.detail-hero__grid):not(.book-detail__grid) .page-summary {
    color: rgba(238, 242, 255, .76);
}

.portfolio-hero,
.portfolio-hero--ventures {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .1);
    background: var(--brand-gradient-rich);
}

.portfolio-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
}

.portfolio-hero::after,
.portfolio-hero--ventures::after {
    border-color: rgba(255, 255, 255, .09);
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .018), 0 0 0 10rem rgba(255, 255, 255, .012);
}

.portfolio-hero .portfolio-kicker,
.portfolio-hero--ventures .portfolio-kicker,
.portfolio-hero .vxp-breadcrumb a,
.portfolio-hero .vxp-breadcrumb li {
    color: #b8c8ff;
}

.portfolio-hero .vxp-breadcrumb li[aria-current="page"],
.portfolio-hero__copy h1 {
    color: #fff;
}

.portfolio-hero__copy > p {
    color: rgba(238, 242, 255, .76);
}

.portfolio-hero .portfolio-text-link {
    color: #fff;
}

.portfolio-hero .product-directory,
.portfolio-hero .venture-directory {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(10, 18, 45, .2);
}

.vxp-page-hero,
.tool-hero,
.vxp-hero {
    color: #fff;
    background: var(--brand-gradient-rich);
}

.vxp-page-hero h1,
.vxp-page-hero p,
.vxp-page-hero .vxp-metrics dt,
.vxp-page-hero .vxp-metrics dd,
.vxp-page-hero .vxp-breadcrumb a,
.vxp-page-hero .vxp-breadcrumb li {
    color: #fff;
}

.vxp-page-hero .eyebrow--light,
.vxp-page-hero .portfolio-kicker {
    color: #b8c8ff !important;
}

.vxp-page-hero .btn-ghost-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.legal-hero {
    color: #fff;
    background: var(--brand-gradient-rich);
}

.legal-hero .vxp-breadcrumb a,
.legal-hero .vxp-breadcrumb li,
.legal-hero .eyebrow {
    color: #b8c8ff;
}

.legal-hero h1 {
    color: #fff;
}

.legal-hero__grid > div > p {
    color: rgba(238, 242, 255, .76);
}

.legal-hero__index {
    color: #fff;
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 22px 52px rgba(10, 18, 45, .18);
    backdrop-filter: blur(14px);
}

.legal-hero__index span,
.legal-hero__index a {
    color: #b8c8ff;
}

.legal-hero__index strong {
    color: #fff;
}

.site-footer__shell {
    border-color: rgba(39, 61, 123, .16);
    background:
        radial-gradient(circle at 92% 6%, rgba(55, 94, 210, .1), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(74, 69, 168, .06), transparent 25%),
        #fff;
}

.mobile-dock__link.is-active {
    color: var(--brand-blue);
    background: #edf0ff;
}

.mobile-dock__link.is-active .mobile-dock__icon {
    color: var(--brand-blue);
}

/* Public scrolling performance: avoid repaint-heavy live blur effects. */
.site-header,
.site-header__bar,
.site-nav,
.mobile-dock,
.scroll-top,
.developer-profile-card,
.developer-code-card,
.contact-hero__note,
.legal-hero__index,
.vxp-float-card,
.vxp-hero__rail,
.lab-visual__badge,
.mobile-hero-visual__badge,
.signup-form,
.tool-stack {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.product-directory::before,
.venture-directory::before,
.brand-cloud__glow,
.hero-panel::before,
.hero-panel::after {
    filter: none !important;
}
