    .sl {
      font-size: .64rem;
      letter-spacing: .28em;
      text-transform: uppercase;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .st {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--fs-section-title);
      letter-spacing: var(--heading-tracking);
      line-height: 1.15;
      margin-bottom: 52px;
    }

    .surf {
      background: transparent;
    }

    .sec::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), transparent 45%, var(--steel-blue) 85%, transparent);
      transform: scaleX(0);
      transform-origin: left center;
      opacity: .75;
      pointer-events: none;
      transition: transform 1s cubic-bezier(.16, 1, .3, 1);
    }

    .sec.sec-visible::after {
      transform: scaleX(1);
    }

    .r3d {
      opacity: 1;
      transform: none;
      transition: none;
      transform-origin: top center;
      will-change: auto;
    }

    .r3d.in {
      opacity: 1;
      transform: none;
    }

    .r3d.out-up {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .sl-l {
      opacity: 0;
      transform: translateX(-52px);
      transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
    }

    .sl-l.in {
      opacity: 1;
      transform: translateX(0);
    }

    .sl-l.out-up {
      opacity: 0;
      transform: translateX(-30px);
      transition: opacity .4s, transform .4s;
    }

    .sl-r {
      opacity: 0;
      transform: translateX(52px);
      transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
    }

    .sl-r.in {
      opacity: 1;
      transform: translateX(0);
    }

    .sl-r.out-up {
      opacity: 0;
      transform: translateX(30px);
      transition: opacity .4s, transform .4s;
    }

    .stg>* {
      opacity: 1;
      transform: none;
      transition: none;
      will-change: auto;
    }

    .stg.in>* {
      opacity: 1;
      transform: none;
    }

    .stg.out-up>* {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .stg.in>*:nth-child(1) {
      transition-delay: .04s;
    }

    .stg.in>*:nth-child(2) {
      transition-delay: .1s;
    }

    .stg.in>*:nth-child(3) {
      transition-delay: .16s;
    }

    .stg.in>*:nth-child(4) {
      transition-delay: .22s;
    }

    .stg.in>*:nth-child(5) {
      transition-delay: .28s;
    }

    .stg.in>*:nth-child(6) {
      transition-delay: .34s;
    }

    .stg.in>*:nth-child(7) {
      transition-delay: .4s;
    }

    .stg.in>*:nth-child(8) {
      transition-delay: .46s;
    }

    .stg.in>*:nth-child(9) {
      transition-delay: .52s;
    }

    .stg.in>*:nth-child(10) {
      transition-delay: .58s;
    }

    .stg.in>*:nth-child(11) {
      transition-delay: .64s;
    }

    .stg.in>*:nth-child(12) {
      transition-delay: .7s;
    }

    .stg.out-up>*:nth-child(1) {
      transition-delay: 0s;
    }

    .stg.out-up>*:nth-child(2) {
      transition-delay: .03s;
    }

    .stg.out-up>*:nth-child(3) {
      transition-delay: .06s;
    }

    .wr .w {
      display: inline-block;
      overflow: hidden;
      margin-right: .18em;
    }

    .wr .w .wi {
      display: inline-block;
      transform: none;
      opacity: 1;
      transition: none;
    }

    .wr.in .w .wi {
      transform: none;
      opacity: 1;
    }

    .wr.out-up .w .wi {
      transform: none;
      opacity: 1;
      transition: none;
    }

    .wr.in .w:nth-child(1) .wi {
      transition-delay: .04s;
    }

    .wr.in .w:nth-child(2) .wi {
      transition-delay: .1s;
    }

    .wr.in .w:nth-child(3) .wi {
      transition-delay: .16s;
    }

    .wr.in .w:nth-child(4) .wi {
      transition-delay: .22s;
    }

    .wr.in .w:nth-child(5) .wi {
      transition-delay: .28s;
    }

    .ab-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 72px;
      align-items: stretch;
    }

    .ab-text p {
      color: var(--muted2);
      font-size: 1.15rem;
      line-height: 1.95;
      margin-bottom: 24px;
      text-align: justify;
    }

    .ab-text strong {
      color: var(--text);
      font-weight: 600;
    }

    .hc {
      color: var(--cyan);
      font-weight: 500;
    }

    .hp {
      color: var(--steel-blue);
      font-weight: 500;
    }

    .ha {
      color: var(--amber);
      font-weight: 500;
    }

    .hpk {
      color: var(--pink);
      font-weight: 500;
    }

    .stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 5px;
    }

    .stat {
      background: var(--card);
      border: 1px solid var(--border);
      padding: 26px 22px;
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s;
      border-radius: 12px;
    }

    .stat:hover {
      transform: translateY(-3px);
    }

    .stat-bar {
      position: absolute;
      left: 0;
      top: 0;
      width: 2px;
      height: 0;
      transition: height .8s cubic-bezier(.16, 1, .3, 1);
    }

    .stg.in .stat-bar {
      height: 100%;
    }

    .stat-n {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-d {
      font-size: .78rem;
      color: var(--muted2);
      font-weight: 400;
    }

    .edu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 18px;
    }

    .edu-card {
      background: var(--card);
      border: none;
      padding: 30px 26px;
      position: relative;
      overflow: visible;
      transition: transform .35s cubic-bezier(.16, 1, .3, 1);
      border-radius: 14px;
    }

    .edu-card:hover {
      transform: translateY(-5px);
    }



    .ec-c:hover {
      border-color: rgba(0, 229, 255, .3);
    }



    .ec-p:hover {
      border-color: rgba(94, 201, 247, .3);
    }



    .ec-a:hover {
      border-color: rgba(251, 191, 36, .3);
    }

    .edu-yr {
      font-size: .65rem;
      letter-spacing: .1em;
      color: var(--muted2);
      margin-bottom: 10px;
      text-transform: uppercase;
      font-weight: 500;
    }

    .edu-sc {
      font-family: var(--font-display);
      font-size: .95rem;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .edu-dg {
      color: var(--muted2);
      font-size: .82rem;
      margin-bottom: 14px;
    }

    .edu-bs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .edu-note {
      margin-top: 12px;
      font-size: .72rem;
      color: var(--muted2);
      line-height: 1.6;
    }

    #education {
      position: relative;
    }

    #experience {
      overflow: clip;
      contain: paint;
    }

    #education .edu-grid {
      gap: 18px;
      grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    }

    #education .edu-card {
      padding: 30px 28px 32px;
      border-radius: 18px;
      border: none;
      background: var(--cardGrad);
      box-shadow: 0 18px 48px var(--eduCardShadow), inset 0 1px 0 var(--eduCardInset);
      overflow: visible;
      transition: all .45s cubic-bezier(.16, 1, .3, 1);
    }

    #education .edu-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 28px 56px var(--eduCardHoverShadow), inset 0 1px 0 var(--eduCardHoverInset);
    }

    #education .edu-yr {
      font-family: var(--font-mono);
      font-size: .58rem;
      letter-spacing: .12em;
      color: var(--eduYearLabel);
      margin-bottom: 16px;
    }

    #education .edu-sc {
      font-size: clamp(1.02rem, 2.4vw, 1.14rem);
      font-weight: 800;
      color: var(--text);
      line-height: 1.25;
      margin-bottom: 6px;
    }

    #education .edu-dg {
      font-size: .84rem;
      color: var(--muted2);
      margin-bottom: 16px;
    }

    #education .edu-bs {
      gap: 8px;
    }

    #education .edu-note {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--eduNoteBorderTop);
    }



    .spotlight-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 10;
      mix-blend-mode: overlay;
    }

    .proj-card:hover .spotlight-overlay,
    .edu-card:hover .spotlight-overlay,
    .sk-grp:hover .spotlight-overlay,
    .stat:hover .spotlight-overlay {
      opacity: 1;
    }


/* About section — technical profile layout */
#about {
  --about-cyan: #22d3ee;
  --about-purple: var(--purple);
  --about-green: #5de77a;
  --about-gold: #f6c63d;
  min-height: auto !important;
  padding: 64px clamp(28px, 5vw, 84px) 72px !important;
}

#about .about-inn {
  width: min(1580px, 100%) !important;
  max-width: 1580px;
}

#about .about-kicker {
  display: grid;
  grid-template-columns: auto 15px minmax(120px, 440px);
  align-items: center;
  gap: 18px;
  width: min(610px, 100%);
  margin-bottom: 18px;
  color: #a9eff8;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
}

#about .about-kicker i {
  width: 11px;
  height: 11px;
  border: 1px solid var(--about-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(34, 211, 238, .36);
}

#about .about-kicker b {
  height: 1px;
  background: linear-gradient(90deg, var(--about-cyan), rgba(34, 211, 238, .18) 82%, var(--about-purple));
  position: relative;
}

#about .about-kicker b::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--about-purple);
  box-shadow: 0 0 10px var(--about-purple);
  transform: translate(50%, -50%);
}

#about .about-heading {
  margin: 0 0 26px;
  color: #f7f9fb;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.35vw, 3.65rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: var(--heading-tracking);
  white-space: nowrap;
}

#about .about-heading span {
  background: linear-gradient(100deg, #9edbe1 0%, #68b6cd 45%, #29b6c9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#about .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: stretch;
}

#about .about-story-panel,
#about .about-role-card {
  border: 1px solid rgba(129, 163, 180, .34);
  background: linear-gradient(145deg, rgba(12, 20, 27, .90), rgba(5, 10, 15, .82));
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

#about .about-story-panel {
  position: relative;
  display: grid;
  align-content: center;
  padding: 20px 30px 20px 34px;
  min-height: 418px;
}

#about .about-story-panel::after {
  content: '';
  position: absolute;
  left: 60px;
  top: 60px;
  bottom: 60px;
  border-left: 1px dashed rgba(116, 145, 160, .42);
}

#about .about-story-row {
  --story-accent: var(--about-purple);
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
}

#about .about-story-row + .about-story-row {
  border-top: 1px solid rgba(129, 163, 180, .11);
}

#about .story-cyan { --story-accent: var(--about-cyan); }
#about .story-green { --story-accent: var(--about-green); }

html[data-theme="light"] #about .about-heading span {
  background-image: linear-gradient(100deg, #17667b 0%, #287d99 45%, #0e7490 100%);
}

#about .about-story-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--story-accent);
  border: 1px solid color-mix(in srgb, var(--story-accent) 64%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--story-accent) 8%, rgba(5, 10, 15, .94));
  box-shadow: 0 0 20px color-mix(in srgb, var(--story-accent) 10%, transparent);
}

#about .about-story-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -25px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #657b88;
  transform: translateX(-50%);
}

#about .about-story-row:last-child .about-story-icon::after { display: none; }
#about .about-story-icon svg { width: 27px; height: 27px; }

#about .about-story-row p {
  margin: 0;
  color: #c9d0d7;
  font-size: clamp(.91rem, 1.04vw, 1.08rem);
  line-height: 1.62;
}

#about .about-story-row strong { color: #f3f5f7; font-weight: 700; }
#about .about-cyan { color: var(--about-cyan); }
#about .about-purple { color: var(--about-purple); }
#about .about-green { color: var(--about-green); }
#about .about-gold { color: var(--about-gold); }
#about .about-story-row em { color: #8c99a2; font-style: normal; padding-inline: 6px; }

#about .about-aside {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

#about .about-role-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  min-height: 168px;
  padding: 22px 28px;
  border-color: rgba(93, 151, 173, .46);
}

#about .about-role-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 84px;
  color: var(--about-cyan);
  background: linear-gradient(145deg, rgba(32, 46, 57, .72), rgba(12, 19, 25, .66));
  border: 1px solid rgba(138, 172, 188, .25);
  clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
}

#about .about-role-icon svg { width: 39px; height: 39px; }

#about .about-role-copy h3 {
  margin: 0 0 11px;
  color: #f5f7f8;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.42rem);
  line-height: 1.3;
}

#about .about-role-copy h3 span { color: #8db8c5; padding-inline: 7px; }

#about .about-role-copy p {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid rgba(129, 163, 180, .16);
  color: #c6cdd3;
  font-size: .98rem;
  line-height: 1.58;
}

#about .about-role-copy p span { color: var(--about-cyan); }

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

#about .about-stat {
  --stat-accent: var(--about-cyan);
  position: relative;
  isolation: isolate;
  min-height: 150px;
  padding: 19px 21px 18px;
  border: 0;
  background: color-mix(in srgb, var(--stat-accent) 68%, rgba(93, 120, 132, .36));
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transform: none;
}

#about .about-stat::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 1px;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--stat-accent) 8%, rgba(8, 14, 19, .97)),
    rgba(5, 10, 15, .96));
  clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 27px, 100% 100%, 0 100%);
}

#about .about-stat::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--stat-accent) 46%, transparent);
  box-shadow:
    -8px 0 color-mix(in srgb, var(--stat-accent) 34%, transparent),
    -16px 0 color-mix(in srgb, var(--stat-accent) 22%, transparent),
    0 8px color-mix(in srgb, var(--stat-accent) 24%, transparent);
}

#about .about-stat > * {
  position: relative;
  z-index: 2;
}

#about .about-stat:hover { transform: translateY(-3px); }
#about .about-stat.stat-gold { --stat-accent: var(--about-gold); }
#about .about-stat.stat-purple { --stat-accent: var(--about-purple); }
#about .about-stat.stat-green { --stat-accent: var(--about-green); }

#about .about-stat-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  color: var(--stat-accent);
  border: 1px solid color-mix(in srgb, var(--stat-accent) 42%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--stat-accent) 7%, transparent);
}

#about .about-stat-icon svg { width: 20px; height: 20px; }

#about .about-stat .stat-n {
  margin-bottom: 7px;
  color: var(--stat-accent) !important;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  letter-spacing: var(--heading-tracking);
}

#about .about-stat .stat-d {
  color: #aeb7bf;
  font-size: .88rem;
}

html[data-theme="light"] #about .about-heading {
  color: #101b21 !important;
  -webkit-text-fill-color: currentColor;
  background: none !important;
}

html[data-theme="light"] #about .about-story-panel,
html[data-theme="light"] #about .about-role-card {
  background: linear-gradient(145deg, rgba(250, 253, 254, .94), rgba(232, 240, 243, .88));
  border-color: rgba(44, 86, 101, .28);
}

html[data-theme="light"] #about .about-stat::before {
  background: linear-gradient(145deg, rgba(250, 253, 254, .98), rgba(232, 240, 243, .96));
}

html[data-theme="light"] #about .about-story-row p,
html[data-theme="light"] #about .about-role-copy p { color: #344a53; }
html[data-theme="light"] #about .about-story-row strong,
html[data-theme="light"] #about .about-role-copy h3 { color: #0c1b22; }
html[data-theme="light"] #about .about-role-icon { background: rgba(221, 235, 240, .86); }
html[data-theme="light"] #about .about-stat .stat-d { color: #4b6069; }

@media (max-width: 1180px) {
  #about .about-heading { font-size: clamp(2rem, 3.35vw, 3.2rem); }
  #about .about-layout { grid-template-columns: 1fr; }
  #about .about-aside { grid-template-columns: .92fr 1.35fr; grid-template-rows: 1fr; }
  #about .about-role-card { min-height: 100%; }
}

@media (max-width: 820px) {
  #about { padding: 56px 20px 64px !important; }
  #about .about-heading { white-space: normal; font-size: clamp(2.25rem, 8.7vw, 4rem); }
  #about .about-aside { grid-template-columns: 1fr; }
  #about .about-story-panel { padding: 20px 22px; }
  #about .about-story-panel::after { left: 50px; }
  #about .about-story-row { grid-template-columns: 62px minmax(0, 1fr); padding-block: 14px; }
  #about .about-story-icon { width: 48px; height: 48px; }
  #about .about-story-icon svg { width: 25px; height: 25px; }
  #about .about-role-card { grid-template-columns: 84px minmax(0, 1fr); padding: 26px 22px; }
  #about .about-role-icon { width: 70px; height: 78px; }
}

@media (max-width: 540px) {
  #about .about-kicker { grid-template-columns: auto 12px 1fr; gap: 12px; }
  #about .about-heading { margin-bottom: 28px; }
  #about .about-story-panel::after { display: none; }
  #about .about-story-panel { padding: 16px; }
  #about .about-story-row { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  #about .about-story-icon { width: 36px; height: 36px; }
  #about .about-story-icon svg { width: 20px; height: 20px; }
  #about .about-story-icon::after { display: none; }
  #about .about-role-card { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 16px; }
  #about .about-role-icon { width: 48px; height: 58px; }
  #about .about-stats { gap: 12px; }
  #about .about-stat { min-height: 0; padding: 14px 12px; }
  #about .about-stat-icon { width: 28px; height: 28px; margin-bottom: 8px; }
  #about .about-stat .stat-n { font-size: 1.65rem; }
  #about .about-stat .stat-d { font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SKILLS SECTION (CYBER SIDEBAR + 2x2 CARDS GRID)
   ═══════════════════════════════════════════════════════════════ */
#skills {
  position: relative;
  padding: 92px 0 96px;
  overflow: hidden;
}

.skills-cyber-layout {
  display: grid;
  grid-template-columns: minmax(70px, 90px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  width: min(1450px, calc(100vw - 72px));
  margin: 0 auto;
}

/* --- Left Sidebar --- */
.skills-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 600px;
  padding: 12px 18px 12px 0;
  position: relative;
  box-sizing: border-box;
}

.skills-sidebar::after {
  content: '';
  position: absolute;
  top: -18px;
  right: 0;
  bottom: -18px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    color-mix(in srgb, var(--cyan) 48%, transparent) 7%,
    color-mix(in srgb, var(--cyan) 28%, transparent) 91%,
    transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 10%, transparent);
}

.skills-kicker-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.skills-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.skills-kicker-line {
  width: 1px;
  height: 28px;
  min-width: 0;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.skills-kicker-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.skills-kicker-bars i {
  width: 9px;
  height: 2.5px;
  background: color-mix(in srgb, var(--cyan) 60%, transparent);
  border-radius: 0.5px;
}

.skills-main-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: var(--heading-tracking);
  line-height: 1;
  margin: 24px auto auto auto;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.skills-title-line {
  display: none;
}

.skills-lead-desc {
  display: none;
}

.skills-circuit-decor {
  display: none;
}

.skills-circuit-svg {
  display: none;
}

.skills-sidebar-chevron {
  display: none;
}

/* --- Right 2x2 Cards Grid --- */
.skills-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 26px 28px;
  position: relative;
}

/* Center gap connectors */
.skills-gap-connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 4;
}

.skills-gap-connector.top {
  top: 25%;
}

.skills-gap-connector.bottom {
  top: 75%;
}

.skills-gap-connector span {
  width: 14px;
  height: 1px;
  background: color-mix(in srgb, var(--cyan) 46%, transparent);
}

.skills-gap-connector i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

/* --- Cyber Cards --- */
.skills-cyber-card {
  position: relative;
  /* No border-radius: pure polygon shape */
  border-radius: 0;
  min-height: 326px;
  padding: 1px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent-color) 92%, transparent) 0%,
    color-mix(in srgb, var(--accent-color) 52%, transparent) 34%,
    color-mix(in srgb, var(--accent-color) 10%, transparent) 68%,
    color-mix(in srgb, var(--accent-color) 74%, transparent) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 18px var(--card-glow);
  clip-path: polygon(
    14px 0,
    calc(100% - 112px) 0,
    calc(100% - 96px) 18px,
    calc(100% - 14px) 18px,
    100% 32px,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    14px 100%,
    0 calc(100% - 14px),
    0 14px
  );
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.skills-cyber-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 28px var(--card-glow);
}

.skills-card-inner {
  clip-path: polygon(
    13px 0,
    calc(100% - 111px) 0,
    calc(100% - 95px) 18px,
    calc(100% - 14px) 18px,
    100% 32px,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    13px 100%,
    0 calc(100% - 13px),
    0 13px
  );
  background:
    linear-gradient(145deg, var(--card-bg-glow), transparent 48%),
    color-mix(in srgb, var(--surface) 92%, #020509);
  padding: 24px 26px 20px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Card Themes */
.skills-cyber-card.cyan {
  --accent-color: var(--cyan);
  --accent-glow: color-mix(in srgb, var(--cyan) 55%, transparent);
  --card-glow: color-mix(in srgb, var(--cyan) 12%, transparent);
  --card-bg-glow: color-mix(in srgb, var(--cyan) 7%, transparent);
}

.skills-cyber-card.purple {
  --accent-color: var(--purple);
  --accent-glow: color-mix(in srgb, var(--purple) 55%, transparent);
  --card-glow: color-mix(in srgb, var(--purple) 12%, transparent);
  --card-bg-glow: color-mix(in srgb, var(--purple) 7%, transparent);
}

.skills-cyber-card.amber {
  --accent-color: var(--amber);
  --accent-glow: color-mix(in srgb, var(--amber) 55%, transparent);
  --card-glow: color-mix(in srgb, var(--amber) 12%, transparent);
  --card-bg-glow: color-mix(in srgb, var(--amber) 7%, transparent);
}

.skills-cyber-card.green {
  --accent-color: var(--green);
  --accent-glow: color-mix(in srgb, var(--green) 55%, transparent);
  --card-glow: color-mix(in srgb, var(--green) 12%, transparent);
  --card-bg-glow: color-mix(in srgb, var(--green) 7%, transparent);
}

/* Top-right chamfer tab and its four diagonal louvers. */
.skills-slits {
  position: absolute;
  top: 0;
  right: 48px;
  width: 92px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px 0 20px;
  background: color-mix(in srgb, var(--accent-color) 72%, transparent);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.skills-slits span {
  position: static;
  width: 5px;
  height: 15px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  opacity: 0.8;
  box-shadow: none;
  transform: skewX(38deg);
}

.skills-slits span:nth-child(1),
.skills-slits span:nth-child(2),
.skills-slits span:nth-child(3),
.skills-slits span:nth-child(4) { opacity: 0.72; }

/* Bottom-Right small chamfer notch accent */
.skills-corner-notch {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 5;
  border-bottom: 3px solid var(--accent-color);
  transform: rotate(-45deg) translate(13px, 14px);
  opacity: 0.7;
}

/* Card Header: number on own line, category label below */
.skills-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 8px;
}

.skills-card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  letter-spacing: var(--heading-tracking);
  text-shadow: 0 0 18px var(--accent-glow);
}

.skills-card-cat {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, .92vw, 0.94rem);
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: var(--heading-tracking);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  opacity: 0.92;
}

/* Skills List */
.skills-cyber-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.skills-cyber-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
  font-family: var(--font-body);
  font-size: clamp(0.76rem, .88vw, 0.88rem);
  color: color-mix(in srgb, var(--text) 82%, transparent);
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

.skills-cyber-list li:last-child {
  border-bottom: none;
}

.skills-cyber-list li:hover {
  color: var(--text);
  transform: translateX(4px);
}

.sk-bullet {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--accent-color);
  box-shadow: 0 0 6px var(--accent-glow);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1120px) {
  .skills-cyber-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .skills-sidebar {
    min-height: auto;
    padding: 0;
    align-items: flex-start;
  }
  .skills-kicker-wrap {
    flex-direction: row;
    margin-bottom: 12px;
  }
  .skills-kicker {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .skills-kicker-line {
    width: auto;
    height: 1px;
    min-width: 38px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 78%, transparent), transparent);
  }
  .skills-kicker-bars {
    flex-direction: row;
  }
  .skills-kicker-bars i {
    width: 3px;
    height: 9px;
  }
  .skills-main-title {
    writing-mode: horizontal-tb;
    transform: none;
    white-space: normal;
    margin: 12px 0 0 0;
    text-align: left;
  }
  .skills-sidebar-chevron {
    display: none;
  }
  .skills-sidebar::after {
    display: none;
  }
  .skills-circuit-decor {
    display: none;
  }
  .skills-gap-connector {
    display: none;
  }
}

@media (max-width: 680px) {
  #skills {
    padding: 72px 0 78px;
  }
  .skills-cyber-layout {
    width: min(100% - 36px, 620px);
  }
  .skills-cards-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
  }
  .skills-cyber-card { min-height: 0; }
  .skills-card-inner {
    padding: 24px 20px 18px;
  }
  .skills-card-header {
    gap: 12px;
  }
  .skills-card-cat {
    font-size: 0.72rem;
  }
  .skills-cyber-list li {
    font-size: 0.82rem;
    padding: 7px 0;
  }
}

/* Light Theme Support */
html[data-theme="light"] .skills-main-title {
  color: #0f172a;
}

html[data-theme="light"] .skills-lead-desc {
  color: #475569;
}

html[data-theme="light"] .skills-card-inner {
  background: #ffffff;
}

html[data-theme="light"] .skills-cyber-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .skills-cyber-list li {
  color: #334155;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .skills-card-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

