﻿:root {
      color-scheme: dark;
      --black: #050505;
      --white: #ffffff;
      --purple: #a855f7;
      --purple-soft: #d8b4fe;
      --purple-dark: #3b0764;
      --bg: #050505;
      --bg-soft: #0d0714;
      --panel: rgba(15, 10, 22, 0.82);
      --panel-solid: #12091f;
      --panel-strong: #1b0d2f;
      --text: #ffffff;
      --muted: #d8d2e6;
      --quiet: #a895bd;
      --line: rgba(255, 255, 255, 0.1);
      --line-strong: rgba(255, 255, 255, 0.18);
      --cyan: var(--purple-soft);
      --green: var(--purple);
      --amber: var(--white);
      --pink: #7e22ce;
      --violet: var(--purple-soft);
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
      --radius: 8px;
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
      -webkit-user-select: none;
      user-select: none;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Rajdhani, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        linear-gradient(180deg, rgba(168, 85, 247, 0.12), transparent 36rem),
        radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.08), transparent 28rem),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-touch-callout: none;
      text-transform: uppercase;
      letter-spacing: 0.045em;
      font-weight: 600;
    }

    @media (pointer: fine) {
      body,
      body * {
        cursor: none !important;
      }
    }

    body.menu-open {
      overflow: hidden;
    }

    body.is-loading {
      overflow: hidden;
    }

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

    button,
    input,
    textarea {
      font: inherit;
      -webkit-user-select: text;
      user-select: text;
      text-transform: none;
      letter-spacing: 0;
    }

    button {
      cursor: pointer;
    }

    ::selection {
      background: transparent;
      color: inherit;
    }

    .skip-link {
      position: fixed;
      top: 12px;
      left: 12px;
      z-index: 2000;
      transform: translateY(-140%);
      padding: 10px 14px;
      border-radius: var(--radius);
      background: var(--text);
      color: #05070b;
      font-weight: 800;
      transition: transform 160ms ease;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    .page-noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: -2;
      opacity: 0.26;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, black, transparent 86%);
    }

    .loading-screen {
      position: fixed;
      inset: 0;
      z-index: 5000;
      display: grid;
      place-items: center;
      background: #15151f;
      transition: opacity 520ms ease, visibility 520ms ease;
    }

    .loading-screen.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .loading-card {
      position: relative;
      display: grid;
      justify-items: center;
      width: min(300px, calc(100vw - 48px));
      padding: 0;
      background: transparent;
    }

    .loading-card::before,
    .loading-card::after {
      display: none;
    }

    .loading-card strong {
      position: relative;
      z-index: 1;
      font-family: "JetBrains Mono", monospace;
      margin-top: 26px;
      color: rgba(255, 255, 255, 0.88);
      font-size: 16px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.22em;
    }

    .loading-bar {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 2px;
      border-radius: 0;
      background: rgba(255, 255, 255, 0.25);
      overflow: hidden;
    }

    .loading-bar i {
      display: block;
      width: 39%;
      height: 100%;
      border-radius: inherit;
      background: #f1f1f6;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.34);
      animation: loadingSweep 1.45s ease-in-out infinite;
    }

    .loading-logs {
      position: relative;
      z-index: 1;
      margin-top: 46px;
      padding: 0;
      border: 0;
      background: transparent;
      color: rgba(255, 255, 255, 0.48);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.02em;
      text-decoration: underline;
      text-transform: none;
    }

    @keyframes loadingSweep {
      0% {
        transform: translateX(-105%);
      }
      100% {
        transform: translateX(260%);
      }
    }

    .custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 34px;
      height: 34px;
      z-index: 3000;
      pointer-events: none;
      opacity: 0;
      border: 1px solid rgba(216, 180, 254, 0.78);
      border-radius: 50%;
      background: rgba(168, 85, 247, 0.12);
      box-shadow: 0 0 22px rgba(168, 85, 247, 0.38);
      transform: translate(-50%, -50%);
      transition: opacity 160ms ease, width 160ms ease, height 160ms ease, background 160ms ease;
      backdrop-filter: blur(3px);
    }

    .custom-cursor::before {
      content: "";
      position: absolute;
      inset: -34px;
      z-index: -1;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(168, 85, 247, 0.46), rgba(168, 85, 247, 0.12) 36%, transparent 68%);
      filter: blur(10px);
      opacity: 0.9;
      transform: scale(0.92);
      transition: transform 160ms ease, opacity 160ms ease;
    }

    .custom-cursor span {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--white);
      box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
      transform: translate(-50%, -50%);
    }

    @media (pointer: fine) {
      .custom-cursor.visible {
        opacity: 1;
      }

      .custom-cursor.hover {
        width: 54px;
        height: 54px;
        background: rgba(168, 85, 247, 0.22);
      }

      .custom-cursor.hover::before {
        opacity: 1;
        transform: scale(1.18);
      }
    }

    @media (pointer: coarse) {
      .custom-cursor {
        display: none;
      }
    }

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

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 1000;
      border-bottom: 1px solid transparent;
      transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
    }

    .site-header.scrolled {
      background: rgba(9, 11, 16, 0.82);
      border-color: var(--line);
      backdrop-filter: blur(18px);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 72px;
    }

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

    .brand-logo {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(168, 85, 247, 0.6);
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(255, 255, 255, 0.1));
      object-fit: cover;
      box-shadow: 0 0 24px rgba(168, 85, 247, 0.28);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0 12px;
      border-radius: 6px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
      transition: color 160ms ease, background 160ms ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--text);
      background: rgba(255, 255, 255, 0.07);
      outline: none;
    }

    .nav-cta {
      border: 1px solid rgba(168, 85, 247, 0.58);
      color: var(--amber) !important;
      background: rgba(168, 85, 247, 0.12);
    }

    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text);
    }

    .menu-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      margin: 4px auto;
      background: currentColor;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle.active span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      align-items: center;
      padding: 132px 0 76px;
      overflow: hidden;
    }

    #signalCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.54;
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.44fr);
      gap: 38px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      color: var(--green);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.12);
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    .hero h1 {
      max-width: 800px;
      margin-bottom: 20px;
      font-size: clamp(46px, 8vw, 104px);
      line-height: 0.93;
      letter-spacing: 0.015em;
      font-weight: 900;
    }

    .hero h1 span {
      color: var(--cyan);
    }

    .hero-lead {
      max-width: 650px;
      margin-bottom: 28px;
      color: var(--muted);
      font-size: clamp(16px, 2vw, 20px);
      font-weight: 600;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 34px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 0 18px;
      border: 1px solid var(--line-strong);
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--text);
      font-weight: 900;
      letter-spacing: 0.08em;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(168, 85, 247, 0.55);
      background: rgba(168, 85, 247, 0.12);
      outline: none;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--green), var(--cyan));
      border-color: transparent;
      color: var(--black);
      box-shadow: 0 14px 38px rgba(168, 85, 247, 0.22);
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 670px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(15, 19, 28, 0.62);
      backdrop-filter: blur(16px);
    }

    .metric {
      min-width: 0;
      padding: 18px;
      border-right: 1px solid var(--line);
    }

    .metric:last-child {
      border-right: 0;
    }

    .metric strong {
      display: block;
      color: var(--text);
      font-size: 22px;
      line-height: 1;
    }

    .metric span {
      display: block;
      margin-top: 6px;
      color: var(--quiet);
      font-size: 13px;
      font-weight: 700;
    }

    .code-window {
      position: relative;
      width: min(100%, 340px);
      justify-self: end;
      border: 1px solid rgba(168, 85, 247, 0.58);
      border-radius: 0;
      background:
        radial-gradient(circle at 8% 10%, rgba(168, 85, 247, 0.14), transparent 16rem),
        linear-gradient(180deg, rgba(12, 6, 22, 0.95), rgba(5, 5, 5, 0.96));
      box-shadow: 0 22px 82px rgba(0, 0, 0, 0.68), 0 0 58px rgba(168, 85, 247, 0.1);
      overflow: hidden;
    }

    .code-window::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(168, 85, 247, 0.05), transparent 42%),
        radial-gradient(circle at 100% 72%, rgba(168, 85, 247, 0.14), transparent 14rem);
    }

    .code-window-top {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 28px;
      padding: 0 11px;
      border-bottom: 1px solid rgba(168, 85, 247, 0.32);
      color: rgba(216, 180, 254, 0.7);
      font-family: "JetBrains Mono", monospace;
      font-size: 8.5px;
      letter-spacing: 0;
      text-transform: none;
    }

    .window-dots {
      display: flex;
      gap: 7px;
      flex-shrink: 0;
    }

    .window-dots span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(168, 85, 247, 0.64);
    }

    .code-language {
      position: relative;
      z-index: 1;
      padding: 8px 14px 0;
      color: rgba(168, 85, 247, 0.12);
      font-family: "JetBrains Mono", monospace;
      font-size: 8.5px;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: none;
    }

    .code-editor {
      position: relative;
      z-index: 1;
      margin: 0;
      padding: 3px 14px 16px;
      color: #f7f5ff;
      font-family: "JetBrains Mono", monospace;
      font-size: clamp(8px, 0.68vw, 9.5px);
      line-height: 1.48;
      letter-spacing: 0;
      text-transform: none;
      white-space: pre;
      overflow-x: auto;
    }

    .code-editor code,
    .code-editor span,
    .code-editor b,
    .code-editor i {
      font: inherit;
      text-transform: none;
      letter-spacing: 0;
    }

    .code-editor span {
      display: block;
      min-height: 1.48em;
    }

    .code-editor i {
      display: inline-block;
      width: 2.4ch;
      margin-right: 10px;
      color: rgba(255, 255, 255, 0.82);
      font-style: normal;
      text-align: right;
      user-select: none;
    }

    .code-editor b {
      font-weight: 700;
    }

    .code-editor .plain {
      color: #ffffff;
    }

    .code-editor .orange {
      color: #ff9f43;
    }

    .code-editor .green {
      color: #75f0b9;
    }

    .code-editor .blue {
      color: #71d7ff;
    }

    .code-editor .violet {
      color: #b794f6;
    }

    .code-editor .muted {
      color: rgba(216, 180, 254, 0.58);
    }

    .code-editor .cursor-line {
      color: var(--purple);
      animation: cursorBlink 1s steps(2, jump-none) infinite;
    }

    @keyframes cursorBlink {
      50% {
        opacity: 0;
      }
    }

    .section {
      padding: 92px 0;
    }

    .section.alt {
      background: rgba(255, 255, 255, 0.025);
      border-block: 1px solid rgba(255, 255, 255, 0.055);
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 34px;
    }

    .kicker {
      margin-bottom: 8px;
      color: var(--cyan);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .section h2 {
      margin-bottom: 0;
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1;
      letter-spacing: 0;
    }

    .section-head p {
      max-width: 470px;
      margin-bottom: 0;
      color: var(--muted);
    }

    .about-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
      gap: 30px;
      align-items: stretch;
    }

    .copy-panel,
    .work-card,
    .skill-card,
    .github-panel,
    .contact-panel,
    .process-item {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
      backdrop-filter: blur(16px);
    }

    .copy-panel {
      padding: clamp(24px, 4vw, 38px);
    }

    .copy-panel p {
      color: #c3cede;
      font-size: 17px;
    }

    .copy-panel p:last-child {
      margin-bottom: 0;
    }

    .stack-map {
      display: grid;
      min-height: 100%;
      gap: 12px;
    }

    .stack-node {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.045);
    }

    .stack-node strong {
      display: block;
    }

    .stack-node span {
      color: var(--quiet);
      font-size: 13px;
      font-weight: 700;
    }

    .stack-node em {
      color: var(--green);
      font-style: normal;
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      white-space: nowrap;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .skill-card {
      position: relative;
      min-height: 230px;
      padding: 20px;
      overflow: hidden;
    }

    .skill-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: var(--accent, var(--cyan));
    }

    .skill-card h3 {
      margin-bottom: 10px;
      font-size: 19px;
    }

    .skill-card p {
      color: var(--muted);
      font-size: 14px;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 18px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 9px;
      border: 1px solid var(--line);
      border-radius: 6px;
      color: #cbd7e8;
      background: rgba(255, 255, 255, 0.045);
      font-size: 12px;
      font-weight: 800;
    }

    .work-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .work-card {
      min-height: 310px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    }

    .work-card:hover {
      transform: translateY(-4px);
      border-color: rgba(168, 85, 247, 0.38);
      background: rgba(24, 31, 44, 0.86);
    }

    .work-visual {
      position: relative;
      min-height: 128px;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(168, 85, 247, 0.14), transparent 45%),
        linear-gradient(315deg, rgba(126, 34, 206, 0.12), transparent 45%),
        #0c111a;
      overflow: hidden;
    }

    .work-visual::before {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 7px;
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 10%, transparent 10% 18%, rgba(255, 255, 255, 0.08) 18% 22%, transparent 22%),
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
      background-size: 100% 100%, 100% 18px;
    }

    .work-visual::after {
      content: attr(data-code);
      position: absolute;
      right: 18px;
      bottom: 14px;
      color: var(--green);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 700;
    }

    .work-body {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 18px;
    }

    .work-body h3 {
      margin-bottom: 8px;
      font-size: 19px;
    }

    .work-body p {
      flex: 1;
      color: var(--muted);
      font-size: 14px;
    }

    .work-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 16px;
      color: var(--quiet);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      counter-reset: process;
    }

    .process-item {
      min-height: 214px;
      padding: 20px;
      counter-increment: process;
    }

    .process-item::before {
      content: "0" counter(process);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 32px;
      margin-bottom: 22px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 6px;
      color: var(--amber);
      font-family: "JetBrains Mono", monospace;
      font-weight: 800;
    }

    .process-item h3 {
      margin-bottom: 8px;
      font-size: 18px;
    }

    .process-item p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .github-layout {
      display: grid;
      grid-template-columns: 0.78fr 1.22fr;
      gap: 18px;
    }

    .github-panel {
      padding: 22px;
    }

    .profile-card {
      display: grid;
      gap: 18px;
    }

    .avatar {
      width: 74px;
      height: 74px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      object-fit: cover;
      background: var(--panel-strong);
    }

    .profile-card h3 {
      margin-bottom: 2px;
      font-size: 24px;
    }

    .profile-card p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .stat-box {
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.04);
    }

    .stat-box strong {
      display: block;
      font-size: 22px;
      line-height: 1;
    }

    .stat-box span {
      color: var(--quiet);
      font-size: 12px;
      font-weight: 800;
    }

    .repo-list {
      display: grid;
      gap: 12px;
    }

    .repo-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.04);
      transition: border-color 160ms ease, background 160ms ease;
    }

    .repo-item:hover {
      border-color: rgba(168, 85, 247, 0.34);
      background: rgba(168, 85, 247, 0.07);
    }

    .repo-item h3 {
      margin-bottom: 4px;
      font-size: 16px;
    }

    .repo-item p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .repo-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--quiet);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      white-space: nowrap;
    }

    .language-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      margin-right: 5px;
      border-radius: 50%;
      background: var(--cyan);
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
      gap: 20px;
    }

    .contact-panel {
      padding: clamp(22px, 4vw, 34px);
    }

    .contact-methods {
      display: grid;
      gap: 12px;
      margin-top: 26px;
    }

    .contact-method {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.04);
    }

    .contact-method span {
      color: var(--quiet);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .contact-method strong {
      display: block;
      overflow-wrap: anywhere;
    }

    .form-grid {
      display: grid;
      gap: 14px;
    }

    .field {
      display: grid;
      gap: 7px;
    }

    .field label {
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .field input,
    .field textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.055);
      color: var(--text);
      padding: 13px 14px;
      outline: none;
      transition: border-color 160ms ease, background 160ms ease;
    }

    .field textarea {
      min-height: 132px;
      resize: vertical;
    }

    .field input:focus,
    .field textarea:focus {
      border-color: rgba(168, 85, 247, 0.7);
      background: rgba(168, 85, 247, 0.075);
    }

    .form-note {
      min-height: 24px;
      margin: 0;
      color: var(--green);
      font-size: 13px;
      font-weight: 700;
    }

    .site-footer {
      padding: 30px 0;
      border-top: 1px solid var(--line);
      color: var(--quiet);
    }

    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .footer-links {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: var(--muted);
      font-weight: 800;
      font-size: 13px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 520ms ease, transform 520ms ease;
    }

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

    .loader {
      display: grid;
      place-items: center;
      min-height: 180px;
      color: var(--muted);
      border: 1px dashed var(--line);
      border-radius: var(--radius);
      font-family: "JetBrains Mono", monospace;
      font-size: 13px;
    }

    @media (max-width: 980px) {
      .hero-grid,
      .about-layout,
      .github-layout,
      .contact-layout {
        grid-template-columns: 1fr;
      }

      .skills-grid,
      .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

    @media (max-width: 760px) {
      .container {
        width: min(100% - 28px, var(--max));
      }

      .nav-links {
        position: fixed;
        inset: 72px 14px auto;
        display: grid;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(9, 11, 16, 0.96);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
      }

      .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .nav-links a {
        justify-content: center;
      }

      .menu-toggle {
        display: block;
      }

      .hero {
        padding-top: 110px;
      }

      .section {
        padding: 68px 0;
      }

      .section-head {
        display: block;
      }

      .section-head p {
        margin-top: 16px;
      }

      .hero-metrics,
      .work-grid,
      .skills-grid,
      .process-grid {
        grid-template-columns: 1fr;
      }

      .metric {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .metric:last-child {
        border-bottom: 0;
      }

      .footer-row {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 480px) {
      .hero-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .button {
        width: 100%;
      }

      .repo-item,
      .contact-method {
        grid-template-columns: 1fr;
      }

      .repo-meta,
      .contact-method {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
      }
    }


