* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #0b0915;
    --surface: #141122;
    --surface-light: #1b172c;
    --text: #f7f4ff;
    --muted: #aaa5bd;
    --line: rgba(224, 216, 255, .12);
    --purple: #b69cff;
    --blue: #7eb8ff;
    --pink: #ff91cf;
    --gradient: linear-gradient(115deg, var(--purple), var(--blue) 52%, var(--pink));
    --page-width: 1280px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 76% 12%, rgba(105, 73, 185, .16), transparent 32rem),
        radial-gradient(ellipse at 15% 65%, rgba(53, 105, 177, .1), transparent 36rem),
        var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(182, 156, 255, .35);
    color: var(--text);
}

a {
    color: inherit;
}

.orb {
    position: fixed;
    z-index: -1;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .2;
    pointer-events: none;
}

.orb-one {
    top: 3%;
    right: -6%;
    background: var(--pink);
}

.orb-two {
    bottom: 4%;
    left: -9%;
    background: var(--blue);
}

.navbar {
    position: sticky;
    z-index: 5;
    top: 0;
    display: flex;
    width: 100%;
    height: 82px;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(6vw, calc((100vw - var(--page-width)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(11, 9, 21, .78);
    backdrop-filter: blur(18px);
}

.brand {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    text-decoration: none;
}

.brand:first-letter {
    color: var(--pink);
}

nav {
    display: flex;
    gap: 38px;
}

nav a,
.text-btn {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

nav a:hover,
.text-btn:hover {
    color: var(--pink);
}

.nav-bn {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.nav-bn:hover {
    border-color: var(--purple);
    background: rgba(182, 156, 255, .1);
}

.hero {
    display: grid;
    width: min(100% - 12vw, var(--page-width));
    min-height: min(780px, calc(100vh - 82px));
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 5vw;
    margin: 0 auto;
    padding: 80px 0 100px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-kicker,
.mini-label,
.identity span,
.closing-meta p {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 16px rgba(255, 145, 207, .8);
}

h1,
h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    line-height: .99;
    letter-spacing: -.055em;
}

h1 {
    max-width: 780px;
    font-size: clamp(58px, 7.4vw, 100px);
}

h1 em,
h2 span {
    background: var(--gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 em {
    display: block;
    margin-top: 10px;
    font-size: .73em;
    font-style: normal;
    line-height: 1.08;
    letter-spacing: -.045em;
}

h1 sup {
    display: inline-block;
    margin-left: 10px;
    color: var(--pink);
    font-size: .25em;
    vertical-align: top;
}

.hero-text {
    max-width: 490px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
}

.primary-btn {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 0;
    border-radius: 99px;
    background: var(--gradient);
    color: #100c1c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(157, 123, 255, .24);
}

.photo-frame {
    position: relative;
    width: min(390px, 80vw);
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border: 1px solid rgba(206, 187, 255, .38);
    border-radius: 190px 190px 24px 24px;
    background: var(--surface);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .42), 0 0 65px rgba(126, 103, 204, .14);
}

.photo-frame::before {
    position: absolute;
    z-index: -1;
    inset: -13px 13px 13px -13px;
    border: 1px solid rgba(255, 145, 207, .4);
    border-radius: inherit;
    content: "";
}

.photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 28px;
    left: -52px;
    display: grid;
    min-width: 160px;
    gap: 1px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(20, 17, 34, .9);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
    backdrop-filter: blur(16px);
}

.mini-label {
    font-size: 8px;
}

.floating-card strong {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.year-badge {
    position: absolute;
    top: 22px;
    right: -29px;
    display: grid;
    width: 68px;
    height: 68px;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(20, 17, 34, .88);
    color: var(--muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
    backdrop-filter: blur(16px);
}

.year-badge b {
    color: var(--pink);
}

.stats {
    display: grid;
    width: min(100% - 12vw, var(--page-width));
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats > div {
    min-height: 90px;
    padding: 10px 24px;
    border-right: 1px solid var(--line);
}

.stats > div:first-child {
    padding-left: 0;
}

.stats > div:last-child {
    border-right: 0;
}

.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -.06em;
}

.stat-unit {
    color: var(--blue);
    font-size: 14px;
}

.stats p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.quote-stat > span {
    color: var(--pink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 38px;
    line-height: 1;
}

.quote-stat p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.section-pad {
    width: min(100% - 12vw, var(--page-width));
    margin: 0 auto;
    padding: 115px 0;
}

.section-kicker {
    color: var(--purple);
}

#about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 8vw;
    margin-top: 42px;
}

h2 {
    font-size: clamp(42px, 5.4vw, 68px);
}

.about-content {
    padding-top: 5px;
}

.about-content > p,
.section-heading > p,
.achievement-head > p {
    max-width: 500px;
    color: var(--muted);
    line-height: 1.9;
}

.identity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 22px;
    margin-top: 36px;
    padding-top: 27px;
    border-top: 1px solid var(--line);
}

.identity > div {
    display: grid;
    gap: 5px;
}

.identity span {
    font-size: 8px;
}

.identity strong {
    font-size: 12px;
    font-weight: 600;
}

.section-heading,
.achievement-head {
    display: grid;
    grid-template-columns: 1fr .65fr;
    align-items: end;
    gap: 5vw;
    margin: 40px 0 48px;
}

.section-heading > p,
.achievement-head > p {
    padding-bottom: 6px;
}

.timeline {
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr .45fr 2fr 32px;
    align-items: center;
    gap: 20px;
    padding: 25px 5px;
    border-bottom: 1px solid var(--line);
    transition: padding .25s ease, background .25s ease;
}

.timeline-item:hover {
    padding-right: 16px;
    padding-left: 16px;
    background: rgba(182, 156, 255, .045);
}

.timeline-year,
.timeline-desc {
    color: var(--muted);
    font-size: 12px;
}

.timeline-level {
    color: var(--blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.timeline-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.timeline-desc {
    display: block;
    margin-top: 3px;
}

.timeline-arrow,
.achievement-arrow {
    color: var(--purple);
    font-size: 18px;
    text-align: right;
}

.achievement-head {
    margin-bottom: 45px;
}

.achievement-list {
    border-top: 1px solid var(--line);
}

.achievement-item {
    display: grid;
    grid-template-columns: 55px 1fr 80px 28px;
    align-items: center;
    gap: 20px;
    padding: 24px 5px;
    border-bottom: 1px solid var(--line);
    transition: padding .25s ease, background .25s ease;
}

.achievement-item:hover {
    padding-right: 16px;
    padding-left: 16px;
    background: rgba(126, 184, 255, .045);
}

.achievement-index,
.achievement-detail {
    color: var(--muted);
    font-size: 11px;
}

.achievement-index {
    color: var(--pink);
    font-family: "Space Grotesk", sans-serif;
}

.achievement-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.achievement-year {
    color: var(--blue);
    font-size: 12px;
    text-align: right;
}

.closing {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 34px;
    margin-top: 35px;
    padding-top: 65px;
    padding-bottom: 75px;
    border-top: 1px solid var(--line);
}

.closing-mark {
    color: var(--pink);
    font-size: 40px;
}

.closing h2 {
    margin-top: 17px;
    font-size: clamp(38px, 4.5vw, 58px);
}

.closing-meta {
    align-self: end;
    padding-bottom: 5px;
    text-align: right;
}

.closing-meta p {
    margin-bottom: 6px;
    font-size: 8px;
}

.closing-meta strong {
    font-size: 12px;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 6vw;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

footer b {
    color: var(--text);
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 800px) {
    .navbar {
        height: 72px;
        padding: 0 6vw;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 58px;
        padding: 74px 0 80px;
    }

    .hero-copy {
        max-width: 620px;
    }

    h1 {
        font-size: clamp(56px, 11vw, 82px);
    }

    .hero-visual {
        width: 100%;
    }

    .photo-frame {
        width: min(340px, 74vw);
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stats > div {
        padding: 14px 18px;
        border-bottom: 1px solid var(--line);
    }

    .stats > div:nth-child(2) {
        border-right: 0;
    }

    .stats > div:nth-child(3),
    .stats > div:nth-child(4) {
        border-bottom: 0;
    }

    .stats > div:first-child {
        padding-left: 18px;
    }

    .section-pad {
        padding: 85px 0;
    }

    #about-grid,
    .section-heading,
    .achievement-head {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-heading,
    .achievement-head {
        margin: 30px 0 35px;
    }

    .closing {
        grid-template-columns: 45px 1fr;
        gap: 20px;
    }

    .closing-meta {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 14px;
    }

    .hero,
    .stats,
    .section-pad {
        width: min(100% - 10vw, var(--page-width));
    }

    .hero {
        padding-top: 60px;
    }

    h1 {
        font-size: clamp(48px, 13vw, 68px);
    }

    .hero-text {
        font-size: 13px;
    }

    .floating-card {
        left: -16px;
    }

    .year-badge {
        right: -14px;
    }

    .identity {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .timeline-item {
        grid-template-columns: 1fr auto 22px;
        gap: 8px 14px;
        padding: 20px 2px;
    }

    .timeline-level {
        text-align: right;
    }

    .timeline-item > div:nth-child(3) {
        grid-column: 1 / 3;
    }

    .timeline-arrow {
        grid-column: 3;
        grid-row: 1 / 3;
    }

    .achievement-item {
        grid-template-columns: 30px 1fr 42px 18px;
        gap: 10px;
        padding: 20px 2px;
    }

    .achievement-title {
        font-size: 14px;
    }

    .achievement-year {
        font-size: 10px;
    }

    footer {
        gap: 12px;
        padding: 18px 5vw;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
