/* ─── SHARED STYLESHEET ─────────────────────────────────────────── */

:root {
  --bg:           #0a0a0a;
  --bg-elev:      #0e0e0e;
  --bg-elev-2:    #131313;
  --fg:           #ededed;
  --fg-muted:     #a1a1a1;
  --fg-dim:       #6b6b6b;
  --border:       rgba(255,255,255,0.08);
  --border-strong:rgba(255,255,255,0.14);
  --accent:       oklch(0.82 0.16 130);
  --accent-dim:   oklch(0.82 0.16 130 / 0.12);
  --radius:       10px;
  --radius-lg:    14px;
  --max:          1180px;
  --pad-x:        clamp(20px, 4vw, 40px);
  --font-sans:    "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
}
::selection { background: var(--accent); color: #0a0a0a; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ─── PAGE LOAD FADE-IN ─── */
@keyframes pageFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body { animation: pageFade 350ms ease both; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(10,10,10,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }

/* 3-column grid: brand | island | right */
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ── Link island ── */
.nav__links {
  display: flex;
  gap: 2px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 6px;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg-muted);
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav__links a.active { color: var(--fg); background: rgba(255,255,255,0.09); }

/* ── Right group ── */
.nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--fg);
  transition: background 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.nav__cta:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }
.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 14px; height: 1px; background: var(--fg); position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 14px; height: 1px; background: var(--fg);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }

@media (max-width: 860px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__right .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 8px 0;
    z-index: 100;
  }
  .nav.is-open .nav__links a {
    width: 100%;
    padding: 14px var(--pad-x);
    font-size: 15px;
    border-radius: 0;
    border-top: 1px solid var(--border);
    background: none;
  }
  .nav.is-open .nav__links a.active { background: rgba(255,255,255,0.04); }
}

/* ─── SECTIONS ─── */
section { padding: 100px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.1;
}
.section-head p {
  color: var(--fg-muted);
  max-width: 460px;
  margin: 0;
  font-size: 15.5px;
}

/* ─── PAGE HERO BANNER (non-home pages) ─── */
.page-hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero__label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.05;
}
.page-hero p {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 52ch;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .page-hero { padding: 56px 0 44px; }
}

/* ─── HERO (home) ─── */
.hero { padding: 140px 0 120px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .hero { padding: 96px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.hero__status .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%      { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero h1 .alt { color: var(--fg-dim); font-weight: 400; }
.hero h1 .typed-role { color: var(--fg); }
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: -0.1em;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero__sub {
  margin: 28px 0 36px;
  color: var(--fg-muted);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 56ch;
  line-height: 1.55;
}
.hero__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
}
.btn--primary:hover { background: #fff; box-shadow: 0 0 20px rgba(237,237,237,0.15); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.22); }
.btn svg { width: 14px; height: 14px; }

/* ─── HERO META GRID ─── */
.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__meta > div {
  background: var(--bg);
  padding: 22px 22px 24px;
  transition: background 150ms ease;
}
.hero__meta > div:hover { background: var(--bg-elev); }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.hero__meta dd { margin: 0; font-size: 15px; color: var(--fg); letter-spacing: -0.005em; }
.hero__meta dd small { display: block; color: var(--fg-muted); font-size: 13px; margin-top: 2px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ─── ABOUT ─── */
.about__avatar {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}
.about__avatar img { width: 100%; display: block; }
.about__interests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--fg-muted);
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.interest-tag:hover { border-color: var(--border-strong); color: var(--fg); transform: translateY(-2px); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; gap: 48px; } }
.about__copy p {
  margin: 0 0 18px;
  color: var(--fg-muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 58ch;
}
.about__copy p strong { color: var(--fg); font-weight: 500; }

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--fg-muted);
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
  position: relative;
  bottom: -1px;
}
.tab-btn:hover { color: var(--fg); }
.tab-btn[aria-selected="true"] {
  color: var(--fg);
  background: var(--bg-elev);
  border-color: var(--border);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ─── TIMELINE ─── */
.timeline {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.timeline__row {
  background: var(--bg);
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  padding: 18px 22px;
  align-items: baseline;
  transition: background 150ms ease;
}
.timeline__row:hover { background: var(--bg-elev); }
.timeline__row time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.timeline__row .role { color: var(--fg); font-size: 15px; letter-spacing: -0.005em; }
.timeline__row .role small { display: block; color: var(--fg-muted); font-size: 13px; margin-top: 3px; font-weight: 400; }
.timeline__row .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .timeline__row { grid-template-columns: 90px 1fr; }
  .timeline__row .tag { grid-column: 2; padding-top: 2px; border: none; }
}

/* ─── STATS ROW ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  background: var(--bg);
  padding: 24px 22px;
  text-align: center;
  transition: background 150ms ease;
}
.stat-cell:hover { background: var(--bg-elev); }
.stat-num {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-top: 8px;
  display: block;
}

/* ─── PROJECTS ─── */
.search-wrap {
  position: relative;
  margin-bottom: 20px;
}
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  color: var(--fg-dim);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease;
}
.search-input::placeholder { color: var(--fg-dim); }
.search-input:focus { border-color: var(--border-strong); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-muted);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.chip:hover { color: var(--fg); border-color: var(--border-strong); }
.chip[aria-pressed="true"] {
  color: var(--fg);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}
.chip .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
.chip[aria-pressed="true"] .count { color: var(--fg-muted); }

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .projects { grid-template-columns: 1fr; } }

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 60%);
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.card:hover {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 60%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.card__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.card__year { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.015em; font-weight: 500; }
.card p { margin: 0 0 22px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; }
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.card__stack { display: flex; gap: 6px; flex-wrap: wrap; }
.card__stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: color 150ms ease, transform 150ms ease;
}
.card:hover .card__link { color: var(--fg); }
.card:hover .card__link svg { transform: translate(2px, -2px); }
.card__link svg { width: 12px; height: 12px; transition: transform 200ms ease; }
.card.is-hidden { display: none; }
.card[data-category*="featured"] { border-color: rgba(0,200,150,0.18); }

/* ─── SKILLS ─── */
.skill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.skill-tab {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-muted);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.skill-tab:hover { color: var(--fg); border-color: var(--border-strong); }
.skill-tab[aria-pressed="true"] {
  color: var(--fg);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
}

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 720px) { .skills { grid-template-columns: 1fr; } }
.skills__group {
  background: var(--bg);
  padding: 26px 26px 28px;
  transition: background 150ms ease;
}
.skills__group:hover { background: var(--bg-elev); }
.skills__group h4 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skills__group h4 .num { color: var(--fg-muted); }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: 13px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(255,255,255,0.015);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  cursor: default;
}
.pill:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.skills__group.is-hidden { display: none; }

/* ─── SERVICES ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .services__grid { grid-template-columns: 1fr; } }
.service__card {
  background: var(--bg);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 150ms ease;
  cursor: pointer;
}
.service__card:hover { background: var(--bg-elev); }
.service__icon { font-size: 22px; line-height: 1; }
.service__card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.service__card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.service__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.service__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--fg-dim);
}
.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  transition: color 150ms ease;
}
.service__card:hover .service__cta { color: var(--fg); }
.service__cta svg { width: 11px; height: 11px; transition: transform 150ms ease; }
.service__card:hover .service__cta svg { transform: translate(2px, -2px); }

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  background: var(--bg);
  padding: 26px 24px 28px;
  transition: background 150ms ease;
}
.process-step:hover { background: var(--bg-elev); }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.process-step h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.process-step p { margin: 0; color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; }

/* ─── FAQ ─── */
.faq { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: none; }
.faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 150ms ease;
}
.faq__question:hover { background: var(--bg-elev); }
.faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: transform 200ms ease, border-color 150ms ease;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); border-color: var(--border-strong); }
.faq__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq__item.is-open .faq__answer { max-height: 300px; padding: 0 24px 20px; }

/* ─── CONTACT ─── */
.contact__inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,0.025), transparent 60%),
    var(--bg);
}
@media (max-width: 820px) { .contact__inner { grid-template-columns: 1fr; gap: 36px; } }
.contact h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.contact__sub { color: var(--fg-muted); margin: 20px 0 0; font-size: 16px; max-width: 44ch; }
.contact__channels {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact__row {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 16px;
  transition: background 150ms ease;
  position: relative;
}
.contact__row:hover { background: rgba(255,255,255,0.025); }
.contact__row .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  min-width: 60px;
}
.contact__row .value {
  font-size: 14.5px;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.contact__row .value svg { width: 12px; height: 12px; opacity: 0.5; transition: opacity 150ms ease, transform 150ms ease; }
.contact__row:hover .value svg { opacity: 1; transform: translate(2px,-2px); }
.copy-btn {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-dim);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.copy-btn:hover { border-color: var(--border-strong); color: var(--fg); background: rgba(255,255,255,0.04); }
.copy-btn.copied { color: var(--accent); border-color: var(--accent); }

/* ─── CONTACT FORM ─── */
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 150ms ease;
  resize: none;
}
.form-field select { appearance: none; cursor: pointer; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--border-strong); }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #e05252; }
.form-error { font-size: 12px; color: #e05252; margin-top: 4px; }
.char-count {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 12px 18px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--fg);
  z-index: 200;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 250ms ease, opacity 250ms ease;
  pointer-events: none;
}
.toast.show { transform: none; opacity: 1; }
.toast.success { border-color: oklch(0.82 0.16 130 / 0.4); color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--fg-dim);
  font-size: 13px;
}
.footer__inner .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__inner .meta .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}
.footer__links { display: flex; gap: 20px; }
.footer__links a { transition: color 150ms ease; }
.footer__links a:hover { color: var(--fg); }

/* ─── FOCUS STYLES ─── */
a:focus-visible, button:focus-visible, .chip:focus-visible, .skill-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ─── NO RESULTS ─── */
.no-results {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 13px;
}
