:root {
  --bg: #050713;
  --bg-2: #090d1f;
  --panel: rgba(13, 18, 38, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(125, 92, 246, 0.34);
  --text: #f8fafc;
  --soft: #dbe4f0;
  --muted: #95a3b8;
  --faint: #64748b;
  --accent: #8b5cf6;
  --accent-2: #38bdf8;
  --accent-3: #22c55e;
  --warn: #f59e0b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::selection {
  background: rgba(56, 189, 248, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.18), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(139, 92, 246, 0.2), transparent 27%),
    radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.07), transparent 26%),
    linear-gradient(180deg, #050713 0%, #07101f 42%, #050713 100%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.55;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-one {
  width: 380px;
  height: 380px;
  left: -120px;
  top: 80px;
  background: rgba(59, 130, 246, 0.18);
}

.orb-two {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 20px;
  background: rgba(139, 92, 246, 0.18);
  animation-delay: 1.5s;
}

.orb-three {
  width: 340px;
  height: 340px;
  right: 18%;
  bottom: -140px;
  background: rgba(20, 184, 166, 0.1);
  animation-delay: 2.5s;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(36px, -28px, 0) scale(1.07); }
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(22px);
}

.nav {
  width: min(var(--max), calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(139, 92, 246, 0.9));
  color: #ffffff;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 58px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.glass-card,
.hero-main,
.section-panel,
.contact-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(5, 10, 24, 0.92)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(139, 92, 246, 0.07));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-main {
  min-height: 570px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.13), transparent 30%),
    radial-gradient(circle at 90% 14%, rgba(139, 92, 246, 0.13), transparent 28%);
}

.hero-main > * {
  position: relative;
  z-index: 2;
}

.pill,
.dash-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 900;
  color: #bae6fd;
}

.pill {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3.1rem, 7.3vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero-title::after {
  content: "";
  display: block;
  width: min(320px, 44vw);
  height: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), transparent);
}

.hero-desc {
  margin: 28px 0 0;
  max-width: 760px;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.hero-note {
  margin: 14px 0 0;
  max-width: 780px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 32px;
}

.btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn {
  min-height: 52px;
  padding: 0 20px;
  font-size: 0.98rem;
}

.mini-btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.88rem;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
}

.btn:hover,
.mini-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.32);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.66);
  color: var(--text);
}

.mini-btn-disabled {
  opacity: 0.68;
  cursor: default;
}

.mini-btn-disabled:hover {
  transform: none;
  border-color: var(--line);
}

.hero-dashboard {
  display: grid;
  gap: 14px;
}

.profile-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-photo {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.profile-name {
  margin: 0 0 8px;
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.profile-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.dashboard-card,
.stat,
.bento-card,
.feature-card,
.visual-card,
.pub-card,
.timeline-card,
.service-card,
.contact-card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card p {
  margin: 12px 0 0;
  color: var(--soft);
  line-height: 1.72;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stat {
  padding: 22px;
}

.stat strong {
  display: block;
  font-size: 2.55rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.bento-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.4fr 0.65fr 0.65fr 0.65fr;
  gap: 14px;
}

.bento-card {
  padding: 22px;
  min-height: 160px;
}

.bento-wide {
  grid-column: span 1;
}

.bento-tall {
  grid-column: span 1;
}

.bento-card h3 {
  margin: 12px 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.bento-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.bento-number {
  display: block;
  font-size: 3.05rem;
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 900;
  color: var(--text);
}

.compact-list,
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.compact-list {
  margin-top: 14px;
}

.list li,
.compact-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.68;
}

.list li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.36);
}

.section {
  padding-top: 72px;
}

.section-head {
  margin-bottom: 20px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 24px;
}

.compact-head {
  margin-bottom: 16px;
}

.eyebrow {
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.066em;
  font-weight: 900;
}

.compact-head .section-title {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.about-grid,
.featured-grid,
.visual-grid,
.edu-exp-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.about-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.featured-grid {
  grid-template-columns: repeat(3, 1fr);
}

.visual-grid,
.edu-exp-grid,
.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.section-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.section-panel h3,
.feature-card h3,
.visual-body h3,
.pub-card h3,
.timeline-card h3,
.service-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.17rem;
  line-height: 1.32;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.section-panel p,
.feature-card p,
.visual-body p,
.pub-card p,
.timeline-card p,
.service-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.section-panel p {
  margin: 0;
}

.section-panel p + p {
  margin-top: 14px;
}

.feature-card,
.pub-card,
.timeline-card,
.service-card,
.contact-card {
  padding: 24px;
}

.feature-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-line {
  height: 3px;
  width: 78px;
  margin-top: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
}

.chip-journal {
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.17);
}

.chip-conf {
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.16);
}

.chip-review {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
}

.chip-accent {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.7), rgba(139, 92, 246, 0.76));
}

.visual-card {
  padding: 0;
}

.visual-image-wrap {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.11), transparent 58%);
}

.visual-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 20px;
}

.visual-body {
  padding: 22px 24px 24px;
}

.visual-body p {
  margin: 10px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.32);
}

.pub-count {
  margin-bottom: 18px;
  color: var(--faint);
  font-weight: 800;
  font-size: 0.9rem;
}

.pub-group {
  margin-top: 24px;
}

.group-label {
  margin-bottom: 10px;
  color: #bae6fd;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-list {
  display: grid;
  gap: 13px;
}

.pub-card {
  display: grid;
  gap: 14px;
}

.pub-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.pub-card h3 {
  margin-top: 12px;
}

.pub-card p {
  margin: 8px 0 0;
}

.pub-year {
  color: var(--soft);
  font-weight: 900;
}

.timeline-col {
  display: grid;
  gap: 14px;
}

.timeline-card {
  position: relative;
  padding-left: 34px;
}

.timeline-dot {
  position: absolute;
  left: 18px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.58);
}

.meta {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.timeline-card p {
  margin: 10px 0 0;
}

.service-card {
  display: grid;
  gap: 16px;
}

.contact-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 24px;
  align-items: center;
}

.contact-card p {
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: #bae6fd;
}

.footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 54px;
  color: var(--faint);
  text-align: center;
  font-size: 0.92rem;
}

.reveal,
.reveal-soft {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

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

.glass-card::before,
.feature-card::before,
.pub-card::before,
.timeline-card::before,
.service-card::before,
.contact-card::before,
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .featured-grid,
  .visual-grid,
  .edu-exp-grid,
  .service-grid,
  .contact-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-main {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5, 7, 19, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5.1rem);
  }

  .profile-card {
    grid-template-columns: 96px 1fr;
  }

  .profile-photo {
    width: 96px;
    height: 96px;
  }

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

  .pub-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .nav,
  .footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand span:last-child {
    display: none;
  }

  .hero-main,
  .section-panel,
  .contact-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .hero-actions,
  .link-row,
  .filter-bar {
    width: 100%;
  }

  .btn,
  .mini-btn,
  .filter-btn {
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 118px;
    height: 118px;
  }

  .section-title {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
  }
}
/* ================================
   V2.1 PROPORTION FIX
   Makes the modern design cleaner,
   less oversized, and more premium.
================================ */

.hero {
  padding: 42px 0 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.82fr);
  gap: 18px;
}

.hero-main {
  min-height: 520px;
  padding: clamp(30px, 4vw, 46px);
}

.hero-title {
  max-width: 720px;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-title::after {
  width: min(260px, 36vw);
  margin-top: 24px;
}

.hero-desc {
  max-width: 700px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.68;
}

.hero-note {
  max-width: 680px;
  font-size: 0.96rem;
}

.hero-dashboard {
  gap: 12px;
}

.profile-card {
  min-height: 210px;
  grid-template-columns: 112px 1fr;
  padding: 18px;
}

.profile-photo {
  width: 112px;
  height: 112px;
}

.profile-name {
  font-size: clamp(1.55rem, 1.8vw, 2rem);
}

.dashboard-card {
  min-height: 180px;
  padding: 20px;
}

.dashboard-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.stat {
  padding: 18px 20px;
  min-height: 116px;
}

.stat strong {
  font-size: 2.15rem;
}

.stat span {
  font-size: 0.9rem;
}

.bento-grid {
  grid-template-columns: 1.35fr 0.75fr 0.75fr 0.75fr;
}

.bento-card {
  min-height: 138px;
  padding: 20px;
}

.bento-card h3 {
  font-size: 1.2rem;
}

.bento-number {
  font-size: 2.65rem;
}

.section {
  padding-top: 64px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1;
}

.feature-card {
  min-height: 260px;
}

.nav {
  width: min(1280px, calc(100% - 40px));
}

.section-shell,
.footer {
  width: min(1280px, calc(100% - 40px));
}

@media (min-width: 1400px) {
  .hero-title {
    font-size: 5.35rem;
  }

  .hero-main {
    min-height: 540px;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-title {
    max-width: 820px;
    font-size: clamp(3rem, 9vw, 5.2rem);
  }

  .dashboard-card,
  .profile-card,
  .stat {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
    line-height: 0.94;
  }

  .hero-main {
    padding: 22px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }
}
