:root {
  color-scheme: dark;
  --bg: #06111b;
  --surface: rgba(255,255,255,0.06);
  --surface-strong: rgba(255,255,255,0.09);
  --surface-soft: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --blue: #60a5fa;
  --blue-strong: #2563eb;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.24);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #08121d 0%, #050810 100%);
  color: var(--text);
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  display: block;
}
button,
a {
  font: inherit;
}
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% 20%, rgba(38, 99, 255, 0.32), transparent 30%), radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.25), transparent 25%), radial-gradient(circle at 50% 85%, rgba(14, 165, 233, 0.18), transparent 22%), linear-gradient(180deg, #06111b 0%, #03060d 100%);
  filter: blur(90px);
  animation: floatbg 18s ease-in-out infinite alternate;
}
@keyframes floatbg {
  from {
    transform: translate(-20px, -15px) scale(1);
  }
  to {
    transform: translate(20px, 15px) scale(1.08);
  }
}
.page-shell {
  position: relative;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 6vw;
  backdrop-filter: blur(20px);
  background: rgba(3, 7, 16, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 21px;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}
.hero {
  display: grid;
  gap: 2rem;
  padding: 100px 6vw 80px;
  min-height: calc(100vh - 80px);
  align-items: center;
}
.hero-copy {
  max-width: 740px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a5b4fc;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10ch;
}
.hero-copy__text {
  margin: 28px 0 32px;
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-height: 52px;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}
.btn-primary {
  background: rgba(96, 165, 250, 0.13);
  color: var(--text);
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-snapshot {
  display: grid;
  gap: 1.25rem;
  max-width: 780px;
}
.snapshot-card {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}
.snapshot-label {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.snapshot-card h2 {
  font-size: 1.35rem;
  line-height: 1.5;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.snapshot-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-weight: 600;
}
.section {
  padding: 80px 6vw;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 32px;
}
.section-tag {
  color: #93c5fd;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  max-width: 12ch;
}
.glass-panel {
  margin: 0 auto 30px;
  padding: 32px;
  max-width: 1120px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.about-grid {
  display: grid;
  gap: 24px;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}
.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pill {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 600;
}
.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.project-summary {
  color: var(--muted);
  font-weight: 600;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-chip {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 0.95rem;
}
.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-1px);
}
.projects-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}
.project-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}
.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.32) 100%);
  pointer-events: none;
}
.project-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.project-info {
  display: grid;
  gap: 12px;
}
.project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(96, 165, 250, 0.12);
  color: #c7d2fe;
  border: 1px solid rgba(96, 165, 250, 0.18);
}
.badge.status {
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.2);
}
.project-title {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-top: 0;
}
.project-description {
  color: var(--muted);
  line-height: 1.8;
}
.project-date {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.project-links a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}
.project-links a:hover {
  text-decoration: underline;
}.section-empty {
  color: var(--muted);
  padding: 22px 0;
  font-size: 1rem;
}.journal-list,
.timeline-list {
  display: grid;
  gap: 18px;
}
.journal-entry,
.timeline-item {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.journal-entry h3,
.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.journal-entry p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.journal-meta,
.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.timeline-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.18);
}
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.35);
}
.contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
}
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}
.footer {
  text-align: center;
  padding: 40px 6vw;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .hero {
    padding-top: 86px;
  }
  .hero-snapshot {
    grid-template-columns: 1fr;
  }
  .about-list {
    grid-template-columns: 1fr;
  }
  .project-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 720px) {
  .nav {
    padding: 16px 5vw;
  }
  .nav-links {
    position: absolute;
    inset: 72px 6vw auto auto;
    flex-direction: column;
    width: calc(100% - 12vw);
    max-height: 0;
    overflow: hidden;
    background: rgba(3, 7, 16, 0.95);
    border-radius: 22px;
    backdrop-filter: blur(24px);
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 320px;
    padding: 18px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
  }
  .hero {
    padding: 90px 5vw 60px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }
  .hero-copy__text {
    font-size: 1rem;
  }
  .section {
    padding: 60px 5vw;
  }
  .glass-panel {
    padding: 26px;
  }
}
@media (max-width: 520px) {
  .nav {
    padding: 14px 4vw;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .about-grid {
    gap: 18px;
  }
  .project-meta,
  .project-footer,
  .journal-meta,
  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
