@import url('https://fonts.googleapis.com/css2?family=Irish+Grover&display=swap');
      @import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

       :root {
        --bg: #f6f5f0;
        --bg2: #eceae3;
        --surface: #ffffff;
        --border: #e0ddd5;
        --text: #1a1916;
        --text-muted: #6b6860;
        --accent2: #3d3c38;
        --tag-bg: #e8e6df;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
        --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
        --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.13);
        --radius: 14px;
        --font-display: "Irish Grover", cursive;
        --font-body: "DM Sans", sans-serif;
        --font-mono: "JetBrains Mono", monospace;
      }
      *,
      *::before,
      *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--font-body);
        background: var(--bg);
        color: var(--text);
        overflow-x: hidden;
        line-height: 1.65;
        cursor: none;
      }
      #cursor {
        position: fixed;
        width: 12px;
        height: 12px;
        background: var(--text);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.15s ease;
        transform: translate(-50%, -50%);
        mix-blend-mode: difference;
      }
      #cursor-ring {
        position: fixed;
        width: 36px;
        height: 36px;
        border: 1.5px solid var(--text);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition:
          width 0.3s ease,
          height 0.3s ease;
        mix-blend-mode: difference;
      }
      #progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        height: 3px;
        background: var(--text);
        width: 0%;
        z-index: 10000;
      }
      .fade-in-section {
        opacity: 0;
        transform: translateY(40px);
        transition:
          opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
          transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
      }
      .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
 
      /* ── NAV ── */
      .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px;
        height: 60px;
        /* fully transparent on hero — blends in, no border, no shadow */
        background: transparent;
        border: 1px solid transparent;
        border-radius: 50px;
        max-width: 860px;
        width: calc(100% - 40px);
        margin: 18px auto 0;
        position: sticky;
        top: 14px;
        z-index: 1000;
        transition:
          background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
          backdrop-filter 0.5s ease;
      }
 
      /* liquid glass kicks in on scroll */
      .navbar.scrolled {
        background: rgba(246, 245, 240, 0.55);
        backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
        -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
        border-color: rgba(255, 255, 255, 0.6);
        box-shadow:
          0 8px 32px rgba(26, 25, 22, 0.08),
          0 1px 0 rgba(255,255,255,0.9) inset,
          0 -1px 0 rgba(26,25,22,0.04) inset;
      }
 
      /* active "Home" pill on the left */
      .nav-logo {
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        background: rgba(26, 25, 22, 0.08);
        text-decoration: none;
        padding: 10px 22px;
        border-radius: 50px;
        white-space: nowrap;
        border: 1px solid rgba(26,25,22,0.10);
        transition: background 0.25s, border-color 0.25s;
        flex-shrink: 0;
      }
      .nav-logo:hover {
        background: rgba(26,25,22,0.13);
      }
      /* scrolled state — logo pill gets a stronger glass look */
      .navbar.scrolled .nav-logo {
        background: rgba(255,255,255,0.7);
        border-color: rgba(255,255,255,0.9);
        box-shadow: 0 2px 8px rgba(26,25,22,0.07);
      }
 
      /* centre links + avatar */
      .nav-links {
        list-style: none;
        display: flex;
        gap: 2px;
        align-items: center;
        flex: 1;
        justify-content: center;
        padding: 0 8px;
      }
      .nav-links li { display: flex; align-items: center; }
      .nav-links a {
        text-decoration: none;
        color: var(--text);
        font-size: 14px;
        font-weight: 400;
        padding: 8px 16px;
        border-radius: 50px;
        transition: all 0.22s ease;
        white-space: nowrap;
        opacity: 0.75;
      }
      .nav-links a:hover {
        opacity: 1;
        background: rgba(26,25,22,0.06);
      }
      .nav-links a::after { display: none; }
 
      /* avatar badge — centre */
      .nav-avatar {
        width: 38px;
        height: 38px;
        background: var(--text);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 12px;
        font-weight: 700;
        color: var(--bg);
        flex-shrink: 0;
        margin: 0 6px;
        border: 2px solid rgba(26,25,22,0.15);
        transition: transform 0.25s, box-shadow 0.25s;
      }
      .nav-avatar:hover {
        transform: scale(1.08);
        box-shadow: 0 4px 14px rgba(26,25,22,0.18);
      }
      .navbar.scrolled .nav-avatar {
        background: var(--text);
        border-color: rgba(255,255,255,0.4);
        box-shadow: 0 2px 10px rgba(26,25,22,0.15);
      }
 
      /* right CTA */
      .nav-cta {
        background: var(--text) !important;
        color: var(--bg) !important;
        padding: 10px 22px !important;
        border-radius: 50px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
        display: flex;
        align-items: center;
        gap: 6px;
        border: 1px solid transparent;
      }
      .nav-cta:hover {
        background: var(--accent2) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 14px rgba(26,25,22,0.2) !important;
      }
      .navbar.scrolled .nav-cta {
        box-shadow: 0 4px 16px rgba(26,25,22,0.18) !important;
      }
      .nav-cta::after { display: none !important; }
 
      /* hamburger */
      .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
        background: none;
        border: none;
      }
      .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: all 0.3s ease;
      }
      .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .hamburger.open span:nth-child(2) { opacity: 0; }
      .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
      /* mobile avatar badge */
      .nav-mobile-avatar {
        display: none;
        width: 38px;
        height: 38px;
        background: var(--text);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 12px;
        font-weight: 700;
        color: var(--bg);
        flex-shrink: 0;
      }
 
      .mobile-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(246, 245, 240, 0.97);
        backdrop-filter: blur(24px);
        z-index: 999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .mobile-menu.open {
        display: flex;
        opacity: 1;
      }
      .mobile-menu a {
        font-family: var(--font-display);
        font-size: 32px;
        color: var(--text);
        text-decoration: none;
      }
 
      /* ── SHARED ── */
      .section-label {
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.18em;
        color: var(--text-muted);
        text-transform: uppercase;
        margin-bottom: 12px;
      }
      .section-heading {
        font-family: var(--font-display);
        font-size: clamp(32px, 5vw, 52px);
        color: var(--text);
        line-height: 1.1;
        margin-bottom: 60px;
      }
      .bg-watermark {
        position: absolute;
        font-family: var(--font-display);
        font-size: clamp(70px, 10vw, 130px);
        color: var(--text);
        opacity: 0.04;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
        line-height: 1;
      }
 
      /* ── HERO ── */
      .hero {
        min-height: calc(100vh - 96px);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
      }
 
      /* faint bg watermark — keep untouched */
      .hero-bg-text {
        display: none;
      }
 
      /* full-bleed image as background layer */
      .profile-wrap {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
      }
      .profile-image {
        width: 100%;
        height: 90vh;
        object-fit: contain;
        object-position: top center;
        display: block;
        pointer-events: auto;
      }
 
      /* grid sits on top of image */
      .hero-grid {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-end;
        width: 100%;
        padding: 0 48px 52px;
        gap: 0;
      }
 
      /* LEFT — big name */
      .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
      }
      .hero-name {
        font-family: var(--font-display);
        font-size: clamp(52px, 9vw, 110px);
        color: var(--text);
        line-height: 0.92;
        margin: 0 0 20px;
        letter-spacing: -2px;
      }
      .hero-description {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.65;
        margin-bottom: 28px;
        font-weight: 300;
        max-width: 300px;
      }
      .hero-description em {
        font-style: normal;
        color: var(--text);
        font-weight: 500;
      }
      .hero-btns {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
      }
      .btn {
        padding: 12px 24px;
        border-radius: 10px;
        font-size: 13px;
        font-family: var(--font-body);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.28s ease;
        border: none;
        cursor: pointer;
      }
      .btn-dark {
        background: var(--text);
        color: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
      }
      .btn-dark:hover {
        background: #333;
        transform: translateY(-2px);
      }
      .btn-outline {
        background: transparent;
        color: var(--text);
        border: 1.5px solid var(--border);
      }
      .btn-outline:hover {
        border-color: var(--text);
        transform: translateY(-2px);
      }
 
      /* RIGHT — role tag bottom-right */
      .hero-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        padding-bottom: 4px;
        padding-right: 6vw;
      }
      .hero-role {
        font-family: var(--font-display);
        font-size: clamp(32px, 5.5vw, 68px);
        color: var(--text);
        line-height: 0.95;
        text-align: right;
        letter-spacing: -1px;
        animation: slideInRight 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
      }
      .hero-role em {
        font-style: normal;
        color: #a855f7;
      }
 
      /* ── HERO ENTRANCE ANIMATIONS ── */
      @keyframes slideInLeft {
        from { opacity: 0; transform: translateX(-60px); }
        to   { opacity: 1; transform: translateX(0); }
      }
      @keyframes slideInRight {
        from { opacity: 0; transform: translateX(60px); }
        to   { opacity: 1; transform: translateX(0); }
      }
      @keyframes slideInUp {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: translateY(0); }
      }
      @keyframes heroImageReveal {
        from { opacity: 0; transform: scale(1.04); }
        to   { opacity: 1; transform: scale(1); }
      }
      .profile-image {
        animation: heroImageReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
      }
      .hero-name {
        animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
      }
      .hero-description {
        animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.35s both;
      }
      .hero-btns {
        animation: slideInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
      }
      .hero-badge {
        position: absolute;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 14px;
        font-size: 12px;
        font-family: var(--font-mono);
        color: var(--text);
        white-space: nowrap;
        box-shadow: var(--shadow-md);
        z-index: 4;
        animation: badge-float 4s ease-in-out infinite;
      }
      .hero-badge-1 {
        top: 18%;
        right: -30px;
        animation-delay: 0s;
      }
      .hero-badge-2 {
        bottom: 22%;
        left: -40px;
        animation-delay: 1.5s;
      }
      @keyframes badge-float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-8px);
        }
      }
      .scroll-indicator {
        position: absolute;
        right: 40px;
        bottom: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        z-index: 3;
        animation: float 3.5s ease-in-out infinite;
      }
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(10px);
        }
      }
      .scroll-indicator svg {
        stroke: var(--text-muted);
        fill: none;
        stroke-width: 2;
      }
      .scroll-text {
        color: var(--text-muted);
        font-size: 10px;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        letter-spacing: 2.5px;
        font-family: var(--font-mono);
        text-transform: uppercase;
      }
 
      /* ══════════════════════════════════════════════
   ABOUT — WIREFRAME LAYOUT v3
   Row 1: Profile card (full-width, horizontal)
   Row 2: [Left: outer card { Latest Role sub-card + Tech Expertise }] | [Right: About Me]
   Row 3: [Left: empty]                                                  | [Right: GitHub Activity]
═══════════════════════════════════════════════ */
      .about-section {
        padding: 100px 20px 120px;
        background: var(--bg2);
        position: relative;
        overflow: hidden;
      }
      .about-section .bg-watermark {
        top: 6%;
        left: 50%;
        transform: translateX(-50%) rotate(-2deg);
      }
      .about-inner {
        max-width: 1180px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
      }
      .about-header {
        margin-bottom: 48px;
      }
      .about-header .section-heading {
        margin-bottom: 0;
      }
 
      /* ── Rotating circular badge ── */
      .rotating-badge {
        position: absolute;
        top: -56px;
        right: -40px;
        width: 126px;
        height: 126px;
        z-index: 10;
        pointer-events: none;
      }
      .rotating-badge svg {
        width: 100%;
        height: 100%;
        animation: spin-cw 14s linear infinite;
        overflow: visible;
      }
      @keyframes spin-cw {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(360deg);
        }
      }
      .rotating-badge .badge-center {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .rotating-badge .badge-dot {
        width: 9px;
        height: 9px;
        background: var(--text);
        border-radius: 50%;
        box-shadow: 0 0 0 3px rgba(26, 25, 22, 0.14);
      }
 
      /* ── ROW 1: Profile card — horizontal ── */
      .about-profile-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 28px 32px;
        box-shadow: var(--shadow-md);
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 28px;
        margin-bottom: 20px;
        position: relative;
      }
      .about-photo-ring {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: var(--bg2);
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
        border: 3px solid var(--border);
      }
      .about-photo-ring img {
        width: 94px;
        object-fit: cover;
        object-position: top center;
        display: block;
        filter: grayscale(100%) contrast(1.08);
        transition: filter 0.4s ease;
      }
      .about-photo-ring:hover img {
        filter: grayscale(0%);
      }
 
      .about-profile-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
      .about-name {
        font-family: var(--font-display);
        font-size: 22px;
        color: var(--text);
        line-height: 1.2;
      }
      .about-tagline {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--text-muted);
        letter-spacing: 0.05em;
      }
 
      .about-profile-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
      }
      /* Social icons row */
      .about-socials {
        display: flex;
        gap: 8px;
      }
      .about-social-btn {
        width: 36px;
        height: 36px;
        background: var(--tag-bg);
        border: 1px solid var(--border);
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text);
        text-decoration: none;
        transition: all 0.25s ease;
        flex-shrink: 0;
      }
      .about-social-btn:hover {
        background: var(--text);
        color: #fff;
        transform: translateY(-2px);
        border-color: var(--text);
      }
      /* Read More button */
      .read-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: var(--text);
        color: #fff;
        padding: 11px 22px;
        border-radius: 28px;
        font-size: 13px;
        font-weight: 600;
        font-family: var(--font-body);
        white-space: nowrap;
        border: none;
        cursor: pointer;
        transition: all 0.28s ease;
        box-shadow: 0 4px 18px rgba(26, 25, 22, 0.22);
      }
      .read-more-btn:hover {
        background: #333;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(26, 25, 22, 0.28);
      }
 
      /* ── ROWS 2+3: 2-column body grid ── */
      .about-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
        align-items: start;
      }
 
      /* LEFT column: one outer card spanning both rows */
      .about-left-col {
        grid-column: 1;
        grid-row: 1 / 3; /* spans rows 2 and 3 */
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 26px;
        box-shadow: var(--shadow-sm);
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease;
      }
      .about-left-col:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
      }
 
      /* Latest Role nested sub-card inside the left outer card */
      .role-subcard {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px 18px;
      }
      .card-stitle {
        font-family: var(--font-display);
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 12px;
        letter-spacing: 0.01em;
      }
      .role-row {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .role-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 19px;
        box-shadow: var(--shadow-sm);
      }
      .role-title {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--text);
        line-height: 1.3;
      }
      .role-company {
        font-size: 11.5px;
        color: var(--text-muted);
        margin-top: 3px;
      }
 
      /* Technical Expertise below the sub-card, inside the same outer card */
      .tech-block {
        display: flex;
        flex-direction: column;
        gap: 14px;
      }
      .tech-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }
      .tech-group-label {
        font-family: var(--font-mono);
        font-size: 9px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-muted);
      }
      .tech-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }
      .tech-chip {
        background: var(--tag-bg);
        color: var(--text);
        border: 1px solid var(--border);
        padding: 4px 11px;
        border-radius: 14px;
        font-size: 11px;
        font-family: var(--font-mono);
        transition: all 0.22s ease;
        cursor: default;
      }
      .tech-chip:hover {
        background: var(--text);
        color: #fff;
        border-color: var(--text);
      }
 
      /* RIGHT column row 1: About Me card */
      .about-right-top {
        grid-column: 2;
        grid-row: 1;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 26px 28px;
        box-shadow: var(--shadow-sm);
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease;
      }
      .about-right-top:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
      }
      .about-card-title {
        font-family: var(--font-display);
        font-size: 24px;
        color: var(--text);
        margin-bottom: 8px;
      }
      .open-to-work {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;
        font-weight: 500;
        color: #16a34a;
        margin-bottom: 16px;
      }
      .open-to-work svg {
        flex-shrink: 0;
      }
      .about-bio {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.78;
        margin-bottom: 10px;
      }
      .about-bio:last-child {
        margin-bottom: 0;
      }
 
      /* RIGHT column row 2: GitHub Activity card */
      .about-right-bottom {
        grid-column: 2;
        grid-row: 2;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 24px 26px;
        box-shadow: var(--shadow-sm);
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease;
      }
      .about-right-bottom:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
      }
 
      /* GitHub dark card */
      .github-card-dark {
        background: #161b22;
        border-radius: 12px;
        padding: 20px;
        color: #e6edf3;
        border: 1px solid #30363d;
        font-family: var(--font-mono);
        font-size: 12px;
      }
      .gh-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
      }
      .gh-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #30363d;
        object-fit: cover;
      }
      .gh-name {
        font-size: 13px;
        font-weight: 500;
        color: #e6edf3;
      }
      .gh-handle {
        color: #8b949e;
        font-size: 11px;
      }
      .gh-stats {
        display: flex;
        gap: 18px;
        margin-bottom: 12px;
      }
      .gh-stat {
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      .gh-stat-val {
        font-size: 14px;
        font-weight: 600;
        color: #e6edf3;
      }
      .gh-stat-label {
        color: #8b949e;
        font-size: 10px;
        letter-spacing: 0.05em;
      }
      .gh-repos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .gh-repo {
        background: #21262d;
        border-radius: 8px;
        padding: 10px 12px;
        border: 1px solid #30363d;
      }
      .gh-repo-name {
        color: #58a6ff;
        font-size: 11px;
        text-decoration: none;
        display: block;
        margin-bottom: 5px;
      }
      .gh-repo-name:hover {
        text-decoration: underline;
      }
      .gh-repo-meta {
        display: flex;
        gap: 10px;
        color: #8b949e;
        font-size: 10px;
        align-items: center;
      }
      .gh-lang-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 3px;
        flex-shrink: 0;
      }
      .gh-activity {
        font-size: 11px;
        color: #8b949e;
        margin-bottom: 10px;
      }
      .gh-activity span {
        color: #7ee787;
      }
      .gh-loading,
      .gh-error {
        text-align: center;
        padding: 20px;
        color: #8b949e;
      }
      .gh-retry {
        background: #21262d;
        color: #e6edf3;
        border: 1px solid #30363d;
        padding: 6px 12px;
        border-radius: 6px;
        cursor: pointer;
        margin-top: 10px;
        font-family: var(--font-mono);
        font-size: 11px;
      }
      .gh-retry:hover {
        background: #30363d;
      }
 
      /* Responsive */
      @media (max-width: 900px) {
        .about-profile-card {
          grid-template-columns: auto 1fr;
          grid-template-rows: auto auto;
        }
        .about-profile-actions {
          grid-column: 1/-1;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;
        }
        .about-body {
          grid-template-columns: 1fr;
        }
        .about-left-col {
          grid-row: auto;
        }
        .about-right-top,
        .about-right-bottom {
          grid-column: 1;
          grid-row: auto;
        }
        .rotating-badge {
          top: -48px;
          right: -16px;
          width: 106px;
          height: 106px;
        }
      }
      @media (max-width: 540px) {
        .about-profile-card {
          grid-template-columns: 1fr;
          justify-items: center;
          text-align: center;
        }
        .about-profile-actions {
          flex-direction: column;
          align-items: center;
        }
      }
 
      /* ══════════════════════════════════════════════
   READ MORE MODAL — polished
══════════════════════════════════════════════ */
      .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(26, 25, 22, 0.62);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 8000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.32s cubic-bezier(0.23, 1, 0.32, 1);
      }
      .modal-backdrop.open {
        opacity: 1;
        pointer-events: all;
      }
 
      .modal-sheet {
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 26px;
        width: 100%;
        max-width: 860px;
        max-height: 88vh;
        overflow-y: auto;
        box-shadow:
          0 40px 80px rgba(0, 0, 0, 0.28),
          0 0 0 1px rgba(255, 255, 255, 0.06);
        transform: translateY(36px) scale(0.96);
        transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
      }
      .modal-backdrop.open .modal-sheet {
        transform: translateY(0) scale(1);
      }
 
      /* ── Sticky header ── */
      .modal-header {
        position: sticky;
        top: 0;
        z-index: 5;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        border-radius: 26px 26px 0 0;
        padding: 24px 28px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }
      .modal-header-left {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .modal-header-avatar,
      .modal-header-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: var(--text);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(26, 25, 22, 0.22);
      }
      .modal-title {
        font-family: var(--font-display);
        font-size: clamp(18px, 3vw, 24px);
        color: var(--text);
        line-height: 1.2;
      }
      .modal-subtitle {
        font-size: 11px;
        color: var(--text-muted);
        font-family: var(--font-mono);
        letter-spacing: 0.05em;
        margin-top: 4px;
      }
      .modal-close {
        width: 38px;
        height: 38px;
        min-width: 38px;
        background: var(--tag-bg);
        border: 1px solid var(--border);
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text-muted);
        transition: all 0.22s ease;
      }
      .modal-close:hover {
        background: var(--text);
        color: #fff;
        border-color: var(--text);
      }
 
      /* ── Body ── */
      .modal-body {
        padding: 28px;
      }
 
      /* Section label dividers */
      .modal-section-label {
        font-family: var(--font-mono);
        font-size: 9px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin: 0 0 16px;
        padding-top: 24px;
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .modal-section-label:first-child {
        padding-top: 0;
      }
      .modal-section-label::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
      }
 
      /* ── Education grid: 2 cards side by side ── */
      .modal-edu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 0;
      }
 
      /* ── Individual sub-card ── */
      .modal-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 22px 24px;
        box-shadow: var(--shadow-sm);
        transition:
          transform 0.25s ease,
          box-shadow 0.25s ease;
      }
      .modal-card.full {
        width: 100%;
      }
      .modal-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
      }
 
      /* Card icon + heading row */
      .modal-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
      }
      .modal-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--tag-bg);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
      }
      .modal-card-title {
        font-family: var(--font-display);
        font-size: 16px;
        color: var(--text);
        line-height: 1.25;
        margin-bottom: 2px;
      }
      .modal-card-sub {
        font-size: 11px;
        color: var(--text-muted);
        font-family: var(--font-mono);
        letter-spacing: 0.04em;
      }
      .modal-card p {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.75;
      }
 
      /* ── Achievement items ── */
      .achievement-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .ach-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 13px 15px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        transition: background 0.2s ease;
      }
      .ach-item:hover {
        background: var(--bg2);
      }
      .ach-bullet {
        width: 34px;
        height: 34px;
        min-width: 34px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
      }
      .ach-body {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }
      .ach-title {
        font-size: 13px;
        font-weight: 600;
        color: var(--text);
        line-height: 1.3;
      }
      .ach-desc {
        font-size: 12.5px;
        color: var(--text-muted);
        line-height: 1.65;
      }
 
      /* ── Cert badge pills ── */
      .cert-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .cert-badge {
        background: var(--tag-bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 6px 14px;
        font-size: 11.5px;
        font-family: var(--font-mono);
        color: var(--text);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
        cursor: default;
      }
      .cert-badge::before {
        content: "✦";
        font-size: 8px;
        color: var(--text-muted);
        transition: color 0.2s ease;
      }
      .cert-badge:hover {
        background: var(--text);
        color: #fff;
        border-color: var(--text);
      }
      .cert-badge:hover::before {
        color: rgba(255, 255, 255, 0.4);
      }
 
      /* ── Responsive ── */
      @media (max-width: 640px) {
        .modal-header {
          padding: 18px 18px 14px;
        }
        .modal-body {
          padding: 18px;
        }
        .modal-edu-grid {
          grid-template-columns: 1fr;
        }
        .modal-header-avatar {
          width: 42px;
          height: 42px;
          font-size: 18px;
        }
      }
 
      /* ── TIMELINE ── */
      .timeline-section {
        padding: 120px 20px;
        background: var(--bg);
        position: relative;
        overflow: hidden;
      }
      .timeline-section .bg-watermark {
        top: 8%;
        left: 50%;
        transform: translateX(-50%) rotate(-2deg);
      }
      .timeline-header {
        text-align: center;
        margin-bottom: 80px;
        position: relative;
        z-index: 2;
      }
      .timeline-subtitle {
        font-size: 15px;
        color: var(--text-muted);
        max-width: 520px;
        margin: 10px auto 0;
        font-weight: 300;
      }
      .timeline {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
      }
      .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background: linear-gradient(
          180deg,
          transparent,
          var(--text) 10%,
          var(--text) 90%,
          transparent
        );
        opacity: 0.15;
      }
      .timeline-item {
        display: grid;
        grid-template-columns: 1fr 56px 1fr;
        align-items: start;
        gap: 20px;
        margin-bottom: 48px;
        opacity: 0;
        transform: translateY(40px);
        transition:
          opacity 0.7s ease,
          transform 0.7s ease;
      }
      .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
      }
      .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: right;
      }
      .timeline-item:nth-child(even) .timeline-content {
        grid-column: 3;
        text-align: left;
      }
      .timeline-marker {
        grid-column: 2;
        width: 18px;
        height: 18px;
        background: var(--text);
        border-radius: 50%;
        justify-self: center;
        margin-top: 14px;
        position: relative;
        z-index: 2;
        box-shadow:
          0 0 0 5px var(--bg),
          0 0 0 7px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
      }
      .timeline-item:hover .timeline-marker {
        transform: scale(1.3);
      }
      .timeline-content {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 26px;
        box-shadow: var(--shadow-sm);
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease;
      }
      .timeline-content:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
      }
      .timeline-date {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--text-muted);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 8px;
      }
      .timeline-title {
        font-family: var(--font-display);
        font-size: 18px;
        color: var(--text);
        margin-bottom: 10px;
      }
      .timeline-desc {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.65;
      }
      .timeline-tags {
        display: flex;
        gap: 6px;
        margin-top: 14px;
        flex-wrap: wrap;
      }
      .timeline-item:nth-child(odd) .timeline-tags {
        justify-content: flex-end;
      }
      .timeline-tag {
        background: var(--tag-bg);
        color: var(--text);
        padding: 4px 12px;
        border-radius: 16px;
        font-size: 11px;
        font-family: var(--font-mono);
        border: 1px solid var(--border);
      }
 
      /* ── PROJECTS ── */
      .projects-section {
        padding: 120px 20px;
        background: var(--bg2);
        position: relative;
        overflow: hidden;
      }
      .projects-section .bg-watermark {
        top: 8%;
        left: 50%;
        transform: translateX(-50%) rotate(3deg);
      }
      .projects-inner {
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
      }
      .projects-header {
        margin-bottom: 48px;
      }
      .projects-header .section-heading {
        margin-bottom: 0;
      }
      #preview-card {
        position: fixed;
        z-index: 9997;
        width: 300px;
        height: 190px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow:
          0 28px 56px rgba(0, 0, 0, 0.16),
          0 4px 16px rgba(0, 0, 0, 0.07);
        pointer-events: none;
        opacity: 0;
        transform: scale(0.84) translateY(8px);
        transition:
          opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
          transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform, opacity;
        border: 1px solid var(--border);
      }
      #preview-card.pv-visible {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
      #preview-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transform: scale(1.08);
        filter: blur(8px);
        transition:
          opacity 0.45s ease,
          transform 0.45s ease,
          filter 0.45s ease;
      }
      #preview-card img.pv-active {
        opacity: 1;
        transform: scale(1);
        filter: none;
      }
      #preview-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to top,
          rgba(236, 234, 227, 0.14),
          transparent
        );
        pointer-events: none;
      }
      #project-list {
        list-style: none;
      }
      #project-list::after {
        content: "";
        display: block;
        border-top: 1px solid var(--border);
      }
      .project-item {
        border-top: 1px solid var(--border);
      }
      .project-link {
        display: block;
        text-decoration: none;
        color: inherit;
        padding: 1.5rem 0;
        position: relative;
      }
      .project-link::before {
        content: "";
        position: absolute;
        inset: 0;
        margin: 0 -1.2rem;
        border-radius: 12px;
        background: var(--bg);
        opacity: 0;
        transform: scaleY(0.88);
        transition:
          opacity 0.28s ease,
          transform 0.28s ease;
      }
      .project-link:hover::before {
        opacity: 1;
        transform: scaleY(1);
      }
      .project-inner {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.2rem;
      }
      .project-body {
        flex: 1;
        min-width: 0;
      }
      .project-title-row {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
      }
      .project-title {
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--text);
        position: relative;
      }
      .project-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        height: 1.5px;
        width: 0;
        background: var(--text-muted);
        transition: width 0.32s ease;
      }
      .project-link:hover .project-title::after {
        width: 100%;
      }
      .project-arrow {
        width: 16px;
        height: 16px;
        color: var(--text-muted);
        opacity: 0;
        transform: translate(-6px, 6px);
        transition:
          opacity 0.28s ease,
          transform 0.28s ease;
        flex-shrink: 0;
        margin-top: 4px;
      }
      .project-link:hover .project-arrow {
        opacity: 1;
        transform: translate(0, 0);
      }
      .project-desc {
        font-size: 0.875rem;
        color: var(--text-muted);
        margin-top: 0.35rem;
        line-height: 1.7;
        transition: color 0.28s ease;
        max-width: 520px;
      }
      .project-link:hover .project-desc {
        color: var(--text);
      }
      .project-tags-row {
        display: flex;
        gap: 6px;
        margin-top: 12px;
        flex-wrap: wrap;
      }
      .project-tag {
        background: var(--tag-bg);
        color: var(--text-muted);
        border: 1px solid var(--border);
        padding: 3px 11px;
        border-radius: 16px;
        font-size: 11px;
        font-family: var(--font-mono);
        transition: all 0.25s ease;
      }
      .project-link:hover .project-tag {
        background: var(--text);
        color: #fff;
        border-color: var(--text);
      }
      .project-year {
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--text-muted);
        white-space: nowrap;
        padding-top: 0.25rem;
        transition: color 0.28s ease;
        letter-spacing: 0.05em;
        flex-shrink: 0;
      }
      .project-link:hover .project-year {
        color: var(--text);
      }
 
      /* ── CONTACT ── */
      .contact-section {
        padding: 120px 20px;
        background: var(--bg);
        position: relative;
        overflow: hidden;
      }
      .contact-section .bg-watermark {
        top: 8%;
        left: 50%;
        transform: translateX(-50%) rotate(2deg);
      }
      .contact-inner {
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
      }
      .contact-grid {
        display: grid;
        grid-template-columns: 40fr 60fr;
        gap: 60px;
        align-items: start;
        margin-bottom: 70px;
      }
      .contact-left h1 {
        font-family: var(--font-display);
        font-size: clamp(30px, 4.5vw, 50px);
        color: var(--text);
        line-height: 1.15;
        margin-bottom: 20px;
      }
      .contact-left > p {
        font-size: 15px;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 30px;
        font-weight: 300;
      }
      .checklist {
        list-style: none;
        margin-bottom: 30px;
      }
      .checklist li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
        font-size: 14px;
        color: var(--text);
      }
      .check-icon {
        width: 22px;
        height: 22px;
        background: var(--text);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .social-icons {
        display: flex;
        gap: 10px;
      }
      .social-icon-btn {
        width: 40px;
        height: 40px;
        background: var(--surface);
        border: 1.5px solid var(--border);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text);
        transition: all 0.25s ease;
      }
      .social-icon-btn:hover {
        background: var(--text);
        color: #fff;
        transform: translateY(-2px);
      }
      .contact-form-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 32px;
        box-shadow: var(--shadow-md);
      }
      .form-row {
        display: flex;
        gap: 14px;
        margin-bottom: 14px;
      }
      .form-group {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 7px;
      }
      .form-label {
        font-size: 12px;
        font-family: var(--font-mono);
        color: var(--text-muted);
        letter-spacing: 0.05em;
      }
      .form-input,
      .form-textarea {
        width: 100%;
        background: var(--bg);
        border: 1.5px solid var(--border);
        border-radius: 10px;
        padding: 13px 16px;
        font-size: 14px;
        font-family: var(--font-body);
        color: var(--text);
        transition: all 0.25s ease;
      }
      .form-input::placeholder,
      .form-textarea::placeholder {
        color: var(--text-muted);
      }
      .form-input:focus,
      .form-textarea:focus {
        outline: none;
        border-color: var(--text);
        background: var(--surface);
        box-shadow: 0 0 0 3px rgba(26, 25, 22, 0.07);
      }
      .form-textarea {
        height: 150px;
        resize: vertical;
        font-family: var(--font-body);
      }
      .submit-btn {
        width: 100%;
        height: 50px;
        background: var(--text);
        color: #fff;
        border: none;
        border-radius: 28px;
        font-size: 14px;
        font-family: var(--font-body);
        font-weight: 500;
        cursor: pointer;
        margin-top: 6px;
        transition: all 0.28s ease;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
      }
      .submit-btn:hover {
        background: #333;
        transform: translateY(-2px);
      }
      .submit-btn.sending {
        opacity: 0.7;
        pointer-events: none;
      }
      .submit-btn.sent {
        background: #22c55e;
      }
      .info-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      .info-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 24px;
        box-shadow: var(--shadow-sm);
        transition: all 0.3s ease;
      }
      .info-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
      }
      .info-card-icon {
        width: 38px;
        height: 38px;
        background: var(--tag-bg);
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        margin-bottom: 16px;
        transition: all 0.25s ease;
      }
      .info-card:hover .info-card-icon {
        background: var(--text);
        color: #fff;
      }
      .info-card h3 {
        font-family: var(--font-display);
        font-size: 16px;
        margin-bottom: 6px;
      }
      .info-card p,
      .info-card a {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: none;
      }
      .info-card a:hover {
        color: var(--text);
      }
 
      /* ── FOOTER ── */
      footer {
        background: var(--text);
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
        padding: 28px 20px;
        font-size: 13px;
        font-family: var(--font-mono);
        letter-spacing: 0.04em;
      }
      footer span {
        color: rgba(255, 255, 255, 0.8);
      }
 
      /* ── IMPACT IN NUMBERS CARD ── */
      .impact-card {
        position: absolute;
        bottom: 9px;
        right: 525px;
        z-index: 4;
        background: #ffffff;
        padding: 22px 26px;
        width: 300px;
        box-shadow: 0 8px 32px rgba(26, 25, 22, 0.14);
        animation: slideInRight 1s cubic-bezier(0.23, 1, 0.32, 1) 0.7s both;
      }
      .impact-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
      }
      .impact-label {
        font-family: var(--font-mono);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #E85D2A;
      }
      .impact-icon {
        color: #E85D2A;
        flex-shrink: 0;
      }
      .impact-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 16px;
      }
      .impact-stat {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }
      .impact-number {
        font-family: var(--font-display);
        font-size: 28px;
        font-weight: 700;
        color: #1a1916;
        line-height: 1;
      }
      .impact-desc {
        font-size: 12px;
        color: #6b6860;
        font-family: var(--font-body);
        font-weight: 400;
      }
 
      /* ════════════════════════════════════════════════
         RESPONSIVE  — mobile-first, four breakpoints
         1. ≤ 1024px  Tablet landscape / small desktop
         2. ≤  900px  Tablet portrait
         3. ≤  640px  Large phone (nav collapse)
         4. ≤  480px  Small phone (fine-tuning)
      ════════════════════════════════════════════════ */
 
      /* ── 1. TABLET LANDSCAPE ( ≤ 1024px ) ── */
      @media (max-width: 1024px) {
        /* Hero: tighten horizontal padding */
        .hero-grid {
          padding: 0 32px 48px;
          gap: 0;
        }
        .hero-name {
          font-size: clamp(44px, 7.5vw, 90px);
        }
        .hero-role {
          font-size: clamp(28px, 5vw, 58px);
        }
        /* About two-column still works but tighter */
        .about-grid {
          gap: 40px;
        }
        /* Projects preview card hidden on touch-ish sizes */
        #preview-card {
          display: none;
        }
        /* Info cards: 2-up instead of 3-up */
        .info-cards {
          grid-template-columns: repeat(2, 1fr);
        }
      }
 
      /* ── 2. TABLET PORTRAIT ( ≤ 900px ) ── */
      @media (max-width: 900px) {
 
        /* ── HERO ── */
        /*
          Switch the hero to a stacked layout:
          image sits in its own natural-height block,
          content card floats below with a solid background
          so text is always readable regardless of image.
        */
        .hero {
          min-height: 100svh;           /* fill the screen on every device   */
          flex-direction: column;
          justify-content: flex-start;
        }
 
        /* Pull the image out of absolute positioning so it
           occupies real space in the flow */
        .profile-wrap {
          position: relative;
          inset: auto;
          z-index: 1;
          width: 100%;
          overflow: hidden;
          flex-shrink: 0;
        }
 
        .profile-image {
          position: relative;
          width: 100%;
          height: clamp(260px, 50vw, 440px);   /* responsive height, not fixed 55vh */
          object-fit: cover;
          object-position: top center;
          display: block;
          animation: heroImageReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
        }
 
        /* Content grid sits below the image */
        .hero-grid {
          position: relative;
          z-index: 3;
          grid-template-columns: 1fr;
          padding: 32px 24px 40px;
          gap: 20px;
          background: var(--bg);          /* solid bg — no more text-on-image */
          flex: 1;
        }
 
        .hero-content {
          gap: 0;
        }
 
        .hero-name {
          font-size: clamp(40px, 10vw, 72px);
          letter-spacing: -1.5px;
          margin-bottom: 16px;
        }
 
        .hero-description {
          font-size: 14px;
          max-width: 100%;
          margin-bottom: 24px;
        }
 
        .hero-btns {
          gap: 10px;
        }
 
        .hero-right {
          align-items: flex-start;
          padding-right: 0;
          padding-bottom: 0;
        }
 
        .hero-role {
          font-size: clamp(26px, 8vw, 48px);
          text-align: left;
          letter-spacing: -0.5px;
        }
 
        .impact-card {
          position: relative;
          bottom: auto;
          left: auto;
          width: 100%;
          margin-top: 20px;
          box-shadow: 0 4px 16px rgba(26, 25, 22, 0.10);
        }
 
        /* Decorative elements — hide on tablet */
        .hero-bg-text,
        .hero-badge,
        .scroll-indicator {
          display: none;
        }
 
        /* ── CONTACT ── */
        .contact-grid {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        .info-cards {
          grid-template-columns: repeat(2, 1fr);
        }
 
        /* ── TIMELINE ── */
        .timeline::before {
          left: 24px;
        }
        .timeline-item {
          grid-template-columns: 40px 1fr;
          gap: 14px;
        }
        .timeline-item:nth-child(odd) .timeline-content,
        .timeline-item:nth-child(even) .timeline-content {
          grid-column: 2;
          text-align: left;
        }
        .timeline-item:nth-child(odd) .timeline-tags {
          justify-content: flex-start;
        }
        .timeline-marker {
          grid-column: 1;
          margin-top: 14px;
        }
 
        /* ── ABOUT ── */
        .about-grid {
          grid-template-columns: 1fr;
        }
 
        /* ── PROJECTS ── */
        #preview-card {
          display: none;
        }
      }
 
      /* ── 3. LARGE PHONE — nav collapses ( ≤ 640px ) ── */
      @media (max-width: 640px) {
 
        /* NAV */
        .nav-links,
        .nav-cta {
          display: none;
        }
        .nav-logo {
          display: none;
        }
        .nav-mobile-avatar {
          display: flex;
        }
        .hamburger {
          display: flex;
        }
 
        /* HERO */
        .hero {
          min-height: 100svh;
        }
        .profile-image {
          height: clamp(220px, 48vw, 340px);
          object-position: top center;
        }
        .hero-grid {
          padding: 24px 20px 36px;
          gap: 16px;
        }
        .hero-name {
          font-size: clamp(36px, 11vw, 60px);
          letter-spacing: -1px;
          margin-bottom: 14px;
        }
        .hero-role {
          font-size: clamp(22px, 9vw, 40px);
        }
        .hero-btns {
          flex-direction: column;
          gap: 10px;
        }
        .btn {
          width: 100%;
          text-align: center;
          justify-content: center;
          padding: 14px 24px;
        }
 
        /* CONTACT FORM */
        .form-row {
          flex-direction: column;
        }
        .info-cards {
          grid-template-columns: 1fr;
        }
 
        /* CURSOR — disable on touch devices */
        body {
          cursor: auto;
        }
        #cursor,
        #cursor-ring {
          display: none;
        }
      }
 
      /* ── 4. SMALL PHONE fine-tuning ( ≤ 480px ) ── */
      @media (max-width: 480px) {
 
        /* NAV */
        .navbar {
          width: calc(100% - 24px);
          padding: 0 10px;
          height: 54px;
        }
 
        /* HERO */
        .profile-image {
          height: clamp(200px, 55vw, 280px);
        }
        .hero-grid {
          padding: 20px 16px 32px;
        }
        .hero-name {
          font-size: clamp(32px, 13vw, 52px);
          letter-spacing: -0.5px;
          margin-bottom: 12px;
        }
        .hero-description {
          font-size: 13px;
          line-height: 1.6;
        }
        .hero-role {
          font-size: clamp(20px, 10vw, 34px);
        }
 
        /* SECTIONS */
        .about-section,
        .section {
          padding-left: 16px;
          padding-right: 16px;
        }
        .section-heading {
          font-size: clamp(26px, 8vw, 38px);
          margin-bottom: 40px;
        }
 
        /* CONTACT FORM CARD */
        .contact-form-card {
          padding: 20px 16px;
        }
 
        /* FOOTER */
        footer {
          font-size: 11px;
          padding: 20px 16px;
        }
      }