:root {
    --ink: #071917;
    --ink-soft: #14302d;
    --paper: #f4f0e8;
    --paper-strong: #fffdf8;
    --mist: #dfe9e5;
    --mint: #81efb4;
    --mint-bright: #b7ffd6;
    --blue: #4d79ff;
    --line-dark: rgba(244, 240, 232, .16);
    --line-light: rgba(7, 25, 23, .15);
    --display: "Manrope", sans-serif;
    --body: "DM Sans", sans-serif;
    --shell: min(1180px, calc(100% - 40px));
    --radius: 26px;
    --header-height: 82px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--mint);
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    height: var(--header-height);
    color: var(--paper-strong);
    background: rgba(7, 25, 23, .76);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: height .25s ease, border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    height: 70px;
    background: rgba(7, 25, 23, .94);
    border-bottom-color: var(--line-dark);
}

.header-shell {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(129, 239, 180, .55);
    border-radius: 50%;
    color: var(--mint);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-copy { display: grid; line-height: 1.15; }
.brand strong, .footer-brand strong { font-family: var(--display); font-size: 15px; letter-spacing: -.02em; }
.brand small, .footer-brand small { color: rgba(255, 255, 255, .55); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.main-navigation { display: flex; align-items: center; gap: 30px; }

.main-navigation a {
    position: relative;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.main-navigation a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    inset: auto 0 -7px;
    height: 1px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.main-navigation a:hover, .main-navigation a:focus-visible { color: #fff; }
.main-navigation a:hover::after, .main-navigation a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.main-navigation .nav-cta {
    padding: 10px 17px;
    color: var(--ink);
    background: var(--mint);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: #fff;
    background: transparent;
}

.menu-toggle > span:not(.sr-only) {
    width: 100%;
    height: 1px;
    display: block;
    margin: 5px 0;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--paper-strong);
    background: var(--ink);
    padding: calc(var(--header-height) + 90px) 0 42px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .06;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: 2%; top: 10%; background: radial-gradient(circle, rgba(77, 121, 255, .19), transparent 67%); }
.hero-glow-two { width: 430px; height: 430px; left: 24%; top: 34%; background: radial-gradient(circle, rgba(129, 239, 180, .09), transparent 70%); }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    color: var(--mint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow span { width: 26px; height: 1px; background: currentColor; }
.eyebrow-dark { color: #28785b; }

.hero h1, .section h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.055em;
}

.hero h1 { max-width: 820px; font-size: clamp(48px, 6.2vw, 86px); }
.hero h1 em, .section h2 em { color: var(--mint); font-family: Georgia, serif; font-weight: 400; }

.hero-lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: clamp(17px, 1.65vw, 21px);
    line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--mint); }
.button-primary:hover { background: var(--mint-bright); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: rgba(255,255,255,.45); }
.button-light { color: var(--ink); background: var(--paper-strong); }

.profile-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: 30px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255,255,255,.025));
    box-shadow: 0 35px 90px rgba(0, 0, 0, .26);
    backdrop-filter: blur(10px);
}

.profile-topline {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line-dark);
    color: rgba(255,255,255,.48);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.status-dot { color: var(--mint); }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(129,239,180,.08); }

.profile-monogram {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: transparent;
    font-family: var(--display);
    font-size: clamp(120px, 13vw, 180px);
    font-weight: 800;
    letter-spacing: -.21em;
    -webkit-text-stroke: 1px rgba(129, 239, 180, .46);
    transform: translateX(-.08em);
}

.profile-monogram span:last-child { color: rgba(77, 121, 255, .12); -webkit-text-stroke-color: rgba(77,121,255,.55); }
.profile-roles { border-top: 1px solid var(--line-dark); }
.profile-roles > div { display: grid; grid-template-columns: 32px 95px 1fr; gap: 10px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
.profile-roles > div:last-child { border-bottom: 0; }
.profile-roles span { color: var(--mint); font-size: 10px; }
.profile-roles strong { font-family: var(--display); font-size: 14px; }
.profile-roles small { color: rgba(255,255,255,.45); font-size: 11px; }

.hero-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 90px;
    border-top: 1px solid var(--line-dark);
}

.hero-proof > div { min-height: 98px; display: flex; flex-direction: column; justify-content: center; padding: 18px 25px; border-right: 1px solid var(--line-dark); }
.hero-proof > div:first-child { padding-left: 0; }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong { font-family: var(--display); font-size: 17px; }
.hero-proof span { color: rgba(255,255,255,.43); font-size: 11px; }

.section { padding: 120px 0; }
.section h2 { font-size: clamp(38px, 5vw, 67px); }
.section-heading { max-width: 690px; }
.intro { background: var(--paper); }
.split-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.intro-copy { padding-top: 50px; }
.intro-copy p { color: #52615f; }
.intro-copy .lead-paragraph { margin-top: 0; color: var(--ink); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.45; letter-spacing: -.025em; }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.principles span, .interest-list span { padding: 8px 13px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 11px; font-weight: 600; }

.trajectory { color: var(--paper-strong); background: var(--ink-soft); }
.heading-row { max-width: none; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 66px; }
.heading-row > div { max-width: 760px; }
.heading-row > p { max-width: 390px; margin: 0 0 8px; color: rgba(255,255,255,.5); font-size: 17px; }
.timeline { border-top: 1px solid var(--line-dark); }
.timeline-item { display: grid; grid-template-columns: 70px 1.3fr .7fr; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--line-dark); }
.timeline-index { color: var(--mint); font-family: var(--display); font-size: 12px; }
.timeline-type { margin: 0 0 8px; color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.timeline-main h3 { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.3vw, 31px); line-height: 1.2; letter-spacing: -.03em; }
.timeline-main > p:last-child { max-width: 660px; margin: 15px 0 0; color: rgba(255,255,255,.56); }
.timeline-details { margin: 5px 0 0; padding: 0; list-style: none; }
.timeline-details li { padding: 7px 0; color: rgba(255,255,255,.62); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.timeline-details li::before { content: "+"; margin-right: 8px; color: var(--mint); }

.konekt { color: #fff; background: #11181c; }
.konekt-hero { display: grid; grid-template-columns: 180px 1fr auto; gap: 38px; align-items: center; padding-bottom: 55px; border-bottom: 1px solid rgba(255,255,255,.13); }
.konekt-logo-wrap { overflow: hidden; border-radius: 28px; box-shadow: 0 25px 60px rgba(0,0,0,.4); }
.konekt-hero .eyebrow { margin-bottom: 12px; }
.konekt-hero h2 { color: var(--mint); font-size: clamp(50px, 6vw, 78px); }
.konekt-hero p:last-child { max-width: 620px; margin: 15px 0 0; color: rgba(255,255,255,.55); }
.konekt-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.13); }
.feature-card { min-height: 330px; padding: 40px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.feature-card:first-child { padding-left: 0; }
.feature-card:last-child { border-right: 0; }
.feature-number { color: #587a8a; font-family: var(--display); font-size: 11px; }
.feature-card h3 { margin: 85px 0 14px; font-family: var(--display); font-size: 20px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: rgba(255,255,255,.48); font-size: 13px; }
.project-note { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding-top: 35px; }
.project-note p { max-width: 600px; margin: 0; color: rgba(255,255,255,.58); font-size: 17px; }
.project-note a { color: var(--mint); font-size: 13px; font-weight: 700; text-decoration: none; }

.education { background: #e7e9df; }
.education-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 8vw, 110px); align-items: start; }
.education-sticky { position: sticky; top: calc(var(--header-height) + 30px); }
.education-sticky > p:last-child { max-width: 500px; margin-top: 28px; color: #53605e; }
.education-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 22px; padding-bottom: 5px; color: #28785b; border-bottom: 1px solid rgba(40,120,91,.38); font-size: 13px; font-weight: 700; text-decoration: none; }
.education-link:hover { border-bottom-color: #28785b; }
.education-list { border-top: 1px solid var(--line-light); }
.education-card { display: grid; grid-template-columns: 52px 1fr; gap: 25px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.education-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: #28785b; font-size: 20px; }
.education-card p:first-child { margin: 0 0 8px; color: #28785b; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.education-card h3 { margin: 0; font-family: var(--display); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.25; letter-spacing: -.035em; }
.education-card p:last-child { margin: 13px 0 0; color: #596563; font-size: 14px; }

.personal { background: var(--paper); }
.personal-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: clamp(35px, 6vw, 75px); overflow: hidden; color: #fff; background: var(--blue); border-radius: var(--radius); }
.personal-panel::after { content: "FN"; position: absolute; right: -35px; bottom: -105px; color: rgba(255,255,255,.07); font-family: var(--display); font-size: 300px; font-weight: 800; letter-spacing: -.15em; pointer-events: none; }
.personal-panel h2 { font-size: clamp(36px, 4.3vw, 58px); }
.personal-copy { padding-top: 35px; }
.personal-copy > p { margin-top: 0; color: rgba(255,255,255,.74); font-size: 17px; }
.interest-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.interest-list span { border-color: rgba(255,255,255,.26); }

.contact { color: var(--paper-strong); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(50px, 8vw, 110px); align-items: end; }
.contact h2 { max-width: 780px; }
.contact-action p { margin: 0 0 25px; color: rgba(255,255,255,.56); font-size: 17px; }
.contact-action small { display: block; margin-top: 22px; color: rgba(255,255,255,.34); font-size: 11px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { padding: 36px 0; color: #fff; background: #04110f; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.footer-brand div { display: grid; line-height: 1.2; }
.footer-grid > p { margin: 0; color: rgba(255,255,255,.38); text-align: center; font-size: 11px; }
.footer-meta { display: flex; justify-content: flex-end; gap: 20px; color: rgba(255,255,255,.38); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .08s; }
.delay-two { transition-delay: .16s; }
.delay-three { transition-delay: .24s; }

@media (max-width: 980px) {
    :root { --header-height: 72px; }
    .main-navigation { gap: 18px; }
    .main-navigation a { font-size: 12px; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .profile-card { max-width: 560px; }
    .hero-proof { grid-template-columns: repeat(2, 1fr); }
    .hero-proof > div:nth-child(2) { border-right: 0; }
    .hero-proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
    .split-intro, .education-grid { grid-template-columns: 1fr; }
    .intro-copy { padding-top: 0; }
    .education-sticky { position: static; }
    .konekt-hero { grid-template-columns: 125px 1fr; }
    .konekt-hero .button { grid-column: 2; justify-self: start; }
    .konekt-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card:nth-child(2) { border-right: 0; }
    .feature-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
    .feature-card:nth-child(3) { padding-left: 0; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --shell: min(100% - 28px, 1180px); --radius: 20px; }
    .site-header, .site-header.is-scrolled { height: var(--header-height); }
    .brand-copy small { display: none; }
    .menu-toggle { display: block; }
    .main-navigation {
        position: fixed;
        inset: var(--header-height) 0 auto;
        height: calc(100vh - var(--header-height));
        padding: 34px 24px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(7,25,23,.99);
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .3s ease, visibility .3s ease;
    }
    .main-navigation.is-open { visibility: visible; transform: translateX(0); }
    .main-navigation a { padding: 18px 4px; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-size: 21px; }
    .main-navigation .nav-cta { margin-top: 25px; padding: 14px 18px; text-align: center; }
    .menu-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .hero { padding-top: calc(var(--header-height) + 60px); }
    .hero h1 { font-size: clamp(43px, 13vw, 62px); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .profile-topline { flex-direction: column; }
    .profile-monogram { min-height: 190px; font-size: 125px; }
    .profile-roles > div { grid-template-columns: 28px 85px 1fr; }
    .hero-proof { margin-top: 55px; }
    .hero-proof > div { min-height: 90px; padding: 15px 12px; }
    .hero-proof > div:first-child { padding-left: 12px; }
    .hero-proof strong { font-size: 14px; }
    .hero-proof span { font-size: 10px; }

    .section { padding: 82px 0; }
    .section h2 { font-size: clamp(36px, 10.5vw, 50px); }
    .heading-row { grid-template-columns: 1fr; gap: 25px; margin-bottom: 45px; }
    .timeline-item { grid-template-columns: 36px 1fr; gap: 18px; }
    .timeline-details { grid-column: 2; }
    .konekt-hero { grid-template-columns: 78px 1fr; gap: 20px; }
    .konekt-logo-wrap { border-radius: 18px; }
    .konekt-hero h2 { font-size: 43px; }
    .konekt-hero p:last-child { font-size: 13px; }
    .konekt-grid { grid-template-columns: 1fr; }
    .feature-card, .feature-card:first-child, .feature-card:nth-child(3) { min-height: 0; padding: 32px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .feature-card h3 { margin-top: 30px; }
    .project-note { flex-direction: column; align-items: flex-start; }
    .project-note a { width: 100%; padding: 13px 16px; border: 1px solid rgba(129,239,180,.3); border-radius: 999px; text-align: center; }
    .education-card { grid-template-columns: 43px 1fr; gap: 15px; }
    .personal-panel { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
    .personal-copy { padding-top: 0; }
    .contact-buttons { flex-direction: column; }
    .contact-action .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > p { text-align: left; }
    .footer-meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
