/* ==========================================================================
   About page
   ========================================================================== */

:root {
  --bg: #070b12;
  --panel: #0a111b;
  --panel-2: #0d1420;
  --cyan: #6ff7ff;
  --cyan-strong: #d9fdff;
  --muted: #84c9d1;
  --line: #173845;
  --accent: #8c7bff;
  --text: #deeff8;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.about-page {
  min-height: 100vh;
  padding: 28px clamp(20px, 4vw, 60px) 54px;
  position: relative;
  background:
    radial-gradient(circle at 14% 14%, rgba(35,217,255,.09), transparent 26%),
    radial-gradient(circle at 84% 72%, rgba(140,123,255,.08), transparent 30%),
    linear-gradient(180deg,#0a0f18,#060a11);
}

.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.008) 0,
      rgba(255,255,255,.008) 1px,
      rgba(0,0,0,.022) 2px,
      rgba(0,0,0,.022) 4px
    );
  opacity: .17;
}

.about-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  padding-right: 180px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--cyan-strong);
  outline: none;
}

.about-status {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: right;
}

.about-layout {
  position: relative;
  z-index: 1;
  width: min(1420px,100%);
  margin: 0 auto;
  padding-top: clamp(52px,7vw,96px);
  display: grid;
  grid-template-columns: minmax(320px,.78fr) minmax(0,1.22fr);
  gap: clamp(54px,7vw,112px);
}

.about-hero {
  position: sticky;
  top: 42px;
  align-self: start;
}

.eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-family: "Orbitron","IBM Plex Mono",monospace;
  font-size: clamp(54px,6.4vw,102px);
  line-height: .9;
  color: var(--cyan-strong);
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.hero-role {
  margin-top: 22px;
  color: var(--cyan);
  font-size: clamp(13px,1.2vw,17px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: #c8dce1;
  font-size: clamp(14px,1.15vw,18px);
  line-height: 1.75;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: .16s ease;
}

.about-action:hover,
.about-action:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(111,247,255,.62);
  outline: none;
}

.about-action--primary {
  background:
    linear-gradient(135deg,rgba(35,217,255,.14),rgba(140,123,255,.10)),
    rgba(8,15,24,.75);
}

.about-content {
  display: grid;
  gap: 0;
}

.about-section {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  gap: 24px;
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
}

.about-section:last-child {
  border-bottom: 1px solid var(--line);
}

.section-index {
  color: #47747c;
  font-size: 10px;
  padding-top: 4px;
}

.section-label {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h2 {
  max-width: 880px;
  margin: 0;
  color: var(--cyan-strong);
  font-size: clamp(24px,2.6vw,42px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.025em;
}

.about-section p {
  max-width: 860px;
  margin: 18px 0 0;
  color: #b9cfd4;
  font-size: 14px;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin-top: 8px;
}

.skills-grid span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #bffbff;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(111,247,255,.025);
}

/* language + theme controls */
.language-switch {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 100;
  min-width: 74px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(111,247,255,.22);
  border-radius: 8px;
  background: rgba(7,11,18,.78);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lang-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.lang-button.is-active {
  color: var(--cyan);
}

.theme-switch {
  position: fixed;
  top: 18px;
  right: 112px;
  z-index: 100;
}

.theme-button {
  min-height: 32px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(111,247,255,.22);
  border-radius: 8px;
  background: rgba(7,11,18,.78);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

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

/* light mode */
html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body,
html[data-theme="light"] .about-page {
  --bg: #eef4f6;
  --panel: #fff;
  --panel-2: #f6fafb;
  --cyan: #006f7b;
  --cyan-strong: #07343b;
  --muted: #4f7177;
  --line: #b8cdd1;
  --accent: #5c54d6;
  --text: #13272b;
}

html[data-theme="light"] .about-page {
  background:
    radial-gradient(circle at 14% 14%, rgba(0,111,123,.08), transparent 26%),
    radial-gradient(circle at 84% 72%, rgba(92,84,214,.07), transparent 30%),
    linear-gradient(180deg,#f7fbfc,#edf4f6);
}

html[data-theme="light"] .about-section p,
html[data-theme="light"] .hero-intro {
  color: #36565d;
}

html[data-theme="light"] .skills-grid span {
  color: #0b5963;
  background: rgba(0,111,123,.035);
}

html[data-theme="light"] .language-switch,
html[data-theme="light"] .theme-button {
  background: rgba(255,255,255,.88);
}

@media (max-width: 900px) {
  .about-topbar {
    padding-right: 180px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-hero {
    position: relative;
    top: auto;
  }

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

@media (max-width: 640px) {
  .about-page {
    padding: 18px 14px 34px;
  }

  .about-topbar {
    display: grid;
    gap: 8px;
    padding-right: 86px;
  }

  .about-status {
    text-align: left;
  }

  .theme-switch {
    top: 12px;
    right: 98px;
  }

  .theme-label {
    display: none;
  }

  .theme-button {
    width: 34px;
    min-width: 34px;
    justify-content: center;
    padding-inline: 0;
  }

  .language-switch {
    top: 12px;
    right: 12px;
  }

  h1 {
    font-size: clamp(46px,14vw,72px);
  }

  .about-section {
    grid-template-columns: 30px minmax(0,1fr);
    gap: 14px;
    padding-block: 26px 30px;
  }

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


html[data-theme="light"] .terminal-link,
html[data-theme="light"] .about-action,
html[data-theme="light"] .action-link,
html[data-theme="light"] .copy-button,
html[data-theme="light"] .send-button,
html[data-theme="light"] .theme-button,
html[data-theme="light"] .lang-button,
html[data-theme="light"] .back-link {
  color: #17383e;
}

html[data-theme="light"] .terminal-link::before,
html[data-theme="light"] .theme-icon,
html[data-theme="light"] .lang-button.is-active,
html[data-theme="light"] .about-action--primary,
html[data-theme="light"] .action-link {
  color: #005f69;
}

html[data-theme="light"] .terminal-link:hover,
html[data-theme="light"] .terminal-link:focus-visible,
html[data-theme="light"] .about-action:hover,
html[data-theme="light"] .about-action:focus-visible,
html[data-theme="light"] .action-link:hover,
html[data-theme="light"] .action-link:focus-visible,
html[data-theme="light"] .copy-button:hover,
html[data-theme="light"] .copy-button:focus-visible,
html[data-theme="light"] .theme-button:hover,
html[data-theme="light"] .theme-button:focus-visible,
html[data-theme="light"] .lang-button:hover,
html[data-theme="light"] .lang-button:focus-visible {
  color: #072f35;
}


/* ==========================================================================
   Global top-right controls: professional links + theme + language
   ========================================================================== */

.global-links {
  position: fixed;
  top: 18px;
  right: 202px;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.global-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 247, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(10px);
  color: var(--muted);
  text-decoration: none;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.global-link:hover,
.global-link:focus-visible {
  color: var(--cyan-strong);
  border-color: rgba(111, 247, 255, 0.52);
  background: rgba(111, 247, 255, 0.07);
  transform: translateY(-1px);
  outline: none;
}

html[data-theme="light"] .global-link {
  color: #23474e;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 95, 105, 0.22);
}

html[data-theme="light"] .global-link:hover,
html[data-theme="light"] .global-link:focus-visible {
  color: #06373e;
  border-color: rgba(0, 95, 105, 0.46);
  background: rgba(0, 95, 105, 0.055);
}

@media (max-width: 760px) {
  .global-links {
    top: 12px;
    right: 174px;
    gap: 4px;
  }

  .global-link {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 560px) {
  .global-links {
    position: static;
    margin-left: auto;
    margin-bottom: 8px;
  }
}


@media (min-width: 561px) {
  .projects-topbar,
  .contact-topbar,
  .about-topbar {
    padding-right: 320px;
  }

  .projects-status,
  .contact-status,
  .about-status {
    max-width: calc(100% - 320px);
  }
}


@media (max-width: 560px) {
  .theme-switch,
  .language-switch {
    position: fixed;
  }

  .global-links {
    position: fixed;
    top: 12px;
    left: 12px;
    right: auto;
    margin: 0;
  }

  .projects-topbar,
  .contact-topbar,
  .about-topbar {
    padding-top: 54px;
    padding-right: 0;
  }

  .projects-status,
  .contact-status,
  .about-status {
    max-width: 100%;
  }
}


/* Refined external-link icon buttons */
.global-link {
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.015),
    0 8px 20px rgba(0,0,0,0.12);
}

.global-link__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.global-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.global-link:hover .global-link__icon,
.global-link:focus-visible .global-link__icon {
  transform: scale(1.05);
}

.global-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 16px rgba(111,247,255,0.05);
  pointer-events: none;
}

html[data-theme="light"] .global-link::after {
  box-shadow: inset 0 0 14px rgba(0,95,105,0.035);
}


/* 2026-10 light-mode contrast */
html[data-theme="light"] .hero-intro,
html[data-theme="light"] .about-section p,
html[data-theme="light"] .about-status,
html[data-theme="light"] .back-link {
  color: #294a50;
}

html[data-theme="light"] .about-action--primary {
  color: #f7fbfc;
  border-color: #0b5059;
  background: #0b5059;
}

html[data-theme="light"] .about-action--primary:hover,
html[data-theme="light"] .about-action--primary:focus-visible {
  color: #ffffff;
  border-color: #073a42;
  background: #073a42;
}


/* Visible CV download control */
.global-link--cv {
  width: auto;
  min-width: 58px;
  padding-inline: 9px;
  gap: 6px;
}
.global-link--cv .global-link__icon {
  width: 14px;
  height: 14px;
}
.global-link__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
}
@media (max-width: 560px) {
  .global-link--cv { min-width: 52px; padding-inline: 7px; }
}

/* ========================================================================== 
   Single-page About — professional transition narrative
   ========================================================================== */
.single-about-section .about-layout--reframed {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding-top: 12px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 94px);
  align-items: start;
}

.single-about-section .about-summary {
  position: sticky;
  top: 82px;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(111,247,255,.045), rgba(140,123,255,.018)),
    rgba(8,15,24,.52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.012);
}

.single-about-section .about-summary .about-profile-name {
  margin: 0;
  font-family: "Orbitron", "IBM Plex Mono", monospace;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: .98;
  color: var(--cyan-strong);
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.single-about-section .about-summary .hero-intro {
  max-width: 48ch;
}

.single-about-section .about-signal-grid {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.single-about-section .about-signal-grid > div {
  display: grid;
  grid-template-columns: minmax(84px, .42fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.single-about-section .about-signal-grid span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.single-about-section .about-signal-grid strong {
  color: var(--text);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 600;
}

.single-about-section .about-story {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.single-about-section .about-story-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 30px);
  padding: clamp(28px, 3.2vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}

.single-about-section .about-story-card--accent {
  position: relative;
}

.single-about-section .about-story-card--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  opacity: .55;
}

.single-about-section .about-story-card h2 {
  max-width: 26ch;
  margin: 0;
  color: var(--cyan-strong);
  font-size: clamp(23px, 2.4vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.025em;
}

.single-about-section .about-story-card p {
  max-width: 74ch;
  margin: 16px 0 0;
  color: #b9cfd4;
  font-size: 14px;
  line-height: 1.8;
}

.single-about-section .about-toolkit {
  padding-top: 30px;
}

.single-about-section .skills-grid--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.single-about-section .skills-grid--compact span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(111,247,255,.025);
  color: #bffbff;
  font-size: 10px;
  letter-spacing: .065em;
  text-transform: uppercase;
}

html[data-theme="light"] .single-about-section .about-summary {
  background:
    linear-gradient(145deg, rgba(0,111,123,.038), rgba(92,84,214,.018)),
    rgba(255,255,255,.72);
}

html[data-theme="light"] .single-about-section .about-story-card p {
  color: #36565d;
}

html[data-theme="light"] .single-about-section .skills-grid--compact span {
  color: #0b5963;
  background: rgba(0,111,123,.035);
}

@media (max-width: 1120px) {
  .single-about-section .about-layout--reframed {
    grid-template-columns: 1fr;
  }

  .single-about-section .about-summary {
    position: relative;
    top: auto;
    max-width: 820px;
  }
}

@media (max-width: 640px) {
  .single-about-section .about-summary {
    padding: 20px;
  }

  .single-about-section .about-signal-grid > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .single-about-section .about-story-card {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }
}

/* ========================================================================== 
   Revision 7 — About Me / terminal identity card + signal story
   ========================================================================== */
.single-about-section .about-layout--reframed {
  grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 80px);
}

.single-about-section .about-summary--terminal {
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 2.7vw, 38px);
  border-radius: 4px;
  border-color: rgba(111,247,255,.28);
  background:
    linear-gradient(90deg, rgba(111,247,255,.035) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(111,247,255,.035) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(circle at 82% 12%, rgba(140,123,255,.14), transparent 31%),
    linear-gradient(145deg, rgba(111,247,255,.075), rgba(10,17,27,.32) 42%, rgba(140,123,255,.035));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.018),
    inset 0 0 44px rgba(35,217,255,.025),
    0 22px 70px rgba(0,0,0,.18);
}

.single-about-section .about-summary--terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 62%, rgba(111,247,255,.045) 62.2%, transparent 62.7%);
}

.single-about-section .about-summary__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(111,247,255,.18);
}

.single-about-section .about-summary__topline .eyebrow {
  margin: 0;
}

.single-about-section .about-summary__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.single-about-section .about-summary__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(111,247,255,.65);
  animation: about-status-pulse 2.2s ease-in-out infinite;
}

@keyframes about-status-pulse {
  50% { opacity: .38; box-shadow: 0 0 4px rgba(111,247,255,.25); }
}

.single-about-section .about-summary__identity {
  position: relative;
}

.single-about-section .about-summary__id {
  display: block;
  margin-bottom: 9px;
  color: rgba(140,123,255,.9);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.single-about-section .about-summary .about-profile-name {
  max-width: 8ch;
  font-size: clamp(38px, 4.5vw, 68px);
  text-shadow: 0 0 24px rgba(111,247,255,.08);
}

.single-about-section .about-summary .hero-role {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 18px;
  padding: 7px 10px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(111,247,255,.09), transparent);
}

.single-about-section .about-summary .hero-intro {
  margin-top: 19px;
  color: #c5dce1;
  font-size: 13px;
  line-height: 1.75;
}

.single-about-section .about-signal-grid {
  margin-top: 26px;
  border-top-color: rgba(111,247,255,.18);
}

.single-about-section .about-signal-grid > div {
  position: relative;
  padding: 12px 8px 12px 0;
  border-bottom-color: rgba(111,247,255,.14);
  transition: transform .18s ease, background .18s ease;
}

.single-about-section .about-signal-grid > div:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(111,247,255,.04), transparent);
}

.single-about-section .about-toolkit--inside {
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid rgba(111,247,255,.18);
}

.single-about-section .about-toolkit--inside .section-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-about-section .about-toolkit--inside .section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line), transparent);
}

.single-about-section .about-toolkit--inside .skills-grid--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
}

.single-about-section .about-toolkit--inside .skills-grid--compact span {
  position: relative;
  padding: 9px 10px 9px 20px;
  border-radius: 3px;
  background: rgba(7,11,18,.38);
  border-color: rgba(111,247,255,.14);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.single-about-section .about-toolkit--inside .skills-grid--compact span::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(111,247,255,.55);
}

.single-about-section .about-toolkit--inside .skills-grid--compact span:hover {
  transform: translateY(-2px);
  border-color: rgba(111,247,255,.42);
  background: rgba(111,247,255,.055);
}

.single-about-section .about-summary__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.single-about-section .about-summary__corner--tl {
  left: 8px;
  top: 8px;
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--cyan);
}

.single-about-section .about-summary__corner--br {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.single-about-section .about-story {
  position: relative;
  gap: 14px;
  border-top: 0;
  padding-left: 30px;
}

.single-about-section .about-story::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(111,247,255,.58) 12%, rgba(140,123,255,.42) 82%, transparent);
}

.single-about-section .about-story-card {
  position: relative;
  grid-template-columns: 58px minmax(0,1fr);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(111,247,255,.14);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(111,247,255,.025), transparent 48%),
    rgba(10,17,27,.26);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.single-about-section .about-story-card::after {
  content: "";
  position: absolute;
  left: -29px;
  top: 34px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  background: var(--bg);
  box-shadow: 0 0 12px rgba(111,247,255,.3);
}

.single-about-section .about-story-card:hover {
  transform: translateX(5px);
  border-color: rgba(111,247,255,.34);
  background:
    linear-gradient(120deg, rgba(111,247,255,.055), transparent 52%),
    rgba(10,17,27,.34);
}

.single-about-section .about-story-card--accent::before {
  left: auto;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: .72;
}

.single-about-section .about-story-card .section-index {
  position: relative;
  padding-top: 2px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .12em;
}

.single-about-section .about-story-card .section-index::after {
  content: "/";
  margin-left: 5px;
  color: var(--line);
}

.single-about-section .about-story-card h2 {
  max-width: 24ch;
}

html[data-theme="light"] .single-about-section .about-summary--terminal {
  background:
    linear-gradient(90deg, rgba(0,111,123,.04) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(0,111,123,.04) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(circle at 82% 12%, rgba(92,84,214,.08), transparent 31%),
    rgba(255,255,255,.82);
}

html[data-theme="light"] .single-about-section .about-summary .hero-intro {
  color: #36565d;
}

html[data-theme="light"] .single-about-section .about-toolkit--inside .skills-grid--compact span {
  background: rgba(255,255,255,.5);
}

html[data-theme="light"] .single-about-section .about-story-card {
  background: rgba(255,255,255,.54);
}

html[data-theme="light"] .single-about-section .about-story-card::after {
  background: #f5fbfc;
}

@media (max-width: 1120px) {
  .single-about-section .about-story {
    padding-left: 24px;
  }

  .single-about-section .about-story::before {
    left: 5px;
  }

  .single-about-section .about-story-card::after {
    left: -24px;
  }
}

@media (max-width: 640px) {
  .single-about-section .about-summary__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .single-about-section .about-toolkit--inside .skills-grid--compact {
    grid-template-columns: 1fr;
  }

  .single-about-section .about-story {
    padding-left: 16px;
  }

  .single-about-section .about-story::before {
    left: 0;
  }

  .single-about-section .about-story-card {
    grid-template-columns: 34px minmax(0,1fr);
    padding: 20px 18px;
  }

  .single-about-section .about-story-card::after {
    left: -20px;
    top: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-about-section .about-summary__status i {
    animation: none;
  }

  .single-about-section .about-signal-grid > div,
  .single-about-section .about-toolkit--inside .skills-grid--compact span,
  .single-about-section .about-story-card {
    transition: none;
  }
}

/* ========================================================================== 
   Revision 8 — digital operators for About Me story cards
   ========================================================================== */
.single-about-section .about-story-card {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
}

.single-about-section .about-story-character {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  justify-items: center;
  gap: 9px;
  padding: 9px 8px 10px;
  border: 1px solid rgba(111,247,255,.12);
  background:
    linear-gradient(rgba(111,247,255,.025) 1px, transparent 1px) 0 0 / 100% 8px,
    rgba(7,11,18,.22);
  overflow: hidden;
}

.single-about-section .about-story-character::after {
  content: "";
  position: absolute;
  inset: auto 7px 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,247,255,.45), transparent);
  transform: scaleX(.45);
  transition: transform .24s ease;
}

.single-about-section .about-story-card:hover .about-story-character::after {
  transform: scaleX(1);
}

.single-about-section .about-story-character .section-index {
  width: 100%;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(111,247,255,.1);
  text-align: center;
  font-size: 9px;
}

.single-about-section .about-story-character .section-index::after {
  display: none;
}

.single-about-section .digital-figure {
  width: 62px;
  height: 76px;
  overflow: visible;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 6px rgba(111,247,255,.11));
  transition: transform .24s ease, filter .24s ease;
}

.single-about-section .digital-figure__head,
.single-about-section .digital-figure__body {
  fill: rgba(111,247,255,.025);
}

.single-about-section .digital-figure__eye,
.single-about-section .digital-figure__node {
  fill: var(--accent);
  stroke: var(--accent);
}

.single-about-section .digital-figure__mouth,
.single-about-section .digital-figure__module {
  stroke: var(--muted);
}

.single-about-section .digital-figure__signal {
  stroke: var(--accent);
}

.single-about-section .about-story-card:hover .digital-figure {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 9px rgba(111,247,255,.22));
}

.single-about-section .about-story-card--direction:hover .digital-figure__signal {
  animation: digital-signal-ping 700ms steps(2, end) 1;
}

.single-about-section .about-story-card--background:hover .digital-figure__module {
  animation: digital-module-pulse 680ms ease 1;
}

.single-about-section .about-story-card--approach:hover .digital-figure__node {
  animation: digital-node-pulse 680ms ease 1;
}

@keyframes digital-signal-ping {
  50% { opacity: .28; transform: translate(1px,-1px); }
}

@keyframes digital-module-pulse {
  50% { fill: rgba(140,123,255,.12); stroke: var(--accent); }
}

@keyframes digital-node-pulse {
  50% { r: 4px; filter: drop-shadow(0 0 4px var(--accent)); }
}

html[data-theme="light"] .single-about-section .about-story-character {
  background:
    linear-gradient(rgba(0,111,123,.035) 1px, transparent 1px) 0 0 / 100% 8px,
    rgba(255,255,255,.44);
}

html[data-theme="light"] .single-about-section .digital-figure__head,
html[data-theme="light"] .single-about-section .digital-figure__body {
  fill: rgba(0,111,123,.025);
}

@media (max-width: 640px) {
  .single-about-section .about-story-card {
    grid-template-columns: 64px minmax(0,1fr);
  }

  .single-about-section .about-story-character {
    min-height: 94px;
    padding-inline: 5px;
  }

  .single-about-section .digital-figure {
    width: 50px;
    height: 63px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-about-section .digital-figure,
  .single-about-section .about-story-character::after,
  .single-about-section .digital-figure__signal,
  .single-about-section .digital-figure__module,
  .single-about-section .digital-figure__node {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================================================== 
   Revision 10 — simplified About story markers
   ========================================================================== */
.single-about-section .about-story-card {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.single-about-section .about-story-character {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  display: block;
}

.single-about-section .about-story-character::after {
  display: none;
}

.single-about-section .about-story-character .section-index {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(111,247,255,.22);
  color: var(--cyan);
  background: rgba(111,247,255,.035);
  font-size: 9px;
  letter-spacing: .12em;
}

html[data-theme="light"] .single-about-section .about-story-character {
  background: transparent;
}

@media (max-width: 640px) {
  .single-about-section .about-story-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }
  .single-about-section .about-story-character .section-index {
    width: 30px;
    height: 30px;
  }
}

/* ========================================================================== 
   Revision 11 — profile photo placeholder
   ========================================================================== */
.single-about-section .about-photo-placeholder {
  margin: 0 0 24px;
  display: grid;
  gap: 9px;
}

.single-about-section .about-photo-placeholder__frame {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(111,247,255,.28);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(111,247,255,.05), transparent 44%),
    linear-gradient(45deg, transparent 49.7%, rgba(111,247,255,.12) 50%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(140,123,255,.10) 50%, transparent 50.3%),
    rgba(7,11,18,.44);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.single-about-section .about-photo-placeholder__frame::before,
.single-about-section .about-photo-placeholder__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
}

.single-about-section .about-photo-placeholder__frame::before {
  border: 1px solid rgba(111,247,255,.12);
}

.single-about-section .about-photo-placeholder__frame::after {
  inset: auto 16px 16px auto;
  width: 28px;
  height: 28px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.single-about-section .about-photo-placeholder__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(111,247,255,.025) 6px);
}

.single-about-section .about-photo-placeholder__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(111,247,255,.48);
  font-family: "Orbitron", "IBM Plex Mono", monospace;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: .12em;
}

.single-about-section .about-photo-placeholder figcaption {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html[data-theme="light"] .single-about-section .about-photo-placeholder__frame {
  background:
    linear-gradient(135deg, rgba(0,111,123,.04), transparent 44%),
    linear-gradient(45deg, transparent 49.7%, rgba(0,111,123,.09) 50%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(92,84,214,.08) 50%, transparent 50.3%),
    rgba(255,255,255,.52);
}

@media (max-width: 900px) {
  .single-about-section .about-photo-placeholder__frame {
    width: min(62vw, 320px);
  }
}
