/* Variation 2 — Pixel Arcade */

.arc-root {
  --bg: #16062e;
  --bg-2: #0e0320;
  --fg: #fff6e0;
  --fg-dim: rgba(255, 246, 224, 0.6);
  --accent: #ffd166;
  --accent-2: #ff5b88;
  --accent-3: #5bff9c;
  --accent-4: #3d7cff;
  --line: rgba(255, 246, 224, 0.14);
  --panel: rgba(0, 0, 0, 0.35);
  font-family: "Press Start 2P", "VT323", monospace;
  color: var(--fg);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at top, rgba(255, 91, 136, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(61, 124, 255, 0.22) 0%, transparent 60%);
  width: 100%;
  height: 100%;
  padding: 28px 36px 22px;
  overflow-y: auto;
  position: relative;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.arc-root[data-theme="light"] {
  --bg: #f1ebde;
  --bg-2: #e2d8c2;
  --fg: #1c1530;
  --fg-dim: rgba(28, 21, 48, 0.62);
  --accent: #c43a2e;       /* classic red */
  --accent-2: #b85a2a;     /* burnt orange */
  --accent-3: #16a34a;     /* punchy green */
  --accent-4: #2f4fa6;     /* deep blue */
  --line: rgba(28, 21, 48, 0.18);
  --panel: rgba(255, 251, 244, 0.6);
  background-image:
    radial-gradient(ellipse at top, rgba(196, 58, 46, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(47, 79, 166, 0.08) 0%, transparent 60%);
}

/* light theme: a few elements need extra contrast tweaks because the
   dark-theme defaults assume a near-black background */
.arc-root[data-theme="light"] .arc-cab {
  background: var(--bg-2);
  box-shadow:
    0 0 0 2px var(--fg),
    6px 6px 0 0 rgba(26, 8, 38, 0.35);
}
.arc-root[data-theme="light"] .arc-cab-overlay {
  background: var(--fg);
  color: var(--bg);
}
.arc-root[data-theme="light"] .arc-cab-seg {
  background: rgba(26, 8, 38, 0.15);
}
.arc-root[data-theme="light"] .arc-cab-seg.on {
  background: var(--accent-3);
  box-shadow: none;
}
.arc-root[data-theme="light"] .arc-post {
  background: rgba(255, 255, 255, 0.55);
}
.arc-root[data-theme="light"] .arc-contact-item {
  background: rgba(255, 255, 255, 0.5);
}
.arc-root[data-theme="light"] .arc-tab-count {
  background: rgba(26, 8, 38, 0.1);
}
.arc-root[data-theme="light"] .arc-tab:hover {
  background: rgba(26, 8, 38, 0.05);
}
.arc-root[data-theme="light"] .arc-lab-row:hover,
.arc-root[data-theme="light"] .arc-devfeed-row:hover {
  background: rgba(26, 8, 38, 0.05);
}
.arc-root[data-theme="light"] .arc-proj-stack-chip {
  background: var(--fg);
  color: var(--bg);
  box-shadow: inset -2px -2px 0 rgba(255, 255, 255, 0.25);
}
.arc-root[data-theme="light"] .arc-modal-close {
  color: #fff;
}
.arc-root[data-theme="light"] .arc-tag {
  color: #fff;
  background: var(--accent-3);
}
.arc-root[data-theme="light"] .arc-labview-year {
  background: rgba(30, 163, 90, 0.16);
}
.arc-root[data-theme="light"] .arc-labview-tag {
  background: rgba(196, 58, 46, 0.12);
}
.arc-root[data-theme="light"] .arc-lab-row-tag {
  background: rgba(30, 163, 90, 0.14);
}

.arc-scan {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(0,0,0,0.15) 3px, rgba(0,0,0,0.15) 3px);
  opacity: 0.6;
}
.arc-grid-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.5;
  z-index: 0;
}
.arc-root > *:not(.arc-scan):not(.arc-grid-bg):not(.arc-modal-overlay) {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.arc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.arc-coin {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--accent);
}
.arc-coin-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: arc-blink 0.9s steps(2) infinite;
}
.arc-coin-blink {
  animation: arc-blink 0.6s steps(2) infinite;
}
@keyframes arc-blink { 50% { opacity: 0; } }

.arc-topbar-right { display: flex; gap: 8px; }

.arc-pxbtn {
  font: inherit;
  font-size: 10px;
  background: var(--bg-2);
  color: var(--fg);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow:
    inset -2px -2px 0 rgba(0,0,0,0.5),
    inset 2px 2px 0 rgba(255,255,255,0.15),
    0 0 0 2px var(--fg);
  letter-spacing: 0.05em;
  transition: transform 0.05s;
}
.arc-pxbtn:hover { color: var(--accent); }
.arc-pxbtn:active { transform: translate(1px, 1px); }

.arc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 0 0 2px var(--fg), 6px 6px 0 0 var(--accent-2);
  margin-bottom: 24px;
}
.arc-hero-main {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 16px;
  align-content: center;
  min-width: 0;
}
.arc-hero-headline { align-self: center; min-width: 0; }
.arc-hero-main .arc-bio {
  grid-column: 1 / -1;
  margin-top: 10px;
  max-width: 90ch;
}
.arc-avatar {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 2px var(--fg), inset 0 0 0 4px var(--bg-2);
  padding: 8px;
  image-rendering: pixelated;
}
.arc-title {
  font-size: 28px;
  margin: 0;
  color: var(--accent);
  text-shadow: 4px 4px 0 var(--accent-2);
  letter-spacing: 0.04em;
}
.arc-caret { animation: arc-blink 0.8s steps(2) infinite; color: var(--fg); font-size: 28px; }
.arc-subtitle {
  font-size: 11px;
  margin-top: 14px;
  color: var(--fg-dim);
  display: flex;
  gap: 10px;
  align-items: center;
}
.arc-tag {
  background: var(--accent-3);
  color: #0a0a0a;
  padding: 3px 6px;
  font-size: 10px;
}
.arc-bio {
  margin-top: 14px;
  font-family: "VT323", monospace;
  line-height: 1.5;
  font-size: 16px;
  color: var(--fg);
  text-wrap: pretty;
  max-width: 62ch;
}

.arc-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--panel);
  box-shadow: 0 0 0 2px var(--fg);
}
.arc-menu-item {
  font: inherit;
  font-size: 11px;
  background: transparent;
  border: none;
  color: var(--fg-dim);
  padding: 6px 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.arc-menu-item:hover, .arc-menu-item.is-on {
  color: var(--accent);
}
.arc-menu-arrow { opacity: 0; }
.arc-menu-item:hover .arc-menu-arrow, .arc-menu-item.is-on .arc-menu-arrow {
  opacity: 1;
  color: var(--accent);
  animation: arc-blink 0.6s steps(2) infinite;
}

.arc-panel {
  padding: 20px 24px;
  background: var(--panel);
  box-shadow: 0 0 0 2px var(--fg);
  margin-bottom: 20px;
}
.arc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px dashed var(--line);
  color: var(--accent);
  font-size: 12px;
}
.arc-hint { font-size: 9px; color: var(--fg-dim); letter-spacing: 0.1em; }
.arc-panel-foot { margin-top: 12px; font-size: 9px; color: var(--fg-dim); }

/* tabs (3-category project filter) */
.arc-tabs {
  display: flex;
  gap: 0;
  margin: -2px 0 18px;
  padding-bottom: 0;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}
.arc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 13px;
  margin-bottom: -2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  position: relative;
}
.arc-tab:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.arc-tab.is-active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
.arc-tab.is-active .arc-tab-count { color: var(--accent); }
.arc-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  flex-shrink: 0;
  display: inline-block;
}
.arc-tab-dot--ongoing { background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: arc-tab-pulse 1.6s ease-in-out infinite; }
.arc-tab-dot--shipped { background: var(--accent-3); }
.arc-tab-dot--lab     { background: var(--accent-2); }
@keyframes arc-tab-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
.arc-tab-count {
  font-size: 8px;
  color: var(--fg-dim);
  padding: 2px 6px;
  background: rgba(255,255,255,0.06);
  margin-left: 2px;
  transition: color 0.15s;
}

/* rail of cabinets */
.arc-cab-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.arc-proj-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arc-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 4px 22px;
  margin: 0 -4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.arc-rail::-webkit-scrollbar { height: 10px; }
.arc-rail::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
}
.arc-rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border: 2px solid rgba(0,0,0,0.2);
}
.arc-rail::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }
.arc-rail > .arc-cab { scroll-snap-align: start; }
.arc-cab {
  background: var(--bg-2);
  box-shadow:
    0 0 0 2px var(--fg),
    6px 6px 0 0 rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  position: relative;
  padding: 4px;
}
.arc-cab:hover, .arc-cab.is-focused {
  transform: translate(-2px, -2px);
  box-shadow:
    0 0 0 2px var(--accent),
    8px 8px 0 0 var(--accent-2);
}
.arc-cab-screen {
  position: relative;
  background: #000;
  height: 88px;
  overflow: hidden;
  image-rendering: pixelated;
}
.arc-cab-screen svg { image-rendering: pixelated; }
.arc-cab-overlay {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(0,0,0,0.7);
  padding: 2px 6px;
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.arc-cab-body { padding: 12px 10px 10px; }
.arc-cab-kind { font-size: 8px; color: var(--fg-dim); margin-bottom: 6px; }
.arc-cab-name { font-size: 11px; color: var(--accent); margin-bottom: 10px; word-break: break-word; }
.arc-cab-bar {
  display: flex;
  gap: 1px;
  height: 10px;
  margin-bottom: 6px;
}
.arc-cab-bar-big { height: 14px; margin: 14px 0; }
.arc-cab-seg {
  flex: 1;
  background: rgba(255,255,255,0.1);
}
.arc-cab-seg.on {
  background: var(--accent-3);
  box-shadow: 0 0 4px var(--accent-3);
}
.arc-cab-meta {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--fg-dim);
}
.arc-cab-press {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0a;
  padding: 3px 8px;
  font-size: 8px;
  animation: arc-blink 0.7s steps(2) infinite;
  white-space: nowrap;
}

/* skills */
.arc-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  font-family: "VT323", monospace;
  font-size: 16px;
}
.arc-skill-col { }
.arc-skill-title {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.arc-skill-col ul { list-style: none; padding: 0; margin: 0; }
.arc-skill-col li { margin: 3px 0; color: var(--fg); }

/* now */
.arc-now-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "VT323", monospace;
  font-size: 18px;
}
.arc-now-list li { margin: 10px 0; display: flex; gap: 14px; align-items: baseline; }
.arc-now-num {
  color: var(--accent-2);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  flex-shrink: 0;
}

/* posts */
.arc-posts { display: grid; gap: 18px; }
.arc-post {
  padding: 16px;
  border-left: 4px solid var(--accent-4);
  background: rgba(0,0,0,0.2);
}
.arc-post-meta { font-size: 9px; color: var(--fg-dim); margin-bottom: 6px; }
.arc-post-title { font-size: 13px; color: var(--accent); margin-bottom: 8px; line-height: 1.4; }
.arc-post-excerpt {
  font-family: "VT323", monospace;
  font-size: 17px;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 10px;
}
.arc-post-btn { font-size: 9px; }

/* contact */
.arc-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.arc-contact-item {
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 2px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s;
}
.arc-contact-item:hover {
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--accent-2);
}
.arc-contact-label { font-size: 10px; color: var(--accent); }
.arc-contact-handle { font-family: "VT323", monospace; font-size: 16px; color: var(--fg-dim); }

/* cv */
.arc-cv-panel { padding: 40px; }
.arc-cv-big { display: flex; gap: 32px; align-items: center; }
.arc-cv-icon { flex-shrink: 0; }
.arc-floppy {
  width: 100px;
  height: 100px;
  background: var(--accent-4);
  box-shadow:
    inset -4px -4px 0 rgba(0,0,0,0.3),
    inset 4px 4px 0 rgba(255,255,255,0.15),
    0 0 0 2px var(--fg);
  position: relative;
}
.arc-floppy::before {
  content: "";
  position: absolute;
  top: 6px; left: 10px; right: 10px; height: 30px;
  background: var(--fg);
  box-shadow: inset 0 0 0 2px var(--bg-2);
}
.arc-floppy::after {
  content: "";
  position: absolute;
  top: 10px; left: 14px;
  width: 14px; height: 22px;
  background: var(--bg-2);
}
.arc-floppy-label {
  position: absolute;
  bottom: 12px; left: 10px; right: 10px;
  background: var(--fg);
  color: var(--bg-2);
  font-size: 9px;
  text-align: center;
  padding: 4px 0;
}
.arc-cv-title { font-size: 16px; color: var(--accent); margin-bottom: 10px; }
.arc-cv-sub { font-family: "VT323", monospace; font-size: 15px; color: var(--fg-dim); margin: 0 0 14px; }
.arc-cv-btn { font-size: 11px; padding: 12px 20px; }

.arc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--panel);
  box-shadow: 0 0 0 2px var(--fg);
  font-size: 9px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.arc-footer-hs { color: var(--accent); }

/* ====== LAB SECTION (small projects) ====== */
.arc-lab-list {
  display: flex;
  flex-direction: column;
  font-family: "VT323", monospace;
}
.arc-lab-row {
  display: grid;
  grid-template-columns: 36px 60px 1fr 1.4fr auto 24px;
  gap: 18px;
  align-items: baseline;
  padding: 14px 8px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s, padding-left 0.18s;
  position: relative;
  width: 100%;
}
.arc-lab-row:first-child { border-top: 1px solid var(--line); }
.arc-lab-row:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 18px;
}
.arc-lab-row:hover .arc-lab-row-title { color: var(--accent); }
.arc-lab-row:hover .arc-lab-row-arrow { color: var(--accent); transform: translate(2px, -2px); }

.arc-lab-row-idx {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--accent-2);
}
.arc-lab-row-year {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--fg-dim);
}
.arc-lab-row-title {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: color 0.15s;
  word-break: break-word;
}
.arc-lab-row-blurb {
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.35;
  text-wrap: pretty;
}
.arc-lab-row-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--accent-3);
  white-space: nowrap;
  padding: 4px 8px;
  background: rgba(91, 255, 156, 0.08);
}
.arc-lab-row-arrow {
  font-size: 14px;
  color: var(--fg-dim);
  transition: color 0.15s, transform 0.15s;
}

@media (max-width: 760px) {
  .arc-lab-row { grid-template-columns: 28px 50px 1fr; gap: 12px; }
  .arc-lab-row-blurb { grid-column: 2 / -1; }
  .arc-lab-row-tag { grid-column: 2 / -1; justify-self: start; }
  .arc-lab-row-arrow { display: none; }
}

/* ====== DEVLOG FEED (under main projects) ====== */
.arc-devfeed { margin-top: 18px; }
.arc-devfeed-list {
  display: flex;
  flex-direction: column;
  font-family: "VT323", monospace;
}
.arc-devfeed-row {
  display: grid;
  grid-template-columns: 110px 200px 1fr;
  gap: 16px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: baseline;
  transition: background 0.15s;
}
.arc-devfeed-row:first-child { border-top: 1px solid var(--line); }
.arc-devfeed-row:hover { background: rgba(255, 255, 255, 0.04); }
.arc-devfeed-row:hover .arc-devfeed-proj { color: var(--accent); }

.arc-devfeed-date {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--fg-dim);
  white-space: nowrap;
}
.arc-devfeed-proj {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--accent-2);
  letter-spacing: 0.02em;
  transition: color 0.15s;
  word-break: break-word;
}
.arc-devfeed-text {
  font-size: 16px;
  color: var(--fg);
  line-height: 1.35;
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .arc-devfeed-row { grid-template-columns: 1fr; gap: 4px; }
}

.arc-root .arc-modal-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: arc-modal-in 0.18s ease-out;
}
/* Yüksek modal varsa içerik viewport'tan taşınca scroll edilebilsin —
   align-items: safe center fallback'i flex-start gibi davranır. */
@supports (align-items: safe center) {
  .arc-root .arc-modal-overlay { align-items: safe center; }
}
.arc-root .arc-modal-overlay > .arc-modal { margin: auto; }
@keyframes arc-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.arc-modal {
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--fg), 8px 8px 0 0 var(--accent-2);
  max-width: min(640px, 100%);
  width: 100%;
  padding: 26px 28px 28px;
  position: relative;
  margin: auto 0;
  animation: arc-modal-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes arc-modal-pop {
  from { transform: translateY(8px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)   scale(1);    opacity: 1; }
}
.arc-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--accent-2);
  color: #fff;
  border: none;
  padding: 7px 11px;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.3), 0 0 0 2px var(--fg);
  transition: transform 0.1s;
}
.arc-modal-close:hover { transform: translate(-1px, -1px); }

/* === lab modal view === */
.arc-labview { padding: 4px 0 2px; }
.arc-labview-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
}
.arc-labview-year {
  color: var(--accent-3);
  padding: 4px 8px;
  background: rgba(91, 255, 156, 0.12);
}
.arc-labview-tag {
  color: var(--accent);
  padding: 4px 8px;
  background: rgba(255, 209, 102, 0.1);
}
.arc-labview-title {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  color: var(--accent);
  line-height: 1.4;
  margin: 0 0 14px;
  word-break: break-word;
}
.arc-labview-blurb {
  font-family: "VT323", monospace;
  font-size: 19px;
  color: var(--fg);
  line-height: 1.45;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.arc-labview-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 10px;
}
.arc-labview-note {
  display: inline-block;
  font-family: "VT323", monospace;
  font-size: 16px;
  color: var(--fg-dim);
  font-style: italic;
}
.arc-proj-marquee {
  height: 140px;
  background: #000;
  margin-bottom: 20px;
  box-shadow: 0 0 0 2px var(--fg);
  image-rendering: pixelated;
}
.arc-proj-kind { font-size: 9px; color: var(--fg-dim); margin-bottom: 6px; }
.arc-proj-name { font-size: 20px; color: var(--accent); margin: 0 0 6px; word-break: break-word; }
.arc-proj-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 9px;
}
.arc-proj-stat-l { color: var(--fg-dim); margin-right: 8px; }
.arc-proj-stat-v { color: var(--accent); }
.arc-proj-blurb {
  font-family: "VT323", monospace;
  font-size: 17px;
  line-height: 1.4;
  color: var(--fg);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.arc-proj-stack-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.arc-proj-stack-chip {
  font-size: 9px;
  padding: 4px 8px;
  background: var(--bg-2);
  color: var(--accent);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.4);
}
.arc-proj-log { border-top: 2px dashed var(--line); padding-top: 14px; }
.arc-proj-log-title { font-size: 10px; color: var(--accent-3); margin-bottom: 10px; }
.arc-proj-log-entry {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  font-family: "VT323", monospace;
  font-size: 16px;
  line-height: 1.4;
}
.arc-proj-log-date {
  color: var(--fg-dim);
  flex-shrink: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  margin-top: 3px;
}

/* ============================================================
   PLAYER STATS CARD (hero right column)
   ============================================================ */
.arc-stats-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: var(--bg-2, rgba(0,0,0,0.35));
  box-shadow: inset 0 0 0 2px var(--fg), 0 0 0 2px var(--accent-3);
  font-family: "Press Start 2P", monospace;
  min-width: 0;
}
.arc-stats-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--accent-3);
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(255,255,255,0.12);
}
.arc-stats-led {
  width: 8px; height: 8px;
  background: var(--accent-3);
  box-shadow: 0 0 6px var(--accent-3);
  animation: arc-blink 1.2s steps(2) infinite;
}
.arc-stats-list { display: flex; flex-direction: column; gap: 8px; }
.arc-stats-row {
  display: grid;
  grid-template-columns: 44px 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  font-size: 9px;
}
.arc-stats-l { color: var(--accent); grid-column: 1; grid-row: 1; }
.arc-stats-v { color: var(--fg); grid-column: 2; grid-row: 1; text-align: right; }
.arc-stats-bar {
  grid-column: 3; grid-row: 1;
  display: flex; gap: 1px;
  height: 8px;
}
.arc-stats-seg {
  flex: 1;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.arc-stats-seg.on {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.arc-stats-row:nth-child(2) .arc-stats-seg.on { background: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-2); }
.arc-stats-row:nth-child(3) .arc-stats-seg.on { background: var(--accent-3); box-shadow: inset 0 0 0 1px var(--accent-3); }
.arc-stats-sub {
  grid-column: 1 / -1; grid-row: 2;
  font-family: "VT323", monospace;
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0;
  padding-left: 52px;
}
.arc-stats-quest {
  display: grid;
  grid-template-columns: 12px 1fr;
  row-gap: 4px;
  margin-top: 4px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.35);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.arc-stats-quest-blink {
  color: var(--accent);
  font-size: 10px;
  animation: arc-blink 0.6s steps(2) infinite;
  grid-row: 1 / span 2;
}
.arc-stats-quest-l {
  font-size: 7px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}
.arc-stats-quest-v {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.arc-stats-tally {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2px;
}
.arc-stats-tally > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: rgba(0,0,0,0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.arc-stats-tally-v {
  font-size: 14px;
  color: var(--accent-3);
  text-shadow: 2px 2px 0 var(--accent-2);
}
.arc-stats-tally-l {
  font-size: 7px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
}
.arc-root[data-theme="light"] .arc-stats-card {
  background: rgba(255,255,255,0.55);
}
.arc-root[data-theme="light"] .arc-stats-quest,
.arc-root[data-theme="light"] .arc-stats-tally > div {
  background: rgba(0,0,0,0.06);
}

/* skills: title head with count */
.arc-skill-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px dashed rgba(255,255,255,0.12);
}
.arc-skill-count {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--accent-3);
  text-shadow: 2px 2px 0 var(--accent-2);
}

/* project link button (inside modal) */
.arc-proj-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.arc-proj-link-btn:hover { color: var(--accent-3); }

/* posts: clickable card */
.arc-post {
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.arc-post:hover {
  transform: translateX(2px);
  box-shadow: -2px 0 0 var(--accent-3), inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* post detail view (inside modal) */
.arc-post-view {
  padding: 4px 8px 8px;
  max-width: 72ch;
}
.arc-post-view-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.arc-post-view-dot { opacity: 0.5; }
.arc-post-view-title {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  line-height: 1.4;
  color: var(--accent);
  margin: 0 0 14px;
  text-shadow: 3px 3px 0 var(--accent-2);
  letter-spacing: 0.02em;
}
.arc-post-view-divider {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 6px,
    transparent 6px 12px
  );
  margin-bottom: 18px;
}
.arc-post-view-body {
  font-family: "VT323", monospace;
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg);
  text-wrap: pretty;
}
.arc-post-view-body p {
  margin: 0 0 14px;
}
.arc-post-view-body p:last-child { margin-bottom: 0; }

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.arc-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: "VT323", monospace;
}
.arc-tl-row {
  display: grid;
  grid-template-columns: 180px 18px 1fr;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}
.arc-tl-row:first-child { border-top: 1px solid var(--line); }
.arc-tl-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 2px;
}
.arc-tl-period {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--fg);
}
.arc-tl-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  background: var(--accent-4);
  color: #0a0a0a;
}
.arc-tl-row.arc-tl-work .arc-tl-tag { background: var(--accent); }
.arc-tl-dot {
  position: relative;
  width: 18px;
}
.arc-tl-dot::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--accent-4) 0 4px,
    transparent 4px 8px
  );
}
.arc-tl-row.arc-tl-work .arc-tl-dot::before {
  background: repeating-linear-gradient(
    180deg,
    var(--accent) 0 4px,
    transparent 4px 8px
  );
}
.arc-tl-dot::after {
  content: "";
  position: absolute;
  top: 6px; left: 4px;
  width: 10px; height: 10px;
  background: var(--accent-4);
  box-shadow: 0 0 0 2px var(--bg), 0 0 8px var(--accent-4);
}
.arc-tl-row.arc-tl-work .arc-tl-dot::after {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg), 0 0 8px var(--accent);
}
.arc-tl-body { min-width: 0; }
.arc-tl-role {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.4;
}
.arc-tl-place {
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 4px;
}
.arc-tl-loc { color: var(--fg-dim); margin-left: 4px; }
.arc-tl-note {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.4;
  text-wrap: pretty;
}
.arc-timeline-empty {
  font-family: "VT323", monospace;
  font-size: 16px;
  color: var(--fg-dim);
  padding: 20px 4px;
}

/* ============================================================
   RESPONSIVE — tablet + phone
   ============================================================ */
@media (max-width: 900px) {
  .arc-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .arc-stats-card { width: 100%; }
}

@media (max-width: 720px) {
  .arc-root {
    padding: 14px 14px 18px;
    font-size: 10px;
  }
  .arc-topbar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }
  .arc-coin { font-size: 9px; }
  .arc-pxbtn { padding: 7px 10px; font-size: 9px; }

  .arc-hero {
    padding: 14px;
    gap: 14px;
    box-shadow: 0 0 0 2px var(--fg), 4px 4px 0 0 var(--accent-2);
  }
  .arc-hero-main {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 12px;
  }
  .arc-avatar { width: 88px; height: 88px; }
  .arc-title { font-size: 20px; text-shadow: 3px 3px 0 var(--accent-2); }
  .arc-caret { font-size: 20px; }
  .arc-subtitle { font-size: 9px; margin-top: 10px; flex-wrap: wrap; }
  .arc-bio { font-size: 15px; max-width: 100%; }

  .arc-stats-card { padding: 10px; gap: 8px; }
  .arc-stats-head { font-size: 8px; }
  .arc-stats-row { font-size: 8px; grid-template-columns: 28px 36px 1fr; }
  .arc-stats-sub { font-size: 12px; padding-left: 32px; }
  .arc-stats-quest-l { font-size: 6px; }
  .arc-stats-quest-v { font-size: 8px; }
  .arc-stats-tally-v { font-size: 12px; }
  .arc-stats-tally-l { font-size: 6px; }

  .arc-menu {
    padding: 10px 12px;
    gap: 6px;
    margin-bottom: 16px;
  }
  .arc-menu-item { padding: 6px 8px; font-size: 10px; }

  .arc-panel { padding: 14px 14px; margin-bottom: 14px; }

  .arc-rail { grid-auto-columns: minmax(240px, 260px); gap: 14px; }

  .arc-skills-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
  .arc-now-list { font-size: 16px; }
  .arc-contact-grid { grid-template-columns: 1fr; }
  .arc-cv-panel { padding: 20px; }
  .arc-cv-big { flex-direction: column; gap: 18px; align-items: flex-start; }

  .arc-modal { max-width: 100%; }
  .arc-root .arc-modal-overlay { padding: 14px 10px; }

  .arc-tl-row {
    grid-template-columns: 14px 1fr;
    gap: 10px;
    padding: 12px 2px;
  }
  .arc-tl-side {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
  }
  .arc-tl-dot { grid-column: 1; grid-row: 1 / span 2; }
  .arc-tl-dot::after { top: 4px; }
  .arc-tl-body { grid-column: 2; grid-row: 2; }
  .arc-tl-period { font-size: 8px; }
  .arc-tl-role { font-size: 10px; }
  .arc-tl-place { font-size: 14px; }
  .arc-tl-note { font-size: 13px; }
}

@media (max-width: 480px) {
  .arc-root { padding: 10px 10px 14px; }
  .arc-title { font-size: 17px; }
  .arc-caret { font-size: 17px; }
  .arc-hero-main {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
  }
  .arc-avatar { width: 72px; height: 72px; }
  .arc-bio { font-size: 14px; }
  .arc-menu-item { font-size: 9px; padding: 5px 6px; }
  .arc-rail { grid-auto-columns: 88vw; }
  .arc-stats-tally { gap: 4px; }
  .arc-stats-tally > div { padding: 6px 2px; }
}
