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

    /* ─── THEME ─── */
    [data-theme="light"] {
      --bg: #F7F2E8;
      --bg-alt: #F0E9D8;
      --bg-raised: #EDE2CC;
      --ink: #160606;
      --ink-soft: #3A1212;
      --muted: #6B4040;
      --muted-lt: #9A7070;
      --wine: #3B010B;
      --maroon: #560B18;
      --burgundy: #75162D;
      --burg-mid: #8B1F35;
      --cream: #F7F2E8;
      --cream-txt: #F5EDD8;
      --divider: rgba(117, 22, 45, 0.10);
      --divider-md: rgba(117, 22, 45, 0.18);
      --divider-str: rgba(117, 22, 45, 0.28);
      --shadow: rgba(59, 1, 11, 0.07);
      --shadow-md: rgba(59, 1, 11, 0.12);
      --nav-bg: rgba(247, 242, 232, 0.94);
      --tag-bg: rgba(117, 22, 45, 0.06);
      --code-bg: rgba(117, 22, 45, 0.05);
      --contact-panel-bg: #440A13;
      --contact-panel-border: rgba(245, 237, 216, 0.12);
    }

    [data-theme="dark"] {
      --bg: #120406;
      --bg-alt: #1A0609;
      --bg-raised: #23080D;
      --ink: #EEE4D0;
      --ink-soft: #C5B09A;
      --muted: #7A5848;
      --muted-lt: #6A4838;
      --wine: #7A2030;
      --maroon: #9B2D40;
      --burgundy: #BA4055;
      --burg-mid: #C84D63;
      --cream: #EEE4D0;
      --cream-txt: #EEE4D0;
      --divider: rgba(186, 64, 85, 0.12);
      --divider-md: rgba(186, 64, 85, 0.20);
      --divider-str: rgba(186, 64, 85, 0.32);
      --shadow: rgba(0, 0, 0, 0.4);
      --shadow-md: rgba(0, 0, 0, 0.55);
      --nav-bg: rgba(18, 4, 6, 0.95);
      --tag-bg: rgba(186, 64, 85, 0.10);
      --code-bg: rgba(186, 64, 85, 0.08);
      --contact-panel-bg: #34151B;
      --contact-panel-border: rgba(186, 64, 85, 0.32);
    }

    :root {
      --serif: 'Cormorant Garamond', Georgia, serif;
      --sans: 'DM Sans', system-ui, sans-serif;
      --mono: 'DM Mono', 'Fira Mono', monospace;
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
      --nav-h: 58px;
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--ink);
      line-height: 1.6;
      font-size: 15px;
      overflow-x: hidden;
      transition: background .4s, color .4s
    }

    body,
    a,
    button,
    input,
    textarea,
    select {
      cursor: none
    }

    /* ─── SCROLL PROGRESS ─── */
    #progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 1.5px;
      width: 0;
      background: var(--burgundy);
      z-index: 300;
      pointer-events: none;
      transition: width .08s linear
    }

    /* ─── CURSOR ─── */
    #cur {
      position: fixed;
      width: 6px;
      height: 6px;
      background: var(--burgundy);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform .12s var(--ease), opacity .2s
    }

    #cur-r {
      position: fixed;
      width: 28px;
      height: 28px;
      border: 1px solid var(--burgundy);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      opacity: .3;
      transition: opacity .2s
    }

    #cur.h {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: .6
    }

    #cur-r.h {
      opacity: .08
    }

    #cur.c {
      transform: translate(-50%, -50%) scale(.5)
    }

    /* ─── HIDE CUSTOM CURSOR ON TOUCH / MOBILE ─── */
    @media (pointer: coarse) {
      body,
      a,
      button,
      input,
      textarea,
      select {
        cursor: auto;
      }

      #cur,
      #cur-r {
        display: none !important;
      }
    }

    /* ─── NAVIGATION ─── */
    nav#main-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      height: var(--nav-h);
      padding: 0 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--nav-bg);
      backdrop-filter: blur(16px);
      border-bottom: .5px solid var(--divider);
      transition: background .4s, border-color .4s;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: .7rem;
      text-decoration: none
    }

    .nav-logo-mark {
      width: 28px;
      height: 28px;
      border: 1.5px solid var(--burgundy);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--serif);
      font-size: .9rem;
      font-weight: 400;
      color: var(--burgundy);
      transition: background .2s, color .2s;
      flex-shrink: 0;
    }

    .nav-logo:hover .nav-logo-mark {
      background: var(--burgundy);
      color: var(--cream-txt)
    }

    .nav-logo-name {
      font-family: var(--sans);
      font-size: .75rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 400;
      transition: color .4s
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none
    }

    .nav-links a {
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--muted-lt);
      transition: color .2s;
      font-weight: 400
    }

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

    .nav-right {
      display: flex;
      align-items: center;
      gap: .75rem
    }

    .theme-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: .5px solid var(--divider-md);
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      transition: border-color .2s, color .2s;
      flex-shrink: 0
    }

    .theme-btn:hover {
      border-color: var(--burgundy);
      color: var(--burgundy)
    }

    .theme-btn svg {
      width: 13px;
      height: 13px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .nav-cta {
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--cream-txt);
      background: var(--wine);
      padding: .42rem 1.1rem;
      text-decoration: none;
      transition: background .2s;
      white-space: nowrap;
      font-weight: 400;
    }

    .nav-cta:hover {
      background: var(--burgundy)
    }

    .ham-btn {
      display: none;
      flex-direction: column;
      gap: 4px;
      background: none;
      border: none;
      padding: 4px
    }

    .ham-btn span {
      display: block;
      width: 20px;
      height: 1px;
      background: var(--ink);
      transition: transform .3s, opacity .3s, background .4s
    }

    .ham-btn.open span:nth-child(1) {
      transform: translateY(5px) rotate(45deg)
    }

    .ham-btn.open span:nth-child(2) {
      opacity: 0
    }

    .ham-btn.open span:nth-child(3) {
      transform: translateY(-5px) rotate(-45deg)
    }

    /* mobile drawer */
    .mob-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 260px;
      background: var(--bg-raised);
      z-index: 190;
      transform: translateX(100%);
      visibility: hidden;
      pointer-events: none;
      transition: transform .4s var(--ease), visibility 0s .4s;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 3rem 2.5rem;
      border-left: .5px solid var(--divider-md);
    }

    .mob-drawer.open {
      transform: translateX(0);
      visibility: visible;
      pointer-events: all;
      transition: transform .4s var(--ease), visibility 0s 0s
    }

    .mob-drawer a {
      font-family: var(--serif);
      font-size: 1.8rem;
      font-weight: 300;
      color: var(--ink);
      text-decoration: none;
      display: block;
      padding: .5rem 0;
      border-bottom: .5px solid var(--divider);
      transition: color .2s
    }

    .mob-drawer a:hover {
      color: var(--burgundy)
    }

    .mob-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .5);
      z-index: 185;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s
    }

    .mob-overlay.open {
      opacity: 1;
      pointer-events: all
    }

    /* ─── SHARED HELPERS ─── */
    .section-label {
      font-size: .65rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      font-weight: 500;
      color: var(--burgundy);
      display: flex;
      align-items: center;
      gap: .6rem;
      transition: color .4s
    }

    .section-label::before {
      content: '';
      width: 24px;
      height: 1px;
      background: var(--burgundy);
      flex-shrink: 0;
      transition: background .4s
    }

    .section-title {
      font-family: var(--serif);
      font-weight: 300;
      color: var(--ink);
      line-height: 1.1;
      transition: color .4s
    }

    .mono-tag {
      font-family: var(--mono);
      font-size: .72rem;
      color: var(--muted);
      background: var(--tag-bg);
      padding: .22rem .6rem;
      border: .5px solid var(--divider-md);
      transition: background .4s, border-color .4s, color .4s;
      white-space: nowrap
    }

    .btn-fill {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: var(--wine);
      color: var(--cream-txt);
      padding: .55rem 1.4rem;
      text-decoration: none;
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      font-weight: 400;
      transition: background .2s, transform .15s;
      border: none
    }

    .btn-fill:hover {
      background: var(--burgundy);
      transform: translateY(-1px)
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      color: var(--burgundy);
      padding: .55rem 1.4rem;
      text-decoration: none;
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      font-weight: 400;
      border: .5px solid var(--burgundy);
      transition: background .2s, color .2s, transform .15s;
      background: transparent
    }

    .btn-outline:hover {
      background: var(--burgundy);
      color: var(--cream-txt);
      transform: translateY(-1px)
    }

    .btn-text {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      color: var(--burgundy);
      text-decoration: none;
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      font-weight: 400;
      border-bottom: .5px solid var(--divider-md);
      padding-bottom: .1rem;
      transition: color .2s, border-color .2s
    }

    .btn-text:hover {
      color: var(--wine);
      border-color: var(--wine)
    }

    .btn-text .arr {
      transition: transform .2s
    }

    .btn-text:hover .arr {
      transform: translateX(3px)
    }

    /* ─── REVEAL ─── */
    .rv {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity .65s var(--ease), transform .65s var(--ease)
    }

    .rv.in {
      opacity: 1;
      transform: translateY(0)
    }

    .rv.d1 {
      transition-delay: .08s
    }

    .rv.d2 {
      transition-delay: .16s
    }

    .rv.d3 {
      transition-delay: .24s
    }

    .rv.d4 {
      transition-delay: .32s
    }

    /* ─── DIVIDER ─── */
    .row-divider {
      height: .5px;
      background: var(--divider);
      margin: 0;
      transition: background .4s
    }

    /* ════════════════════════════════════
   HERO
════════════════════════════════════ */
    #hero {
      min-height: calc(100vh - var(--nav-h));
      max-width: 1400px;
      margin: 0 auto;
      padding: var(--nav-h) 2.5rem 0;

      display: grid;
      grid-template-columns: 1.3fr 1fr;

      align-items: center;
      gap: 3.5rem;

      position: relative;
    }

    /* left text panel */
    .hero-text {
      padding: 3rem 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 2;
    }

    .hero-status {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      margin-bottom: 2.2rem;
      opacity: 0;
      animation: fup .7s .2s var(--ease) forwards;
    }

    .hero-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #3B9A5C;
      flex-shrink: 0;
      animation: pulse-green 2.5s ease-in-out infinite
    }

    @keyframes pulse-green {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .4
      }
    }

    .hero-status span {
      font-size: .68rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 400
    }

    .hero-name {
      font-family: var(--serif);
      font-weight: 300;
      color: var(--ink);
      margin-bottom: 1.4rem;
      line-height: .96;
      letter-spacing: -.02em;
      transition: color .4s;
      opacity: 0;
      animation: fup .85s .35s var(--ease) forwards;
    }

    .hero-name .fn {
      font-size: clamp(3.2rem, 6vw, 5.8rem);
      display: block
    }

    .hero-name .ln {
      font-size: clamp(3.2rem, 6vw, 5.8rem);
      display: block;
      color: var(--burgundy);
      font-style: italic;
      margin-left: 1rem
    }

    .hero-role {
      font-family: var(--mono);
      font-size: .82rem;
      color: var(--muted);
      letter-spacing: .04em;
      margin-bottom: 1.8rem;
      opacity: 0;
      animation: fup .7s .5s var(--ease) forwards;
      transition: color .4s;
    }

    .hero-role .role-sep {
      color: var(--divider-str);
      margin: 0 .5rem
    }

    .hero-desc {
      font-size: .9rem;
      line-height: 1.78;
      color: var(--ink-soft);
      max-width: 520px;
      margin-bottom: 2.5rem;
      font-weight: 300;
      opacity: 0;
      animation: fup .7s .62s var(--ease) forwards;
      transition: color .4s;
    }

    .hero-pills {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem;
      margin-bottom: 2.5rem;
      opacity: 0;
      animation: fup .7s .74s var(--ease) forwards;
    }

    .hero-pill {
      font-size: .65rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: .25rem .75rem;
      border: .5px solid var(--divider-md);
      color: var(--muted-lt);
      transition: border-color .2s, color .2s;
      background: transparent;
    }

    .hero-pill.on {
      border-color: var(--burgundy);
      color: var(--burgundy)
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: fup .7s .85s var(--ease) forwards;
    }

    /* right portrait panel */
    .hero-portrait {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .hero-photo-frame {
      width: 340px;
      max-width: 100%;
      background: #f8f5ef;
      padding: 14px 14px 28px;
      border: 1px solid rgba(0, 0, 0, .08);
      box-shadow: 0 18px 40px rgba(0, 0, 0, .08);

      position: relative;
      transform: rotate(-3deg);
      opacity: 0;
      animation: photoReveal .8s .45s ease forwards;
      transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    }

    .hero-photo-frame:hover {
      transform: rotate(0deg) scale(1.03);
      box-shadow: 0 24px 50px rgba(0, 0, 0, .14);
    }

    @keyframes photoReveal {
      from {
        opacity: 0;
        transform: rotate(-3deg) translateY(20px);
      }

      to {
        opacity: 1;
        transform: rotate(-3deg) translateY(0);
      }
    }

    @keyframes photoRevealMobile {
      from {
        opacity: 0;
        transform: rotate(-1deg) translateY(20px);
      }

      to {
        opacity: 1;
        transform: rotate(-1deg) translateY(0);
      }
    }

    .hero-photo-frame::before {
      content: '';
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%) rotate(4deg);
      width: 80px;
      height: 24px;
      background: rgba(255, 255, 255, .4);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      border: 1px solid rgba(0, 0, 0, .04);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
      pointer-events: none;
    }

    .hero-img {
      width: 100%;
      display: block;
      aspect-ratio: 1/1;
      object-fit: cover;
      filter: none;
    }

    [data-theme="dark"] .hero-img {
      filter: none;
    }

    /* placeholder state */
    .hero-img-placeholder {
      width: 100%;
      aspect-ratio: 1/1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

    .hero-img-placeholder svg {
      width: 48px;
      height: 48px;
      stroke: var(--divider-str);
      fill: none;
      stroke-width: 1
    }

    .hero-img-placeholder span {
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted-lt)
    }

    @keyframes fup {
      from {
        opacity: 0;
        transform: translateY(14px)
      }

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

    /* ─── HERO DARK MODE OVERRIDES ─── */
    [data-theme="dark"] .hero-photo-frame {
      background: #251618;
      border-color: rgba(255, 255, 255, 0.06);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .hero-photo-frame::before {
      background: rgba(238, 228, 208, 0.12);
      border-color: rgba(255, 255, 255, 0.03);
    }

    [data-theme="dark"] .hero-photo-frame:hover {
      box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
    }

    [data-theme="dark"] .hero-status span {
      color: #A38374;
    }

    [data-theme="dark"] .hero-name .ln {
      color: #D25D73;
    }

    [data-theme="dark"] .hero-role {
      color: #B29182;
    }

    [data-theme="dark"] .hero-desc {
      color: #DDD2BF;
    }

    [data-theme="dark"] .hero-pill {
      color: #A38374;
      border-color: rgba(186, 64, 85, 0.25);
    }

    [data-theme="dark"] .hero-pill.on {
      color: #D25D73;
      border-color: #D25D73;
    }

    [data-theme="dark"] .btn-text {
      color: #D25D73;
      border-color: rgba(210, 93, 115, 0.3);
    }

    [data-theme="dark"] .btn-text:hover {
      color: var(--burgundy);
      border-color: var(--burgundy);
    }

    /* ─── MARQUEE ─── */
    .marquee-wrap {
      background: var(--wine);
      padding: .75rem 0;
      overflow: hidden;
      white-space: nowrap;
      transition: background .4s
    }

    [data-theme="dark"] .marquee-wrap {
      background: var(--bg-raised)
    }

    .marquee-inner {
      display: inline-flex;
      animation: mq 30s linear infinite
    }

    .mq-item {
      font-size: .65rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: rgba(245, 237, 216, .5);
      padding: 0 2rem
    }

    [data-theme="dark"] .mq-item {
      color: var(--muted)
    }

    .mq-sep {
      color: rgba(245, 237, 216, .18);
      margin-right: 2rem
    }

    [data-theme="dark"] .mq-sep {
      color: var(--divider-md)
    }

    @keyframes mq {
      from {
        transform: translateX(0)
      }

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

    /* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
    #about {
      padding: 3.2rem 3rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
      border-bottom: .5px solid var(--divider);
      transition: border-color .4s;
    }

    .about-left .section-title {
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      margin: 1rem 0 1.5rem
    }

    .about-left p {
      font-size: .88rem;
      line-height: 1.85;
      color: var(--ink-soft);
      margin-bottom: 1rem;
      font-weight: 300;
      transition: color .4s
    }

    .about-desc-mobile {
      display: none;
    }

    .about-right {
      display: flex;
      flex-direction: column;
      gap: 0;
      padding-top: .5rem
    }

    .about-stat {
      padding: 1.6rem 0;
      border-bottom: .5px solid var(--divider);
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1.2rem;
      align-items: start;
      transition: border-color .4s;
    }

    .about-stat:first-child {
      border-top: .5px solid var(--divider)
    }

    .about-stat-icon {
      width: 36px;
      height: 36px;
      border: .5px solid var(--divider-md);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: .1rem;
      transition: border-color .4s;
    }

    .about-stat-icon svg {
      width: 16px;
      height: 16px;
      stroke: var(--burgundy);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      transition: stroke .4s
    }

    .about-stat-val {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 400;
      color: var(--wine);
      transition: color .4s;
      line-height: 1.2
    }

    .about-stat-key {
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted-lt);
      margin-top: .2rem;
      transition: color .4s
    }

    /* ─── SKILLS ─── */
    .skills-wrap {
      padding: 2.5rem 3rem;
      background: var(--bg-alt);
      border-bottom: .5px solid var(--divider);
      transition: background .4s, border-color .4s;
    }

    .skills-groups {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      grid-auto-flow: column;
      gap: 1.2rem 4rem;
      margin-top: 1.4rem
    }

    .skills-group {
      display: flex;
      align-items: baseline;
      gap: 1rem;
      flex-wrap: wrap
    }

    .skills-group-label {
      font-family: var(--mono);
      font-size: .68rem;
      color: var(--muted-lt);
      min-width: 110px;
      flex-shrink: 0;
      padding-top: .1rem;
      transition: color .4s
    }

    .skills-tags {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem
    }

    /* ════════════════════════════════════
   PROJECTS — sticky scroll showcase
════════════════════════════════════ */
    #projects {
      padding: 3.2rem 0;
      transition: background .4s;
    }

    .projects-intro {
      padding: 0 3rem 1.5rem;
      display: flex;
      align-items: end;
      justify-content: space-between;
      border-bottom: .5px solid var(--divider);
      transition: border-color .4s;
    }

    .projects-intro .section-title {
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      margin-top: 1rem
    }

    /* projects grid layout */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 3.5rem;
      padding: 1.5rem 3rem 0;
    }

    .proj-mobile {
      display: none;
    }

    .proj-card {
      display: flex;
      flex-direction: column;
      background: var(--bg-raised);
      border: .5px solid var(--divider-md);
      padding: 2.25rem;
      height: 100%;
      transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
    }

    .proj-card:hover {
      transform: translateY(-6px);
      border-color: var(--burgundy);
      box-shadow: 0 16px 40px var(--shadow-md);
    }

    .proj-card-content {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .proj-card-meta {
      margin-top: 1.5rem;
      margin-bottom: 0.6rem;
    }

    .proj-card-title {
      font-family: var(--serif);
      font-size: clamp(1.35rem, 1.8vw, 1.8rem);
      font-weight: 400;
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: 0.8rem;
      transition: color .4s;
    }

    .proj-card-desc {
      font-size: .88rem;
      line-height: 1.75;
      color: var(--ink-soft);
      font-weight: 300;
      margin-bottom: 1.5rem;
      flex-grow: 1;
      transition: color .4s;
    }

    .proj-tags {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      margin-bottom: 1.2rem;
    }

    .proj-actions {
      display: flex;
      gap: .75rem;
      flex-wrap: wrap;
    }

    .proj-screenshot {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      border: .5px solid var(--divider-md);
      background: var(--bg-raised);
      overflow: hidden;
      position: relative;
      transition: border-color .4s, box-shadow .3s;
    }

    .proj-screenshot:hover {
      box-shadow: 0 8px 32px var(--shadow-md);
    }

    /* browser bar mock */
    .ss-bar {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: var(--ss-bar-h, 28px);
      background: var(--bg-alt);
      border-bottom: .5px solid var(--divider);
      display: flex;
      align-items: center;
      padding: 0 .8rem;
      gap: .4rem;
      flex-shrink: 0;
    }

    .ss-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .ss-dot.r {
      background: #FF5F57;
    }

    .ss-dot.y {
      background: #FFBD2E;
    }

    .ss-dot.g {
      background: #28C840;
    }

    .ss-url {
      font-family: var(--mono);
      font-size: .6rem;
      color: var(--muted-lt);
      margin-left: .5rem;
      letter-spacing: .03em;
    }

    .ss-placeholder {
      width: 100%;
      aspect-ratio: 16/10;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: .8rem;
      background: var(--bg-alt);
      padding-top: var(--ss-bar-h, 28px);
      transition: background .4s;
      overflow: hidden;
    }

    .proj-screenshot-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
    }

    .proj-screenshot-caption {
      padding: .7rem 1rem;
      background: var(--bg-alt);
      border-top: .5px solid var(--divider);
      font-family: var(--mono);
      font-size: .68rem;
      color: var(--muted-lt);
      transition: background .4s, border-color .4s, color .4s;
    }

    /* ════════════════════════════════════
   ACADEMIC WORK
════════════════════════════════════ */
    #academic {
      padding: 3.2rem 3rem;
      background: var(--bg-alt);
      border-top: .5px solid var(--divider);
      border-bottom: .5px solid var(--divider);
      transition: background .4s, border-color .4s;
    }

    .academic-header {
      display: flex;
      align-items: end;
      justify-content: space-between;
      margin-bottom: 1.5rem;
    }

    .academic-header .section-title {
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      margin-top: 1rem
    }

    .academic-note {
      font-size: .75rem;
      color: var(--muted-lt);
      max-width: 220px;
      text-align: right;
      line-height: 1.5;
      transition: color .4s
    }

    .academic-list {
      display: flex;
      flex-direction: column;
      gap: 0
    }

    .acad-item {
      display: grid;
      grid-template-columns: 80px 1fr auto;
      gap: 2rem;
      align-items: start;
      padding: 2rem 0;
      border-bottom: .5px solid var(--divider);
      transition: border-color .4s;
    }

    .acad-item:last-child {
      border-bottom: none
    }

    .acad-thumb {
      width: 80px;
      height: 80px;
      background: var(--bg-raised);
      border: .5px solid var(--divider-md);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
      transition: border-color .4s, background .4s;
    }

    .acad-thumb svg {
      width: 28px;
      height: 28px;
      stroke: var(--divider-str);
      fill: none;
      stroke-width: 1;
      stroke-linecap: round
    }

    .acad-thumb .lucide-icon {
      display: none;
    }

    .acad-thumb .generic-icon {
      display: block;
    }

    @media (min-width: 1024px) {
      .acad-thumb .lucide-icon {
        display: block;
        stroke: var(--burgundy);
      }
      .acad-thumb .generic-icon {
        display: none;
      }
    }

    .acad-body {}

    .acad-meta {
      display: flex;
      align-items: center;
      gap: .6rem;
      margin-bottom: .6rem;
      flex-wrap: wrap
    }

    .acad-status {
      font-size: .62rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: .18rem .6rem;
      border: .5px solid var(--divider-md);
      color: var(--muted-lt);
      transition: border-color .4s, color .4s;
    }

    .acad-status.ongoing {
      border-color: var(--burgundy);
      color: var(--burgundy)
    }

    .acad-title {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: .5rem;
      line-height: 1.2;
      transition: color .4s
    }

    .acad-summary {
      font-size: .85rem;
      line-height: 1.75;
      color: var(--ink-soft);
      font-weight: 300;
      margin-bottom: 1rem;
      transition: color .4s
    }

    .acad-actions {
      display: flex;
      gap: .6rem;
      flex-wrap: wrap
    }

    .acad-side {
      display: flex;
      flex-direction: column;
      gap: .4rem;
      align-items: flex-end;
      padding-top: .2rem;
      min-width: 80px
    }

    .acad-type {
      font-size: .65rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted-lt);
      text-align: right;
      transition: color .4s
    }

    /* ════════════════════════════════════
   EXPERIENCE — stacked cards
════════════════════════════════════ */
    #experience {
      padding: 3.2rem 3rem;
      transition: background .4s;
    }

    .exp-header {
      margin-bottom: 1.5rem
    }

    .exp-header .section-title {
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      margin-top: 1rem
    }

    .exp-cards {
      max-width: 940px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 52px;
    }

    .exp-card {
      position: relative;
      background: var(--bg-alt);
      border: .5px solid var(--divider-md);
      border-left: 3px solid var(--burgundy);
      border-radius: 14px;
      padding: 2.2rem 2.5rem;
      transition: transform .35s var(--ease), box-shadow .35s var(--ease),
                  background .4s, border-color .4s;
    }

    .exp-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px var(--shadow), 0 2px 8px var(--shadow);
    }

    .exp-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .5rem;
      margin-bottom: 1rem;
    }

    .exp-date {
      font-family: var(--mono);
      font-size: .72rem;
      color: var(--muted-lt);
      letter-spacing: .04em;
      transition: color .4s;
    }

    .exp-badges {
      display: flex;
      gap: .4rem;
      flex-wrap: wrap;
    }

    .exp-badge-pill {
      font-size: .58rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: .2rem .7rem;
      border-radius: 100px;
      border: .5px solid var(--divider-md);
      color: var(--muted-lt);
      font-family: var(--sans);
      font-weight: 400;
      transition: border-color .4s, color .4s, background .4s;
    }

    .exp-badge-pill.current {
      border-color: var(--burgundy);
      color: var(--burgundy);
      background: rgba(117, 22, 45, 0.06);
    }

    [data-theme="dark"] .exp-badge-pill.current {
      background: rgba(186, 64, 85, 0.10);
    }

    .exp-company {
      font-family: var(--serif);
      font-size: 1.35rem;
      font-weight: 400;
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: .25rem;
      transition: color .4s;
    }

    .exp-role {
      display: block;
      font-size: .82rem;
      color: var(--muted);
      letter-spacing: .04em;
      margin-bottom: .8rem;
      transition: color .4s;
    }

    .exp-desc {
      font-size: .85rem;
      line-height: 1.75;
      color: var(--ink-soft);
      font-weight: 300;
      margin-bottom: 1.1rem;
      transition: color .4s;
    }

    .exp-skills {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
    }

    .exp-card-left,
    .exp-card-right {
      display: contents;
    }

    @media (min-width: 1024px) {
      .exp-card {
        display: grid;
        grid-template-columns: 3fr 7fr;
        gap: 2.5rem;
      }
      .exp-card-left {
        display: flex;
        flex-direction: column;
      }
      .exp-card-top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
      }
      .exp-company {
        margin-bottom: 0.25rem;
      }
      .exp-role {
        margin-bottom: 0;
      }
      .exp-card-right {
        display: block;
      }
      .exp-desc {
        margin-bottom: 1.1rem;
      }
    }

    /* ════════════════════════════════════
   ACHIEVEMENTS — timeline + highlights
════════════════════════════════════ */
    #achievements {
      padding: 3.2rem 3rem;
      background: var(--bg-alt);
      border-top: .5px solid var(--divider);
      border-bottom: .5px solid var(--divider);
      transition: background .4s, border-color .4s;
    }

    .ach-header {
      margin-bottom: 1.5rem
    }

    .ach-header .section-title {
      font-size: clamp(1.8rem, 2.5vw, 2.6rem);
      margin-top: 1rem
    }

    .ach-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start
    }

    /* left: big highlight card */
    .ach-highlight {
      padding: 2rem;
      background: var(--bg);
      border-top: 2px solid var(--burgundy);
      border-left: .5px solid var(--divider-md);
      border-right: .5px solid var(--divider-md);
      border-bottom: .5px solid var(--divider-md);
      transition: background .4s, border-color .4s;
    }

    .ach-hl-eyebrow {
      font-size: .65rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--burgundy);
      margin-bottom: .7rem;
      transition: color .4s
    }

    .ach-hl-title {
      font-family: var(--serif);
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: .5rem;
      transition: color .4s
    }

    .ach-hl-sub {
      font-size: .8rem;
      color: var(--muted);
      margin-bottom: 1rem;
      transition: color .4s
    }

    .ach-hl-body {
      font-size: .85rem;
      line-height: 1.72;
      color: var(--ink-soft);
      font-weight: 300;
      transition: color .4s
    }

    .ach-hl-meta {
      display: flex;
      gap: .5rem;
      flex-wrap: wrap;
      margin-top: 1.2rem
    }

    /* right: timeline list */
    .ach-timeline {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative
    }

    .ach-timeline::before {
      content: '';
      position: absolute;
      left: 6px;
      top: 8px;
      bottom: 0;
      width: 1px;
      background: var(--divider-md);
      transition: background .4s
    }

    .ach-tl-item {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: .9rem;
      padding: .9rem 0;
      position: relative;
    }

    .ach-tl-dot {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      border: 1.5px solid var(--burgundy);
      background: var(--bg-alt);
      flex-shrink: 0;
      margin-top: .25rem;
      transition: background .2s, border-color .4s;
    }

    .ach-tl-item:hover .ach-tl-dot {
      background: var(--burgundy)
    }

    .ach-tl-content {}

    .ach-tl-year {
      font-family: var(--mono);
      font-size: .65rem;
      color: var(--muted-lt);
      margin-bottom: .2rem;
      transition: color .4s
    }

    .ach-tl-title {
      font-size: .88rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: .2rem;
      transition: color .4s
    }

    .ach-tl-desc {
      font-size: .78rem;
      color: var(--ink-soft);
      font-weight: 300;
      line-height: 1.6;
      transition: color .4s
    }

    /* certifications row */
    .certs-row {
      margin-top: 1.5rem;
      padding-top: 2rem;
      border-top: .5px solid var(--divider);
      transition: border-color .4s;
    }

    .certs-row .section-label {
      margin-bottom: 1.2rem
    }

    .certs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: .5rem
    }

    .cert-item {
      padding: .7rem .9rem;
      background: var(--bg);
      border: .5px solid var(--divider-md);
      transition: border-color .2s, background .4s;
    }

    .cert-item:hover {
      border-color: var(--burgundy)
    }

    .cert-name {
      font-size: .8rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: .2rem;
      transition: color .4s
    }

    .cert-org {
      font-size: .68rem;
      color: var(--muted-lt);
      font-family: var(--mono);
      transition: color .4s
    }

    /* ════════════════════════════════════
   CONTACT
════════════════════════════════════ */
    #contact {
      padding: 3.2rem 3rem;
      background: var(--wine);
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: start;
      transition: background .4s;
    }

    [data-theme="dark"] #contact {
      background: var(--bg-raised)
    }

    .contact-heading {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.5vw, 3.2rem);
      font-weight: 300;
      color: var(--cream-txt);
      line-height: 1.1;
      margin-bottom: 1.2rem;
      transition: color .4s
    }

    [data-theme="dark"] .contact-heading {
      color: var(--ink)
    }

    .contact-heading em {
      font-style: italic;
      color: rgba(245, 237, 216, .5);
      transition: color .4s
    }

    [data-theme="dark"] .contact-heading em {
      color: #D25D73;
    }

    .contact-sub {
      font-size: .88rem;
      color: rgba(245, 237, 216, .58);
      line-height: 1.8;
      font-weight: 300;
      max-width: 480px;
      margin-bottom: 2.5rem;
      transition: color .4s
    }

    [data-theme="dark"] .contact-sub {
      color: #DDD2BF;
    }

    .contact-socials {
      display: flex;
      gap: 1.5rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    .contact-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: rgba(245, 237, 216, 0.55);
      transition: color 0.3s, transform 0.2s;
    }

    .contact-social-link svg {
      width: 22px;
      height: 22px;
    }

    .contact-social-link:hover {
      color: var(--cream-txt);
      transform: translateY(-2px);
    }

    [data-theme="dark"] .contact-social-link {
      color: #DDD2BF;
    }

    [data-theme="dark"] .contact-social-link:hover {
      color: #D25D73;
    }

    /* form */
    .c-form {
      background: var(--contact-panel-bg);
      border: 1px solid var(--contact-panel-border);
      border-radius: 12px;
      padding: 2.2rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 0;
      transition: background 0.4s, border-color 0.4s;
    }

    .c-fg:first-child {
      padding-top: 0;
    }

    .c-fg {
      display: flex;
      flex-direction: column;
      border-bottom: .5px solid rgba(245, 237, 216, .15);
      padding: 1.2rem 0 .3rem;
      transition: border-color .3s;
    }

    [data-theme="dark"] .c-fg {
      border-bottom-color: rgba(186, 64, 85, 0.28);
    }

    .c-fg:focus-within {
      border-color: rgba(245, 237, 216, .7)
    }

    [data-theme="dark"] .c-fg:focus-within {
      border-color: #D25D73;
    }

    .c-label {
      font-size: .65rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: rgba(245, 237, 216, .32);
      margin-bottom: .4rem;
      transition: color .2s
    }

    [data-theme="dark"] .c-label {
      color: #A38374;
    }

    .c-fg:focus-within .c-label {
      color: rgba(245, 237, 216, .7)
    }

    [data-theme="dark"] .c-fg:focus-within .c-label {
      color: #D25D73;
    }

    .c-input,
    .c-ta {
      background: transparent;
      border: none;
      outline: none;
      font-family: var(--sans);
      font-size: .88rem;
      font-weight: 300;
      color: var(--cream-txt);
      padding: .35rem 0;
      resize: none;
      transition: color .4s
    }

    [data-theme="dark"] .c-input,
    [data-theme="dark"] .c-ta {
      color: var(--ink)
    }

    .c-input::placeholder,
    .c-ta::placeholder {
      color: rgba(245, 237, 216, .18)
    }

    [data-theme="dark"] .c-input::placeholder,
    [data-theme="dark"] .c-ta::placeholder {
      color: #8F7264;
    }

    .c-ta {
      min-height: 80px;
      line-height: 1.7
    }

    .c-submit {
      margin-top: 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(245, 237, 216, .06);
      border: .5px solid rgba(245, 237, 216, .18);
      color: rgba(245, 237, 216, .6);
      font-family: var(--sans);
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      padding: .9rem 1.5rem;
      width: 100%;
      transition: background .25s, color .25s, border-color .25s, transform .15s;
    }

    [data-theme="dark"] .c-submit {
      color: #DDD2BF;
      border-color: rgba(186, 64, 85, 0.35);
      background: rgba(186, 64, 85, 0.08);
    }

    .c-submit:hover {
      background: rgba(245, 237, 216, .13);
      color: var(--cream-txt);
      border-color: rgba(245, 237, 216, .4);
      transform: translateY(-1px)
    }

    [data-theme="dark"] .c-submit:hover {
      background: rgba(186, 64, 85, 0.16);
      color: #EEE4D0;
      border-color: #D25D73;
    }

    .c-arr {
      transition: transform .2s
    }

    .c-submit:hover .c-arr {
      transform: translateX(4px)
    }

    .c-note {
      font-size: .65rem;
      color: rgba(245, 237, 216, .2);
      margin-top: .6rem;
      transition: color .4s
    }

    [data-theme="dark"] .c-note {
      color: #A38374;
    }

    /* ─── FOOTER ─── */
    footer {
      padding: 1.2rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--bg-raised);
      border-top: .5px solid var(--divider);
      transition: background .4s, border-color .4s
    }

    footer p {
      font-size: .65rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--muted-lt);
      transition: color .4s
    }

    .footer-built {
      display: flex;
      align-items: center;
      gap: .5rem;
      color: var(--muted-lt);
      font-size: .65rem;
      letter-spacing: .06em
    }

    [data-theme="dark"] footer {
      background: #100305;
      border-top: 1px solid rgba(186, 64, 85, 0.22);
      padding-top: 2rem;
      padding-bottom: 2rem;
    }

    [data-theme="dark"] footer p,
    [data-theme="dark"] .footer-built {
      color: #A38374;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar {
      width: 2px
    }

    ::-webkit-scrollbar-thumb {
      background: var(--divider-str)
    }

    /* ════════════ MOBILE ════════════ */
    @media(max-width:960px) {
      nav#main-nav {
        padding: 0 1.5rem
      }

      .nav-links {
        display: none
      }

      .ham-btn {
        display: flex
      }

      .nav-cta {
        display: none
      }

      #hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3rem;
      }

      .hero-text {
        order: 1;
        padding: 0;
      }

      .hero-status {
        margin-bottom: 1.5rem;
      }

      .hero-name {
        margin-bottom: 1rem;
      }

      .hero-role {
        margin-bottom: 1.2rem;
      }

      .hero-desc {
        margin-bottom: 2rem;
      }

      .hero-actions {
        margin-bottom: 0.5rem;
      }

      .hero-portrait {
        order: 2;
        min-height: auto;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 1rem 0;
      }

      .hero-photo-frame {
        width: 285px;
        max-width: 90%;
        margin: 0 auto;
        padding: 12px 12px 24px;
        transform: rotate(-1deg);
        animation: photoRevealMobile .8s .45s ease forwards;
      }

      #about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.2rem 1.5rem
      }

      .about-desc-desktop {
        display: none;
      }

      .about-desc-mobile {
        display: block;
      }

      .about-stat {
        padding: 1.2rem 0;
      }

      .skills-wrap {
        padding: 2rem 1.5rem
      }

      .skills-groups {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
      }

      #projects {
        padding: 3.2rem 0
      }

      .projects-intro {
        padding: 0 1.5rem 2.5rem;
      }

      .projects-grid {
        display: none;
      }

      .proj-mobile {
        display: block;
        padding: 0;
        position: relative;
        overflow: hidden;
      }

      .proj-carousel-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
      }

      .proj-carousel-viewport {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        gap: 1.25rem;
        scrollbar-width: none;
        padding: 1rem 4%;
      }

      .proj-carousel-viewport::-webkit-scrollbar {
        display: none;
      }

      .proj-card-mob {
        flex: 0 0 92%;
        width: 92%;
        scroll-snap-align: center;
        box-sizing: border-box;
        background: var(--bg-raised);
        border: .5px solid var(--divider-md);
        padding: 1.75rem;
        display: flex;
        flex-direction: column;
        transition: border-color .4s;
      }

      .proj-screenshot-mob-frame {
        --ss-bar-h: 20px;
        border: .5px solid var(--divider-md);
        background: var(--bg-raised);
        position: relative;
        overflow: hidden;
        width: 100%;
        margin-bottom: 1rem;
        transition: border-color .4s;
      }

      .proj-screenshot-mob-frame .ss-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--ss-bar-h, 20px);
        background: var(--bg-alt);
        border-bottom: .5px solid var(--divider);
        display: flex;
        align-items: center;
        padding: 0 .6rem;
        gap: .3rem;
        flex-shrink: 0;
      }

      .proj-screenshot-mob-frame .ss-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
      }

      .proj-screenshot-mob-frame .ss-url {
        font-family: var(--mono);
        font-size: .52rem;
        color: var(--muted-lt);
        margin-left: .3rem;
        letter-spacing: .03em;
      }

      .proj-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 1.5rem 0 1rem;
      }

      .carousel-btn {
        background: transparent;
        border: .5px solid var(--divider-md);
        color: var(--muted);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color .3s, color .3s;
        padding: 0;
        cursor: pointer;
      }

      .carousel-btn:hover, .carousel-btn:focus {
        border-color: var(--burgundy);
        color: var(--burgundy);
      }

      .carousel-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }

      .carousel-btn svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
      }

      .carousel-counter {
        font-family: var(--mono);
        font-size: 0.72rem;
        color: var(--muted-lt);
        letter-spacing: 0.05em;
        line-height: 1;
      }

      #academic {
        padding: 3.2rem 1.5rem;
      }

      .academic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
      }

      .academic-note {
        text-align: left;
        max-width: none
      }

      .acad-item {
        grid-template-columns: 60px 1fr;
        gap: 1.2rem
      }

      .acad-side {
        display: none
      }

      #experience {
        padding: 3.2rem 1.5rem
      }

      .exp-cards {
        gap: 36px;
      }

      .exp-card {
        padding: 1.6rem 1.4rem;
        border-radius: 12px;
      }

      #achievements {
        padding: 3.2rem 1.5rem
      }

      .ach-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem
      }

      .certs-grid {
        grid-template-columns: 1fr 1fr
      }

      #contact {
        grid-template-columns: 1fr;
        padding: 3.2rem 1.5rem;
        gap: 3rem
      }

      .c-form {
        padding: 1.8rem 1.5rem;
      }

      footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: .3rem
      }
    }

    @media(max-width:480px) {

      .hero-name .fn,
      .hero-name .ln {
        font-size: clamp(2.8rem, 13vw, 4.5rem)
      }

      .hero-photo-frame {
        width: 260px;
        transform: rotate(-1deg);
        margin: 0 auto;
      }

      .proj-card-mob {
        padding: 1.25rem;
      }

      .hero-pills {
        display: none
      }

      .certs-grid {
        grid-template-columns: 1fr
      }

      .acad-item {
        grid-template-columns: 1fr;
        gap: .8rem
      }

      .acad-thumb {
        display: none
      }
    }
  