@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #09111f;
  --bg-soft: #0d1728;
  --panel: #111d30;
  --panel-2: #142138;
  --text: #f4f7fb;
  --muted: #98a8bd;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #7cf5c5;
  --blue: #76a9ff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: 104px 0;
  scroll-margin-top: 72px;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(9, 17, 31, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link.active::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 42px;
  height: 42px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px;
  background: #fff;
}
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(118, 169, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 169, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(124, 245, 197, 0.55);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin: 18px 0 22px;
}
.hero h1 span {
  display: block;
  color: var(--cyan);
}
.roles {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.roles strong {
  font-size: 0.95rem;
}
.roles span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 26px 0 30px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.button-primary {
  background: var(--cyan);
  color: #071611;
}
.button-primary:hover {
  transform: translateY(-2px);
  background: #a2f9d6;
}
.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.button-secondary:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.social-row {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}
.social-row a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.social-row a:hover {
  color: var(--cyan);
}
.code-window {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 23, 40, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.window-bar {
  height: 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff766d;
}
.window-dots i:nth-child(2) {
  background: #ffc46b;
}
.window-dots i:nth-child(3) {
  background: #7cf5c5;
}
.window-bar > span:nth-child(2) {
  margin: auto;
}
.window-status {
  color: var(--cyan);
}
.code-window pre {
  margin: 0;
  padding: 30px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  overflow: auto;
}
.code-purple {
  color: #be9cff;
}
.code-green {
  color: #7cf5c5;
}
.terminal-line {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.terminal-line span {
  color: var(--cyan);
  margin-right: 8px;
}
.cursor {
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading > p {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  margin: 8px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 80px;
}
.about-copy {
  font-size: 1.08rem;
  color: #c3cfdd;
}
.about-copy p:last-child {
  color: var(--muted);
}
.learning-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
.card-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.learning-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.learning-card li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.learning-card li span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-right: 14px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.skill-card {
  grid-column: span 2;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 26px;
}
.skill-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.skill-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.skill-card h3 {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags span {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 8px;
  color: #b9c7d9;
  font-family: var(--mono);
  font-size: 0.68rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 245, 197, 0.35);
}
.project-card.featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.project-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.featured .project-visual {
  height: 100%;
  min-height: 360px;
}
.project-content {
  padding: 26px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}
.project-content h3 {
  font-size: 1.35rem;
  margin: 12px 0;
}
.project-content > p {
  color: var(--muted);
  font-size: 0.92rem;
}
.project-highlights {
  columns: 2;
  color: #c5d0de;
  font-size: 0.78rem;
  padding-left: 18px;
}
.project-actions {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  align-items: center;
}
.text-link {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}
.link-placeholder {
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--mono);
}
.visual-workout {
  background: linear-gradient(135deg, #182d44, #102033);
}
.browser-chrome {
  height: 30px;
  background: #0b1422;
  display: flex;
  gap: 5px;
  padding: 12px;
}
.browser-chrome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cf5c5;
}
.visual-grid {
  padding: 48px;
  color: #fff;
}
.visual-grid > span {
  font-size: 2.3rem;
  font-weight: 800;
}
.visual-grid div {
  display: flex;
  gap: 10px;
  margin-top: 42px;
}
.visual-grid b {
  background: rgba(124, 245, 197, 0.12);
  border: 1px solid rgba(124, 245, 197, 0.25);
  padding: 22px 12px;
  flex: 1;
  font-size: 0.65rem;
}
.visual-campus {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #173b4f, #102033);
}
.campus-mark {
  display: grid;
  text-align: center;
  border: 1px solid rgba(124, 245, 197, 0.35);
  padding: 34px 48px;
  background: rgba(9, 17, 31, 0.55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.campus-mark small {
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.16em;
}
.campus-mark strong {
  font-size: 1.55rem;
  margin-top: 8px;
}
.visual-chat {
  background: linear-gradient(135deg, #172a45, #0d1728);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-orb {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    #9dfbd9,
    #4ba9bb 55%,
    transparent 56%
  );
}
.chat-lines {
  position: absolute;
  right: 12%;
  display: grid;
  gap: 12px;
}
.chat-lines span {
  display: block;
  width: 100px;
  height: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}
.chat-lines span:nth-child(2) {
  width: 75px;
}
.visual-cricket {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #173c2e, #101f1b);
}
.scoreboard {
  text-align: center;
  display: grid;
  border: 1px solid rgba(124, 245, 197, 0.25);
  padding: 30px 50px;
}
.scoreboard strong {
  font-size: 1.4rem;
  color: var(--cyan);
}
.scoreboard small {
  font-family: var(--mono);
}
.visual-mint {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4a7d70, #183c38);
}
.mint-mark {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.mint-mark span {
  color: #9cf7db;
}
.visual-taekwondo {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #412e2d, #171820);
}
.belt {
  border-top: 18px solid var(--cyan);
  border-bottom: 18px solid var(--cyan);
  padding: 10px 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.visual-fort {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2e3554, #15192b);
}
.message-stack {
  display: grid;
  gap: 8px;
}
.message-stack span {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 12px 34px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}
.timeline {
  border-left: 1px solid var(--line);
  margin-left: 8px;
}
.timeline-item {
  position: relative;
  padding: 0 0 48px 38px;
}
.timeline-marker {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  left: -8px;
  top: 4px;
  background: var(--bg);
  border: 3px solid var(--cyan);
}
.timeline-period {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--cyan);
}
.timeline-item h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.timeline-place,
.timeline-result {
  color: var(--muted);
}
.timeline-place span {
  color: #d6deea;
}
.resume-panel {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--panel), var(--bg-soft));
  border-radius: 12px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.resume-panel h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.resume-panel p:last-child {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 0;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.work-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.work-card span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--cyan);
}
.work-card h3 {
  font-size: 1rem;
  margin: 18px 0 8px;
}
.work-card p {
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}
.contact-copy > p {
  color: #c3cfdd;
  font-size: 1.05rem;
}
.contact-links {
  display: grid;
  margin-top: 34px;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-weight: 700;
}
.contact-links span {
  color: var(--muted);
  font-size: 0.78rem;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 700;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  border-radius: 7px;
  padding: 13px;
  outline: none;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #ff7d7d;
}
.field small {
  min-height: 18px;
  color: #ff9d9d;
  font-size: 0.72rem;
}
.contact-form .button {
  justify-self: start;
}
.form-status {
  color: var(--cyan);
  font-size: 0.82rem;
}
footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 24px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
}
.footer-grid p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 12px 0;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--muted);
}
.copyright {
  margin-top: 38px;
  color: #64748b;
  font-size: 0.72rem;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 48px;
    padding: 70px 0;
  }
  .hero {
    min-height: auto;
  }
  .code-window {
    max-width: 620px;
  }
  .about-grid {
    gap: 34px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .featured .project-visual {
    height: 280px;
    min-height: 0;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skill-card,
  .skill-card:nth-child(4),
  .skill-card:nth-child(5) {
    grid-column: auto;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resume-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: #09111f;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 4px;
    transform: translateX(100%);
    transition: 0.25s;
  }
  .nav-menu.open {
    transform: none;
  }
  .nav-link {
    width: 100%;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after {
    display: none;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }
  .section {
    padding: 76px 0;
  }
  .hero-grid {
    padding: 50px 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .roles {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .roles span {
    display: none;
  }
  .hero-text {
    font-size: 0.96rem;
  }
  .button-row .button {
    width: 100%;
  }
  .code-window pre {
    font-size: 0.68rem;
    padding: 22px 16px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .about-copy {
    font-size: 0.96rem;
  }
  .skills-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
  .project-visual {
    height: 190px;
  }
  .project-highlights {
    columns: 1;
  }
  .visual-grid {
    padding: 32px;
  }
  .visual-grid div {
    margin-top: 34px;
  }
  .resume-panel {
    padding: 28px 22px;
  }
  .contact-grid {
    gap: 42px;
  }
  .footer-grid {
    gap: 30px;
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}
