/* ─── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Base ────────────────────────────────────────────────────────────── */
body {
  background: #0F1012;
  color: #E8E6DF;
  font-family: 'Barlow', sans-serif;
  min-height: 100vh;
}

/* ─── Navigation ──────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 58px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: #0F1012;
  z-index: 100;
}

.cr-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #C8922A;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; }

.nav-link {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover { color: rgba(255,255,255,0.75); }
.nav-link.active { color: rgba(255,255,255,0.88); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #C8922A;
  border: 1px solid rgba(200,146,42,0.45);
  padding: 6px 18px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: rgba(200,146,42,0.08); }

/* ─── Consult bar ─────────────────────────────────────────────────────── */
.consult-bar {
  padding: 16px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.012);
  margin-top: 40px;
}

.c-text {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.025em;
}

.c-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #C8922A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ─── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb {
  padding: 20px 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.bc-sep { font-size: 11px; color: rgba(255,255,255,0.15); }

.bc-current {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Page header ─────────────────────────────────────────────────────── */
.page-header { padding: 40px 40px 0; }

.page-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #C8922A;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line { width: 24px; height: 1px; background: #C8922A; opacity: 0.6; flex-shrink: 0; }

.page-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: #E8E6DF;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.page-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

/* ─── Sections ────────────────────────────────────────────────────────── */
.section { padding: 32px 40px 0; }

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #C8922A;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,146,42,0.2);
}

/* ─── Domain tags ─────────────────────────────────────────────────────── */
.dtag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dtag-elec { background: rgba(141,184,74,0.12); color: #8DB84A; border: 1px solid rgba(141,184,74,0.25); }
.dtag-mech { background: rgba(217,95,43,0.12);  color: #D95F2B; border: 1px solid rgba(217,95,43,0.25); }
.dtag-soft { background: rgba(61,175,184,0.12);  color: #3DAFB8; border: 1px solid rgba(61,175,184,0.25); }

/* ─── Search & filter controls ────────────────────────────────────────── */
.controls { border-bottom: 1px solid rgba(255,255,255,0.07); }

.ctrl-row-1 {
  padding: 20px 40px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-wrap { flex: 1; position: relative; display: flex; align-items: center; }

.search-icon {
  position: absolute;
  left: 12px;
  color: rgba(255,255,255,0.22);
  font-size: 15px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 3px;
  padding: 8px 12px 8px 34px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  outline: none;
  letter-spacing: 0.02em;
  transition: border-color 0.15s;
}

.search-input::placeholder { color: rgba(255,255,255,0.18); }
.search-input:focus { border-color: rgba(200,146,42,0.3); }

.sort-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.sort-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sort-select {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 3px;
  padding: 7px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  outline: none;
}

.ctrl-row-2 {
  padding: 0 40px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.filter-group { display: flex; align-items: center; gap: 6px; }

.filter-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 2px;
}

.ftag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 3px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  user-select: none;
}

.ftag-elec-on  { background: rgba(141,184,74,0.12); color: #8DB84A; border-color: rgba(141,184,74,0.3); }
.ftag-elec-off { background: rgba(141,184,74,0.05); color: rgba(141,184,74,0.4); border-color: rgba(141,184,74,0.1); }
.ftag-mech-on  { background: rgba(217,95,43,0.12);  color: #D95F2B; border-color: rgba(217,95,43,0.3); }
.ftag-mech-off { background: rgba(217,95,43,0.05);  color: rgba(217,95,43,0.4); border-color: rgba(217,95,43,0.1); }
.ftag-soft-on  { background: rgba(61,175,184,0.12);  color: #3DAFB8; border-color: rgba(61,175,184,0.3); }
.ftag-soft-off { background: rgba(61,175,184,0.05);  color: rgba(61,175,184,0.4); border-color: rgba(61,175,184,0.1); }

.ftag-active-on  { background: rgba(141,184,74,0.1); color: #8DB84A; border-color: rgba(141,184,74,0.25); }
.ftag-active-off { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.08); }
.ftag-complete-on  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.15); }
.ftag-complete-off { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.08); }

.ftag-hobbyist-on  { background: rgba(200,146,42,0.12); color: #C8922A; border-color: rgba(200,146,42,0.3); }
.ftag-hobbyist-off { background: rgba(200,146,42,0.05); color: rgba(200,146,42,0.4); border-color: rgba(200,146,42,0.1); }
.ftag-commercial-on  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.15); }
.ftag-commercial-off { background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.07); }

.ctrl-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.07); }

.results-meta {
  padding: 14px 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.active-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  cursor: pointer;
}

/* ─── Cards grid ──────────────────────────────────────────────────────── */
.grid {
  padding: 20px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.pcard {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.pcard:hover { border-color: rgba(255,255,255,0.14); }

.pcard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pcard-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.s-active   { background: rgba(141,184,74,0.1); color: #8DB84A; border: 1px solid rgba(141,184,74,0.2); }
.s-complete { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.28); border: 1px solid rgba(255,255,255,0.08); }

.pcard-arrow { font-size: 13px; color: rgba(255,255,255,0.15); }

.pcard-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
  margin-bottom: 8px;
}

.pcard-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.pcard-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.pcard-tags { display: flex; gap: 5px; flex-wrap: wrap; }

.pcard-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Catalog card: includes image thumbnail */
.pcard-img {
  margin: 4px 0 12px;
  background: #0F1012;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.pcard-img i { font-size: 22px; color: rgba(255,255,255,0.09); }

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard-img span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Files list ──────────────────────────────────────────────────────── */
.files-list { display: flex; flex-direction: column; gap: 8px; }

.file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  transition: border-color 0.15s;
}

.file-row:hover { border-color: rgba(255,255,255,0.13); }

.file-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ft-pdf   { background: rgba(200,146,42,0.12); color: #C8922A; border: 1px solid rgba(200,146,42,0.25); }
.ft-stl   { background: rgba(217,95,43,0.12);  color: #D95F2B; border: 1px solid rgba(217,95,43,0.25); }
.ft-kicad { background: rgba(141,184,74,0.12); color: #8DB84A; border: 1px solid rgba(141,184,74,0.25); }
.ft-zip   { background: rgba(61,175,184,0.12);  color: #3DAFB8; border: 1px solid rgba(61,175,184,0.25); }
.ft-exe   { background: rgba(141,184,74,0.12); color: #8DB84A; border: 1px solid rgba(141,184,74,0.25); }
.ft-dxf   { background: rgba(217,95,43,0.12);  color: #D95F2B; border: 1px solid rgba(217,95,43,0.25); }

.file-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  flex: 1;
}

.file-meta { display: flex; gap: 16px; align-items: center; }
.file-ver  { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }
.file-date { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; color: rgba(255,255,255,0.2);  letter-spacing: 0.05em; }
.file-dl   { font-size: 15px; color: rgba(255,255,255,0.2); cursor: pointer; }

/* ─── Specs block ─────────────────────────────────────────────────────── */
.specs-block {
  background: #181A1C;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.spec-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.spec-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.spec-list li::before { content: '—'; font-size: 10px; color: rgba(200,146,42,0.4); flex-shrink: 0; }

.spec-key { color: rgba(255,255,255,0.65); font-weight: 400; white-space: nowrap; }

/* ─── Suggestion bar ──────────────────────────────────────────────────── */
.suggestion-bar {
  margin: 0 40px 0;
  padding: 18px 24px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sug-left { display: flex; flex-direction: column; gap: 4px; }

.sug-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.sug-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.sug-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #C8922A;
  border: 1px solid rgba(200,146,42,0.35);
  padding: 7px 16px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: none;
}

/* ─── Home hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 72px 40px 60px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hairline-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 260px;
  width: 1px;
  background: rgba(255,255,255,0.04);
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #C8922A;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.hero-headline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 54px;
  line-height: 1.08;
  color: #E8E6DF;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
}

.hl-accent { color: #C8922A; }

.hero-divider {
  width: 40px;
  height: 1px;
  background: rgba(200,146,42,0.4);
  margin: 22px 0;
  position: relative;
}

.hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  max-width: 420px;
  line-height: 1.8;
  letter-spacing: 0.025em;
  margin-bottom: 38px;
  position: relative;
}

.hero-ctas { display: flex; gap: 12px; align-items: center; position: relative; }

.cta-fill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0F1012;
  background: #C8922A;
  padding: 11px 26px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-fill:hover { background: #d49830; }

.cta-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 11px 26px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.cta-ghost:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }

/* Home: featured projects strip */
.projects-section { padding: 48px 40px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

.view-all {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #C8922A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.project-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.project-card {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.project-card:hover { border-color: rgba(255,255,255,0.14); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }

.card-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.status-active   { background: rgba(141,184,74,0.1); color: #8DB84A; border: 1px solid rgba(141,184,74,0.2); }
.status-complete { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.08); }

.card-arrow { font-size: 14px; color: rgba(255,255,255,0.18); }

.card-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── About page ──────────────────────────────────────────────────────── */
.statement { padding: 24px 40px 0; }

.statement p {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.52);
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 560px;
}

.statement p span { color: rgba(255,255,255,0.82); font-weight: 400; }

.resume-row { padding: 22px 40px 0; }

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0F1012;
  background: #C8922A;
  padding: 11px 24px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.skills-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.skill-col {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 20px;
}

.skill-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.skill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

.skill-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skill-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }

.skill-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.skill-list li::before { content: '—'; font-size: 10px; color: rgba(255,255,255,0.18); flex-shrink: 0; }

.timeline { display: flex; flex-direction: column; }

.tl-entry {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tl-entry:last-child { border-bottom: none; }

.tl-left { display: flex; flex-direction: column; gap: 5px; min-width: 96px; flex-shrink: 0; }

.tl-dates {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  line-height: 1.5;
}

.tl-domain-tags { display: flex; flex-direction: column; gap: 4px; }

.tl-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.tl-right { display: flex; flex-direction: column; gap: 4px; padding-top: 1px; }

.tl-role {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

.tl-org {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  margin-bottom: 2px;
}

.tl-note {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}

.edu-block {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.edu-left { display: flex; flex-direction: column; gap: 6px; }
.edu-degree { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.82); }
.edu-school { font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.38); }
.edu-tags   { display: flex; gap: 5px; margin-top: 2px; }
.edu-right  { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.edu-year   { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.22); }

.cert-list { display: flex; flex-direction: column; gap: 8px; }

.cert-row {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cert-left   { display: flex; flex-direction: column; gap: 5px; }
.cert-name   { font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.82); }
.cert-issuer { font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.35); }
.cert-tags   { display: flex; gap: 5px; }
.cert-right  { flex-shrink: 0; }
.cert-year   { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.22); }

/* ─── Project detail ──────────────────────────────────────────────────── */
.project-header { padding: 20px 40px 0; }
.header-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.pstatus {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(200,146,42,0.12);
  color: #C8922A;
  border: 1px solid rgba(200,146,42,0.3);
}

.pstatus-active   { background: rgba(141,184,74,0.1); color: #8DB84A; border: 1px solid rgba(141,184,74,0.25); }
.pstatus-complete { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.1); }

.project-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #E8E6DF;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.header-meta { display: flex; gap: 28px; }

.meta-item { display: flex; flex-direction: column; gap: 3px; }

.meta-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.ext-links {
  margin: 24px 40px 0;
  padding: 14px 20px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ext-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 8px;
}

.ext-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: border-color 0.15s;
}

.ext-link:hover { border-color: rgba(255,255,255,0.18); }
.ext-link i { font-size: 15px; color: rgba(255,255,255,0.45); }

.ext-link span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ext-arrow { font-size: 10px; color: rgba(255,255,255,0.2); }

.writeup p {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  line-height: 1.85;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.writeup h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin: 22px 0 10px;
  letter-spacing: -0.01em;
}

.inline-img {
  width: 100%;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  margin: 20px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  gap: 8px;
  min-height: 160px;
}

.inline-img img { max-width: 100%; max-height: 300px; object-fit: contain; }
.inline-img i   { font-size: 24px; color: rgba(255,255,255,0.12); }

.inline-img span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inline-img-caption {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  font-style: italic;
  margin-bottom: 12px;
}

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

.gallery-cell {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
}

.gallery-cell:hover { border-color: rgba(255,255,255,0.14); }
.gallery-cell img   { width: 100%; height: 100%; object-fit: cover; }
.gallery-cell i     { font-size: 20px; color: rgba(255,255,255,0.1); }

.gallery-cell span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.changelog-list { display: flex; flex-direction: column; }

.cl-entry {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cl-entry:last-child { border-bottom: none; }

.cl-left { display: flex; flex-direction: column; gap: 6px; min-width: 80px; }

.cl-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

.cl-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.cl-hardware { background: rgba(141,184,74,0.1); color: #8DB84A; border: 1px solid rgba(141,184,74,0.2); }
.cl-software { background: rgba(61,175,184,0.1);  color: #3DAFB8; border: 1px solid rgba(61,175,184,0.2); }
.cl-docs     { background: rgba(200,146,42,0.1); color: #C8922A; border: 1px solid rgba(200,146,42,0.2); }
.cl-mech     { background: rgba(217,95,43,0.1);  color: #D95F2B; border: 1px solid rgba(217,95,43,0.2); }

.cl-msg {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  padding-top: 1px;
}

/* ─── Product detail ──────────────────────────────────────────────────── */
.product-header {
  padding: 16px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left { display: flex; align-items: center; gap: 10px; }

.tier-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(200,146,42,0.12);
  color: #C8922A;
  border: 1px solid rgba(200,146,42,0.3);
}

.tier-badge-commercial {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}

.related-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.related-link:hover { color: rgba(255,255,255,0.55); }
.related-link i { font-size: 13px; }

.product-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 34px;
  font-weight: 300;
  color: #E8E6DF;
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding: 12px 40px 0;
}

.images-section { padding: 24px 40px 0; }

.img-primary {
  width: 100%;
  height: 220px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.img-primary i    { font-size: 32px; color: rgba(255,255,255,0.08); }
.img-primary img  { width: 100%; height: 100%; object-fit: cover; }

.img-primary span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.img-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }

.img-thumb {
  height: 72px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
}

.img-thumb i   { font-size: 16px; color: rgba(255,255,255,0.08); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb.active { border-color: rgba(200,146,42,0.4); }

.description p {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.description p:last-child { margin-bottom: 0; }

.buy-strip {
  margin: 28px 40px 0;
  padding: 20px 24px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.buy-left    { display: flex; flex-direction: column; gap: 4px; }
.buy-label   { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.22); letter-spacing: 0.16em; text-transform: uppercase; }
.buy-note    { font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.38); letter-spacing: 0.02em; }
.buy-actions { display: flex; gap: 10px; align-items: center; }

.buy-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.15s;
}

.buy-btn:hover { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.buy-btn i { font-size: 14px; }

.quote-strip {
  margin: 28px 40px 0;
  padding: 22px 24px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-left  { display: flex; flex-direction: column; gap: 5px; }
.quote-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.22); letter-spacing: 0.16em; text-transform: uppercase; }
.quote-note  { font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.6; max-width: 380px; letter-spacing: 0.02em; }

.quote-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0F1012;
  background: #C8922A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.quote-btn:hover { background: #d49830; }

/* ─── Contact page ────────────────────────────────────────────────────── */
.contact-layout {
  padding: 32px 40px 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info  { display: flex; flex-direction: column; gap: 28px; }

.contact-info-block { display: flex; flex-direction: column; gap: 6px; }

.contact-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-info-value {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.contact-info-value a { color: #C8922A; text-decoration: none; }

.contact-social { display: flex; flex-direction: column; gap: 6px; }

.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: #141618;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.social-link i { font-size: 15px; }
.social-link:hover { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.65); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: #141618;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 3px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  outline: none;
  letter-spacing: 0.02em;
  transition: border-color 0.15s;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.18); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: rgba(200,146,42,0.4); }

.form-select option { background: #141618; color: rgba(255,255,255,0.65); }

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0F1012;
  background: #C8922A;
  border: none;
  padding: 12px 28px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
}

.form-submit:hover { background: #d49830; }

/* ─── Utilities ───────────────────────────────────────────────────────── */
.pb-0   { padding-bottom: 0 !important; }
.mt-0   { margin-top: 0 !important; }
.mt-40  { margin-top: 40px !important; }
