/* Navigation and reusable hero components. */
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.brand-monogram { display: grid; width: 2rem; height: 2rem; place-items: center; color: #fff; font-size: 0.75rem; letter-spacing: -0.04em; background: var(--primary-color); border-radius: 0.45rem; }
.brand-name { font-size: 0.98rem; letter-spacing: -0.03em; }
.brand-name span { color: var(--primary-color); }

.navbar-toggler {
    padding: 0.45rem;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(9, 105, 218, 0.2); }

.nav-link {
    position: relative;
    padding: 0.65rem 0.8rem !important;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-link:hover, .nav-link.active { color: var(--primary-color); }

.nav-link.active::after {
    position: absolute;
    right: 0.8rem;
    bottom: 0.3rem;
    left: 0.8rem;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 99px;
}

.theme-toggle {
    display: inline-grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.45rem;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover { background: var(--surface-color); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow span { width: 1.8rem; height: 2px; background: currentColor; }

.hero h1 {
    max-width: 12ch;
    margin-bottom: 1.35rem;
    color: var(--secondary-color);
    font-size: clamp(2.45rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.hero-intro {
    max-width: 40rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-role { margin-bottom: 0.85rem; color: var(--text-primary); font-size: clamp(1.05rem, 1.9vw, 1.3rem); font-weight: 500; }
.hero-role strong { color: var(--primary-color); font-weight: 700; }
.hero-role a, .section-intro a, .fact-card strong a { color: var(--primary-color); text-decoration: none; }
.hero-role a:hover, .section-intro a:hover, .fact-card strong a:hover { text-decoration: underline; }
.hero-identity { max-width: 40rem; margin: -0.7rem 0 2rem; color: var(--text-secondary); font-size: 0.9rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.btn { font-weight: 600; }
.btn-lg { padding: 0.72rem 1.15rem; font-size: 0.95rem; }
.btn-primary { background: var(--primary-color); border-color: var(--primary-color); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-outline-primary { color: var(--primary-color); border-color: var(--border-color); }
.btn-outline-primary:hover, .btn-outline-primary:focus { color: var(--primary-color); background: #f3f8ff; border-color: var(--primary-color); }

.hero-socials { display: flex; align-items: center; gap: 0.8rem; color: var(--text-secondary); }
.hero-socials > span { margin-right: 0.2rem; font-size: 0.85rem; font-weight: 600; }
.hero-socials a { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid var(--border-color); border-radius: 50%; text-decoration: none; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.hero-socials a:hover { color: #fff; background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); }

.profile-card { position: relative; isolation: isolate; width: min(100%, 29rem); margin: 0; overflow: hidden; background: linear-gradient(145deg, #eef5ff, #dcecff); border: 1px solid #c9dcf8; border-radius: 1.25rem; box-shadow: var(--shadow-md); transform: translateZ(0); }
.profile-card__grid { position: absolute; inset: 0; opacity: 0.42; background-image: linear-gradient(#b9d3f4 1px, transparent 1px), linear-gradient(90deg, #b9d3f4 1px, transparent 1px); background-size: 2rem 2rem; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.profile-image { position: relative; z-index: 1; display: block; width: 100%; height: auto; min-height: 20rem; object-fit: contain; object-position: center; border-radius: inherit; }
.profile-card__status { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.7rem; color: #1f5c35; font-size: 0.72rem; font-weight: 700; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.98); border-radius: 999px; box-shadow: var(--shadow-sm); }
.profile-card__status span { width: 0.5rem; height: 0.5rem; background: var(--success-color); border-radius: 50%; }

/* About section */
.about-section { padding: 5rem 0; background: var(--surface-color); border-top: 1px solid var(--border-subtle); }
.section-title { max-width: 17ch; margin-bottom: 1.35rem; color: var(--secondary-color); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.section-intro { max-width: 42rem; margin-bottom: 2.25rem; color: var(--text-secondary); font-size: 1.05rem; }
.about-detail { display: grid; gap: 1.5rem; }
.about-detail section { padding-top: 1.35rem; border-top: 1px solid var(--border-color); }
.about-detail h3 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.8rem; color: var(--text-primary); font-size: 1rem; font-weight: 700; }
.about-detail h3 i { color: var(--primary-color); font-size: 1.1rem; }
.about-detail p { max-width: 41rem; margin: 0; color: var(--text-secondary); }
.strength-list { display: grid; gap: 0.7rem; padding: 0; margin: 0; color: var(--text-secondary); list-style: none; }
.strength-list li { position: relative; padding-left: 1.45rem; }
.strength-list li::before { position: absolute; top: 0.5rem; left: 0.2rem; width: 0.45rem; height: 0.45rem; content: ""; background: var(--primary-color); border-radius: 50%; }

.about-facts-column { display: flex; justify-content: center; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; width: 100%; max-width: 34rem; }
.fact-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 10.5rem; padding: 1.25rem; background: var(--background-color); border: 1px solid var(--border-color); border-radius: 0.85rem; box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.fact-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fact-card > i { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--primary-color); font-size: 1.2rem; background: #eaf3ff; border-radius: 0.55rem; }
.fact-card span { display: block; margin-bottom: 0.3rem; color: var(--text-secondary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.fact-card strong { color: var(--text-primary); font-size: 0.95rem; line-height: 1.4; }

/* Featured projects */
.projects-section { padding: 5rem 0; background: var(--background-color); }
.section-heading { max-width: 46rem; margin-bottom: 2.6rem; }
.section-heading .section-title { max-width: none; }
.section-heading .section-intro { margin-bottom: 0; }
.project-card { overflow: hidden; border: 1px solid var(--border-color); border-radius: 0.85rem; box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.project-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card .card-body { display: flex; flex-direction: column; padding: 1.35rem; }
.project-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.project-card__icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--primary-color); font-size: 1.2rem; background: #eaf3ff; border-radius: 0.55rem; }
.project-status { padding: 0.35rem 0.55rem; color: #1f5c35; font-size: 0.7rem; font-weight: 700; background: #eaf7ed; border: 1px solid #b5dfc2; }
.project-card .card-title { margin-bottom: 0.75rem; color: var(--text-primary); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.project-card .card-text { margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 0.9rem; }
.project-technologies { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.project-technologies span { padding: 0.25rem 0.45rem; color: var(--text-secondary); font-size: 0.72rem; font-weight: 600; background: var(--surface-color); border: 1px solid var(--border-subtle); border-radius: 0.35rem; }
.project-card .card-footer { padding: 0 1.35rem 1.35rem; background: var(--background-color); border: 0; }
.project-card .btn:disabled { color: var(--text-secondary); pointer-events: none; border-color: var(--border-color); opacity: 0.82; }
.project-card .btn i { margin-left: 0.25rem; }

/* Technical skills */
.skills-section { padding: 5rem 0; background: var(--surface-color); border-top: 1px solid var(--border-subtle); }
.skill-card { border: 1px solid var(--border-color); border-radius: 0.85rem; background: var(--background-color); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.skill-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.skill-card .card-body { display: flex; flex-direction: column; padding: 1.35rem; }
.skill-card__icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; margin-bottom: 1.25rem; color: var(--primary-color); font-size: 1.2rem; background: #eaf3ff; border-radius: 0.55rem; }
.skill-card .card-title { margin-bottom: 1rem; color: var(--text-primary); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.skill-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; align-content: flex-start; }
.skill-badges span { max-width: 100%; padding: 0.3rem 0.48rem; overflow-wrap: anywhere; color: var(--text-secondary); font-size: 0.72rem; font-weight: 600; line-height: 1.3; background: var(--surface-color); border: 1px solid var(--border-subtle); border-radius: 0.35rem; }

/* Certifications, ongoing learning, and languages */
.certifications-section { padding: 5rem 0; background: var(--background-color); border-top: 1px solid var(--border-subtle); }
.certification-card { border: 1px solid var(--border-color); border-radius: 0.85rem; background: var(--surface-color); box-shadow: var(--shadow-sm); }
.certification-card .card-body { padding: 1.35rem; }
.certification-card__heading { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.certification-card__heading i { display: grid; flex: 0 0 auto; width: 2.35rem; height: 2.35rem; place-items: center; color: var(--primary-color); font-size: 1.1rem; background: #eaf3ff; border-radius: 0.55rem; }
.certification-card__heading h3 { margin: 0; color: var(--text-primary); font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.certification-list { display: grid; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.certification-list li { position: relative; padding-left: 1rem; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.4; }
.certification-list li::before { position: absolute; top: 0.48rem; left: 0.1rem; width: 0.38rem; height: 0.38rem; content: ""; background: var(--primary-color); border-radius: 50%; }
.certification-list__note { color: var(--text-secondary); }
.certification-list span, .learning-card p span { display: inline-block; margin-left: 0.25rem; padding: 0.12rem 0.35rem; color: var(--primary-color); font-size: 0.68rem; font-weight: 700; background: #eaf3ff; border-radius: 0.3rem; vertical-align: middle; white-space: nowrap; }
.learning-section { padding: 0 0 2rem; background: var(--background-color); }
.learning-card { border: 1px solid #c9dcf8; border-radius: 0.85rem; background: linear-gradient(135deg, #eef5ff, #f8fbff); box-shadow: var(--shadow-sm); }
.learning-card .card-body { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; }
.learning-card .card-body > i { display: grid; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--primary-color); font-size: 1.15rem; background: #fff; border-radius: 0.55rem; }
.learning-card h2 { margin: 0 0 0.22rem; color: var(--text-primary); font-size: 1rem; font-weight: 700; }
.learning-card p { margin: 0; color: var(--text-secondary); font-size: 0.88rem; }
.languages-section { padding: 2rem 0 5rem; background: var(--background-color); }
.languages-section .section-heading { margin-bottom: 1.5rem; }
.languages-section .section-title { margin-bottom: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.language-card { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 1rem 1.15rem; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 0.75rem; box-shadow: var(--shadow-sm); }
.language-card__flag { flex: 0 0 auto; width: 2.75rem; height: auto; border: 1px solid var(--border-color); border-radius: 0.2rem; box-shadow: var(--shadow-sm); }
.language-card h3 { margin: 0 0 0.15rem; color: var(--text-primary); font-size: 0.95rem; font-weight: 700; }
.language-card p { margin: 0; color: var(--text-secondary); font-size: 0.8rem; }

/* Professional journey */
.journey-section { padding: 5rem 0; background: var(--background-color); }
.journey-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; margin-bottom: 3.5rem; }
.journey-stat { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem; border: 1px solid var(--border-color); border-radius: 0.8rem; background: var(--surface-color); box-shadow: var(--shadow-sm); }
.journey-stat i { margin-bottom: 0.35rem; color: var(--primary-color); font-size: 1.15rem; }
.journey-stat strong { color: var(--secondary-color); font-size: 1.7rem; line-height: 1; }
.journey-stat span { color: var(--text-secondary); font-size: 0.78rem; font-weight: 700; line-height: 1.35; }
.premium-timeline { position: relative; display: grid; gap: 1.35rem; max-width: 70rem; margin: 0 auto 4rem; padding: 0; }
.premium-timeline::before { position: absolute; z-index: 0; top: 1.75rem; bottom: 1.75rem; left: 50%; width: 2px; content: ""; background: linear-gradient(var(--border-color), #b9d3f4, var(--border-color)); transform: translateX(-50%); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 1fr 5rem 1fr; align-items: center; }
.timeline-entry--left .timeline-role-card { grid-column: 1; }
.timeline-entry--left .timeline-node { grid-column: 2; }
.timeline-entry--right .timeline-node { grid-column: 2; }
.timeline-entry--right .timeline-role-card { grid-column: 3; }
.timeline-node { position: relative; z-index: 1; display: grid; width: 1.2rem; height: 1.2rem; place-self: center; background: var(--background-color); border: 4px solid var(--primary-color); border-radius: 50%; box-shadow: 0 0 0 5px var(--surface-color); }
.timeline-role-card { border: 1px solid var(--border-color); border-radius: 0.9rem; box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.timeline-role-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.timeline-role-card--promotion { border-color: #b9d3f4; }
.timeline-role-card--current { border-color: #8cbcf0; background: linear-gradient(145deg, #fff, #f4f8ff); }
.timeline-role-card .card-body { padding: 1.35rem; }
.timeline-role-card__header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.timeline-role-card__header > div { min-width: 0; flex: 1; }
.company-monogram, .sdl-section__monogram { display: grid; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; place-items: center; color: var(--primary-color); font-size: 0.72rem; font-weight: 800; letter-spacing: -0.04em; background: #eaf3ff; border: 1px solid #c9dcf8; border-radius: 0.65rem; }
.timeline-role-card__header p { margin: 0 0 0.25rem; color: var(--primary-color); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.timeline-role-card__header p a, .sdl-section h3 a { color: inherit; text-decoration: none; }
.timeline-role-card h3 { margin: 0; color: var(--text-primary); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.timeline-role-card h3 span { color: var(--text-secondary); font-weight: 600; }
.timeline-date { margin: 0.28rem 0 0; color: var(--primary-color); font-size: 0.74rem; font-weight: 700; line-height: 1.35; }
.timeline-summary { margin: 0 0 1rem; color: var(--text-secondary); font-size: 0.88rem; }
.timeline-badges { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.timeline-badges span { padding: 0.25rem 0.43rem; color: var(--text-secondary); font-size: 0.68rem; font-weight: 600; background: var(--surface-color); border: 1px solid var(--border-subtle); border-radius: 0.35rem; }
.timeline-current { align-self: flex-start; padding: 0.34rem 0.52rem; color: #1f5c35; font-size: 0.68rem; font-weight: 700; background: #eaf7ed; border: 1px solid #b5dfc2; }
.timeline-promotion { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.35rem; width: fit-content; min-height: 3.25rem; padding: 0.35rem 1.25rem; margin-inline: auto; background: var(--background-color); }
.timeline-promotion__line { display: none; }
.timeline-promotion .badge { position: relative; padding: 0.42rem 0.7rem; color: var(--primary-color); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #eaf3ff; border: 1px solid #9cc4f4; border-radius: 999px; }
.timeline-promotion .badge i { font-size: 0.95rem; vertical-align: -0.08em; }
.timeline-promotion p { position: relative; margin: 0; color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; text-align: center; }
.journey-highlights { margin-bottom: 2.75rem; }
.journey-highlights__header { margin-bottom: 1.25rem; }
.journey-highlights__header h3 { margin-bottom: 0.35rem; color: var(--secondary-color); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; }
.journey-highlights__header p { margin: 0; color: var(--text-secondary); }
.highlight-card { display: flex; align-items: flex-start; gap: 0.7rem; padding: 1rem; border: 1px solid var(--border-color); border-radius: 0.7rem; background: var(--surface-color); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.highlight-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.highlight-card i { flex: 0 0 auto; color: var(--primary-color); font-size: 1rem; }
.highlight-card span { color: var(--text-primary); font-size: 0.82rem; font-weight: 700; line-height: 1.4; }
.sdl-section { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: flex-start; padding: 1.6rem; margin-bottom: 2.5rem; background: linear-gradient(135deg, #eef5ff, #f7fbff); border: 1px solid #c9dcf8; border-radius: 0.9rem; }
.sdl-section .eyebrow { margin-bottom: 0.55rem; }
.sdl-section h3 { margin-bottom: 0.65rem; color: var(--secondary-color); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; }
.sdl-section h3 a:hover { text-decoration: underline; }
.sdl-section p { max-width: 58rem; margin: 0 0 0.75rem; color: var(--text-secondary); }
.sdl-section__note { font-size: 0.86rem; font-weight: 600; }
.sdl-section .btn i { margin-left: 0.25rem; }
.philosophy-section { display: grid; gap: 1.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border-color); }
.philosophy-section .eyebrow { margin-bottom: 0.55rem; }
.philosophy-section h3 { max-width: 40rem; margin: 0; color: var(--secondary-color); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.philosophy-section ul { display: grid; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.philosophy-section li { position: relative; padding-left: 1.35rem; color: var(--text-secondary); }
.philosophy-section li::before { position: absolute; top: 0.5rem; left: 0.2rem; width: 0.43rem; height: 0.43rem; content: ""; background: var(--primary-color); border-radius: 50%; }

/* Engineering projects and innovation */
.innovation-section { padding: 5rem 0; background: var(--surface-color); border-top: 1px solid var(--border-subtle); }
.innovation-card { overflow: hidden; border: 1px solid var(--border-color); border-radius: 0.9rem; background: var(--background-color); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.innovation-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.innovation-card .card-body { display: flex; flex-direction: column; padding: 1.35rem; }
.innovation-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.innovation-card__icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--primary-color); font-size: 1.2rem; background: #eaf3ff; border-radius: 0.55rem; }
.innovation-status { padding: 0.35rem 0.55rem; color: #1f5c35; font-size: 0.7rem; font-weight: 700; background: #eaf7ed; border: 1px solid #b5dfc2; }
.innovation-status--planning { color: #695400; background: #fff8c5; border-color: #ead67b; }
.innovation-status--ongoing { color: #0d5d7a; background: #dff5ff; border-color: #9ed9f2; }
.innovation-card h3 { margin-bottom: 0.75rem; color: var(--text-primary); font-size: 1.1rem; font-weight: 700; }
.innovation-card p { margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 0.9rem; }
.innovation-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.innovation-badges span { padding: 0.25rem 0.45rem; color: var(--text-secondary); font-size: 0.7rem; font-weight: 600; background: var(--surface-color); border: 1px solid var(--border-subtle); border-radius: 0.35rem; }
.innovation-card .card-footer { padding: 0 1.35rem 1.35rem; background: var(--background-color); border: 0; }
.innovation-card .btn i { margin-left: 0.25rem; }
.innovation-card--featured { border-color: #b9d3f4; background: linear-gradient(135deg, #fff, #f4f8ff); }
.innovation-card--featured .card-body { padding: 1.5rem; }
.innovation-card--featured .innovation-badges { margin-bottom: 1.25rem; }
.generator-schematic { position: relative; min-height: 15rem; overflow: hidden; background: linear-gradient(145deg, #0f2742, #173b60); border: 1px solid #315b88; border-radius: 0.8rem; }
.generator-schematic::before, .generator-schematic::after { position: absolute; content: ""; background: rgba(145, 207, 255, 0.48); }
.generator-schematic::before { top: 50%; right: 13%; left: 13%; height: 2px; }
.generator-schematic::after { top: 17%; bottom: 17%; left: 50%; width: 2px; }
.generator-schematic__label { position: absolute; top: 1rem; left: 1rem; color: #dcecff; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.generator-schematic__node { position: absolute; z-index: 1; display: grid; min-width: 4.7rem; min-height: 2.5rem; place-items: center; padding: 0.35rem; color: #dcecff; font-size: 0.65rem; font-weight: 700; background: #21496f; border: 1px solid #5a8cba; border-radius: 0.4rem; }
.generator-schematic__node--primary { top: 34%; left: 8%; }
.generator-schematic__node--backup { bottom: 13%; left: 8%; }
.generator-schematic__node--ats { top: 43%; left: calc(50% - 2.35rem); color: #0f2742; background: #b8dcff; border-color: #dcecff; }
.generator-schematic__node--monitor { right: 8%; bottom: 13%; }
.currently-building { margin-top: 3.75rem; margin-bottom: 2.5rem; }
.building-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border-color); border-radius: 0.7rem; background: var(--background-color); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.building-card:hover { border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.building-card i { flex: 0 0 auto; color: var(--primary-color); font-size: 1.05rem; }
.building-card span { color: var(--text-primary); font-size: 0.84rem; font-weight: 700; }
.building-card a { color: inherit; text-decoration: none; }
.building-card a:hover { color: var(--primary-color); text-decoration: underline; }
.beyond-engineering { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.5rem; background: var(--background-color); border: 1px solid var(--border-color); border-radius: 0.9rem; }
.beyond-engineering__icon { display: grid; flex: 0 0 auto; width: 2.7rem; height: 2.7rem; place-items: center; color: var(--primary-color); font-size: 1.2rem; background: #eaf3ff; border-radius: 0.6rem; }
.beyond-engineering .eyebrow { margin-bottom: 0.55rem; }
.beyond-engineering h3 { margin-bottom: 0.6rem; color: var(--secondary-color); font-size: 1.15rem; font-weight: 700; }
.beyond-engineering p:last-child { max-width: 54rem; margin: 0; color: var(--text-secondary); }

/* Shared project-detail page framework. */
.detail-page { min-height: 100vh; background: var(--background-color); }
.detail-hero { padding: 7rem 0 4rem; background: linear-gradient(135deg, var(--background-color) 0%, var(--background-color) 62%, #f4f8ff 100%); }
.detail-hero .container { max-width: 72rem; }
.detail-hero .section-title { max-width: 20ch; margin-bottom: 1rem; }
.detail-hero .section-intro { max-width: 42rem; margin-bottom: 0; }
.detail-shell { max-width: 48rem; padding: 4rem 0; margin-inline: auto; }
.detail-shell .container { max-width: 48rem; }
.detail-shell .card { padding: 2rem; border: 1px solid var(--border-color); border-radius: 0.9rem; background: var(--surface-color); box-shadow: var(--shadow-sm); }
.detail-shell__icon { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.25rem; color: var(--primary-color); font-size: 1.35rem; background: #eaf3ff; border-radius: 0.7rem; }
.detail-shell h2 { margin-bottom: 0.75rem; color: var(--secondary-color); font-size: 1.4rem; font-weight: 800; }
.detail-shell p { color: var(--text-secondary); }
.detail-page .site-footer { margin-top: auto; }
.error-page .detail-shell .btn { display: inline-flex; align-items: center; min-height: 44px !important; }

/* Launch contact and footer. */
.nav-cv-link { white-space: nowrap; }
.nav-cv-link i, .hero-actions .btn i, .launch-cta__actions .btn i { margin-right: 0.3rem; }
.contact-section { padding: 5rem 0; background: var(--background-color); border-top: 1px solid var(--border-subtle); }
.contact-profile-card { border: 1px solid #c9dcf8; border-radius: 0.9rem; background: linear-gradient(145deg, #eef5ff, #f8fbff); box-shadow: var(--shadow-sm); }
.contact-profile-card .card-body { padding: 1.55rem; }
.contact-profile-card__icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; margin-bottom: 1.2rem; color: var(--primary-color); font-size: 1.25rem; background: #eaf3ff; border-radius: 0.65rem; }
.contact-profile-card h3 { max-width: 20rem; margin-bottom: 0.75rem; color: var(--secondary-color); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.contact-profile-card p { color: var(--text-secondary); }
.contact-profile-card .contact-location { display: flex; align-items: center; gap: 0.45rem; margin: 1.2rem 0 0; color: var(--text-primary); font-size: 0.88rem; font-weight: 700; }
.contact-location i { color: var(--primary-color); }
.contact-actions { display: grid; gap: 0.75rem; }
.contact-action { display: flex; align-items: center; gap: 0.9rem; min-height: 4.35rem; padding: 0.85rem 1rem; color: var(--text-primary); text-decoration: none; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 0.75rem; box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.contact-action:hover { color: var(--text-primary); border-color: #9cc4f4; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-action > i:first-child { display: grid; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; place-items: center; color: var(--primary-color); font-size: 1.05rem; background: #eaf3ff; border-radius: 0.5rem; }
.contact-action span { display: grid; gap: 0.1rem; }
.contact-action strong { font-size: 0.9rem; }
.contact-action small { color: var(--text-secondary); font-size: 0.75rem; }
.contact-action__arrow { margin-left: auto; color: var(--text-secondary); font-size: 0.9rem; }
.launch-cta { padding: 0 0 5rem; background: var(--background-color); }
.launch-cta__content { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 1.75rem; background: linear-gradient(135deg, #eef5ff, #f7fbff); border: 1px solid #c9dcf8; border-radius: 0.9rem; }
.launch-cta .eyebrow { margin-bottom: 0.55rem; }
.launch-cta h2 { max-width: 38rem; margin: 0 0 0.6rem; color: var(--secondary-color); font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.launch-cta p:last-child { max-width: 38rem; margin: 0; color: var(--text-secondary); }
.launch-cta__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.site-footer { padding: 3.5rem 0 1.25rem; color: #a8b3bf; background: #0d1117; }
.site-footer .navbar-brand { margin-bottom: 1rem; }
.site-footer .brand-name { color: #f0f6fc; }
.site-footer .brand-name span { color: #79c0ff; }
.site-footer > .container > .row > div > p { max-width: 28rem; margin: 0; font-size: 0.88rem; line-height: 1.65; }
.site-footer h2 { margin-bottom: 0.9rem; color: #f0f6fc; font-size: 0.84rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer a { color: #c6d0da; font-size: 0.88rem; text-decoration: none; }
.site-footer a:hover { color: #79c0ff; text-decoration: underline; }
.site-footer li i { width: 1.2rem; color: #79c0ff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0.45rem 1.25rem; justify-content: space-between; padding-top: 1.25rem; margin-top: 2.25rem; font-size: 0.78rem; border-top: 1px solid #30363d; }
.site-footer__bottom p { margin: 0; }
.reading-progress { position: fixed; z-index: 1040; top: var(--header-height); bottom: 0; left: 0; width: 3px; pointer-events: none; background: color-mix(in srgb, var(--primary-color) 14%, transparent); }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--primary-color); transform: scaleY(0); transform-origin: top; transition: transform 80ms linear; }
.back-to-top { position: fixed; z-index: 1040; right: 1.25rem; bottom: 1.25rem; display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border-radius: 50%; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(0.75rem); visibility: hidden; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }

@media (min-width: 768px) {
    .journey-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .philosophy-section { grid-template-columns: 1.2fr 1fr; align-items: end; }
}
