
    :root {
      --bg: #07101b;
      --bg-2: #0a1522;
      --panel: rgba(14, 27, 43, .78);
      --panel-strong: #101c2b;
      --line: #243d52;
      --text: #e8eef6;
      --muted: #92a9bb;
      --teal: #48ddce;
      --violet: #b97aff;
      --blue: #6aa7ff;
      --green: #73e69d;
      --shadow: 0 20px 60px rgba(0, 0, 0, .25);
      --radius: 18px;
      --max: 1160px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at 18% 10%, rgba(72, 221, 206, .10), transparent 34rem),
        radial-gradient(circle at 85% 18%, rgba(185, 122, 255, .08), transparent 32rem),
        linear-gradient(180deg, #07101b 0%, #08131f 45%, #07101b 100%);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .18;
      background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      mask-image: linear-gradient(to bottom, black, transparent 70%);
      z-index: -1;
    }

    a { color: inherit; }

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

    nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: rgba(7, 16, 27, .72);
      border-bottom: 1px solid rgba(72, 221, 206, .09);
    }

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

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font-weight: 800;
      letter-spacing: .04em;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(72,221,206,.48);
      background:
        linear-gradient(135deg, rgba(72,221,206,.20), rgba(185,122,255,.14)),
        #0a1724;
      box-shadow: inset 0 0 24px rgba(72,221,206,.08), 0 0 22px rgba(72,221,206,.08);
      display: grid;
      place-items: center;
      color: var(--teal);
      font: 800 13px/1 Consolas, "Courier New", monospace;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      align-items: center;
      font-size: 14px;
      color: var(--muted);
    }

    .nav-links a {
      text-decoration: none;
      transition: color .2s ease;
    }

    .nav-links a:hover { color: var(--teal); }

    .hero {
      padding: 110px 0 70px;
      position: relative;
    }

    .eyebrow,
    .mono {
      font: 700 12px/1.4 Consolas, "Courier New", monospace;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .eyebrow {
      color: var(--teal);
      margin-bottom: 18px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
      gap: 50px;
      align-items: center;
    }

    h1 {
      margin: 0;
      max-width: 900px;
      font-size: clamp(52px, 8vw, 104px);
      line-height: .92;
      letter-spacing: -.055em;
    }

    .gradient-text {
      background: linear-gradient(90deg, #ffffff 8%, var(--teal) 58%, #95bfff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-lead {
      max-width: 760px;
      margin: 28px 0 0;
      font-size: clamp(19px, 2.1vw, 27px);
      line-height: 1.42;
      color: #c6d5e2;
      letter-spacing: -.02em;
    }

    .hero-copy {
      max-width: 700px;
      margin: 20px 0 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 17px;
      border-radius: 10px;
      border: 1px solid var(--line);
      text-decoration: none;
      font-weight: 750;
      font-size: 14px;
      background: rgba(14, 27, 43, .74);
      transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      border-color: rgba(72,221,206,.55);
    }

    .btn.primary {
      background: var(--teal);
      color: #071420;
      border-color: var(--teal);
    }

    .terminal {
      border: 1px solid rgba(72,221,206,.24);
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(15,29,45,.92), rgba(8,20,33,.96));
      box-shadow: var(--shadow), inset 0 0 42px rgba(72,221,206,.02);
      overflow: hidden;
    }

    .terminal-bar {
      height: 42px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 14px;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #425266;
    }

    .dot:nth-child(1) { background:#ff6b6b; }
    .dot:nth-child(2) { background:#ffd166; }
    .dot:nth-child(3) { background:#63d99a; }

    .terminal-body {
      padding: 24px;
      font: 13px/1.85 Consolas, "Courier New", monospace;
      color: #bed0df;
    }

    .prompt { color: var(--teal); }
    .key { color: #8fb8ff; }
    .ok { color: var(--green); }
    .violet { color: #d0a7ff; }

    section { padding: 72px 0; }

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

    .section-head h2 {
      margin: 6px 0 0;
      font-size: clamp(30px, 4vw, 48px);
      letter-spacing: -.035em;
    }

    .section-head p {
      max-width: 560px;
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 28px;
    }

    .card {
      background: linear-gradient(180deg, rgba(16,28,43,.84), rgba(9,21,34,.84));
      border: 1px solid rgba(129,164,191,.17);
      border-radius: var(--radius);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
    }

    .about-copy {
      padding: 30px;
      font-size: 16px;
      line-height: 1.85;
      color: #c6d5e2;
    }

    .about-copy p { margin: 0 0 16px; }
    .about-copy p:last-child { margin-bottom: 0; }

    .focus-list {
      padding: 18px;
      display: grid;
      gap: 10px;
    }

    .focus-item {
      padding: 16px 17px;
      border: 1px solid rgba(255,255,255,.055);
      border-radius: 12px;
      background: rgba(5,14,24,.48);
    }

    .focus-item strong {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
    }

    .focus-item span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

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

    .project {
      padding: 24px;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    .project::after {
      content: "";
      position: absolute;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      filter: blur(60px);
      opacity: .10;
      background: var(--teal);
      right: -50px;
      top: -50px;
      pointer-events: none;
    }

    .project:nth-child(2)::after { background: var(--violet); }
    .project:nth-child(3)::after { background: var(--blue); }

    .project-kicker {
      color: var(--teal);
      font: 700 11px/1.4 Consolas, monospace;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .project h3 {
      margin: 14px 0 10px;
      font-size: 22px;
    }

    .project p {
      color: var(--muted);
      line-height: 1.65;
      margin: 0 0 22px;
    }

    .project-link {
      margin-top: auto;
      text-decoration: none;
      font-weight: 750;
      font-size: 14px;
      color: #d9e7f3;
    }

    .project-link:hover { color: var(--teal); }

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

    .stack-group { padding: 24px; }

    .stack-group h3 {
      margin: 0 0 16px;
      font-size: 15px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .tag {
      padding: 8px 10px;
      border: 1px solid rgba(143,184,255,.18);
      border-radius: 9px;
      color: #c8d9e7;
      background: rgba(5,14,24,.46);
      font: 12px/1 Consolas, monospace;
    }

    .status {
      margin-top: 28px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid rgba(72,221,206,.18);
      border-radius: var(--radius);
      overflow: hidden;
      background: rgba(10, 22, 35, .62);
    }

    .status > div {
      padding: 18px 20px;
      border-right: 1px solid rgba(255,255,255,.06);
    }

    .status > div:last-child { border-right: 0; }
    .status .label {
      color: var(--muted);
      font: 700 10px/1.4 Consolas, monospace;
      letter-spacing: .13em;
    }

    .status .value {
      margin-top: 7px;
      font-weight: 800;
      font-size: 14px;
    }

    .contact {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 24px;
      align-items: stretch;
    }

    .contact-main {
      padding: 34px;
    }

    .contact-main h2 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      letter-spacing: -.04em;
    }

    .contact-main p {
      max-width: 670px;
      color: var(--muted);
      line-height: 1.75;
      margin: 18px 0 0;
    }

    .contact-links {
      padding: 24px;
      display: grid;
      gap: 10px;
    }

    .contact-links a {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 14px;
      border-radius: 11px;
      border: 1px solid rgba(255,255,255,.06);
      text-decoration: none;
      color: #c9dae7;
      background: rgba(5,14,24,.44);
      transition: border-color .2s ease, transform .2s ease;
    }

    .contact-links a:hover {
      transform: translateX(3px);
      border-color: rgba(72,221,206,.35);
    }

    footer {
      padding: 36px 0 50px;
      color: #71879a;
      font-size: 12px;
    }

    footer .wrap {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      border-top: 1px solid rgba(255,255,255,.06);
      padding-top: 24px;
    }

    .accent { color: var(--teal); }

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

      .projects,
      .stack-groups {
        grid-template-columns: 1fr 1fr;
      }

      .terminal {
        max-width: 640px;
      }
    }

    @media (max-width: 640px) {
      .wrap { width: min(calc(100% - 22px), var(--max)); }

      .hero { padding-top: 78px; }

      .nav-links a:not(:last-child) { display: none; }

      .projects,
      .stack-groups,
      .status {
        grid-template-columns: 1fr;
      }

      .status > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
      }

      .status > div:last-child { border-bottom: 0; }

      .section-head {
        align-items: start;
        flex-direction: column;
      }

      section { padding: 56px 0; }
    }

    @media (prefers-reduced-motion: no-preference) {
      .fade {
        opacity: 0;
        transform: translateY(16px);
        animation: fadeIn .7s ease forwards;
      }

      .fade:nth-child(2) { animation-delay: .08s; }
      .fade:nth-child(3) { animation-delay: .16s; }

      @keyframes fadeIn {
        to { opacity: 1; transform: translateY(0); }
      }
    }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
section[id] { scroll-margin-top: 110px; }
.brand img { width:44px; height:44px; border-radius:12px; }
.skip { position:absolute; top:-100px; left:12px; padding:14px; background:var(--bg); z-index:100; }
.skip:focus { top:12px; }
.social-strip { display:flex; gap:20px; flex-wrap:wrap; margin-top:24px; color:var(--muted); font-size:14px; }
.social-strip a { text-decoration:none; border-bottom:1px solid var(--line); padding-bottom:5px; }
.social-strip a:hover { color:var(--teal); }
.legal-links { display:flex; gap:22px; flex-wrap:wrap; }
.legal-links a { color:#b8cbd9; }
.legal { max-width:800px; padding:60px 0; overflow-wrap:anywhere; }
.legal h1 { font-size:clamp(34px,6vw,58px); line-height:1.1; }
.legal h2 { font-size:22px; margin-top:36px; }
.legal p,.legal li { line-height:1.8; color:#c6d5e2; }
.legal a { color:var(--teal); }
.draft { padding:18px; border:1px solid #aa833b; border-radius:12px; background:#241f16; color:#ffe0a0; line-height:1.7; margin:24px 0; }
.pending { color:#ffe0a0; font-weight:600; }
.terminal-note { color:var(--muted); font-size:11px; margin-top:20px; }
@media(max-width:640px) {
 .nav-inner { flex-wrap:wrap; gap:12px; padding:12px 0; }
 .nav-links { width:100%; justify-content:space-between; gap:10px; font-size:13px; }
 .nav-links a:not(:last-child) { display:inline; }
 .hero { padding-top:48px; }
 .terminal-body { padding:18px; font-size:12px; overflow-wrap:anywhere; }
 .contact-main,.about-copy { padding:24px; }
}
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto} *,*::before,*::after {animation:none!important;transition:none!important} }
