@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: #090e1b;
  --text: #f2f6ff;
  --muted: #a4b0c6;
  --cyan: #54e5ff;
  --blue: #6687ff;
  --green: #69f0bd;
  --border: rgba(151, 177, 222, 0.17);
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: radial-gradient(
      ellipse at 75% 0%,
      rgba(49, 82, 174, 0.17),
      transparent 36%
    ),
    var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  left: 10px;
}

/* Contact Me button */
.contact-button {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15);
  margin: 0 auto;
  width: 100%;
}

.contact-button:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3);
}

.contact-button:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 4px;
}
.site-header {
  height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 14, 27, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #06101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 13px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.site-nav a:hover {
  color: var(--cyan);
}
.site-nav .nav-cta {
  color: var(--text);
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}
.section-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 42px;
  padding-top: 70px;
  padding-bottom: 80px;
}
.eyebrow {
  font: 500 11px/1.5 "DM Mono", monospace;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin: 0 0 20px;
}
.status-dot,
.project-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(105, 240, 189, 0.8);
  margin-right: 9px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(100deg, var(--cyan), #92a9ff 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 16px;
  max-width: 530px;
  color: var(--muted);
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: #06101a;
  background: linear-gradient(110deg, var(--cyan), #9af2dc);
  box-shadow: 0 8px 28px rgba(84, 229, 255, 0.13);
}
.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.hero-tags,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tags span,
.chips span {
  font: 11px "DM Mono", monospace;
  color: #b8c8e3;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.hero-art {
  position: relative;
  min-width: 0;
}
.hero-art > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
  border: 1px solid rgba(111, 166, 255, 0.3);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}
.art-glow {
  position: absolute;
  inset: 12% 8%;
  background: rgba(57, 127, 255, 0.25);
  filter: blur(65px);
  border-radius: 50%;
}
.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(155, 194, 255, 0.25);
  border-radius: 12px;
  background: rgba(12, 20, 38, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.note-top {
  top: -20px;
  right: -12px;
}
.note-bottom {
  bottom: -20px;
  left: -20px;
}
.floating-note strong,
.floating-note small {
  display: block;
}
.floating-note strong {
  font-size: 11px;
}
.floating-note small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.note-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(105, 240, 189, 0.12);
  color: var(--green);
}
.pulse-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(84, 229, 255, 0.12), 0 0 16px var(--cyan);
  margin: 0 8px;
}
.trust-strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  padding: 21px 24px;
}
.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #c2cce0;
}
.strip-symbol {
  font: 11px "DM Mono", monospace;
  color: var(--cyan);
}
.content-section {
  padding-top: 105px;
  padding-bottom: 105px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.section-heading h2,
.contact-panel h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}
.about-content {
  max-width: 680px;
  color: var(--muted);
  font-size: 14px;
}
.about-content .about-lede {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text);
  font-weight: 600;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.about-facts div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.about-facts strong,
.about-facts span {
  display: block;
}
.about-facts strong {
  color: var(--cyan);
  font-size: 17px;
}
.about-facts span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.section-muted {
  width: 100%;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(
    120deg,
    rgba(19, 31, 55, 0.78),
    rgba(12, 19, 34, 0.72)
  );
  border-block: 1px solid var(--border);
}
.section-intro {
  color: var(--muted);
  font-size: 13px;
  max-width: 390px;
  line-height: 1.9;
}
.skill-grid {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.skill-card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(9, 14, 27, 0.5);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(84, 229, 255, 0.09);
  color: var(--cyan);
  font: 15px "DM Mono", monospace;
  margin-bottom: 18px;
}
.skill-card h3,
.project-card h3,
.approach-grid h3 {
  font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.skill-card p {
  color: var(--muted);
  font-size: 12px;
  min-height: 20px;
  margin-bottom: 18px;
}
.skill-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  display: block;
  border-radius: 9px;
  overflow: hidden;
}
.skill-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 9px;
}
.small-note {
  grid-column: 1/-1;
  color: #7f8ca5;
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.section-heading-row {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.section-heading-row .section-intro {
  margin-bottom: 8px;
}
.project-grid {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(18, 28, 48, 0.85),
    rgba(12, 19, 34, 0.85)
  );
  display: flex;
  flex-direction: column;
  min-height: 270px;
  transition: transform 0.2s, border-color 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 229, 255, 0.42);
}
.project-featured {
  background: radial-gradient(
      ellipse at 100% 0%,
      rgba(68, 116, 255, 0.17),
      transparent 55%
    ),
    linear-gradient(145deg, rgba(18, 28, 48, 0.9), rgba(12, 19, 34, 0.9));
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.project-label {
  font: 10px "DM Mono", monospace;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.project-glyph {
  font: 20px "DM Mono", monospace;
  color: #8da7ff;
}
.project-card h3 {
  font-size: 19px;
}
.project-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  flex: 1;
}
.chips {
  margin: 8px 0 22px;
}
.chips span {
  font-size: 10px;
  padding: 5px 8px;
}
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}
.project-status {
  font-size: 10px;
  color: #93a0b8;
}
.project-status i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
}
.arrow {
  font-size: 19px;
  color: var(--cyan);
}
.approach-grid {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.approach-grid article {
  border-top: 1px solid rgba(84, 229, 255, 0.45);
  padding-top: 18px;
}
.approach-number {
  font: 11px "DM Mono", monospace;
  color: var(--cyan);
  display: block;
  margin-bottom: 25px;
}
.approach-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.contact-section {
  padding-top: 95px;
  padding-bottom: 95px;
}
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 50px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(84, 229, 255, 0.23);
  border-radius: 18px;
  background: radial-gradient(
      ellipse at 100% 0%,
      rgba(73, 105, 255, 0.16),
      transparent 45%
    ),
    #0e1729;
}
.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  max-width: 500px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.contact-actions .button {
  width: 100%;
}
.contact-actions .small-note {
  font-size: 10px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}
.site-footer p {
  margin: 0;
}
.site-footer .brand {
  color: var(--text);
}
.site-footer .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.back-top {
  color: var(--cyan);
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 65px;
  }
  .hero-copy {
    max-width: 700px;
  }
  .hero-art {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
  .content-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .section-heading {
    max-width: 650px;
  }
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding-inline: 20px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 18px 22px 22px;
    background: #0c1323;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav .nav-cta {
    text-align: center;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .hero {
    padding-top: 54px;
    padding-bottom: 65px;
    min-height: auto;
  }
  .hero-lede {
    font-size: 14px;
  }
  h1 {
    font-size: 43px;
  }
  .floating-note {
    padding: 9px 10px;
  }
  .note-top {
    right: -4px;
    top: -18px;
  }
  .note-bottom {
    left: -4px;
    bottom: -18px;
  }
  .trust-strip {
    justify-content: flex-start;
    gap: 14px 20px;
  }
  .trust-strip > div {
    width: calc(50% - 10px);
    font-size: 10px;
  }
  .content-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-muted {
    padding-inline: 20px;
  }
  .skill-grid,
  .project-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .skill-card {
    padding: 20px;
  }
  .skill-card p {
    min-height: 0;
  }
  .about-facts {
    grid-template-columns: 1fr;
  }
  .about-facts div {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .about-facts span {
    margin: 0;
  }
  .project-card {
    min-height: 250px;
  }
  .contact-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .contact-panel {
    padding: 27px 22px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
