﻿﻿*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--gold:#C9A227;--gold-light:#E5C158;--gold-dark:#A67C00;--dark:#0A0A0A;--dark-2:#111111;--dark-3:#1A1A1A;--dark-4:#222222;--mid:#2A2A2A;--border:rgba(201,162,39,0.2);--text-muted:#9CA3AF;--text-light:#D1D5DB;--white:#FAFAF9;--serif:'Playfair Display','Georgia','Times New Roman',serif;--sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;--max-content-width: 1540px; --max-text-width: 800px;}
html{scroll-behavior:smooth;overflow-x:hidden}
body{background:var(--dark);color:var(--white);font-family:var(--sans);font-size:16px;line-height:1.7;overflow-x:hidden;width:100%;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
button,input,select,textarea,a{font:inherit}
img{max-width:100%;height:auto;display:block}
body.mobile-menu-open{overflow:hidden}
::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--dark)}::-webkit-scrollbar-thumb{background:var(--gold);border-radius:3px}


.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--dark);
  padding: 1rem;
  z-index: 2000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

nav{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:0 6%;height:80px;background:rgba(10,10,10,0.95);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);transition:all 0.3s ease}
nav.scrolled{height:65px;background:rgba(10,10,10,0.8);box-shadow:0 10px 30px rgba(0,0,0,0.3)}
.nav-logo{font-family:var(--serif);font-size:1.15rem;font-weight:700;color:var(--white);text-decoration:none;letter-spacing:0.03em;display:flex;flex-direction:column;line-height:1.3}
.nav-logo{flex-shrink: 1; max-width: 75%;}
.nav-logo span{font-size:0.65rem;font-family:var(--sans);font-weight:500;color:var(--gold);letter-spacing:0.16em;text-transform:uppercase}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-links a{color:var(--text-light);text-decoration:none;font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;font-weight:500;transition:all 0.3s ease;position:relative}
.nav-links a:hover{color:var(--gold)}.nav-links a.active{color:var(--gold)}.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--gold);transition:width 0.3s ease}.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-cta{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);border:1px solid var(--gold);color:var(--dark);font-family:var(--sans);font-size:0.7rem;letter-spacing:0.1em;text-transform:uppercase;padding:0.5rem 1.4rem;cursor:pointer;transition:all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);text-decoration:none;font-weight:600;border-radius:100px;display:inline-flex;align-items:center;gap:0.5rem;position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(201,162,39,0.2);margin-left:2.5rem}
.nav-cta:hover{background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 100%);transform:translateY(-2px) scale(1.01);box-shadow:0 6px 20px rgba(201,162,39,0.3)}
.nav-cta::after{content:'';position:absolute;top:-50%;left:-150%;width:50%;height:200%;background:rgba(255,255,255,0.3);transform:rotate(30deg);transition:none}
.nav-cta:hover::after{left:150%;transition:all 0.7s ease}
.nav-cta svg{width:14px;height:14px;transition:transform 0.3s ease}
.nav-cta:hover svg{transform:translate(2px, -2px)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:transparent;border:none;outline:none;z-index:1001}
.hamburger span{width:24px;height:2px;background:var(--white);transition:all 0.3s;transform-origin:center}
body.mobile-menu-open .hamburger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.mobile-menu-open .hamburger span:nth-child(2){opacity:0}
body.mobile-menu-open .hamburger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
#hero{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding:80px 0 0;position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,rgba(201,162,39,0.12) 0%,transparent 50%),radial-gradient(circle at 10% 90%,rgba(201,162,39,0.08) 0%,transparent 40%)}
.hero-grid-lines{position:absolute;inset:0;opacity:0.03;background-image:linear-gradient(var(--gold) 1px,transparent 1px),linear-gradient(90deg,var(--gold) 1px,transparent 1px);background-size:100px 100px}
.hero-content{position:relative;z-index:2;padding:4rem 6% 6rem 10%;animation:heroFadeIn 1s ease-out forwards;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.hero-tag{display:inline-flex;align-items:center;gap:0.8rem;font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:2rem;font-weight:700}
.hero-tag::before{content:'';width:30px;height:1px;background:var(--gold)}
.hero-name{font-family:var(--serif);font-size:clamp(2.8rem,5vw,4.8rem);font-weight:700;line-height:1.1;color:var(--white);margin-bottom:1.5rem;letter-spacing:-0.01em}
.hero-name em{color:var(--gold);font-style:italic;background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-tagline{font-size:1.15rem;color:var(--text-light);max-width:520px;line-height:1.7;margin-bottom:3rem;font-weight:300;opacity:0.9}
.hero-roles{display:flex;flex-wrap:wrap;gap:0.6rem;margin-bottom:3rem}
.hero-role{font-size:0.65rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold-light);border:1px solid rgba(201,162,39,0.2);padding:0.5rem 1.2rem;background:rgba(201,162,39,0.03);border-radius:100px;font-weight:500}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.btn-primary{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);color:var(--dark);font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;font-weight:600;padding:0.8rem 2rem;text-decoration:none;transition:all 0.3s ease;font-family:var(--sans);border:none;cursor:pointer;border-radius:4px}
.btn-primary:hover{background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 100%);transform:translateY(-2px);box-shadow:0 6px 20px rgba(201,162,39,0.3)}
.btn-secondary{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,0.3);font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;font-weight:500;padding:0.8rem 2rem;text-decoration:none;transition:all 0.3s ease;font-family:var(--sans);border-radius:4px}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold);background:rgba(201,162,39,0.08);transform:translateY(-2px)}
.hero-visual{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;padding-right:8%;animation:heroSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.hero-image-wrapper{width:85%;aspect-ratio:4/5;position:relative;z-index:1;border-radius:20px;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,0.5)}
.hero-image-wrapper::before{content:'';position:absolute;inset:-2px;border:1px solid rgba(201,162,39,0.3);border-radius:22px;pointer-events:none;z-index:2}
.hero-photo-img,
.about-img img,
.gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1)}
.about-img img { object-position: top; } /* Prioritize the top of the image (where the face is) */
.gallery-item{background:var(--dark-4);border:1px solid var(--border);overflow:hidden;cursor:pointer;position:relative;border-radius:12px;transition:all 0.4s ease}
.gallery-overlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 70%);display:flex;align-items:flex-end;padding:2rem;opacity:0;transition:all 0.4s ease;transform:translateY(10px)}
.gallery-item:hover .gallery-overlay{opacity:1;transform:translateY(0)}
.gallery-item:hover img{transform:scale(1.1)}
.gallery-item-label{color:var(--white);font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;font-weight:600;position:relative;padding-left:1.5rem}
.gallery-item-label::before{content:'';position:absolute;left:0;top:50%;width:12px;height:1px;background:var(--gold);transform:translateY(-50%)}
.hero-stat-bar{margin-top:5rem;display:flex;gap:3rem;z-index:5;background:rgba(26,26,26,0.6);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.05);padding:1.8rem 3rem;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,0.3);width:fit-content;position:relative;left:-2rem}
.hero-stat{text-align:center}
.hero-stat-num{font-family:var(--serif);font-size:2rem;color:var(--gold);font-weight:700;line-height:1;white-space:nowrap}
.hero-stat-label{font-size:0.62rem;color:var(--text-muted);letter-spacing:0.14em;text-transform:uppercase;margin-top:0.25rem;white-space:normal;line-height:1.2}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(80px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
section{padding:6rem 8% 6rem;scroll-margin-top:120px}
.section-tag{font-size:0.65rem;letter-spacing:0.24em;text-transform:uppercase;color:var(--gold);margin-bottom:1.8rem;display:block;font-weight:600;line-height:1.2}
.section-title{font-family:var(--serif);font-size:clamp(2rem,3.5vw,3.2rem);font-weight:600;color:var(--white);line-height:1.3;margin-bottom:1.5rem}
.section-sub{font-size:1rem;color:var(--text-muted);max-width:600px;line-height:1.85}
.divider{width:56px;height:3px;background:linear-gradient(90deg,var(--gold) 0%,var(--gold-light) 100%);margin:2.5rem 0 3.5rem;border-radius:2px}
#about{background:var(--dark-2);display:grid;grid-template-columns:1fr 1.15fr;gap:7rem;align-items:center;max-width:var(--max-content-width);margin:0 auto;}
.about-img{position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--dark-4);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem}
.about-img::after{content:'';position:absolute;bottom:-1px;right:-1px;width:60%;height:60%;border-right:3px solid var(--gold);border-bottom:3px solid var(--gold);pointer-events:none}
.about-bio{font-size:1rem;color:var(--text-light);line-height:1.95;margin-bottom:1.8rem}
.about-credentials{display:grid;grid-template-columns:1fr 1fr;gap:0.8rem;margin:2.5rem 0}
.credential{padding:1rem 1.2rem;border-left:3px solid var(--gold);background:rgba(201,162,39,0.06);font-size:0.82rem;color:var(--text-light);line-height:1.5;border-radius:0 4px 4px 0}
.credential strong{display:block;color:var(--white);font-size:0.8rem;margin-bottom:0.2rem}
#expertise{background:var(--dark)}
.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--border);margin-top:4rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.expertise-card{background:var(--dark);padding:3rem 2.5rem;transition:all 0.3s ease;cursor:default;display:flex;flex-direction:column}
.expertise-card:hover{background:var(--dark-3);transform:translateY(-4px)}
.expertise-icon{width:48px;height:48px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center}
.expertise-icon svg{width:100%;height:100%;stroke:var(--gold);fill:none;stroke-width:1.3}
.expertise-num{font-family:var(--serif);font-size:2.5rem;color:rgba(201,162,39,0.15);font-weight:700;line-height:1;margin-bottom:1rem}
.expertise-title{font-family:var(--serif);font-size:1.2rem;color:var(--white);margin-bottom:1rem;font-weight:600}
.expertise-desc{font-size:0.85rem;color:var(--text-muted);line-height:1.8}
#career{background:var(--dark-2);display:grid;grid-template-columns:1fr 2.2fr;gap:6rem;align-items:start}
@media(max-width:1300px){#career{gap:3rem}}
.career-intro{position:sticky;top:120px;max-width:var(--max-text-width);}
.timeline{display:flex;flex-direction:column}
.timeline-item{display:grid;grid-template-columns:100px 1fr;gap:2.5rem;padding:2.5rem 0;border-bottom:1px solid rgba(255,255,255,0.06);transition:all 0.6s ease}
.timeline-item:last-child{border-bottom:none}
.timeline-year{font-family:var(--serif);font-size:0.9rem;color:var(--gold);font-weight:600;padding-top:0.4rem;text-align:right;letter-spacing:0.04em}
.timeline-org{font-size:0.7rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--gold);margin-bottom:0.5rem;font-weight:600}
.timeline-role{font-family:var(--serif);font-size:1.15rem;color:var(--white);font-weight:600;margin-bottom:0.7rem}
.timeline-desc{font-size:0.9rem;color:var(--text-muted);line-height:1.75}
#qualifications{background:var(--dark)}
.qualifications-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:3.5rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.qualifications-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:2px;background:var(--border)}
@media(min-width:681px) and (max-width:1024px){.qualifications-grid{grid-template-columns:1fr 1fr}.qualification-card.featured{grid-row:auto}}
.qualification-card{background:var(--dark);padding:3rem 2.5rem;cursor:default;transition:all 0.3s ease}
.qualification-card:hover{background:var(--dark-3);transform:translateY(-2px)}
.qualification-card.featured{grid-row:span 2}
.qualification-category{font-size:0.65rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--gold);margin-bottom:1.2rem;font-weight:600}
.qualification-title{font-family:var(--serif);font-size:1.15rem;color:var(--white);font-weight:600;line-height:1.45;margin-bottom:1rem}
.qualification-card.featured .qualification-title{font-size:1.65rem}
.qualification-description{font-size:0.88rem;color:var(--text-muted);line-height:1.75;margin-bottom:1.8rem}
.qualification-tags{display:flex;gap:1.5rem;font-size:0.7rem;color:var(--text-muted);letter-spacing:0.08em}
#quote { background: var(--dark); padding: 0; overflow: hidden; }
.quote-wrapper { display: flex; align-items: stretch; min-height: 500px; max-width:var(--max-content-width); margin:0 auto;}
.quote-img { flex: 1; position: relative; min-height: 400px; }
.quote-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-body { flex: 1.2; padding: 6rem 8%; background: var(--dark-2); display: flex; flex-direction: column; justify-content: center; position: relative; border-left: 1px solid var(--border); }
.quote-icon { width: 48px; height: 48px; color: var(--gold); margin-bottom: 2rem; opacity: 0.6; }
.quote-statement { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--white); font-weight: 600; line-height: 1.4; margin-bottom: 2.5rem; font-style: italic; }
.quote-signature { display: flex; flex-direction: column; gap: 0.3rem; border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.quote-name { font-size: 1rem; color: var(--white); font-weight: 600; letter-spacing: 0.05em; }
.quote-title { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em; }

@media(max-width: 900px) {
  .quote-wrapper { flex-direction: column; }
  .quote-img { min-height: 400px; order: 2; }
  .quote-body { order: 1; padding: 5rem 10%; }
}

.research-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(min(100%, 380px), 1fr));gap:2.5rem;margin-top:4rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.research-item{background:var(--dark-3);padding:2.5rem;transition:all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);border:1px solid rgba(255,255,255,0.05);border-radius:12px;display:flex;flex-direction:column;height:100%}
.research-item:hover{background:var(--dark-4);transform:translateY(-8px);border-color:var(--gold);box-shadow:0 12px 40px rgba(0,0,0,0.4)}
.research-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}
.research-year{font-size:0.75rem;color:var(--gold);letter-spacing:0.15em;font-weight:700;padding:0.3rem 0.8rem;background:rgba(201,162,39,0.1);border-radius:4px}
.research-icon{color:rgba(255,255,255,0.2);width:18px;height:18px;transition:color 0.3s ease}
.research-item:hover .research-icon{color:var(--gold)}
.research-title{font-family:var(--serif);font-size:clamp(1.05rem, 4vw, 1.15rem);color:var(--white);font-weight:600;margin-bottom:1rem;line-height:1.4;flex-grow:1;overflow-wrap:break-word}
.research-journal{font-size:0.85rem;color:var(--text-light);font-style:italic;margin-bottom:0.5rem;display:block;overflow-wrap:break-word}
.research-authors{font-size:0.8rem;color:var(--text-muted);margin-bottom:1.5rem;display:block;overflow-wrap:break-word}
.research-tags{display:flex;gap:0.5rem;flex-wrap:wrap;margin-top:0.8rem}
.research-tag{font-size:0.65rem;letter-spacing:0.08em;text-transform:uppercase;border:1px solid var(--border);color:var(--text-muted);padding:0.3rem 0.75rem;border-radius:3px}
.research-footer {margin-top:auto;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,0.05);display:flex;align-items:center;gap:0.8rem;flex-wrap:wrap}
.research-link {font-size:0.7rem;color:var(--gold);text-decoration:none;font-weight:600;display:flex;align-items:center;gap:0.4rem;transition:all 0.3s ease;letter-spacing:0.05em;text-transform:uppercase}
.research-link:hover {color:var(--gold-light);transform:translateX(3px)}
.research-link svg {width:14px;height:14px;stroke-width:2.5;flex-shrink:0}
.share-text {font-size:0.65rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.1em;margin-left:auto}
.share-btn {background:transparent;border:1px solid var(--border);color:var(--text-muted);width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease}
.share-btn:hover {border-color:var(--gold);color:var(--gold);background:rgba(201,162,39,0.05);transform:translateY(-2px)}
.share-btn svg {width:14px;height:14px}
#gallery{background:var(--dark)}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(min(100%, 320px), 1fr));grid-auto-rows:280px;grid-auto-flow:dense;gap:1.5rem;margin-top:4rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.gallery-item.large{grid-column:span 2;grid-row:span 2}
.gallery-item{min-height:100%}
.gallery-item:hover{border-color:var(--gold);box-shadow:0 15px 35px rgba(0,0,0,0.5)}
#affiliations{background:var(--dark);padding:3rem 8%;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.affil-label{text-align:center;font-size:0.65rem;letter-spacing:0.22em;text-transform:uppercase;color:var(--text-muted);margin-bottom:3rem;font-weight:600}
.affil-list{display:flex;flex-wrap:wrap;justify-content:center;gap:2rem}
.section-heading-group{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:3rem;gap:2rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.affil-item{font-size:0.75rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--text-muted);border:1px solid rgba(255,255,255,0.08);padding:0.7rem 1.4rem;transition:all 0.3s ease;border-radius:4px;text-align:center;white-space:normal;line-height:1.4}
.affil-item:hover{color:var(--gold);border-color:var(--gold);background:rgba(201,162,39,0.08);transform:translateY(-2px)}
#newsletter{background:var(--dark-2);padding:5rem 8%;text-align:center}
.newsletter-inner{max-width:540px;margin:0 auto}
.newsletter-form{display:flex;gap:0;margin-top:2.5rem;max-width:440px;margin-left:auto;margin-right:auto;flex-wrap:wrap}
.newsletter-form input{flex:1;background:var(--dark-4);border:1px solid var(--border);border-right:none;color:var(--white);font-family:var(--sans);font-size:0.9rem;padding:1rem 1.4rem;outline:none;border-radius:4px 0 0 4px}
.newsletter-form input::placeholder{color:var(--text-muted)}
.newsletter-form button{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);color:var(--dark);border:none;font-family:var(--sans);font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;font-weight:600;padding:0.85rem 1.8rem;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;border-radius:0 4px 4px 0}
.newsletter-form button:hover{background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 100%);transform:translateY(-1px)}
.newsletter-note{font-size:0.72rem;color:var(--text-muted);margin-top:1rem}
#contact{background:var(--dark);display:grid;grid-template-columns:1fr 1.2fr;gap:5rem;align-items:start}
.contact-info-item{display:flex;gap:1.2rem;align-items:flex-start;margin-bottom:2rem}
.contact-icon{width:44px;height:44px;flex-shrink:0;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all 0.3s ease}
.contact-icon svg{width:20px;height:20px;stroke:var(--gold);fill:none;stroke-width:1.3}
.contact-label{font-size:0.62rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.3rem}
.contact-val{font-size:0.9rem;color:var(--white)}
.contact-val a{color:inherit;text-decoration:none;transition:color 0.3s ease}
.contact-val a:hover{color:var(--gold)}
.contact-val a .inline-icon {
  width: 16px; /* Adjust size as needed */
  height: 16px; /* Adjust size as needed */
  margin-right: 0.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}
.social-links{display:flex;gap:0.8rem;margin-top:2.5rem}
.social-link{width:44px;height:44px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;text-decoration:none;transition:all 0.3s ease;border-radius:8px}
.social-link:hover{border-color:var(--gold);background:rgba(201,162,39,0.1);transform:translateY(-2px)}
.social-link svg{width:18px;height:18px;stroke:var(--text-light);fill:none;stroke-width:1.3}
.contact-form{display:flex;flex-direction:column;gap:1rem}
.contact-form .form-group-row{display:flex;flex-direction:column;gap:1rem;max-width:100%}
.contact-form input,.contact-form textarea,.contact-form select{background:var(--dark-4);border:1px solid var(--border);color:var(--white);font-family:var(--sans);font-size:0.9rem;padding:1rem 1.4rem;outline:none;width:100%;resize:vertical;transition:all 0.3s ease;border-radius:6px}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,0.1)}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--text-muted)}
.contact-form select option{background:var(--dark-4);color:var(--white)}
.contact-form button{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);color:var(--dark);border:none;font-family:var(--sans);font-size:0.78rem;letter-spacing:0.14em;text-transform:uppercase;font-weight:600;padding:0.9rem 2.2rem;cursor:pointer;width:fit-content;transition:all 0.3s ease;border-radius:6px}
.contact-form button:hover{background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 100%);transform:translateY(-2px);box-shadow:0 6px 20px rgba(201,162,39,0.3)}

.contact-form button.loading { color: transparent !important; pointer-events: none; position: relative; }
.contact-form button.loading::after { content: ""; position: absolute; width: 18px; height: 18px; top: 50%; left: 50%; margin: -9px 0 0 -9px; border: 2px solid rgba(10, 10, 10, 0.2); border-radius: 50%; border-top-color: var(--dark); animation: btn-spin 0.6s linear infinite; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.2s ease-in-out 0s 2;
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

footer{background:var(--dark-2);border-top:1px solid var(--border);padding:4rem 8% 2rem}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem;border-bottom:1px solid var(--border);max-width:var(--max-content-width);margin-left:auto;margin-right:auto;}
.footer-brand-name{font-family:var(--serif);font-size:1.3rem;color:var(--white);font-weight:700;margin-bottom:0.4rem}
.footer-brand-title{font-size:0.68rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--gold);margin-bottom:1.2rem;font-weight:600}
.footer-brand-desc{font-size:0.88rem;color:var(--text-muted);line-height:1.75}
.footer-col-title{font-size:0.68rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--white);margin-bottom:1.4rem;font-weight:600}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:0.6rem}
.footer-links a{font-size:0.88rem;color:var(--text-muted);text-decoration:none;transition:all 0.3s ease}
.footer-links a:hover{color:var(--gold);transform:translateX(4px)}
.footer-bottom{padding-top:2rem;display:flex;justify-content:space-between;align-items:center;font-size:0.72rem;color:var(--text-muted)}
.mobile-menu{display:flex;position:fixed;inset:0;z-index:1002;background:var(--dark);padding:120px 10% 4rem;flex-direction:column;gap:1.2rem;transform:translateY(-100%);transition:transform 0.5s cubic-bezier(0.19,1,0.22,1),opacity 0.3s ease;opacity:0;visibility:hidden;overflow-y:auto;width:100%;} /* Increased z-index to ensure it's above the navbar */
.mobile-menu.open{transform:translateY(0);opacity:1;visibility:visible}
.mobile-menu a{font-family:var(--serif);font-size:1.75rem;color:var(--white);text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.05);padding-bottom:0.8rem;transition:all 0.3s ease}
.mobile-menu a:hover{color:var(--gold)}
.mobile-cta{margin-top:2rem;background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);color:var(--dark);text-decoration:none;font-weight:600;font-size:1rem;padding:1.1rem 2.2rem;border-radius:100px;display:inline-flex;align-items:center;justify-content:center;gap:0.8rem;text-transform:uppercase;letter-spacing:0.1em;width:fit-content;box-shadow:0 10px 20px rgba(0,0,0,0.2)}
.mobile-cta svg{width:18px;height:18px}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; /* Position from the top */
  right: 6%; /* Position from the right, matching menu padding */
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 5px;
  z-index: 1003; /* Ensure it's above menu content */
}
.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.mobile-menu-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

@media(max-width:1024px){
  .nav-links,.nav-cta{display:none}
  .hamburger{display:flex}
  #hero{grid-template-columns:1fr;min-height:auto}
  .hero-content{padding:6rem 6% 3rem}
  .hero-visual{display:flex;align-items:center;justify-content:center;height:auto;min-height:auto;padding:0 6% 2rem}
  .hero-image-wrapper{aspect-ratio: 3/4; min-height: auto; width: 90%;}
  .hero-photo-img{object-position: center top;}
  .hero-stat-bar{position:static;margin-top:2rem;width:100%;justify-content:space-between;flex-wrap:wrap;padding:1.5rem 1rem;left:auto}
  .hero-stat{flex:1 1 120px}
  .hero-stat-bar .hero-stat-label{font-size:0.7rem}
  .hero-stat-bar .hero-stat-num{font-size:1.85rem}
  #about{grid-template-columns:1fr;gap:3rem; padding-top: 4rem;}
  .about-img{aspect-ratio:3/4;max-height:none} /* Allow natural height to prevent head-cropping */
  .about-img img{object-position: center top;} /* Ensure alignment starts from the top edge */
  #career{grid-template-columns:1fr;gap:2rem}
  .career-intro{position:static}
  .expertise-grid{grid-template-columns:1fr 1fr}
  .qualifications-grid{grid-template-columns:1fr}
  .qualification-card.featured{grid-row:auto}
  .research-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:240px}
  .gallery-item.large{grid-column:auto;grid-row:auto}
  #contact{grid-template-columns:1fr}
  .contact-info-item{flex-direction: column; gap: 0.5rem;}
  .footer-top{grid-template-columns:1fr 1fr;gap:2rem}
}

@media(min-width: 1600px) { /* New media query for ultra-wide monitors */
  #hero {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-content {
    padding-left: 0; /* Remove percentage padding when max-width is applied */
    padding-right: 0;
  }
  .hero-visual {
    padding-right: 0; /* Remove percentage padding when max-width is applied */
  }
  #about {
    gap: 4rem; /* Reduce large gap on ultra-wide screens */
  }
  #career {
    gap: 4rem; /* Reduce large gap on ultra-wide screens */
  }
  .expertise-grid,
  .qualifications-grid,
  .research-grid,
  .gallery-grid,
  .section-heading-group,
  .affil-list,
  .contact-form,
  .footer-top {
    padding-left: 0;
    padding-right: 0;
  }
}

@media(max-width:680px){
  .research-item, .qualification-card, .expertise-card { padding: 1.8rem 1.25rem; }
  .research-title { font-size: 1.15rem; }
  
  section{padding:60px 5% 4rem}
  .hero-content{padding:6rem 5% 2rem}
  .research-footer{justify-content:space-between}
  .share-text{display:none}
  .hero-visual{min-height:260px}
  .expertise-grid{grid-template-columns:1fr}
  .about-credentials{grid-template-columns:1fr; gap: 1rem;}
  .form-group-row{grid-template-columns:1fr}
  .hero-stat-bar{
    position:static;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem;
    gap: 1.5rem 0.5rem;
    width: 100%;
    left:auto;
  }
  .hero-stat{flex: 1 1 calc(50% - 1rem); min-width: 0;}
  .hero-stat-bar .hero-stat-num{font-size:1.4rem}
  .hero-stat-bar .hero-stat-label{font-size:0.55rem;}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:300px}
  .newsletter-form{flex-direction:column; gap:1rem;}
  .newsletter-form input{border-right:1px solid var(--border); border-radius:4px; width:100%;}
  .newsletter-form button{border-radius:4px; width:100%;}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:0.8rem;text-align:center}
  .hero-name{font-size:2rem}
  .qualifications-header, .section-heading-group{flex-direction:column;align-items:flex-start;gap:2rem}
  .timeline-item{
    grid-template-columns: 60px 1fr; /* Adjust year column width */
    gap: 1.5rem; /* Reduce gap */
    padding: 1.5rem 0; /* Adjust padding */
  }
  .timeline-year{
    font-size: 0.8rem; /* Smaller font for year */
    text-align: left; /* Align year to left on mobile */
  }
  .timeline-org, .timeline-role, .timeline-desc { font-size: 0.85rem; }
  .divider{margin:1.8rem 0 2.8rem}
  .nav-logo{font-size:1rem}
  .nav-logo{max-width: 60%;} /* Further restrict logo width on very small screens */
  .mobile-menu{padding:80px 6% 4rem; gap: 0.8rem;} /* Adjusted padding and gap for better spacing */
  .mobile-menu a{font-size:1.3rem; padding-bottom: 0.5rem;} /* Smaller link text */ 
  .mobile-cta { font-size: 0.65rem; padding: 0.5rem 1.1rem; gap: 0.4rem; margin-top: 1.5rem; } /* Adjusted size and margin for mobile CTA */
  .mobile-cta svg { width: 14px; height: 14px; } /* Scaled down the button icon */
  .mobile-menu-close { top: 1rem; right: 6%; } /* Adjust close button position for smaller screens */
}

.scroll-to-top {position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);border:none;border-radius:8px;color:var(--dark);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transition:all 0.3s ease;z-index:998;box-shadow:0 4px 15px rgba(0,0,0,0.3)}
.scroll-to-top.visible {opacity:1;visibility:visible}
.scroll-to-top:hover {transform:translateY(-5px);background:linear-gradient(135deg,var(--gold-light) 0%,var(--gold) 100%);box-shadow:0 6px 20px rgba(201,162,39,0.3)}
.scroll-to-top svg {width:20px;height:20px}

/* Academic Profile Enhancements */
.academic-profile-card { display: flex; flex-direction: column; }
.academic-profile-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.academic-profile-icon { 
  width: 54px; height: 54px; background: rgba(201, 162, 39, 0.1); 
  border: 1px solid var(--border); border-radius: 12px; 
  display: flex; align-items: center; justify-content: center; 
  color: var(--gold); flex-shrink: 0; 
}
.academic-profile-icon svg { width: 28px; height: 28px; }
.academic-list { margin-bottom: 2rem; }
.academic-item { 
  display: flex; gap: 1.5rem; padding: 1rem 0; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); 
  align-items: flex-start; 
}
.academic-item:last-child { border-bottom: none; }
.academic-year { 
  font-family: var(--serif); font-size: 0.85rem; color: var(--gold); 
  font-weight: 600; width: 45px; flex-shrink: 0; padding-top: 0.2rem; 
}
.academic-info strong { 
  display: block; font-size: 0.95rem; color: var(--white); margin-bottom: 0.1rem; 
}
.academic-info span { font-size: 0.8rem; color: var(--text-muted); }

@media(max-width: 480px) {
  .academic-item { gap: 1rem; }
  .academic-year { width: 40px; }
}

/* Lightbox Styles */
.lightbox {
  display: flex;
  visibility: hidden;
  position: fixed;
  z-index: 2000; /* Ensure it's above everything else */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
  backdrop-filter: blur(8px); /* Glassmorphism effect */
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh; /* Limit height to prevent overflow */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white);
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 80%;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
  background: var(--gold);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-nav:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* Hide scrollbar when lightbox is active */
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-close {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  .lightbox-caption {
    font-size: 0.9rem;
    max-width: 90%;
  }
}


/* Modal & Progress Styles */
.modal { display: none; position: fixed; z-index: 5000; inset: 0; background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(12px); align-items: center; justify-content: center; opacity: 0; transition: all 0.4s ease; }
.modal.show { display: flex; opacity: 1; }
.modal-content {
    background: linear-gradient(145deg, var(--dark-2) 0%, var(--dark) 100%);
    padding: 4rem 3rem 3.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    max-width: 460px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(201, 162, 39, 0.05);
    position: relative;
    overflow: hidden;
}
.modal.show .modal-content { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 5px; transition: color 0.3s ease; }
.modal-close:hover { color: var(--gold); }
.modal-progress { position: absolute; bottom: 0; left: 0; height: 4px; background: var(--gold); width: 100%; transform-origin: left; }
.modal.show .modal-progress { animation: modalProgress 3s linear forwards; }
@keyframes modalProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.modal-icon { width: 80px; height: 80px; background: rgba(201, 162, 39, 0.1); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; border: 1px solid var(--border); animation: modalIconPulse 2s infinite; }
.modal-icon svg { width: 36px; height: 36px; }
.modal h2 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 1.2rem; color: var(--white); letter-spacing: -0.02em; }
.modal p { color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.7; font-weight: 300; font-size: 1.05rem; }
@keyframes modalIconPulse { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.2); } 70% { box-shadow: 0 0 0 15px rgba(201, 162, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); } }

/* Gallery Filtering Hidden State */
.gallery-item.filter-hidden {
  opacity: 0 !important;
  transform: scale(0.95) translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.final-hide {
  display: none !important;
}

/* Newsletter Success Modal — distinct from contact enquiry popup */
.newsletter-modal-content {
    max-width: 520px;
    padding: 0 0 2.5rem;
    text-align: left;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(201, 162, 39, 0.12);
}
.newsletter-modal-header {
    position: relative;
    padding: 2.8rem 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0.04) 55%, transparent 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    overflow: hidden;
}
.newsletter-modal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.15) 0%, transparent 45%),
                      radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
    pointer-events: none;
}
.newsletter-modal-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.35);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.newsletter-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    animation: newsletterEnvelopeFloat 2.8s ease-in-out infinite;
}
.newsletter-modal-icon svg { width: 34px; height: 34px; }
.newsletter-modal-close { z-index: 2; }
.newsletter-modal-title {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 4vw, 2rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0;
    padding: 2rem 2.5rem 0.75rem;
}
.newsletter-modal-lead {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 300;
    margin: 0;
    padding: 0 2.5rem 1.5rem;
}
.newsletter-modal-perks {
    list-style: none;
    margin: 0 2.5rem 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.newsletter-modal-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.newsletter-modal-perks li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    stroke: var(--gold);
}
.newsletter-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 2.5rem;
}
.newsletter-modal-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.newsletter-modal-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}
.newsletter-modal-dismiss:hover { color: var(--gold); }
.newsletter-modal-progress {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    height: 3px;
}
.newsletter-modal.show .newsletter-modal-progress { animation: modalProgress 5s linear forwards; }
@keyframes newsletterEnvelopeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@media (max-width: 520px) {
    .newsletter-modal-title,
    .newsletter-modal-lead,
    .newsletter-modal-perks,
    .newsletter-modal-actions { padding-left: 1.5rem; padding-right: 1.5rem; }
    .newsletter-modal-perks { margin-left: 1.5rem; margin-right: 1.5rem; }
    .newsletter-modal-header { padding: 2.2rem 1.5rem 1.6rem; }
  .profile-links-container { /* This rule was duplicated and partially redundant */
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 0.8rem; 
  }
  .profile-links-container .btn-secondary { padding: 0.8rem 0.4rem; font-size: 0.65rem; text-align: center; justify-content: center; width: 100%; display: flex; align-items: center; }
}
