:root {
    color-scheme: dark;
    --bg: #0b0c10;
    --panel: #121419;
    --text: #f5f4f0;
    --muted: #9c9da6;
    --accent: #b6f36a;
    --line: rgba(255,255,255,.1);
    --display: "Space Grotesk", sans-serif;
    --body: "DM Sans", sans-serif;
    --content: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 85px; }

body {
    margin: 0;
    overflow-x: hidden;
    background: radial-gradient(ellipse at 80% 8%, rgba(119,142,73,.1), transparent 34rem), var(--bg);
    color: var(--text);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.content-width { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }

.resume-header {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    display: flex;
    width: min(var(--content), calc(100% - 64px));
    height: 82px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    transform: translateX(-50%);
    animation: fade-down .7s both;
}

.brand { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.08em; text-decoration: none; }
.brand span { color: var(--accent); }
.resume-header nav { display: flex; gap: clamp(18px, 3vw, 36px); align-items: center; }
.resume-header nav a,
.resume-footer > a:last-child { color: #c1c1c8; font-size: .79rem; text-decoration: none; transition: color .18s ease; }
.resume-header nav a:hover,
.resume-footer > a:last-child:hover { color: var(--accent); }
.resume-header nav span { margin-left: 5px; color: var(--accent); }

.resume-hero {
    position: relative;
    display: grid;
    overflow: clip;
    width: min(var(--content), calc(100% - 64px));
    min-height: min(670px, 92svh);
    align-items: center;
    grid-template-columns: 1.2fr .65fr;
    gap: 10%;
    margin-inline: auto;
    padding: 130px 0 90px;
}

.resume-content { position: relative; z-index: 1; animation: fade-up .75s .1s both; }
.eyebrow,
.section-label { display: flex; align-items: center; gap: 10px; color: #aeb0b7; font-size: .67rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px rgba(182,243,106,.7); animation: glow 2.4s ease-in-out infinite; }
.overline { margin: 36px 0 10px; color: #73757e; font-size: .65rem; font-weight: 600; letter-spacing: .16em; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: var(--display); }

h1 { margin-bottom: 20px; font-size: clamp(3.35rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.09em; line-height: .98; }
h1 em,
h2 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-description { max-width: 470px; margin-bottom: 26px; color: #a5a6af; font-size: .94rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 17px; padding: 0 17px; border-radius: 3px; font-size: .8rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: #11140c; }
.button-primary:hover { background: #d2ff9f; }
.text-link { color: #d8d8dd; font-size: .8rem; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.text-link span { margin-left: 7px; color: var(--accent); }

.progress-card {
    position: relative;
    z-index: 1;
    padding: 29px;
    border: 1px solid rgba(182,243,106,.26);
    background: linear-gradient(145deg, rgba(182,243,106,.065), transparent 68%), #121419;
    box-shadow: 0 24px 70px rgba(0,0,0,.2);
    animation: fade-up .75s .28s both;
}

.progress-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 31px; border: 1px solid rgba(182,243,106,.38); border-radius: 50%; color: var(--accent); font-size: 1.35rem; animation: gentle-float 5s ease-in-out infinite; }
.progress-label,
.progress-foot { display: block; color: #80828b; font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.progress-card > strong { display: block; margin-top: 9px; font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.05em; }
.progress-card p { margin: 10px 0 23px; color: #9a9ba4; font-size: .78rem; line-height: 1.75; }
.progress-rule { height: 2px; margin-bottom: 14px; background: rgba(255,255,255,.1); }
.progress-rule span { display: block; width: 31%; height: 100%; background: var(--accent); }
.progress-foot { font-size: .54rem; }

.hero-orbit { position: absolute; z-index: 0; border: 1px solid rgba(182,243,106,.11); border-radius: 50%; pointer-events: none; }
.orbit-a { top: 9%; right: 3%; width: 46%; height: 75%; transform: rotate(30deg); }
.orbit-b { top: 15%; right: -3%; width: 51%; height: 70%; transform: rotate(-35deg); }
.scroll-hint { position: absolute; bottom: 28px; left: 0; display: flex; align-items: center; gap: 10px; color: #81828a; font-size: .66rem; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.scroll-hint span { color: var(--accent); font-size: 1rem; animation: gentle-float 1.8s ease-in-out infinite; }

.resume-details { padding-top: 100px; padding-bottom: 125px; border-top: 1px solid var(--line); }
.section-label span { color: var(--accent); font-family: var(--display); }
.details-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 35px 0 38px; }
.details-heading h2,
.next-layout h2,
.connect-card h2 { margin: 0; font-size: clamp(2.7rem, 5.2vw, 4.65rem); font-weight: 600; letter-spacing: -.08em; line-height: 1.02; }
.section-description { max-width: 440px; margin: 14px 0 0; color: #92939c; font-size: .85rem; line-height: 1.75; }
.verified-note { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(182,243,106,.2); color: #a9d77c; font-size: .65rem; white-space: nowrap; }
.verified-note span { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: rgba(182,243,106,.12); }

.education-entry { max-width: 780px; margin-left: 5px; padding: 0 0 0 29px; border-left: 1px solid rgba(182,243,106,.43); }
.timeline-marker { display: block; width: 9px; height: 9px; margin-left: -34px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(182,243,106,.55); }
.entry-topline { display: flex; gap: 22px; margin: 5px 0 16px; color: #81828b; font-size: .57rem; font-weight: 700; letter-spacing: .12em; }
.entry-topline span:last-child { color: var(--accent); }
.education-entry h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 500; letter-spacing: -.05em; }
.entry-summary { margin-bottom: 24px; color: #9c9da6; font-size: .82rem; line-height: 1.7; }
.marks-grid { display: grid; max-width: 450px; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mark-card { display: grid; gap: 6px; padding: 17px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.mark-card > span:first-child { color: #888993; font-size: .59rem; font-weight: 700; letter-spacing: .12em; }
.mark-card strong { color: var(--accent); font-family: var(--display); font-size: 2rem; font-weight: 500; letter-spacing: -.07em; }
.mark-card strong small { margin-left: 2px; font-size: 1rem; }
.mark-card .mark-caption { color: #7e8089; font-size: .64rem; }

.coming-next { padding: 90px 0; border-block: 1px solid rgba(255,255,255,.08); background: #101115; }
.next-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 10%; }
.next-layout h2 { margin-top: 28px; }
.next-layout h2 em { font-size: .92em; }
.next-copy > p { max-width: 520px; margin-bottom: 20px; color: #a2a3ac; font-size: .86rem; line-height: 1.85; }
.email-link { color: var(--accent); font-size: .8rem; text-decoration: none; }
.email-link:hover { color: #d2ff9f; }
.email-link span { margin-left: 7px; }

.connect { padding-top: 110px; padding-bottom: 110px; }
.connect-card { position: relative; display: flex; min-height: 310px; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; padding: clamp(30px, 6vw, 65px); border: 1px solid rgba(182,243,106,.22); background: radial-gradient(ellipse at 90% 25%, rgba(182,243,106,.12), transparent 26rem), #121419; }
.connect-card h2 { margin-top: 25px; }
.connect-card h2 em { font-size: .94em; }
.connect-links { position: relative; z-index: 1; display: grid; min-width: 210px; gap: 0; }
.connect-links a { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #c7c7ce; font-size: .76rem; text-decoration: none; transition: color .18s ease; }
.connect-links a:hover { color: var(--accent); }
.connect-links a span { color: var(--accent); }
.connect-decoration { position: absolute; top: 50%; right: 30%; color: rgba(182,243,106,.09); font-size: 16rem; line-height: 1; transform: translateY(-50%); animation: slow-spin 38s linear infinite; }

.resume-footer { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.resume-footer p { margin: 0; color: #777983; font-size: .68rem; }

@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-down { from { opacity: 0; transform: translate(-50%,-10px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes glow { 50% { box-shadow: 0 0 19px rgba(182,243,106,.9); } }
@keyframes gentle-float { 50% { transform: translateY(-5px); } }
@keyframes slow-spin { to { transform: translateY(-50%) rotate(360deg); } }

@media (max-width: 700px) {
    html { scroll-padding-top: 70px; }
    .content-width,
    .resume-header,
    .resume-hero { width: calc(100% - 40px); }
    .resume-header { height: 70px; }
    .resume-header nav { gap: 14px; }
    .resume-header nav a { font-size: .7rem; }
    .brand { font-size: 1.3rem; }
    .resume-hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding-top: 125px; padding-bottom: 92px; }
    .overline { margin-top: 29px; }
    h1 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
    .hero-description { font-size: .87rem; }
    .progress-card { max-width: 420px; }
    .orbit-a { top: 1%; right: -9%; width: 70%; height: 54%; }
    .orbit-b { top: 4%; right: -17%; width: 80%; height: 53%; }
    .resume-details { padding-top: 82px; padding-bottom: 90px; }
    .details-heading { align-items: flex-start; flex-direction: column; margin: 28px 0; }
    .details-heading h2,
    .next-layout h2,
    .connect-card h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
    .verified-note { font-size: .6rem; }
    .education-entry { padding-left: 22px; }
    .timeline-marker { margin-left: -27px; }
    .education-entry h3 { font-size: 1.25rem; line-height: 1.35; }
    .marks-grid { gap: 8px; }
    .mark-card { padding: 13px; }
    .mark-card strong { font-size: 1.75rem; }
    .coming-next { padding: 78px 0; }
    .next-layout { grid-template-columns: 1fr; gap: 27px; }
    .connect { padding-block: 82px; }
    .connect-card { min-height: auto; align-items: flex-start; flex-direction: column; gap: 30px; padding: 30px 24px; }
    .connect-links { width: 100%; }
    .connect-decoration { top: 32%; right: -5%; font-size: 10rem; }
    .resume-footer { min-height: 76px; flex-wrap: wrap; padding-block: 17px; }
    .resume-footer p { display: none; }
    .resume-footer > a:last-child { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
