@font-face {
  font-family: "Poppins";
  src: url("../poppins2.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --about-outer: #030405;
  --about-paper: #a7a7af;
  --about-band: #0c0f14;
  --about-surface: #14181e;
  --about-surface-hover: #181d24;
  --about-ink: #f1f3f5;
  --about-secondary: #c3c8cf;
  --about-muted: #8d96a2;
  --about-accent: #6e9fd4;
  --about-photo: #d39a4a;
  --about-systems: #5fa590;
  --about-hardware: #9da8b5;
  --about-line: #39424d;
  --about-line-strong: #4e5966;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--about-outer);
  scroll-behavior: smooth;
}

body.about-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 125, 145, 0.11), transparent 43rem),
    var(--about-outer);
  color: var(--about-ink);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.45;
}

.about-page a {
  color: inherit;
  text-decoration: none;
}

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

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
  margin: 0;
}

.about-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.6rem 0.85rem;
  background: var(--about-ink);
  color: var(--about-paper) !important;
  transform: translateY(-180%);
}

.about-skip-link:focus {
  transform: translateY(0);
}

.about-page a:focus-visible {
  outline: 2px solid var(--about-accent);
  outline-offset: 3px;
}

/* Framed gallery-mat shell. */
.about-frame {
  width: 100%;
  padding: clamp(1.25rem, 4vw, 5rem);
}

.about-canvas {
  position: relative;
  width: min(100%, 1320px);
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(145deg, #11151a 0%, var(--about-paper) 48%, #0b0e12 100%);
  box-shadow:
    0 2.75rem 8rem rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(195, 200, 207, 0.08);
  filter: drop-shadow(0 2.75rem 6rem rgba(0, 0, 0, 0.62));
}

.about-canvas::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.011) 50%, transparent);
  content: "";
  pointer-events: none;
}

/* Visual-only entrance sequence; content is present and interactive throughout. */
@keyframes about-canvas-reveal {
  0% { opacity: 0; box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.25), 0 0 0 1px transparent; }
  100% { opacity: 1; box-shadow: 0 2.75rem 8rem rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.045); }
}

@keyframes about-soft-reveal {
  0% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes about-logo-reveal {
  0% {
    opacity: 0.12;
    filter: blur(2px) brightness(0.64) drop-shadow(0 6px 3px rgba(0, 0, 0, 0.78));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 8px 3px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 3px rgba(95, 145, 210, 0.42));
  }
}

@keyframes about-rule-reveal {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (prefers-reduced-motion: no-preference) {
  .about-canvas {
    animation: about-canvas-reveal 420ms 0s ease-out both;
  }

  .about-identity__mark-visual img {
    animation: about-logo-reveal 620ms 180ms ease-out both;
  }

  .about-identity h1 {
    animation: about-soft-reveal 560ms 400ms ease-out both;
  }

  .about-identity__intro {
    animation: about-soft-reveal 560ms 680ms ease-out both;
  }

  .about-identity__brand-note {
    animation: about-soft-reveal 520ms 900ms ease-out both;
  }

  .about-identity__brand-note::before {
    animation: about-rule-reveal 500ms 860ms ease-out both;
  }

  .about-work__heading {
    animation: about-soft-reveal 500ms 1.16s ease-out both;
  }

  .about-card {
    animation: about-soft-reveal 620ms ease-out both;
  }

  .about-card:nth-child(1) { animation-delay: 1.4s; }
  .about-card:nth-child(2) { animation-delay: 1.54s; }
  .about-card:nth-child(3) { animation-delay: 1.68s; }
  .about-card:nth-child(4) { animation-delay: 1.82s; }

  .about-closing {
    animation: about-soft-reveal 460ms 2.18s ease-out both;
  }
}

/* Identity. */
.about-identity {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border-bottom: 1px solid #4e596;
  background:
radial-gradient(circle at 17% 50%, rgba(110, 159, 212, 0.10), transparent 27%),
    linear-gradient(
      90deg,
      #151b23 0%,
      #151b23 32%,
      #0c1016 32%,
      #0c1016 100%
    );
  background-color: var(--about-band);
}

.about-identity__mark {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid #303a46;
}

.about-identity__mark-visual {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 360px;
  place-items: center;
  padding: clamp(2rem, 3.5vw, 4rem);
  overflow: hidden;
}

.about-identity__mark-visual > img {
    opacity: 1 !important;
    filter:
        drop-shadow(0 8px 3px rgba(0, 0, 0, 0.8))
        !important;
}

.about-identity__mark-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 65%, rgba(14, 17, 22, 0.62) 100%);
  content: "";
}

.about-identity__mark-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 285px);
  height: auto;
  opacity: 1;
  filter:
    contrast(2)
    drop-shadow(0 7px 2px rgba(0, 0, 0, 0.92));
}

.about-identity__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  flex-direction: column;
  padding: 2.25rem clamp(2.25rem, 4vw, 4.5rem) 2.25rem clamp(2.25rem, 3.4vw, 4.2rem);
}

.about-identity__copy {
  width: 100%;
  min-width: 0;
}

.about-identity h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2.05rem, 2.7vw, 3rem);
  font-weight: 350;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.about-identity__intro {
  max-width: 900px;
  margin-top: 1rem !important;
  color: var(--about-secondary);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.65;
}

.about-identity__brand-note {
  position: relative;
  max-width: 760px;
  margin-top: 2.8rem;
  padding-left: 1rem;
  color: var(--about-secondary);
  font-size: clamp(0.76rem, 0.86vw, 0.86rem);
  line-height: 1.5;
}

.about-identity__brand-note {
  position: relative;
  max-width: 760px;
  margin-top: 2.5rem;
  padding-left: 0;
  color: #9da5af;
  font-size: clamp(0.76rem, 0.86vw, 0.86rem);
  line-height: 1.5;
}

.about-identity__brand-name {
  margin-bottom: 0.25rem !important;
  color: #91b5dd;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.about-identity__brand-name > span {
  color: var(--about-ink);
}

/* Work cards. */
.about-work {
  padding: 34px clamp(2rem, 4vw, 3.5rem) 0;
}

.about-work__heading {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 8px;
  text-align: center;
  border: 0;
}

.about-work__heading::before {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(35, 40, 47, 0.48);
  content: "";
}

.about-work__heading h2 {
  position: relative;
  z-index: 1;
  display: inline-block;

  padding: 6px 20px;

  background: var(--about-paper);
  border: 1px solid #555b64;

  color: #20242a;
  font-size: clamp(1.25rem, 1.45vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-work__heading p {
  margin-top: 10px !important;

  color: #0f1013;
  font-size: clamp(0.9rem, 0.9vw, 0.9rem);
  font-weight: 400;
  text-align: center;
}

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

.about-card {
  --card-accent: var(--about-accent);
  --card-accent-soft: rgba(110, 159, 212, 0.06);
  --card-accent-border: rgba(110, 159, 212, 0.42);
  --card-accent-border-hover: rgba(110, 159, 212, 0.72);
  --card-accent-glow: rgba(110, 159, 212, 0.18);
  --card-accent-glow-hover: rgba(110, 159, 212, 0.3);
  --card-accent-text: #8fb3dc;
  --card-accent-text-hover: #b4cde8;
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: 94px minmax(0, 1fr) minmax(310px, 28%);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 2px;
  background:
    radial-gradient(circle at 8% 50%, var(--card-accent-soft), transparent 21%),
    linear-gradient(112deg, rgba(241, 243, 245, 0.018), transparent 62%);
  background-color: var(--about-surface);
  box-shadow:
    inset 0 1px rgba(241, 243, 245, 0.025),
    0 10px 26px rgba(0, 0, 0, 0.16);
  cursor: default;
  transition:
    border-color 210ms ease,
    background-color 210ms ease,
    box-shadow 210ms ease,
    transform 210ms ease;
}

.about-card--photography {
  --card-accent: var(--about-photo);
  --card-accent-soft: rgba(211, 154, 74, 0.06);
  --card-accent-border: rgba(211, 154, 74, 0.42);
  --card-accent-border-hover: rgba(211, 154, 74, 0.72);
  --card-accent-glow: rgba(211, 154, 74, 0.18);
  --card-accent-glow-hover: rgba(211, 154, 74, 0.3);
  --card-accent-text: #d8aa68;
  --card-accent-text-hover: #e3bf89;
}

.about-card--coding {
  --card-accent: #6e9fd4;
}

.about-card--systems {
  --card-accent: var(--about-systems);
  --card-accent-soft: rgba(95, 165, 144, 0.06);
  --card-accent-border: rgba(95, 165, 144, 0.42);
  --card-accent-border-hover: rgba(95, 165, 144, 0.72);
  --card-accent-glow: rgba(95, 165, 144, 0.18);
  --card-accent-glow-hover: rgba(95, 165, 144, 0.3);
  --card-accent-text: #79b6a4;
  --card-accent-text-hover: #9ac9bb;
}

.about-card--hardware {
  --card-accent: var(--about-hardware);
  --card-accent-soft: rgba(157, 168, 181, 0.06);
  --card-accent-border: rgba(157, 168, 181, 0.42);
  --card-accent-border-hover: rgba(157, 168, 181, 0.72);
  --card-accent-glow: rgba(157, 168, 181, 0.18);
  --card-accent-glow-hover: rgba(157, 168, 181, 0.3);
  --card-accent-text: #aeb8c3;
  --card-accent-text-hover: #c9d0d8;
}

.about-card::after {
  position: absolute;
  inset: 0;
  border-left: 2px solid var(--card-accent-border);
  box-shadow: inset 3px 0 10px var(--card-accent-soft);
  content: "";
  pointer-events: none;
  transition: border-color 210ms ease, box-shadow 210ms ease;
}

.about-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--card-accent-border);
  background: linear-gradient(90deg, var(--card-accent-soft), transparent);
}

/* Camera focus UI lives in the dedicated right-side visual region. */
.about-card__aside--photography {
  width: auto;
  padding: 0.85rem clamp(1rem, 1.8vw, 1.5rem);
  border-left: 1px solid rgba(211, 154, 92, 0.12);
}

.about-card__aside--photography .about-card__action {
  margin: 0.55rem 0 0;
}

.about-camera-ui {
  position: relative;
  display: grid;
  min-height: 8.6rem;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(211, 154, 92, 0.025), rgba(211, 154, 92, 0.008)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(211, 154, 92, 0.025) 32px);
  border: 1px solid rgba(211, 154, 92, 0.09);
}

.about-focus {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 88px;
  height: 72px;
  opacity: 0.68;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}

.about-focus__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(211, 154, 74, 0.78);
  border-style: solid;
}

.about-focus__corner--tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.about-focus__corner--tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.about-focus__corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.about-focus__corner--br {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.about-focus__indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--about-photo);
  opacity: 0.68;
  box-shadow: 0 0 6px rgba(211, 154, 92, 0.48);
  transform: translate(-50%, -50%);
}

.about-camera-settings {
  position: absolute;
  top: calc(46% + 49px);
  left: 50%;
  color: rgba(226, 190, 149, 0.68);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.045em;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, 3px);
}

@media (prefers-reduced-motion: no-preference) {
  .about-focus {
    animation: about-photo-focus-cycle 14s 4.5s infinite ease-in-out;
  }

  .about-focus__indicator {
    animation: about-photo-point-cycle 14s 4.5s infinite ease-in-out;
  }

  .about-camera-settings {
    animation: about-photo-settings-cycle 14s 4.5s infinite ease-in-out;
  }
}

.about-card--photography:hover .about-focus,
.about-card--photography:focus-visible .about-focus {
  animation: about-photo-focus-replay 1.9s 1 ease-out both;
}

.about-card--photography:hover .about-focus__indicator,
.about-card--photography:focus-visible .about-focus__indicator {
  animation: about-photo-point-replay 1.9s 1 ease-out both;
}

.about-card--photography:hover .about-camera-settings,
.about-card--photography:focus-visible .about-camera-settings {
  animation: about-photo-settings-replay 1.9s 1 ease-out both;
}

@keyframes about-photo-focus-cycle {
  0%, 20%, 100% { opacity: 0.68; transform: translate(-50%, -50%) scale(1); }
  4%, 13% { opacity: 0.92; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes about-photo-point-cycle {
  0%, 20%, 100% { opacity: 0.68; box-shadow: 0 0 6px rgba(211, 154, 92, 0.48); }
  4%, 14% { opacity: 1; box-shadow: 0 0 10px rgba(225, 170, 105, 0.85); }
}

@keyframes about-photo-settings-cycle {
  0%, 2%, 20%, 100% { opacity: 0; transform: translate(-50%, 3px); }
  5%, 15% { opacity: 0.82; transform: translate(-50%, 0); }
}

@keyframes about-photo-focus-replay {
  0%, 100% { opacity: 0.68; transform: translate(-50%, -50%) scale(1); }
  30%, 58% { opacity: 0.92; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes about-photo-point-replay {
  0%, 100% { opacity: 0.68; box-shadow: 0 0 6px rgba(211, 154, 92, 0.48); }
  28%, 62% { opacity: 1; box-shadow: 0 0 10px rgba(225, 170, 105, 0.85); }
}

@keyframes about-photo-settings-replay {
  0%, 14%, 100% { opacity: 0; transform: translate(-50%, 3px); }
  30%, 76% { opacity: 0.82; transform: translate(-50%, 0); }
}

.about-card__icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--card-accent, var(--about-accent));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  opacity: 0.94;
  filter: drop-shadow(0 0 10px var(--card-accent-glow));
  transition: opacity 210ms ease, filter 210ms ease;
}

.about-card__body {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  flex-direction: column;
  padding: 1rem clamp(1.25rem, 2.5vw, 2.25rem);
}

.about-card__action {
  align-self: center;
  margin-right: clamp(1.25rem, 2.5vw, 2.25rem);
  color: var(--card-accent-text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 180ms ease, filter 180ms ease;
}

.about-card__aside {
  display: flex;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
}

.about-card__aside .about-card__action {
  align-self: flex-end;
}

.about-card__aside--coding {
  width: auto;
  padding: 0.85rem clamp(1rem, 1.8vw, 1.5rem);
  border-left: 1px solid rgba(117, 160, 218, 0.12);
}

.about-card__aside--coding .about-card__action {
  margin: 0.55rem 0 0;
}

.about-code {
  position: relative;
  display: block;
  height: 11.9rem;
  padding: 0.55rem 0.65rem 1.55rem 0;
  overflow: hidden;
  color: rgba(205, 214, 225, 0.74);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.59rem, 0.7vw, 0.7rem);
  line-height: 1.35;
  white-space: nowrap;
  background:
    linear-gradient(90deg, rgba(7, 11, 17, 0.88) 0 3rem, rgba(11, 16, 23, 0.94) 3rem 100%);
  border: 1px solid rgba(117, 160, 218, 0.16);
  border-radius: 2px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.02);
}

.about-code::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3rem;
  width: 1px;
  background: rgba(117, 160, 218, 0.14);
  content: "";
}

.about-code::after {
  position: absolute;
  top: 4.05rem;
  bottom: 1.55rem;
  left: 5.55rem;
  width: 1px;
  background: rgba(117, 160, 218, 0.1);
  content: "";
  pointer-events: none;
}

.about-code__content {
  display: block;
}

.about-code__line {
  display: grid;
  min-height: 0.93rem;
  grid-template-columns: 3rem minmax(0, 1fr);
}

.about-code__number {
  padding-right: 0.7rem;
  color: rgba(120, 137, 158, 0.52);
  text-align: right;
  user-select: none;
}

.about-code__source {
  display: block;
  min-width: 0;
  padding-left: 0.8rem;
  overflow: hidden;
}

.about-code__token--keyword {
  color: rgba(205, 142, 207, 0.92);
}

.about-code__token--preprocessor {
  color: rgba(193, 137, 196, 0.9);
}

.about-code__token--string {
  color: rgba(142, 194, 222, 0.9);
}

.about-code__token--comment {
  color: rgba(124, 150, 169, 0.7);
  font-style: italic;
}

.about-code__token--function {
  color: rgba(218, 190, 139, 0.9);
}

.about-code__token--punctuation {
  color: rgba(221, 202, 137, 0.8);
}

.about-code__token--constant {
  color: rgba(114, 177, 215, 0.92);
}

.about-code__caret {
  display: inline-block;
  width: 1px;
  height: 0.82rem;
  margin-left: 2px;
  background: rgba(166, 194, 230, 0.8);
  vertical-align: -0.15rem;
  animation: about-code-caret 1.1s steps(1, end) infinite;
}

@keyframes about-code-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.about-code__status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 3rem;
  min-height: 1.18rem;
  padding: 0.2rem 0.65rem;
  overflow: hidden;
  background: rgba(68, 105, 153, 0.34);
  color: rgba(190, 208, 230, 0.72);
  font-size: 0.54rem;
  line-height: 1.35;
  text-overflow: clip;
  white-space: nowrap;
}

.about-terminal {
  display: flex;
  width: 100%;
  min-height: 9.4rem;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: 0.78rem 0.88rem;
  color: rgba(126, 185, 173, 0.7);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.64rem, 0.72vw, 0.72rem);
  line-height: 1.5;
  white-space: nowrap;
  background:
    linear-gradient(rgba(5, 12, 13, 0.75), rgba(6, 13, 15, 0.62)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(93, 154, 142, 0.018) 23px);
  border: 1px solid rgba(93, 154, 142, 0.16);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.015);
  transition: border-color 180ms ease, filter 180ms ease;
}

.about-terminal__history,
.about-terminal__line,
.about-terminal__output {
  display: block;
  overflow: hidden;
  text-overflow: clip;
}

.about-terminal__history {
  min-height: 3.1rem;
  margin-bottom: 0.25rem;
  color: rgba(139, 160, 163, 0.48);
  white-space: pre-line;
}

.about-terminal__output {
  min-height: 0.9rem;
  color: rgba(183, 195, 211, 0.57);
}

.about-terminal__cursor {
  animation: about-terminal-cursor 1.15s steps(1, end) infinite;
}

@keyframes about-terminal-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.about-card__aside--systems {
  width: auto;
  align-items: stretch;
  padding: 0.9rem clamp(1rem, 1.8vw, 1.5rem);
  border-left: 1px solid rgba(93, 154, 142, 0.1);
}

.about-card--systems:hover .about-terminal {
  border-color: rgba(93, 154, 142, 0.26);
  filter: brightness(1.06);
}

/* One synchronized motherboard-initialization sequence. */
.about-card__aside--hardware {
  width: auto;
  padding: 0.85rem clamp(1rem, 1.8vw, 1.5rem);
  border-left: 1px solid rgba(148, 157, 167, 0.12);
  pointer-events: auto;
}

.about-post {
  display: grid;
  min-height: 8.6rem;
  grid-template-columns: minmax(70px, 36%) minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  background: rgba(9, 13, 18, 0.62);
  border: 1px solid rgba(148, 157, 167, 0.12);
  font-family: Consolas, "Courier New", monospace;
  pointer-events: none;
}

.about-post__board {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 88px;
  border: 1px solid rgba(148, 157, 167, 0.22);
  background:
    linear-gradient(90deg, transparent 49%, rgba(148, 157, 167, 0.055) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(148, 157, 167, 0.055) 50%, transparent 51%),
    linear-gradient(135deg, rgba(148, 157, 167, 0.045), transparent);
}

.about-post__trace {
  position: absolute;
  display: block;
  border-color: rgba(148, 157, 167, 0.2);
  border-style: solid;
  opacity: 0.24;
}

.about-post__trace--one {
  top: 10%;
  right: 47%;
  bottom: 62%;
  left: 12%;
  border-width: 1px 1px 0 0;
  --hardware-delay: 13s;
  --hardware-hover-delay: 0ms;
}

.about-post__trace--two {
  top: 31%;
  right: 12%;
  bottom: 47%;
  left: 52%;
  border-width: 0 1px 1px 0;
  --hardware-delay: 13.64s;
  --hardware-hover-delay: 220ms;
}

.about-post__trace--three {
  top: 51%;
  right: 49%;
  bottom: 21%;
  left: 13%;
  border-width: 0 0 1px 1px;
  --hardware-delay: 14.28s;
  --hardware-hover-delay: 440ms;
}

.about-post__trace--four {
  top: 59%;
  right: 13%;
  bottom: 12%;
  left: 51%;
  border-width: 0 1px 1px 0;
  --hardware-delay: 14.92s;
  --hardware-hover-delay: 660ms;
}

.about-post__node {
  position: absolute;
  display: block;
  border: 1px solid rgba(171, 179, 187, 0.34);
  background: rgba(148, 157, 167, 0.035);
  opacity: 0.3;
}

.about-post__node--cpu {
  top: 22%;
  left: 28%;
  width: 30%;
  aspect-ratio: 1 / 1;
  box-shadow: inset 0 0 0 3px rgba(148, 157, 167, 0.035);
  --hardware-delay: 13.32s;
  --hardware-hover-delay: 110ms;
}

.about-post__node--memory {
  top: 14%;
  right: 14%;
  width: 7%;
  height: 40%;
  --hardware-delay: 13.96s;
  --hardware-hover-delay: 330ms;
}

.about-post__node--nvme {
  bottom: 16%;
  left: 14%;
  width: 36%;
  height: 8%;
  --hardware-delay: 14.6s;
  --hardware-hover-delay: 550ms;
}

.about-post__node--gpu {
  right: 12%;
  bottom: 13%;
  width: 30%;
  height: 18%;
  --hardware-delay: 15.24s;
  --hardware-hover-delay: 770ms;
}

.about-post__readout {
  display: grid;
  gap: 0.25rem;
  color: rgba(182, 189, 197, 0.68);
  font-size: 0.62rem;
  line-height: 1.35;
}

.about-post__line {
  display: block;
  opacity: 0.38;
}

.about-post__line:nth-child(1) { --hardware-delay: 13.32s; --hardware-hover-delay: 110ms; }
.about-post__line:nth-child(2) { --hardware-delay: 13.96s; --hardware-hover-delay: 330ms; }
.about-post__line:nth-child(3) { --hardware-delay: 14.6s; --hardware-hover-delay: 550ms; }
.about-post__line:nth-child(4) { --hardware-delay: 15.24s; --hardware-hover-delay: 770ms; }
.about-post__line:nth-child(5) { --hardware-delay: 15.56s; --hardware-hover-delay: 880ms; }

.about-post__line--ready {
  margin-top: 0.15rem;
  color: rgba(193, 203, 198, 0.78);
  letter-spacing: 0.11em;
}

@keyframes about-hardware-cycle {
  0% { opacity: 0.24; filter: none; }
  4%, 13% { opacity: 0.96; filter: drop-shadow(0 0 4px rgba(173, 184, 178, 0.52)); }
  20%, 100% { opacity: 0.54; filter: none; }
}

@keyframes about-hardware-replay {
  0% { opacity: 0.24; filter: none; }
  38%, 72% { opacity: 1; filter: drop-shadow(0 0 5px rgba(173, 184, 178, 0.58)); }
  100% { opacity: 0.54; filter: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .about-post__trace,
  .about-post__node,
  .about-post__line {
    animation: about-hardware-cycle 20s var(--hardware-delay) infinite ease-in-out both;
  }
}

.about-card--hardware:hover .about-post__trace,
.about-card--hardware:hover .about-post__node,
.about-card--hardware:hover .about-post__line,
.about-card--hardware:focus-within .about-post__trace,
.about-card--hardware:focus-within .about-post__node,
.about-card--hardware:focus-within .about-post__line {
  animation: about-hardware-replay 720ms var(--hardware-hover-delay) 1 ease-out both;
}

.about-hardware-links {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.55rem;
}

.about-hardware-build {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--about-secondary) !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 180ms ease, filter 180ms ease;
}

.about-hardware-build svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: #ff0000;
}

.about-hardware-build .about-hardware-build__play {
  fill: rgba(247, 247, 247, 0.9);
}

.about-hardware-build:hover,
.about-hardware-build:focus-visible {
  color: rgba(220, 224, 229, 0.92) !important;
  filter: drop-shadow(0 0 5px rgba(148, 157, 167, 0.2));
}

.about-card h3 {
  color: var(--about-ink);
  font-size: clamp(1.3rem, 1.62vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.about-card__body p {
  max-width: 1040px;
  margin-top: 0.38rem !important;
  color: var(--about-secondary);
  font-size: clamp(0.75rem, 0.84vw, 0.83rem);
  line-height: 1.55;
}

.about-card__body .about-card__details {
  margin-top: 0.72rem !important;
  color: var(--card-accent-text);
  font-size: clamp(0.63rem, 0.69vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 210ms ease, filter 210ms ease;
}

.about-card--interactive,
.about-card--hardware {
  cursor: pointer;
}

.about-card:hover,
.about-card:focus-within,
.about-card--interactive:focus-visible {
  border-color: var(--card-accent-border-hover);
  background-color: var(--about-surface-hover);
  box-shadow:
    inset 0 1px rgba(241, 243, 245, 0.04),
    0 12px 30px var(--card-accent-glow);
  transform: translateY(-1px);
}

.about-card:hover::after,
.about-card:focus-within::after,
.about-card--interactive:focus-visible::after {
  border-left-color: var(--card-accent);
  box-shadow: inset 3px 0 12px var(--card-accent-glow);
}

.about-card:hover .about-card__icon svg,
.about-card:focus-within .about-card__icon svg,
.about-card--interactive:focus-visible .about-card__icon svg {
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--card-accent-glow-hover));
}

.about-card:hover .about-card__details,
.about-card:focus-within .about-card__details,
.about-card--interactive:focus-visible .about-card__details,
.about-card:hover .about-card__action,
.about-card:focus-within .about-card__action,
.about-card--interactive:focus-visible .about-card__action,
.about-card:hover .about-hardware-build,
.about-card:focus-within .about-hardware-build {
  color: var(--card-accent-text-hover) !important;
  filter: drop-shadow(0 0 7px var(--card-accent-glow-hover));
}

/* Unified brand/contact closing band. */
.about-closing {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  min-height: 0;

  margin: 30px 0 0;
  padding: 1.3rem clamp(3rem, 5vw, 5.5rem);

  border-top: 1px solid #39424d;

  background:
    linear-gradient(
      100deg,
      #121820 0%,
      #0d1117 42%,
      #0b0f14 100%
    );
}

.about-closing__brand {
  display: flex;
  min-height: 0;

  align-items: flex-start;
  justify-content: center;
  flex-direction: column;

  padding: 0;

  border-right: 0;
  text-align: left;
}

.about-contact {
  display: flex;
  min-width: 340px;

  align-items: flex-start;
  justify-content: center;
  flex-direction: column;

  gap: 1rem;
  padding: 0;
}

.about-contact__body {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  flex-direction: column;
}

.about-contact__body h2 {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-contact__body p {
  margin-top: 0.3rem !important;
  color: var(--about-muted);
  font-size: clamp(0.68rem, 0.76vw, 0.75rem);
}

.about-contact__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-contact__action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 0.55rem;

  padding: 0.5rem 0.8rem;

  border: 1px solid #46505d;
  background: rgba(241, 243, 245, 0.025);

  color: #b8bec6 !important;
  font-size: 0.76rem;

  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.about-contact__action svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--about-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.about-contact__action .about-contact__linkedin {
  fill: var(--about-accent);
  stroke: none;
}

.about-contact__action:hover,
.about-contact__action:focus-visible {
  border-color: #6e9fd4;
  background: #161c23;
  color: #f1f3f5 !important;
}

.about-end__credit {
  color: #8f98a3;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
}

.about-end__logo {
  width: 190px;
  margin-bottom: 0.65rem;
  opacity: 1;
  filter: grayscale(1) brightness(1.15) contrast(1.1);
}

@media (max-width: 900px) {
  .about-frame {
    padding: 1.5rem;
  }

  .about-identity {
    grid-template-columns: 32% minmax(0, 1fr);
    min-height: 330px;
  }

  .about-identity__mark-visual img {
    width: clamp(140px, 19vw, 180px);
  }

  .about-identity__content {
    padding: 1.5rem 2.25rem 1.5rem 1.25rem;
  }

  .about-work {
    padding-inline: 1.25rem;
  }

  .about-card {
    min-height: 118px;
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .about-card--photography,
  .about-card--coding,
  .about-card--systems,
  .about-card--hardware {
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .about-card__detail {
    display: none;
  }

  .about-card__aside--photography,
  .about-card__aside--coding,
  .about-card__aside--hardware {
    width: auto;
    padding: 0;
    border-left: 0;
  }

  .about-card__aside--photography .about-card__action,
  .about-card__aside--coding .about-card__action {
    align-self: center;
    margin: 0 clamp(1.25rem, 2.5vw, 2.25rem) 0 0;
  }

  .about-hardware-links {
    align-items: flex-end;
    margin: 0 clamp(1.25rem, 2.5vw, 2.25rem) 0 0;
  }

  .about-card__body {
    padding-inline: 1.15rem;
  }

  .about-card h3 {
    font-size: 1.22rem;
  }

  .about-card__body p,
  .about-contact__body p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .about-closing {
    margin-inline: 1.25rem;
  }

  .about-closing__brand,
  .about-contact {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 650px) {
  .about-frame {
    padding: 0.55rem;
  }

  .about-canvas {
    background: var(--about-paper);
    box-shadow: none;
    filter: none;
  }

  .about-identity {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .about-identity__mark {
    min-height: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    align-items: center;
    padding-left: 0;
  }

  .about-identity__mark-visual {
    width: 100%;
    min-height: 220px;
    padding: 2.5rem;
  }

  .about-identity__mark-visual img {
    width: 190px;
  }

  .about-identity__content {
    min-height: 255px;
    padding: 1.7rem 1.25rem;
  }

  .about-identity h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .about-identity__intro {
    margin-top: 0.8rem !important;
  }

  .about-work {
    padding: 40px 0.85rem 0;
  }

  .about-work__heading {
    padding-bottom: 20px;
  }

  .about-work__heading h2 {
    font-size: 1.5rem;
  }

  .about-work__heading p {
    font-size: 0.68rem;
  }

  .about-work__cards {
    gap: 14px;
  }

  .about-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .about-card--photography,
  .about-card--coding,
  .about-card--systems,
  .about-card--hardware {
    grid-template-columns: 1fr;
  }

  .about-card__icon {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid rgba(110, 145, 196, 0.13);
  }

  .about-card__icon svg {
    width: 38px;
    height: 38px;
  }

  .about-card__body {
    min-height: 118px;
    grid-column: 1;
    padding: 1.1rem 0.85rem;
  }

  .about-card__action {
    align-self: auto;
    margin: 0;
    padding: 0 0.85rem 1.05rem;
  }

  .about-card__aside--photography,
  .about-card__aside--coding,
  .about-card__aside--hardware {
    display: block;
  }

  .about-card__aside--photography .about-card__action,
  .about-card__aside--coding .about-card__action {
    display: block;
    margin: 0;
    padding: 0 0.85rem 1.05rem;
  }

  .about-hardware-links {
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0 0.85rem 1.05rem;
  }

  .about-card h3 {
    font-size: clamp(1.22rem, 5vw, 1.42rem);
  }

  .about-card__body p {
    margin-top: 0.5rem !important;
    font-size: 0.74rem;
  }

  .about-closing {
    display: grid;
    grid-template-columns: 1fr;
    margin: 42px 0.85rem 30px;
  }

  .about-closing__brand {
    min-height: 185px;
    align-items: center;
    padding: 2.5rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid rgba(110, 145, 196, 0.1);
    text-align: center;
  }

  .about-contact {
  order: 1;
  align-items: center;
  gap: 0.9rem;

  padding: 1.8rem 1.25rem 1.5rem;

  border-bottom: 1px solid rgba(157, 168, 181, 0.22);
  text-align: center;
}

.about-contact__body {
  align-items: center;
  text-align: center;
}

.about-contact__actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.about-closing__brand {
  order: 2;
  min-height: 0;

  align-items: center;
  padding: 1.4rem 1.25rem 1.6rem;

  border: 0;
  text-align: center;
}

.about-end__logo {
  width: 155px;
  margin-bottom: 0.35rem;
}

.about-end__credit {
  font-size: 0.7rem;
}
  .about-contact {
    order: 1;
}

  .about-closing__brand {
    order: 2;
}

}

@media (min-width: 3200px) {
  .about-frame {
    padding-block: 6rem;
  }

  .about-canvas {
    width: min(100%, 1760px);
  }

  .about-identity {
    grid-template-columns: 32% minmax(0, 1fr);
    min-height: 390px;
  }

  .about-identity__mark-visual {
    min-height: 390px;
  }

  .about-identity__mark-visual img {
    width: 280px;
  }

  .about-identity__content {
    padding-block: 2.75rem;
  }

  .about-identity h1 {
    font-size: 3.1rem;
  }

  .about-identity__intro {
    max-width: 1120px;
    font-size: 1.02rem;
  }

  .about-identity__brand-note {
    max-width: 960px;
    font-size: 0.96rem;
  }

  .about-identity__brand-name {
    font-size: 1.34rem;
  }

  .about-work {
    padding: 58px 4.25rem 0;
  }

  .about-work__heading {
    padding-bottom: 27px;
  }

  .about-work__heading h2 {
    font-size: 2.05rem;
  }

  .about-work__heading p {
    font-size: 0.9rem;
  }

  .about-work__cards {
    gap: 20px;
  }

  .about-card {
    min-height: 175px;
    grid-template-columns: 110px minmax(0, 1fr) auto;
  }

  .about-card--photography {
    grid-template-columns: 110px minmax(0, 1fr) minmax(400px, 28%);
  }

  .about-card--coding,
  .about-card--systems,
  .about-card--hardware {
    grid-template-columns: 110px minmax(0, 1fr) minmax(400px, 28%);
  }

  .about-card__icon svg {
    width: 54px;
    height: 54px;
  }

  .about-focus {
    width: 100px;
    height: 82px;
  }

  .about-camera-settings {
    top: calc(46% + 58px);
    font-size: 0.66rem;
  }

  .about-card__body {
    padding: 1.2rem 2.6rem;
  }

  .about-card h3 {
    font-size: 1.9rem;
  }

  .about-card__body p {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .about-card__action,
  .about-hardware-build {
    font-size: 0.82rem;
  }

  .about-card__aside--photography,
  .about-card__aside--coding,
  .about-card__aside--hardware {
    width: auto;
    padding-inline: 1.5rem;
  }

  .about-code,
  .about-terminal {
    font-size: 0.72rem;
  }

  .about-card__aside--systems {
    width: auto;
    padding-inline: 1.5rem;
  }

  .about-post__readout {
    font-size: 0.72rem;
  }

  .about-closing {
    margin: 68px 4.25rem 46px;
  }

  .about-closing__brand,
  .about-contact {
    min-height: 260px;
    padding: 3.5rem 3rem;
  }

  .about-contact__body h2 {
    font-size: 1.52rem;
  }

  .about-contact__body p,
  .about-contact__action {
    font-size: 0.86rem;
  }

  .about-contact__action {
    min-height: 50px;
  }

  .about-end__credit {
    font-size: 0.9rem;
  }

  .about-end__logo {
    width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .about-card,
  .about-card::after,
  .about-card .about-card__icon svg,
  .about-card__details,
  .about-card__action,
  .about-hardware-build,
  .about-contact__action,
  .about-focus,
  .about-focus__indicator,
  .about-camera-settings,
  .about-code__caret,
  .about-terminal__cursor,
  .about-terminal {
    animation: none !important;
    transition: none;
  }

  .about-post__trace,
  .about-post__node,
  .about-post__line {
    animation: none !important;
    opacity: 0.56;
    filter: none;
    transform: none;
  }

  .about-post__line--ready {
    opacity: 0.76;
  }

  .about-camera-settings {
    opacity: 0.55;
    transform: translate(-50%, 0);
  }
}
