/* =========================================================
   GLOBAL RESET & DESIGN TOKENS
   Final polished theme (desktop + premium mobile)
========================================================= */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

:root{
  --bg-main:#f5f7fa;
  --bg-soft:#eef2f7;
  --surface:#ffffff;

  --dark:#020617;
  --primary:#0f172a;
  --accent:#06b6d4;
  --accent-strong:#0ea5e9;

  --text:#0f172a;
  --text-soft:#475569;
  --muted:#64748b;
  --border:#e5e7eb;

  --radius-lg:18px;
  --radius-md:12px;

  --shadow-soft:0 8px 20px rgba(2,6,23,.06);
  --shadow-strong:0 18px 42px rgba(2,6,23,.12);
  --glass:rgba(255,255,255,.6);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Inter","Segoe UI",system-ui,Arial,sans-serif;
  background:linear-gradient(180deg,var(--bg-main),var(--bg-soft));
  color:var(--text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1{
  margin:0;
  font-size:clamp(1.9rem,3vw,2.6rem);
  font-weight:700;
  letter-spacing:.3px;
}

h2{
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  margin:0 0 .8rem;
  color:var(--primary);
  font-weight:800;
}

h3{
  margin:1.4rem 0 .6rem;
  color:var(--primary);
}

p, li{
  font-size:clamp(.95rem,1.4vw,1.05rem);
  color:var(--text-soft);
  margin:0 0 .8rem;
}

ul{
  padding-left:1.3rem;
}

/* =========================================================
   HEADER / HERO
========================================================= */
header{
  background:
    radial-gradient(900px 400px at 10% -10%, #1e293b 0%, transparent 60%),
    linear-gradient(135deg,#020617,#0f172a);
  color:#fff;
  padding:3.8rem 1.2rem 3.4rem;
}

.hero{
  max-width:1150px;
  margin:auto;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:3rem;
  align-items:center;
}

.hero-img{
  width:260px;
  height:260px;
  border-radius:50%;
  border:6px solid var(--accent);
  object-fit:cover;
  background:#e5e7eb;
  box-shadow:0 20px 48px rgba(0,0,0,.38);
}

.subtitle{
  margin:.6rem 0 .4rem;
  color:#cbd5f5;
  font-weight:600;
}

.affiliation{
  color:#e5e7eb;
  font-size:.95rem;
}

/* =========================================================
   BUTTONS
========================================================= */
.hero-actions{
  margin-top:1.6rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:.7rem 1.4rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  margin-right:.7rem;
  transition:all .22s ease;
}

.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-strong));
  color:#021024;
  box-shadow:0 12px 28px rgba(6,182,212,.35);
}

.btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(6,182,212,.45);
}

.btn.secondary{
  border:2px solid var(--accent);
  color:var(--accent);
}

/* =========================================================
   NAVIGATION
========================================================= */
nav{
  background:rgba(2,6,23,.92);
  backdrop-filter:blur(8px);
  position:sticky;
  top:0;
  z-index:100;
  text-align:center;
  padding:.85rem .6rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}

nav a{
  color:#e5e7eb;
  margin:0 14px;
  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
  position:relative;
  padding-bottom:4px;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .22s ease;
}

nav a.active::after,
nav a:hover::after{
  width:100%;
}

nav a.active,
nav a:hover{
  color:var(--accent);
}

/* =========================================================
   MAIN / SECTIONS
========================================================= */
.container{
  max-width:1150px;
  margin:auto;
  padding:2.6rem 1.2rem;
}

section{
  background:var(--surface);
  padding:2.6rem;
  margin-bottom:2.6rem;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  border:1px solid var(--border);
}

section h2{
  border-bottom:3px solid var(--border);
  padding-bottom:.6rem;
}

/* =========================================================
   BADGES
========================================================= */
.badges span{
  display:inline-block;
  background:linear-gradient(135deg,#e0f2fe,#f0f9ff);
  color:#075985;
  padding:.4rem .9rem;
  border-radius:20px;
  margin:.4rem .4rem 0 0;
  font-size:.85rem;
  font-weight:700;
  border:1px solid #bae6fd;
}

/* =========================================================
   GRID / CARDS
========================================================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.4rem;
}

.card{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border:1px solid var(--border);
  padding:1.4rem 1.5rem;
  border-radius:14px;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}

/* =========================================================
   LINKS GRID
========================================================= */
.links-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.links-grid a{
  color:#1e40af;
  text-decoration:none;
  font-weight:700;
}

.links-grid a:hover{
  color:var(--accent);
}

/* =========================================================
   CONTACT & FOOTER
========================================================= */
#contact p{
  margin-bottom:.7rem;
}

footer{
  background:linear-gradient(135deg,#020617,#0f172a);
  color:#cbd5f5;
  text-align:center;
  padding:1.7rem 1rem;
  font-size:.9rem;
  letter-spacing:.3px;
}

/* =========================================================
   MOBILE PREMIUM EXPERIENCE (NO ACCORDIONS)
========================================================= */
@media (max-width:900px){

  header{
    padding:3rem 1rem 2.8rem;
  }

  .hero{
    grid-template-columns:1fr;
    text-align:center;
    gap:1.2rem;
  }

  .hero-img{
    margin:auto;
    width:180px;
    height:180px;
  }

  .hero-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap: 1.0rem;
  }

  nav{
    overflow-x:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }

  nav a{
    margin:0 10px;
  }

  .container{
    padding:2rem 1rem;
  }

  section{
    padding:2.2rem;
    margin-bottom:2.2rem;
  }

  section h2{
    font-size:1.45rem;
    border-bottom:3px solid #38bdf8;
    padding-bottom:.8rem;
  }

  section h2::before{
    content:"◆ ";
    color:#38bdf8;
  }

  /* Journey: game-level timeline cards */
  #journey ul{
    list-style:none;
    padding:0;
  }

  #journey li{
    background:linear-gradient(135deg,#ffffff,#f1f5f9);
    border-left:5px solid #38bdf8;
    padding:1.1rem 1.3rem;
    margin-bottom:1.1rem;
    border-radius:14px;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    font-weight:600;
    position:relative;
  }

  #journey li::before{
    content:"🎯";
    position:absolute;
    left:-1.6rem;
    top:1.1rem;
  }

  .links-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   TOUCH & ACCESSIBILITY
========================================================= */
a, .btn{
  -webkit-tap-highlight-color:transparent;
}

.btn:active{
  transform:scale(.97);
}

a:focus{
  outline:3px solid rgba(6,182,212,.18);
  outline-offset:2px;
}



/* =========================================================
   SCHOLARLY & PROFESSIONAL PROFILES (REFINED)
========================================================= */

.profiles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1.2rem;
  margin-top:1.8rem;
}

/* Academic-grade profile card */
.profile-card{
  display:flex;
  align-items:center;
  justify-content:center;

  padding:1.1rem 1rem;
  border-radius:14px;

  background:
    linear-gradient(180deg,#ffffff,#f8fafc);

  border:1.5px solid #e5e7eb;

  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
  color:#0f172a;

  transition:
    border-color .22s ease,
    background .22s ease,
    transform .22s ease;
}

/* Hover = subtle authority, not shadow */
.profile-card:hover{
  border-color:#38bdf8;
  background:
    linear-gradient(180deg,#ffffff,#f0f9ff);
  transform:translateY(-2px);
}

/* Label text */
.profile-card .label{
  letter-spacing:.25px;
}

/* Mobile polish */
@media (max-width:900px){
  .profiles-grid{
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:1rem;
  }

  .profile-card{
    padding:1rem;
    font-size:.9rem;
  }
}

