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

:root {
--navy:    #0a1628;
--navy2:   #112240;
--teal:    #0d9488;
--teal-lt: #14b8a6;
--teal-bg: rgba(13,148,136,0.08);
--teal-bd: rgba(13,148,136,0.25);
--slate:   #8892a4;
--slate-lt:#a8b2c4;
--white:   #e8f0f7;
--off:     #ccd6e0;
--text:    #ccd6e0;
--card:    rgba(17,34,64,0.6);
--line:    rgba(136,146,164,0.18);
--mono:    'Space Mono', monospace;
--display: 'Space Grotesk', sans-serif;
--body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
background: var(--navy);
color: var(--text);
font-family: var(--body);
font-size: 15px;
line-height: 1.7;
-webkit-font-smoothing: antialiased;
}

/* ── CANVAS GRID BACKGROUND ── */
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
    linear-gradient(rgba(13,148,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,0.04) 1px, transparent 1px);
background-size: 60px 60px;
pointer-events: none;
z-index: 0;
}

/* ── NAV ── */
nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5vw;
height: 64px;
background: rgba(10,22,40,0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--line);
}

.nav-logo {
font-family: var(--mono);
font-size: 13px;
color: var(--teal);
letter-spacing: 0.05em;
}

.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}

.nav-links a {
font-family: var(--mono);
font-size: 12px;
color: var(--slate);
text-decoration: none;
letter-spacing: 0.08em;
transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal-lt); }

.nav-links a span {
color: var(--teal);
margin-right: 4px;
}

/* ── LAYOUT ── */
main {
position: relative;
z-index: 1;
max-width: 960px;
margin: 0 auto;
padding: 0 5vw;
}

section { padding: 80px 0; }

.section-label {
display: flex;
align-items: center;
gap: 1rem;
font-family: var(--mono);
font-size: 13px;
color: var(--teal);
letter-spacing: 0.1em;
margin-bottom: 2.5rem;
}

.section-label::after {
content: '';
flex: 1;
height: 1px;
background: var(--line);
max-width: 260px;
}

/* ── HERO ── */
#hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
padding-top: 80px;
}

.hero-tag {
font-family: var(--mono);
font-size: 13px;
color: var(--teal);
letter-spacing: 0.12em;
margin-bottom: 1.5rem;
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-name {
font-family: var(--display);
font-size: clamp(42px, 7vw, 80px);
font-weight: 700;
color: var(--white);
line-height: 1.05;
letter-spacing: -0.02em;
margin-bottom: 0.5rem;
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.35s;
}

.hero-title {
font-family: var(--display);
font-size: clamp(20px, 3.5vw, 36px);
font-weight: 400;
color: var(--slate);
line-height: 1.2;
margin-bottom: 2rem;
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.5s;
}

.hero-title em {
color: var(--teal-lt);
font-style: normal;
}

.hero-desc {
max-width: 560px;
color: var(--slate);
font-size: 15px;
line-height: 1.8;
margin-bottom: 2.5rem;
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.65s;
}

.hero-ctas {
display: flex;
gap: 1rem;
flex-wrap: wrap;
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.8s;
}

.btn-primary {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: transparent;
color: var(--teal-lt);
border: 1px solid var(--teal);
border-radius: 4px;
font-family: var(--mono);
font-size: 13px;
letter-spacing: 0.05em;
text-decoration: none;
transition: background 0.2s, color 0.2s;
cursor: pointer;
}

.btn-primary:hover {
background: var(--teal-bg);
}

.hero-location {
margin-top: 3.5rem;
display: flex;
gap: 2rem;
flex-wrap: wrap;
font-family: var(--mono);
font-size: 12px;
color: var(--slate);
opacity: 0;
animation: fadeUp 0.6s ease forwards 0.95s;
}

.hero-location span { color: var(--teal); margin-right: 6px; }

/* ── ABOUT ── */
.about-grid {
display: grid;
grid-template-columns: 3fr 2fr;
gap: 4rem;
align-items: start;
}

.about-text p {
color: var(--slate);
margin-bottom: 1.2rem;
line-height: 1.85;
}

.about-text p strong { color: var(--off); font-weight: 500; }

.about-facts {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.fact-card {
background: var(--card);
border: 1px solid var(--line);
border-left: 2px solid var(--teal);
border-radius: 6px;
padding: 1.2rem 1.4rem;
}

.fact-num {
font-family: var(--display);
font-size: 28px;
font-weight: 700;
color: var(--teal-lt);
line-height: 1;
margin-bottom: 4px;
}

.fact-label {
font-size: 12px;
color: var(--slate);
font-family: var(--mono);
letter-spacing: 0.06em;
}

/* ── PUBLICATIONS ── */
.pub-card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 8px;
padding: 1.8rem 2rem;
margin-bottom: 1.2rem;
transition: border-color 0.2s, transform 0.2s;
position: relative;
overflow: hidden;
}

.pub-card::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 3px; height: 100%;
background: var(--teal);
border-radius: 2px 0 0 2px;
}

.pub-card:hover {
border-color: var(--teal-bd);
transform: translateY(-2px);
}

.pub-role {
font-family: var(--mono);
font-size: 11px;
color: var(--teal);
letter-spacing: 0.12em;
margin-bottom: 0.6rem;
}

.pub-title {
font-family: var(--display);
font-size: 17px;
font-weight: 600;
color: var(--white);
line-height: 1.4;
margin-bottom: 0.6rem;
}

.pub-meta {
font-size: 13px;
color: var(--slate);
font-style: italic;
}

.pub-tags {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 1rem;
}

.tag {
font-family: var(--mono);
font-size: 11px;
color: var(--teal-lt);
background: var(--teal-bg);
border: 1px solid var(--teal-bd);
border-radius: 3px;
padding: 3px 10px;
letter-spacing: 0.05em;
}

/* ── EXPERIENCE ── */
.exp-item {
display: grid;
grid-template-columns: 1fr;
gap: 0;
position: relative;
padding-left: 2rem;
padding-bottom: 3rem;
}

.exp-item::before {
content: '';
position: absolute;
left: 0; top: 8px; bottom: 0;
width: 1px;
background: var(--line);
}

.exp-item::after {
content: '';
position: absolute;
left: -5px; top: 6px;
width: 11px; height: 11px;
border-radius: 50%;
background: var(--navy);
border: 2px solid var(--teal);
}

.exp-item:last-child { padding-bottom: 0; }
.exp-item:last-child::before { display: none; }

.exp-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 0.3rem;
}

.exp-role {
font-family: var(--display);
font-size: 17px;
font-weight: 600;
color: var(--white);
}

.exp-date {
font-family: var(--mono);
font-size: 12px;
color: var(--teal);
white-space: nowrap;
padding: 3px 10px;
background: var(--teal-bg);
border: 1px solid var(--teal-bd);
border-radius: 3px;
}

.exp-org {
font-size: 14px;
color: var(--teal-lt);
margin-bottom: 1rem;
}

.exp-bullets {
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
}

.exp-bullets li {
font-size: 14px;
color: var(--slate);
padding-left: 1.2rem;
position: relative;
line-height: 1.7;
}

.exp-bullets li::before {
content: '▹';
position: absolute;
left: 0;
color: var(--teal);
font-size: 12px;
top: 3px;
}

/* ── SKILLS ── */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.2rem;
}

.skill-group {
background: var(--card);
border: 1px solid var(--line);
border-radius: 8px;
padding: 1.4rem 1.6rem;
transition: border-color 0.2s;
}

.skill-group:hover { border-color: var(--teal-bd); }

.skill-group-title {
font-family: var(--mono);
font-size: 12px;
color: var(--teal);
letter-spacing: 0.1em;
margin-bottom: 1rem;
padding-bottom: 0.6rem;
border-bottom: 1px solid var(--line);
}

.skill-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
}

.skill-list li {
font-size: 13px;
color: var(--slate-lt);
padding-left: 1rem;
position: relative;
}

.skill-list li::before {
content: '▹';
position: absolute;
left: 0;
color: var(--teal);
font-size: 10px;
top: 3px;
}

/* ── RESEARCH ── */
.research-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.2rem;
}

.research-card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 8px;
padding: 1.6rem;
transition: border-color 0.2s, transform 0.2s;
}

.research-card:hover {
border-color: var(--teal-bd);
transform: translateY(-3px);
}

.research-year {
font-family: var(--mono);
font-size: 11px;
color: var(--teal);
letter-spacing: 0.1em;
margin-bottom: 0.6rem;
}

.research-title {
font-family: var(--display);
font-size: 15px;
font-weight: 600;
color: var(--white);
line-height: 1.4;
margin-bottom: 0.6rem;
}

.research-desc {
font-size: 13px;
color: var(--slate);
line-height: 1.7;
}

/* ── EDUCATION ── */
.edu-item {
background: var(--card);
border: 1px solid var(--line);
border-radius: 8px;
padding: 1.8rem 2rem;
margin-bottom: 1.2rem;
display: grid;
grid-template-columns: 1fr auto;
gap: 1rem;
align-items: start;
}

.edu-degree {
font-family: var(--display);
font-size: 17px;
font-weight: 600;
color: var(--white);
margin-bottom: 4px;
}

.edu-inst {
font-size: 14px;
color: var(--teal-lt);
margin-bottom: 0.8rem;
}

.edu-detail {
font-size: 13px;
color: var(--slate);
margin-bottom: 4px;
}

.edu-year {
font-family: var(--mono);
font-size: 13px;
color: var(--teal);
text-align: right;
white-space: nowrap;
}

/* ── CONTACT ── */
#contact {
text-align: center;
}

.contact-heading {
font-family: var(--display);
font-size: clamp(28px, 5vw, 48px);
font-weight: 700;
color: var(--white);
margin-bottom: 1rem;
}

.contact-sub {
color: var(--slate);
max-width: 480px;
margin: 0 auto 2.5rem;
line-height: 1.8;
}

.contact-links {
display: flex;
justify-content: center;
gap: 1.2rem;
flex-wrap: wrap;
}

/* ── REFS ── */
.ref-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.2rem;
}

.ref-card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 8px;
padding: 1.6rem;
}

.ref-name {
font-family: var(--display);
font-size: 16px;
font-weight: 600;
color: var(--white);
margin-bottom: 4px;
}

.ref-role {
font-size: 13px;
color: var(--teal-lt);
margin-bottom: 0.8rem;
line-height: 1.5;
}

.ref-email {
font-family: var(--mono);
font-size: 12px;
color: var(--slate);
}

.ref-rel {
font-size: 13px;
color: var(--slate);
margin-top: 0.5rem;
font-style: italic;
}

/* ── FOOTER ── */
footer {
position: relative;
z-index: 1;
text-align: center;
padding: 2rem 5vw;
border-top: 1px solid var(--line);
font-family: var(--mono);
font-size: 12px;
color: var(--slate);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to   { opacity: 1; transform: translateY(0); }
}

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

.reveal.visible {
opacity: 1;
transform: none;
}

/* ── MOBILE ── */
@media (max-width: 680px) {
.about-grid { grid-template-columns: 1fr; gap: 2rem; }
.edu-item { grid-template-columns: 1fr; }
.edu-year { text-align: left; }
.nav-links { display: none; }
.hero-ctas { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

#profile-image{
    width: 92px;
    border: 1px solid;
    border-radius: 80px;
    margin-top: 68px;
}