:root {
        color-scheme: dark;
        --bg: #06070c;
        --bg-soft: #0e1119;
        --panel: rgba(255, 255, 255, 0.075);
        --panel-strong: rgba(255, 255, 255, 0.12);
        --ink: #f7fbff;
        --muted: #aeb8c8;
        --dim: #718096;
        --line: rgba(255, 255, 255, 0.16);
        --cyan: #4de3ff;
        --lime: #c6ff52;
        --coral: #ff7a59;
        --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
        --radius: 28px;
        --max: 1180px;
      }

      html[data-theme="light"] {
        color-scheme: light;
        --bg: #f7f2ea;
        --bg-soft: #ffffff;
        --panel: rgba(255, 255, 255, 0.78);
        --panel-strong: rgba(255, 255, 255, 0.94);
        --ink: #151922;
        --muted: #4e596a;
        --dim: #778194;
        --line: rgba(21, 25, 34, 0.15);
        --cyan: #007a8f;
        --lime: #5c7f00;
        --coral: #bb4b2f;
        --shadow: 0 24px 70px rgba(42, 38, 31, 0.16);
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        min-height: 100vh;
        background:
          radial-gradient(circle at 16% 8%, rgba(77, 227, 255, 0.18), transparent 24rem),
          radial-gradient(circle at 82% 18%, rgba(198, 255, 82, 0.1), transparent 22rem),
          linear-gradient(180deg, #06070c 0%, #0a0d14 45%, #05060a 100%);
        color: var(--ink);
        font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
      }

      html[data-theme="light"] body {
        background:
          radial-gradient(circle at 14% 10%, rgba(0, 122, 143, 0.14), transparent 25rem),
          radial-gradient(circle at 88% 18%, rgba(242, 190, 34, 0.18), transparent 22rem),
          linear-gradient(180deg, #f7f2ea 0%, #fffdfa 48%, #eef4f6 100%);
      }

      body::before {
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        content: "";
        background-image:
          linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
        background-size: 72px 72px;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 82%);
      }

      html[data-theme="light"] body::before {
        background-image:
          linear-gradient(rgba(21, 25, 34, 0.055) 1px, transparent 1px),
          linear-gradient(90deg, rgba(21, 25, 34, 0.055) 1px, transparent 1px);
      }

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

      img {
        display: block;
        max-width: 100%;
      }

      button,
      input,
      textarea {
        font: inherit;
      }

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

      .topbar {
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid var(--line);
        background: rgba(6, 7, 12, 0.78);
        backdrop-filter: blur(18px);
      }

      html[data-theme="light"] .topbar {
        background: rgba(255, 253, 250, 0.92);
        border-bottom-color: rgba(21, 25, 34, 0.18);
        box-shadow: 0 10px 34px rgba(42, 38, 31, 0.08);
      }

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

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-weight: 900;
        transition: transform 0.25s ease;
      }

      .brand:hover,
      .brand:focus-visible {
        transform: translateY(-1px);
      }

      .brand-mark {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(77, 227, 255, 0.45);
        border-radius: 14px;
        background: #06070c;
        box-shadow: 0 0 30px rgba(77, 227, 255, 0.12);
        overflow: hidden;
      }

      .brand-mark img {
        width: 100%;
        height: 100%;
        display: block;
      }

      .brand small {
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
      }

      html[data-theme="light"] .brand {
        color: #151922;
      }

      .nav-links {
        display: flex;
        list-style: none;
        align-items: center;
        gap: 4px;
      }

      .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .nav-links a {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        border: 1px solid transparent;
        border-radius: 999px;
        padding: 8px 13px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 800;
        transition: 0.2s ease;
      }

      html[data-theme="light"] .nav-links a {
        color: #303848;
      }

      .nav-links a:hover,
      .nav-links a:focus-visible,
      .nav-links a.active-link {
        border-color: rgba(77, 227, 255, 0.34);
        background: rgba(77, 227, 255, 0.08);
        color: var(--ink);
      }

      html[data-theme="light"] .nav-links a:hover,
      html[data-theme="light"] .nav-links a:focus-visible {
        border-color: rgba(0, 122, 143, 0.28);
        background: rgba(0, 122, 143, 0.08);
        color: #101722;
      }

      .nav-links a.active-link {
        border-color: rgba(198, 255, 82, 0.58);
        background: linear-gradient(135deg, rgba(198, 255, 82, 0.2), rgba(77, 227, 255, 0.1));
        color: var(--lime);
        box-shadow: inset 0 0 0 1px rgba(198, 255, 82, 0.08), 0 0 22px rgba(198, 255, 82, 0.08);
      }

      html[data-theme="light"] .nav-links a.active-link {
        border-color: rgba(0, 122, 143, 0.35);
        background: #151922;
        color: #ffffff;
        box-shadow: 0 10px 24px rgba(21, 25, 34, 0.16);
      }

      .menu-btn {
        display: none;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel);
        color: var(--ink);
      }

      .theme-toggle {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--panel);
        color: var(--ink);
        padding: 9px 13px;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
        transition: 0.2s ease;
      }

      html[data-theme="light"] .theme-toggle,
      html[data-theme="light"] .menu-btn {
        background: #ffffff;
        border-color: rgba(21, 25, 34, 0.18);
        color: #151922;
        box-shadow: 0 8px 22px rgba(42, 38, 31, 0.08);
      }

      .theme-toggle:hover,
      .theme-toggle:focus-visible {
        border-color: rgba(77, 227, 255, 0.45);
        transform: translateY(-1px);
      }

      .hero {
        position: relative;
        min-height: calc(100vh - 74px);
        display: grid;
        align-items: center;
        padding: 68px 0 56px;
      }

      .hero-grid {
        display: grid;
        grid-template-columns: 1.08fr 0.92fr;
        gap: 48px;
        align-items: center;
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
        color: var(--lime);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .eyebrow::before {
        width: 42px;
        height: 2px;
        background: var(--lime);
        content: "";
      }

      h1,
      h2,
      h3 {
        font-family: "Space Grotesk", Inter, sans-serif;
        letter-spacing: 0;
      }

      .hero h1 {
        max-width: 840px;
        margin-bottom: 24px;
        font-size: clamp(38px, 5.7vw, 76px);
        line-height: 0.98;
      }

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

      .hero-copy {
        max-width: 730px;
        color: var(--muted);
        font-size: clamp(17px, 1.8vw, 20px);
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 30px 0;
      }

      .btn {
        display: inline-flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 12px 18px;
        font-weight: 900;
        transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
      }

      .btn:hover,
      .btn:focus-visible {
        transform: translateY(-2px);
      }

      .btn-primary {
        border-color: rgba(198, 255, 82, 0.55);
        background: var(--lime);
        color: #10130b;
      }

      html[data-theme="light"] .btn-primary {
        border-color: #151922;
        background: #151922;
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(21, 25, 34, 0.18);
      }

      .btn-ghost {
        background: var(--panel);
        color: var(--ink);
      }

      .social-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .social-row a {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel);
        color: var(--muted);
        transition: 0.2s ease;
      }

      .social-row a:hover,
      .social-row a:focus-visible {
        border-color: rgba(77, 227, 255, 0.5);
        color: var(--cyan);
        transform: translateY(-2px);
      }

      .compact-social {
        gap: 8px;
      }

      .compact-social a {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.065);
      }

      .profile-system {
        position: relative;
        animation: floatPortrait 7s ease-in-out infinite;
      }

      .portrait-shell {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 36px;
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
          var(--bg-soft);
        padding: 14px;
        box-shadow: var(--shadow);
        transition: transform 0.35s ease, border-color 0.35s ease;
      }

      .portrait-shell:hover {
        border-color: rgba(77, 227, 255, 0.42);
        transform: rotate(-0.6deg) scale(1.01);
      }

      .portrait-shell::before {
        position: absolute;
        inset: 14px;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 26px;
        pointer-events: none;
        content: "";
        animation: softPulse 5s ease-in-out infinite;
      }

      .portrait-shell img {
        width: 100%;
        aspect-ratio: 0.82;
        border-radius: 26px;
        object-fit: cover;
        object-position: center;
        filter: saturate(0.9) contrast(1.08);
      }

      .status-card {
        position: absolute;
        right: -18px;
        bottom: 28px;
        z-index: 3;
        width: min(260px, 62%);
        border: 1px solid rgba(198, 255, 82, 0.42);
        border-radius: 22px;
        background: rgba(6, 7, 12, 0.82);
        box-shadow: var(--shadow);
        padding: 18px;
        backdrop-filter: blur(18px);
        animation: floatBadge 5.5s ease-in-out infinite;
      }

      html[data-theme="light"] .status-card {
        background: rgba(255, 255, 255, 0.94);
        border-color: rgba(92, 127, 0, 0.36);
        color: #151922;
      }

      .status-card b {
        display: block;
        color: var(--lime);
        font-family: "Space Grotesk", sans-serif;
        font-size: 38px;
        line-height: 1;
      }

      html[data-theme="light"] .status-card b {
        color: #5c7f00;
      }

      .status-card span {
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
      }

      html[data-theme="light"] .status-card span {
        color: #303848;
      }

      .role-card {
        border: 1px solid rgba(77, 227, 255, 0.4);
        border-radius: 22px;
        background: rgba(6, 7, 12, 0.82);
        padding: 16px;
        backdrop-filter: blur(18px);
      }

      html[data-theme="light"] .role-card {
        background: rgba(255, 255, 255, 0.9);
      }

      .role-card small {
        display: block;
        margin-bottom: 10px;
        color: var(--dim);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .role-logos {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .role-logos img {
        max-width: 92px;
        max-height: 30px;
        object-fit: contain;
      }

      .assignment-card {
        display: grid;
        gap: 12px;
        align-content: start;
      }

      .assignment-card p {
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.45;
      }

      .assignment-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }

      .assignment-title h3 {
        font-size: 18px;
        line-height: 1.15;
      }

      .assignment-pill {
        display: inline-flex;
        width: fit-content;
        border: 1px solid rgba(198, 255, 82, 0.35);
        border-radius: 999px;
        color: var(--lime);
        padding: 5px 10px;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .quick-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 42px;
      }

      .stat {
        border: 1px solid var(--line);
        border-radius: 22px;
        background: var(--panel);
        padding: 18px;
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
      }

      .stat:hover {
        border-color: rgba(77, 227, 255, 0.45);
        background: var(--panel-strong);
        transform: translateY(-4px);
      }

      .stat b {
        display: block;
        color: var(--ink);
        font-family: "Space Grotesk", sans-serif;
        font-size: 28px;
        line-height: 1;
      }

      .stat span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
      }

      .ticker {
        overflow: hidden;
        border-block: 1px solid var(--line);
        background: #090b11;
        color: var(--muted);
        white-space: nowrap;
      }

      html[data-theme="light"] .ticker {
        background: #151922;
        color: #dce7ee;
      }

      .ticker span {
        display: inline-block;
        min-width: 100%;
        padding: 18px 0;
        animation: ticker 28s linear infinite;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      @keyframes ticker {
        from {
          transform: translateX(0);
        }

        to {
          transform: translateX(-50%);
        }
      }

      @keyframes floatPortrait {
        0%,
        100% {
          transform: translate3d(0, 0, 0);
        }

        50% {
          transform: translate3d(0, -10px, 0);
        }
      }

      @keyframes floatBadge {
        0%,
        100% {
          transform: translate3d(0, 0, 0);
        }

        50% {
          transform: translate3d(-6px, -8px, 0);
        }
      }

      @keyframes softPulse {
        0%,
        100% {
          opacity: 0.85;
        }

        50% {
          opacity: 0.45;
        }
      }

      @keyframes iconBreathe {
        0%,
        100% {
          transform: scale(1);
        }

        50% {
          transform: scale(1.06);
        }
      }

      @keyframes tileIn {
        from {
          opacity: 0;
          transform: translateY(14px) scale(0.96);
        }

        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      .section {
        padding: 96px 0;
      }

      .section-head {
        display: grid;
        grid-template-columns: 0.75fr 1fr;
        gap: 28px;
        align-items: end;
        margin-bottom: 34px;
      }

      .section-kicker {
        color: var(--cyan);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }

      .section-head h2 {
        margin-top: 8px;
        font-size: clamp(30px, 4.4vw, 54px);
        line-height: 1.05;
      }

      .section-head p {
        color: var(--muted);
        font-size: 17px;
      }

      .panel {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--panel);
        box-shadow: var(--shadow);
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
      }

      .panel:hover {
        border-color: rgba(77, 227, 255, 0.28);
      }

      .about-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
        gap: 22px;
        align-items: start;
      }

      .about-story {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 22px;
        padding: 30px;
      }

      .about-story p {
        color: var(--muted);
        font-size: 20px;
        line-height: 1.5;
      }

      .about-story strong {
        color: var(--ink);
      }

      .about-proof {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .about-proof span {
        display: inline-flex;
        align-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.055);
        color: var(--muted);
        padding: 9px 12px;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.25;
      }

      .about-proof i {
        color: var(--cyan);
        margin-right: 8px;
      }

      .domain-showcase {
        display: grid;
        gap: 14px;
      }

      .domain-showcase h3 {
        color: var(--ink);
        font-size: 14px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

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

      .domain-tile {
        display: grid;
        min-height: 112px;
        align-content: space-between;
        gap: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background:
          linear-gradient(150deg, rgba(77, 227, 255, 0.11), transparent 58%),
          rgba(255, 255, 255, 0.04);
        padding: 14px;
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
      }

      .domain-tile:hover {
        border-color: rgba(77, 227, 255, 0.5);
        transform: translateY(-4px);
      }

      .domain-tile i {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border-radius: 13px;
        background: rgba(77, 227, 255, 0.12);
        color: var(--cyan);
        font-size: 16px;
      }

      .domain-tile b {
        color: var(--ink);
        font-size: 14px;
        line-height: 1.2;
      }

      html[data-theme="light"] .domain-tile {
        background:
          linear-gradient(150deg, rgba(0, 132, 151, 0.1), transparent 58%),
          rgba(255, 255, 255, 0.82);
      }

      .about-side {
        display: grid;
        gap: 16px;
      }

      .identity-list {
        display: grid;
        gap: 0;
        padding: 24px;
      }

      .identity-list li {
        display: grid;
        grid-template-columns: 108px 1fr;
        gap: 14px;
        border-bottom: 1px solid var(--line);
        padding: 12px 0;
        color: var(--muted);
        font-size: 15px;
        list-style: none;
      }

      .identity-list li:first-child {
        padding-top: 0;
      }

      .identity-list li:last-child {
        border-bottom: 0;
        padding-bottom: 0;
      }

      .identity-list b {
        color: var(--ink);
      }

      .identity-list a {
        color: var(--cyan);
        font-weight: 800;
      }

      .logo-strip {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px 32px;
        margin-top: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.045);
        padding: 22px 24px;
      }

      .logo-strip span {
        color: var(--dim);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .logo-strip img {
        max-width: 122px;
        max-height: 34px;
        object-fit: contain;
        filter: grayscale(1) brightness(1.7) opacity(0.72);
      }

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

      .craft-card,
      .job-card,
      .education-card {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--panel);
        box-shadow: var(--shadow);
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
      }

      .craft-card:hover,
      .job-card:hover,
      .education-card:hover {
        border-color: rgba(77, 227, 255, 0.34);
        transform: translateY(-5px);
      }

      .craft-card {
        min-height: 310px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 28px;
      }

      .craft-card:nth-child(2) {
        background: linear-gradient(155deg, rgba(77, 227, 255, 0.13), rgba(255, 255, 255, 0.055));
      }

      .craft-card:nth-child(3) {
        background: linear-gradient(155deg, rgba(198, 255, 82, 0.11), rgba(255, 255, 255, 0.055));
      }

      .icon-box {
        display: grid;
        width: 56px;
        height: 56px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--cyan);
        font-size: 22px;
      }

      .craft-card h3 {
        margin: 22px 0 12px;
        font-size: 28px;
        line-height: 1.05;
      }

      .craft-card p {
        color: var(--muted);
      }

      .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px 10px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 900;
      }

      .timeline {
        display: grid;
        gap: 18px;
      }

      .job-card {
        display: grid;
        grid-template-columns: 270px 1fr;
        gap: 26px;
        padding: 26px;
      }

      .job-side {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 16px;
        border-right: 1px solid var(--line);
        padding-right: 24px;
      }

      .company-logos {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
      }

      .company-logos img {
        max-width: 118px;
        max-height: 38px;
        object-fit: contain;
        filter: brightness(1.5) saturate(0.8);
      }

      html[data-theme="light"] .company-logos img,
      html[data-theme="light"] .role-logos img {
        filter: none;
      }

      .period {
        color: var(--cyan);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .job-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        width: 100%;
        margin-bottom: 8px;
      }

      .job-heading h3 {
        margin-bottom: 0;
        min-width: 0;
      }

      .job-period {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        color: var(--muted);
        font-size: 12px;
        line-height: 1;
        letter-spacing: 0.07em;
        padding: 8px 12px;
        white-space: nowrap;
      }

      .domain-badge {
        position: relative;
        display: grid;
        grid-template-columns: 48px 1fr;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 4px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(77, 227, 255, 0.09), rgba(198, 255, 82, 0.06));
        padding: 14px;
        overflow: hidden;
      }

      .domain-badge::after {
        content: "";
        position: absolute;
        inset: auto -30px -38px auto;
        width: 82px;
        height: 82px;
        border-radius: 999px;
        background: rgba(77, 227, 255, 0.08);
        filter: blur(2px);
      }

      .domain-icon {
        position: relative;
        z-index: 1;
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border: 1px solid rgba(77, 227, 255, 0.22);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.07);
        color: var(--cyan);
        font-size: 20px;
        animation: domainPulse 3.6s ease-in-out infinite;
      }

      .domain-copy {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 3px;
      }

      .domain-copy b {
        color: var(--ink);
        font-size: 15px;
      }

      .domain-copy small {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      @keyframes domainPulse {
        0%,
        100% {
          transform: translateY(0) scale(1);
          box-shadow: 0 0 0 rgba(77, 227, 255, 0);
        }

        50% {
          transform: translateY(-2px) scale(1.05);
          box-shadow: 0 0 24px rgba(77, 227, 255, 0.2);
        }
      }

      .job-card h3 {
        margin-bottom: 4px;
        font-size: 26px;
      }

      .job-card h4 {
        color: var(--lime);
        font-size: 16px;
      }

      .location {
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
      }

      .job-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 14px 0 18px;
      }

      .job-meta-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.055);
        color: var(--muted);
        font-size: 13px;
        font-weight: 850;
        line-height: 1.25;
        padding: 8px 12px;
      }

      .job-meta-pill b {
        color: var(--ink);
      }

      .job-meta-pill.role {
        border-color: rgba(198, 255, 82, 0.32);
        background: rgba(198, 255, 82, 0.08);
      }

      .job-meta-pill.client {
        border-color: rgba(255, 122, 89, 0.34);
        background: rgba(255, 122, 89, 0.09);
      }

      .job-card ul {
        padding-left: 18px;
        color: var(--muted);
        font-size: 15px;
      }

      .job-card li + li {
        margin-top: 8px;
      }

      .spotlights {
        display: grid;
        gap: 10px;
        margin-top: 18px;
      }

      .spotlight {
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
        padding: 16px;
      }

      .spotlight h5 {
        margin-bottom: 6px;
        color: var(--ink);
        font-size: 15px;
      }

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

      .role-stack {
        display: grid;
        gap: 16px;
      }

      .role-block + .role-block {
        border-top: 1px solid var(--line);
        padding-top: 16px;
      }

      .role-head {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 10px;
      }

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

      .skill-category {
        display: grid;
        grid-template-rows: 92px 1fr;
        min-height: 330px;
        gap: 22px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background:
          radial-gradient(circle at top right, rgba(77, 227, 255, 0.08), transparent 34%),
          rgba(6, 8, 14, 0.78);
        padding: 24px;
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
      }

      .skill-category-head {
        align-content: start;
        display: grid;
        gap: 7px;
        min-height: 92px;
      }

      .skill-category-head h3 {
        color: var(--ink);
        font-size: 20px;
      }

      .skill-category-head p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
      }

      .tech-grid {
        align-content: start;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .tech-card {
        display: grid;
        min-height: 98px;
        gap: 10px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
        padding: 14px 10px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 950;
        text-align: center;
        opacity: 0;
        transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
      }

      .tech-card.wide {
        grid-column: 1 / -1;
        grid-template-columns: 52px 1fr;
        min-height: 110px;
        place-items: center start;
        text-align: left;
        padding: 16px;
      }

      .tech-card.wide .tech-copy {
        display: grid;
        gap: 8px;
      }

      .tech-card.wide b {
        color: var(--ink);
        font-size: 15px;
      }

      .tech-services {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }

      .tech-services span {
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        padding: 3px 8px;
      }

      .skill-category.visible .tech-card {
        animation: tileIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        animation-delay: var(--reveal-delay, 0ms);
      }

      .tech-card:hover,
      .tech-card:focus-within {
        border-color: rgba(77, 227, 255, 0.5);
        background: rgba(77, 227, 255, 0.07);
        box-shadow: 0 18px 40px rgba(77, 227, 255, 0.08);
        transform: translateY(-2px);
      }

      .tech-card:hover .tech-icon,
      .tech-card:focus-within .tech-icon {
        animation: iconBreathe 1.1s ease-in-out infinite;
      }

      .tech-icon {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.22);
      }

      .tech-icon img {
        width: 28px;
        height: 28px;
        display: block;
      }

      .tech-icon img.brand-icon-openai {
        filter: invert(1);
      }

      .tech-icon i {
        color: var(--cyan);
        font-size: 22px;
      }

      .tech-icon .logo-text {
        color: var(--cyan);
        font-size: 12px;
        font-weight: 950;
        letter-spacing: 0;
      }

      .tech-icon.icon-fallback {
        color: var(--cyan);
      }

      .tech-card.featured {
        border-color: rgba(77, 227, 255, 0.55);
        background:
          linear-gradient(135deg, rgba(77, 227, 255, 0.12), rgba(198, 255, 82, 0.06)),
          rgba(255, 255, 255, 0.045);
      }

      .tech-card.featured::after {
        content: "Primary";
        border: 1px solid rgba(77, 227, 255, 0.4);
        border-radius: 999px;
        color: var(--cyan);
        padding: 3px 8px;
        font-size: 10px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      html[data-theme="light"] .skill-category {
        background:
          radial-gradient(circle at top right, rgba(0, 132, 151, 0.08), transparent 34%),
          rgba(255, 255, 255, 0.86);
      }

      html[data-theme="light"] .tech-card {
        background: rgba(255, 255, 255, 0.72);
      }

      html[data-theme="light"] .tech-icon {
        background: rgba(21, 25, 34, 0.06);
      }

      html[data-theme="light"] .tech-icon img.brand-icon-openai {
        filter: none;
      }

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

      .education-card {
        padding: 26px;
      }

      .education-card .period {
        margin-bottom: 14px;
      }

      .education-card h3 {
        margin-bottom: 8px;
        font-size: 25px;
      }

      .education-card h4 {
        color: var(--lime);
      }

      .education-card p,
      .education-card li {
        color: var(--muted);
      }

      .education-card ul {
        margin-top: 14px;
        padding-left: 18px;
      }

      .contact-panel {
        display: grid;
        grid-template-columns: 0.86fr 1.14fr;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 34px;
        background: var(--panel);
        box-shadow: var(--shadow);
      }

      .contact-copy {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 28px;
        background:
          linear-gradient(145deg, rgba(77, 227, 255, 0.13), rgba(198, 255, 82, 0.08)),
          rgba(255, 255, 255, 0.04);
        padding: 34px;
      }

      .contact-copy h2 {
        margin-bottom: 16px;
        font-size: clamp(38px, 5vw, 68px);
        line-height: 0.95;
      }

      .contact-copy p {
        color: var(--muted);
      }

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

      .contact-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--ink);
        font-weight: 800;
      }

      .contact-links i {
        color: var(--cyan);
      }

      .contact-form {
        display: grid;
        gap: 12px;
        padding: 34px;
      }

      input,
      textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.075);
        color: var(--ink);
        outline: none;
        padding: 15px 16px;
      }

      input:focus,
      textarea:focus {
        border-color: rgba(77, 227, 255, 0.65);
        box-shadow: 0 0 0 4px rgba(77, 227, 255, 0.08);
      }

      textarea {
        min-height: 154px;
        resize: vertical;
      }

      .hidden-field {
        display: none;
      }

      .form-status {
        min-height: 22px;
        color: var(--lime);
        font-size: 14px;
        font-weight: 800;
      }

      .form-status.error {
        color: var(--coral);
      }

      .footer {
        border-top: 1px solid var(--line);
        padding: 28px 0;
        color: var(--dim);
        text-align: center;
        font-size: 14px;
      }

      .reveal {
        opacity: 0;
        transform: translateY(26px) scale(0.985);
        transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
        transition-delay: var(--reveal-delay, 0ms);
      }

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

      .reveal.reveal-left {
        transform: translateX(-28px) scale(0.985);
      }

      .reveal.reveal-right {
        transform: translateX(28px) scale(0.985);
      }

      .reveal.reveal-left.visible,
      .reveal.reveal-right.visible {
        transform: translateX(0) scale(1);
      }

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

        .reveal {
          opacity: 1;
          transform: none;
        }

        .tech-card {
          opacity: 1;
        }
      }

      @media (max-width: 980px) {
        .menu-btn {
          display: grid;
        }

        .theme-toggle span {
          display: none;
        }

        .nav-links {
          position: absolute;
          top: 74px;
          right: 20px;
          left: 20px;
          display: none;
          flex-direction: column;
          align-items: stretch;
          border: 1px solid var(--line);
          border-radius: 22px;
          background: rgba(6, 7, 12, 0.96);
          padding: 10px;
          box-shadow: var(--shadow);
        }

        html[data-theme="light"] .nav-links {
          background: rgba(255, 253, 250, 0.98);
          border-color: rgba(21, 25, 34, 0.16);
        }

        .nav-links.open {
          display: flex;
        }

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

        .hero-grid,
        .section-head,
        .about-grid,
        .contact-panel,
        .job-card {
          grid-template-columns: 1fr;
        }

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

        .about-side {
          grid-template-columns: 1fr;
        }

        .hero {
          padding-top: 44px;
        }

        .profile-system {
          max-width: 560px;
          margin: 0 auto;
        }

        .quick-stats,
        .craft-grid,
        .education-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .job-side {
          border-right: 0;
          border-bottom: 1px solid var(--line);
          padding-right: 0;
          padding-bottom: 20px;
        }
      }

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

        .hero h1 {
          font-size: clamp(34px, 11vw, 50px);
        }

        .hero-actions .btn {
          width: 100%;
        }

        .quick-stats,
        .craft-grid,
        .education-grid {
          grid-template-columns: 1fr;
        }

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

        .skills-board,
        .tech-grid {
          grid-template-columns: 1fr;
        }

        .skill-category {
          grid-template-rows: auto 1fr;
        }

        .skill-category-head {
          min-height: auto;
        }

        .section {
          padding: 68px 0;
        }

        .about-story,
        .identity-list,
        .craft-card,
        .job-card,
        .education-card,
        .contact-copy,
        .contact-form {
          padding: 22px;
        }

        .about-story p {
          font-size: 18px;
        }

        .identity-list li {
          grid-template-columns: 1fr;
          gap: 3px;
        }

        .assignment-title {
          align-items: flex-start;
          flex-direction: column;
        }

        .job-heading {
          align-items: flex-start;
          flex-direction: column;
        }

        .job-period {
          white-space: normal;
        }

        .status-card {
          position: static;
          width: auto;
          margin-top: 12px;
        }

        .portrait-shell {
          padding: 10px;
        }
      }
