:root {
    color-scheme: dark;
    --body-bg: #040815;
    --body-bg-2: #081225;
    --surface: rgba(10, 19, 39, 0.82);
    --surface-strong: rgba(11, 23, 44, 0.94);
    --surface-muted: rgba(7, 14, 28, 0.78);
    --surface-line: rgba(114, 197, 255, 0.14);
    --text-strong: #f3f9ff;
    --text-main: #d1e0ed;
    --text-muted: #9ab0c2;
    --text-faint: #627a8e;
    --accent-primary: #18ebff;
    --accent-secondary: #4f89ff;
    --accent-mint: #7fffc6;
    --accent-deep: #05111f;
    --focus-ring: #ffd869;
    --nav-bg: rgba(4, 8, 21, 0.78);
    --shadow: 0 28px 90px rgba(0, 8, 20, 0.4);
    --glow: 0 0 0 1px rgba(24, 235, 255, 0.08), 0 28px 90px rgba(0, 8, 20, 0.45);
    --hero-gradient: linear-gradient(135deg, rgba(17, 34, 63, 0.92), rgba(7, 14, 28, 0.94));
    --section-gradient: linear-gradient(180deg, rgba(17, 32, 58, 0.42), rgba(8, 13, 24, 0.12));
    --grid-line: rgba(82, 163, 255, 0.08);
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Manrope", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
}

:root[data-theme="light"] {
    color-scheme: light;
    --body-bg: #f3f9ff;
    --body-bg-2: #e6f3ff;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: rgba(255, 255, 255, 0.98);
    --surface-muted: rgba(230, 241, 252, 0.86);
    --surface-line: rgba(32, 96, 155, 0.14);
    --text-strong: #08131f;
    --text-main: #193243;
    --text-muted: #4a6679;
    --text-faint: #6d8395;
    --accent-primary: #007eea;
    --accent-secondary: #0068ff;
    --accent-mint: #008f7b;
    --accent-deep: #f7fbff;
    --focus-ring: #9f4dff;
    --nav-bg: rgba(243, 249, 255, 0.82);
    --shadow: 0 24px 70px rgba(24, 68, 110, 0.12);
    --glow: 0 0 0 1px rgba(0, 126, 234, 0.08), 0 24px 70px rgba(24, 68, 110, 0.12);
    --hero-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 255, 0.96));
    --section-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(231, 243, 255, 0.2));
    --grid-line: rgba(32, 96, 155, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(24, 235, 255, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(79, 137, 255, 0.1), transparent 24%),
        linear-gradient(180deg, var(--body-bg), var(--body-bg-2));
    line-height: 1.7;
    transition: background-color 0.35s ease, color 0.35s ease;
    overflow-x: hidden !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: -2;
    overflow-x: hidden !important;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(24, 235, 255, 0.08), transparent 18%),
        radial-gradient(circle at 85% 80%, rgba(79, 137, 255, 0.08), transparent 18%);
    pointer-events: none;
    z-index: -1;
    overflow-x: hidden !important;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
}

a:hover {
    color: var(--accent-secondary);
}

img,
svg {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 1200;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--surface-line);
    color: var(--text-strong);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1100;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 18px rgba(24, 235, 255, 0.5);
}

/* .site-nav {
    padding-block: 0.85rem;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--surface-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
} */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    backdrop-filter: blur(12px); /* reduced for smoothness */

    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.navbar-brand.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-strong);
}

.brand-mark__orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 235, 255, 0.22), rgba(79, 137, 255, 0.22));
    border: 1px solid rgba(24, 235, 255, 0.26);
    box-shadow: inset 0 0 24px rgba(24, 235, 255, 0.12);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-strong);
}

.brand-mark__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mark__name {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0;
    padding-bottom: 4px;
}

.brand-mark__role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--text-faint);
}

@media (max-width: 991.98px) {
    .site-nav {
        padding-block: 0.75rem;
    }

    .navbar-brand.brand-mark {
        gap: 0.7rem;
    }

    .brand-mark__orb {
        width: 2.2rem;
        height: 2.2rem;
    }

    .brand-mark__name {
        font-size: 0.95rem;
    }

    .brand-mark__role {
        font-size: 0.64rem;
    }

    .navbar-toggler {
        margin-left: auto;
    }
}

.site-nav .nav-link {
    position: relative;
    padding-inline: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-current,
.site-nav .nav-link[aria-current="page"] {
    color: var(--text-strong);
}

.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.is-current::after,
.site-nav .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    background: transparent;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 3rem;
    height: 3rem;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: background 0.3s ease, transform 0.3s ease;
    touch-action: manipulation;
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: inline-flex;
    }
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
}

.navbar-toggler-icon {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.55rem;
    height: 1.4rem;
    background: transparent;
    border-radius: 999px;
    overflow: hidden;
}

.navbar-toggler-line {
    display: block;
    width: 100%;
    height: 0.16rem;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(1) {
    transform: translateY(0.62rem) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(3) {
    transform: translateY(-0.62rem) rotate(-45deg);
}

.theme-switch {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.45rem 0.7rem;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: 999px;
    color: var(--text-strong);
}

.theme-switch__track {
    position: relative;
    width: 3.2rem;
    height: 1.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(79, 137, 255, 0.35), rgba(24, 235, 255, 0.2));
    border: 1px solid rgba(24, 235, 255, 0.18);
}

.theme-switch__thumb {
    position: absolute;
    top: 0.16rem;
    left: 0.18rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--text-strong);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

:root[data-theme="light"] .theme-switch__thumb {
    transform: translateX(1.42rem);
}

.theme-switch__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

main {
    padding-top: 5.8rem;
}

.page-hero {
    position: relative;
    padding: 2.2rem 0 2.5rem;
    overflow: hidden;
}

.page-hero--compact {
    padding-bottom: 1.5rem;
}

.hero-shell,
.surface-card {
    position: relative;
    background: var(--hero-gradient);
    border: 1px solid var(--surface-line);
    border-radius: 1.8rem;
    box-shadow: var(--glow);
}

.hero-shell {
    padding: clamp(2rem, 4vw, 4rem);
    overflow: hidden;
}

.surface-card {
    background: var(--section-gradient), var(--surface);
    padding: 1.5rem;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.8;
}

.orb--cyan {
    width: 16rem;
    height: 16rem;
    top: 2rem;
    right: 12%;
    background: rgba(24, 235, 255, 0.16);
}

.orb--blue {
    width: 20rem;
    height: 20rem;
    bottom: -4rem;
    left: 8%;
    background: rgba(79, 137, 255, 0.12);
}

.orb--mint {
    width: 13rem;
    height: 13rem;
    top: 55%;
    right: 5%;
    background: rgba(127, 255, 198, 0.1);
}

.section-kicker,
.card-label,
.timeline-meta,
.footer-meta {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.display-headline,
.section-title,
.timeline-role,
.metric-title,
.preview-card h3,
.value-card h3,
.footer-name {
    margin: 0;
    font-family: var(--font-display);
    color: var(--text-strong);
    letter-spacing: -0.03em;
}

.display-headline {
    margin-top: 0.6rem;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    max-width: 22ch;
}

.intro-copy,
.section-copy,
.metric-copy,
.value-card p,
.preview-card p,
.tool-card p,
.impact-card p,
.footer-copy,
.contact-link {
    color: var(--text-muted);
}

.intro-copy {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    max-width: 44rem;
}

.hero-actions {
    margin-top: 1.8rem;
}

.btn-neon,
.btn-outline-signal {
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-neon {
    color: #03111d;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    box-shadow: 0 14px 34px rgba(24, 235, 255, 0.22);
}

.btn-neon:hover,
.btn-neon:focus {
    color: #03111d;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

.btn-outline-signal {
    color: var(--text-strong);
    background: transparent;
    border: 1px solid var(--surface-line);
}

.btn-outline-signal:hover,
.btn-outline-signal:focus {
    color: var(--text-strong);
    border-color: rgba(24, 235, 255, 0.34);
    background: rgba(24, 235, 255, 0.08);
}

.info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-pill,
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--surface-line);
    background: var(--surface-muted);
    color: var(--text-main);
    font-size: 0.92rem;
}

.chip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.signal-list,
.simple-list {
    margin: 0;
    padding-left: 1.1rem;
}

.signal-list li,
.simple-list li {
    color: var(--text-main);
}

.signal-list li + li,
.simple-list li + li {
    margin-top: 0.75rem;
}

.signal-list--compact li + li,
.simple-list--tight li + li {
    margin-top: 0.5rem;
}

.recruiter-card {
    min-height: 100%;
}

.section-shell {
    padding: 2.25rem 0 2.5rem;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-top: 0.45rem;
    max-width: 18ch;
}

.section-title--small {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    max-width: none;
}

.section-copy {
    max-width: 48rem;
    margin-top: 0.85rem;
}

.metric-card {
    min-height: 100%;
}

.metric-value {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--text-strong);
}

.metric-title {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.value-card h3,
.preview-card h3 {
    font-size: 1.35rem;
    margin: 0.55rem 0 0.8rem;
}

.quote-band {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.stacked-notes {
    display: grid;
    gap: 0.9rem;
}

.stack-note {
    padding: 1rem 1.2rem;
    border-radius: 1.1rem;
    background: var(--surface-muted);
    border: 1px solid var(--surface-line);
    color: var(--text-strong);
    font-weight: 700;
        transform: none;
.text-link,
.contact-link {
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.timeline-item {
    padding: clamp(1.2rem, 3vw, 1.6rem);
}

.timeline-role {
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
    font-size: 1.45rem;
}

.timeline-list {
    padding-left: 1.1rem;
    margin: 0;
}

.timeline-list li {
    color: var(--text-muted);
}

.timeline-list li + li {
    margin-top: 0.65rem;
}

.tool-card,
.impact-card,
.contact-card {
    min-height: 100%;
}

.contact-links {
    display: grid;
    gap: 0.8rem;
}

.contact-link {
    display: inline-flex;
    width: fit-content;
}

.cta-banner {
    padding: clamp(1.75rem, 3vw, 2.75rem);
}

.site-footer {
        padding: 2rem 0 2.25rem;
    }

    .site-footer .footer-shell {
        display: block;
    }

    .site-footer .footer-shell .footer-info,
    .site-footer .footer-shell .footer-links,
    .site-footer .footer-shell .footer-meta {
        min-width: 0;
    }

    .footer-name {
        font-size: 1.1rem;
    }

    .footer-copy {
        margin: 0.3rem 0 0;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .footer-links a {
        display: block;
        width: fit-content;
        color: var(--text-main);
    }

    .footer-meta {
        font-size: 0.95rem;
        color: var(--text-muted);
    }

.footer-links a:hover {
    color: var(--text-strong);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .theme-switch {
        margin-top: 0;
    }

    .site-footer .footer-shell .footer-links,
    .site-footer .footer-shell .footer-meta {
        padding-left: 1.5rem;
        border-left: 1px solid rgba(255,255,255,0.12);
    }

    .site-footer .footer-shell .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }

    .site-footer .footer-shell .footer-links a,
    .site-footer .footer-shell .footer-meta p {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .site-footer .footer-shell .footer-meta {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        margin-top: 0.75rem;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .site-nav .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        padding: 1.75rem 1.25rem 2rem;
        background: rgba(4, 8, 21, 0.96);
        backdrop-filter: blur(18px);
        border-radius: 0 0 1.5rem 1.5rem;
        box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
        z-index: 1050;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.32s ease, opacity 0.32s ease;
    }

    .site-nav .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav .navbar-nav {
        flex-direction: column;
        gap: 1.35rem;
        margin-top: 2rem;
    }

    .site-nav .nav-link {
        font-size: 1rem;
        letter-spacing: 0.14em;
        padding: 0.5rem 0;
    }
}
    .navbar-collapse {
        margin-top: 0.9rem;
        padding: 0.9rem;
        border-radius: 1.25rem;
        border: 1px solid var(--surface-line);
        background: var(--surface-strong);
    }

    .site-nav .nav-link::after {
        left: 0;
        right: auto;
        width: 2.2rem;
    }

    .sticky-shell {
        position: static;
    }
}

@media (max-width: 767.98px) {
    main {
        padding-top: 5.3rem;
    }

    .hero-shell,
    .surface-card {
        border-radius: 1.4rem;
    }

    .display-headline {
        max-width: none;
    }

    .section-title {
        max-width: none;
    }

    .info-pill,
    .chip {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Menu Button */
.collapse_navbar {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 3px;
  background-color: #b9b9b9;
  margin: 6px 6px;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 8px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -10px) rotate(45deg);
}
