/* ─────────────────────────────────────────────────────────────────────────
   REMO YUKOFF — PORTFOLIO
   Clean, spacious, recruiter-first. Forest green palette: Lint · Teal Green · Forest Green · Black.
   ───────────────────────────────────────────────────────────────────────── */

:root,
[data-theme="light"] {
  --bg:           #f4f4e8;
  --bg-2:         #ebebd8;
  --bg-3:         #e1e1cc;
  --paper:        #fafaf4;
  --ink:          #001f17;
  --ink-2:        #2a3d35;
  --muted:        #527060;
  --hair:         #c8c8a0;
  --hair-2:       #b6b68c;

  --accent:       #00a385;
  --accent-2:     color-mix(in oklab, var(--accent) 72%, black);
  --accent-soft:  color-mix(in oklab, var(--accent) 12%, transparent);
}

[data-theme="dark"] {
  --bg:           #001f17;
  --bg-2:         #002b21;
  --bg-3:         #003828;
  --paper:        #002620;
  --ink:          #d7d7a8;
  --ink-2:        #b8b892;
  --muted:        #7a8e7e;
  --hair:         #003828;
  --hair-2:       #004535;

  --accent:       #00a385;
  --accent-2:     color-mix(in oklab, var(--accent) 82%, white);
  --accent-soft:  color-mix(in oklab, var(--accent) 16%, transparent);
}

:root {
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .2s ease, color .2s ease;
}

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── TOP BAR ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 40px;
  height: 62px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--ink); color: var(--bg);
  border-radius: 4px;
  font-size: 11px; letter-spacing: 0;
  font-weight: 600;
}
.brand-name { color: var(--ink); letter-spacing: 0.05em; font-weight: 600; }

.topnav {
  display: flex; gap: 28px; flex: 1;
  font-size: 14px;
}
.topnav a {
  color: var(--muted);
  transition: color .15s;
}
.topnav a:hover { color: var(--ink); }

.topbar-right { display: flex; align-items: center; gap: 8px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px; border-radius: 100px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
.status-dot.sm { width: 5px; height: 5px; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--hair);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
  padding: 6px 10px; border-radius: 5px;
  cursor: pointer; transition: all .15s;
  text-decoration: none;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.theme-toggle .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: inline; }

.lang-toggle {
  background: none; border: 1px solid var(--hair);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-2);
  padding: 6px 10px; border-radius: 5px;
  cursor: pointer; transition: all .15s;
}
.lang-toggle:hover { border-color: var(--ink-2); }
.lang-opt { padding: 0 1px; }
.lang-opt[data-active="true"] { color: var(--accent); font-weight: 600; }
.lang-sep { color: var(--hair-2); }

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: 6px;
  border: 1px solid transparent;
  transition: all .15s;
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.btn.big { padding: 15px 26px; font-size: 15px; }
.btn.sm  { padding: 9px 16px;  font-size: 13px; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn.ghost { border-color: var(--hair-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn.link { color: var(--ink-2); border: none; padding-left: 0; padding-right: 0; }
.btn.link:hover { color: var(--accent); }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* ─── HERO ────────────────────────────────────────────────────────────── */
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 40px 64px;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
  letter-spacing: 0.02em;
}
.hero-name {
  font-family: var(--sans);
  font-size: clamp(72px, 10.5vw, 140px);
  line-height: 0.93;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 40px;
}
.hero-lede {
  font-size: 19px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
  text-wrap: pretty;
  margin: 0 0 40px;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Metrics strip under hero CTAs */
.hero-stats {
  display: flex; align-items: stretch;
  border-top: 1px solid var(--hair);
  padding-top: 36px;
}
.hstat {
  display: flex; flex-direction: column; gap: 5px;
  padding-right: 44px; margin-right: 44px;
  border-right: 1px solid var(--hair);
}
.hstat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hstat strong {
  font-size: 30px; font-weight: 500;
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.hstat span {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ─── SECTION SHELL ───────────────────────────────────────────────────── */
section {
  padding: 96px 0;
  border-top: 1px solid var(--hair);
}
.section-head { margin-bottom: 48px; }
.section-title {
  font-size: 34px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.section-sub {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--muted); margin: 0;
}
.subsection-label {
  font-family: var(--mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); font-weight: 500;
  margin: 0 0 20px;
}

/* ─── CHIPS ───────────────────────────────────────────────────────────── */
.chip {
  font-family: var(--mono); font-size: 11.5px;
  padding: 3px 9px; border-radius: 4px;
  background: var(--bg-2); color: var(--ink-2);
  border: 1px solid var(--hair);
  white-space: nowrap;
}

/* ─── CLIENTS ─────────────────────────────────────────────────────────── */
.logo-wall {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--hair);
  border-radius: 8px; overflow: hidden;
}
.logo-cell {
  padding: 32px 18px 24px;
  display: flex; flex-direction: column;
  gap: 10px; align-items: center;
  background: var(--paper);
  border-right: 1px solid var(--hair);
  transition: background .2s;
}
.logo-cell:last-child { border-right: none; }
.logo-cell:hover { background: var(--bg-2); }
.logo-cell:hover .logo { background-color: var(--accent); }
.logo-art {
  width: 100%; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.logo {
  display: block;
  width: 100%; max-width: 160px; height: 100%;
  background-color: var(--ink);
  transition: background-color .2s;
  -webkit-mask-repeat: no-repeat;    mask-repeat: no-repeat;
  -webkit-mask-position: center;     mask-position: center;
  -webkit-mask-size: contain;        mask-size: contain;
}
.logo-disney  { -webkit-mask-image: url('assets/logos/disney.svg');  mask-image: url('assets/logos/disney.svg');  max-width: 130px; }
.logo-pwc     { -webkit-mask-image: url('assets/logos/pwc.svg');     mask-image: url('assets/logos/pwc.svg');     max-width: 78px;  transform: translateY(-6px); }
.logo-cision  { -webkit-mask-image: url('assets/logos/cision.svg');  mask-image: url('assets/logos/cision.svg');  max-width: 152px; }
.logo-ua      { -webkit-mask-image: url('assets/logos/ua.svg');      mask-image: url('assets/logos/ua.svg');      max-width: 94px;  }
.logo-ice     { -webkit-mask-image: url('assets/logos/ice.svg');     mask-image: url('assets/logos/ice.svg');     max-width: 58px;  }
.logo-meta {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.07em; text-align: center;
  margin-top: 10px;
}
.logo-tag {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2); text-align: center;
  line-height: 1.4;
}

/* ─── EXPERIENCE ──────────────────────────────────────────────────────── */
.jobs { display: flex; flex-direction: column; }

.job {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
}
.job:first-child { padding-top: 0; }
.job:last-child  { border-bottom: none; padding-bottom: 0; }

.job-aside {
  padding-top: 3px;
  display: flex; flex-direction: column; gap: 10px;
}
.job-period {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--muted); line-height: 1.4;
}
.job-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px;
  background: var(--accent); color: #fff;
  padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 500; align-self: flex-start;
}

.job-role {
  font-size: 21px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 5px; line-height: 1.2;
}
.job-org {
  font-size: 15px; color: var(--muted);
  margin: 0 0 20px;
}
.job-via {
  font-family: var(--mono); font-size: 12.5px;
}

.job-bullets {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.job-bullets li {
  padding-left: 18px; position: relative;
  color: var(--ink-2); font-size: 15px; line-height: 1.55;
  text-wrap: pretty;
}
.job-bullets li::before {
  content: "–"; position: absolute; left: 0;
  color: var(--accent);
}
.job-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── PROJECTS ────────────────────────────────────────────────────────── */
.featured-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.project-card:hover {
  border-color: var(--hair-2);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.07);
}
.pc-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px;
}
.pc-name {
  font-size: 36px; font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 5px; line-height: 1;
}
.pc-tagline {
  font-size: 14px; color: var(--muted);
  font-style: italic; margin: 0; line-height: 1.45;
  max-width: 38ch; text-wrap: pretty;
}
.pc-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap; flex-shrink: 0; padding-top: 4px;
}
.pc-desc {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-2); margin: 0; text-wrap: pretty;
  flex: 1;
}
.pc-desc strong { color: var(--ink); font-weight: 600; }
.pc-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-links {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-top: auto;
}
.pc-pending {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); margin-left: 4px;
}

.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tool-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s;
}
.tool-card:hover { border-color: var(--accent); }
.tc-head {
  display: flex; justify-content: space-between;
  align-items: center;
}
.tc-name {
  font-family: var(--mono); font-size: 17px; font-weight: 500;
  margin: 0; color: var(--ink);
}
.tc-link {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--accent); transition: opacity .15s;
}
.tc-link:hover { opacity: .7; }
.tc-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-2); margin: 0; text-wrap: pretty;
}
.tc-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── SKILLS ──────────────────────────────────────────────────────────── */
.skill-table { display: flex; flex-direction: column; }
.skill-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px; align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--hair);
}
.skill-row:first-child { border-top: 1px solid var(--hair); }
.skill-cat {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.05em; padding-top: 5px;
}
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── EDUCATION ───────────────────────────────────────────────────────── */
.edu-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 64px;
}
.edu-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.edu-list li {
  padding: 15px 0; border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 3px;
}
.edu-list li:first-child { padding-top: 0; }
.edu-list li:last-child  { border-bottom: none; }
.edu-inst { font-weight: 500; font-size: 15px; }
.edu-area { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.lang-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.lang-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 14px;
}
.lang-name { font-weight: 500; }
.lang-level { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lang-bar {
  height: 3px; background: var(--hair);
  border-radius: 2px; overflow: hidden;
}
.lang-fill { height: 100%; background: var(--accent); }

.social-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.social-links li {
  padding: 10px 0; border-bottom: 1px solid var(--hair);
}
.social-links li:last-child { border-bottom: none; }
.social-links a {
  font-family: var(--mono); font-size: 13px;
  color: var(--accent); transition: opacity .15s;
}
.social-links a:hover { opacity: .7; }

/* ─── CONTACT ─────────────────────────────────────────────────────────── */
.contact-inner { max-width: 640px; }
.contact-heading {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.025em; margin: 0 0 24px;
}
.contact-lede {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2); max-width: 50ch;
  text-wrap: pretty; margin: 0 0 36px;
}
.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hair);
  padding: 24px 40px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  flex-wrap: wrap; gap: 8px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .featured-projects { grid-template-columns: 1fr; }
  .tool-grid          { grid-template-columns: 1fr; }
  .edu-grid           { grid-template-columns: 1fr; gap: 52px; }

  .job {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .job-aside {
    flex-direction: row; align-items: center; gap: 14px;
  }

  .logo-wall { grid-template-columns: repeat(3, 1fr); border-radius: 6px; }
  .logo-cell:nth-child(3) { border-right: none; }
  .logo-cell:nth-child(n+4) { border-top: 1px solid var(--hair); }

  .skill-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .skill-cat { padding-top: 0; }
}

@media (max-width: 680px) {
  .topnav { display: none; }
  .topbar-right .status-pill { display: none; }
  .topbar-inner { padding: 0 20px; }

  .container { padding: 0 20px; }
  .hero-inner { padding: 72px 20px 56px; }
  section { padding: 72px 0; }

  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .hstat { border-right: none; padding-right: 0; margin-right: 0; }

  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .logo-cell:nth-child(3)  { border-top: 1px solid var(--hair); }
  .logo-cell:nth-child(n+3) { border-top: 1px solid var(--hair); }

  .footer { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════════════
   DESIGN DETAILS — life & texture
   ════════════════════════════════════════════════════════════════════════ */

/* ─── HERO ATMOSPHERE ──────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }

/* Dot grid — right side only, fades toward the left */
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 58%; max-width: 680px; height: 100%;
  background-image: radial-gradient(circle,
    color-mix(in oklab, var(--ink) 16%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 85% 35%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 95% 80% at 85% 35%, black 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Ambient accent glow that tracks mouse */
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(460px circle at var(--glow-x, 20%) var(--glow-y, 55%),
    var(--accent-soft), transparent 68%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease;
}
.hero:hover .hero-glow { opacity: 1; }

.hero-inner { position: relative; z-index: 1; }

/* ─── BLINKING CURSOR ──────────────────────────────────────────────────── */
.hero-cursor {
  display: inline-block; width: 2px; height: 0.82em;
  background: var(--accent); margin-left: 3px;
  vertical-align: middle; border-radius: 1px;
  animation: blink-caret 1.1s step-end infinite;
}
@keyframes blink-caret {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── SCROLL REVEAL ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── SECTION TITLE ACCENT BAR ─────────────────────────────────────────── */
.section-title { position: relative; }
.section-title::after {
  content: '';
  position: absolute; bottom: -10px; left: 0;
  width: 0; height: 2px; border-radius: 1px;
  background: var(--accent);
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.title-lit::after { width: 2rem; }

/* ─── STATUS DOT — enhanced pulse with glow ring ───────────────────────── */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 40%, transparent);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 0%, transparent);
  }
}

/* ─── NAV LINK UNDERLINE ANIMATION ─────────────────────────────────────── */
.topnav a { position: relative; }
.topnav a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.topnav a:hover::after { width: 100%; }

/* ─── PROJECT CARDS — lift + glow + 3D tilt ready ──────────────────────── */
.project-card {
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  will-change: transform;
}
.project-card:hover {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--hair));
  box-shadow: 0 12px 40px -12px color-mix(in oklab, var(--accent) 22%, transparent),
              0 0 0 1px var(--accent-soft);
  transform: translateY(-3px);
}

/* ─── TOOL CARDS ─────────────────────────────────────────────────────────  */
.tool-card {
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  transform: translateY(-2px);
}

/* ─── CHIPS ───────────────────────────────────────────────────────────────  */
.chip {
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: default;
}
.chip:hover {
  background: var(--accent-soft);
  border-color: color-mix(in oklab, var(--accent) 50%, var(--hair));
  color: var(--accent);
}

/* ─── HERO STATS — number accent on hover ───────────────────────────────── */
.hstat { cursor: default; }
.hstat strong { transition: color 0.2s; }
.hstat:hover strong { color: var(--accent); }

/* ─── LOGO CELLS ─────────────────────────────────────────────────────────── */
/* Combined transition so multi-value delay works:                            */
/* position 1 = background-color (hover) → always 0s                         */
/* position 2 = opacity (reveal)         → staggered via :nth-child           */
/* position 3 = transform (reveal)       → staggered via :nth-child           */
.logo-cell {
  transition: background-color 0.2s ease 0s, opacity 0.5s ease 0s, transform 0.5s ease 0s;
}
.logo { transition: background-color 0.2s ease; }

/* ─── REVEAL STAGGER — CSS :nth-child, no JS inline delays ──────────────── */

/* Logo cells: first delay (bg-color) stays 0s, opacity/transform stagger */
.logo-wall .logo-cell:nth-child(2) { transition-delay: 0s, 0.07s, 0.07s; }
.logo-wall .logo-cell:nth-child(3) { transition-delay: 0s, 0.14s, 0.14s; }
.logo-wall .logo-cell:nth-child(4) { transition-delay: 0s, 0.21s, 0.21s; }
.logo-wall .logo-cell:nth-child(5) { transition-delay: 0s, 0.28s, 0.28s; }

/* Jobs (no hover transitions — simple delay is safe) */
.jobs .job:nth-child(2) { transition-delay: 0.07s; }
.jobs .job:nth-child(3) { transition-delay: 0.14s; }
.jobs .job:nth-child(4) { transition-delay: 0.21s; }
.jobs .job:nth-child(5) { transition-delay: 0.28s; }

/* Skill rows */
.skill-table .skill-row:nth-child(2) { transition-delay: 0.06s; }
.skill-table .skill-row:nth-child(3) { transition-delay: 0.12s; }
.skill-table .skill-row:nth-child(4) { transition-delay: 0.18s; }
.skill-table .skill-row:nth-child(5) { transition-delay: 0.24s; }
.skill-table .skill-row:nth-child(6) { transition-delay: 0.30s; }
.skill-table .skill-row:nth-child(7) { transition-delay: 0.36s; }
.skill-table .skill-row:nth-child(8) { transition-delay: 0.42s; }
.skill-table .skill-row:nth-child(9) { transition-delay: 0.48s; }

/* Education list */
.edu-list li:nth-child(2) { transition-delay: 0.07s; }
.edu-list li:nth-child(3) { transition-delay: 0.14s; }
.edu-list li:nth-child(4) { transition-delay: 0.21s; }
.edu-list li:nth-child(5) { transition-delay: 0.28s; }

/* ─── EXPERIENCE TIMELINE ────────────────────────────────────────────────── */
@media (min-width: 961px) {
  .jobs { position: relative; }

  .jobs::before {
    content: '';
    position: absolute;
    left: 199px; top: 28px; bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom,
      transparent 0%, var(--hair) 8%, var(--hair) 92%, transparent 100%);
    pointer-events: none;
  }

  .job-aside { position: relative; }

  .job-aside::after {
    content: '';
    position: absolute;
    right: -3px; top: 6px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--hair-2);
    border: 2px solid var(--bg);
    transition: background 0.2s, box-shadow 0.2s;
  }

  .job.current .job-aside::after {
    right: -4px; top: 5px;
    width: 9px; height: 9px;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
}

/* ─── CONTACT — ambient glow ─────────────────────────────────────────────── */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute; top: -80px; right: 8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.contact-inner { position: relative; z-index: 1; }

/* ─── JOB BADGE — subtle pulse ───────────────────────────────────────────── */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 30%, transparent); }
  50%       { box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 0%, transparent); }
}
.job-badge { animation: badge-pulse 3s ease-in-out infinite; }

/* ─── BUTTON MICRO-FEEDBACK ──────────────────────────────────────────────── */
.btn.primary:active,
.btn.ghost:active { transform: translateY(1px) !important; transition-duration: 0.05s; }
