/* ==========================================================================
   Andrine Mendez — Expertise page.
   Transcribed from project/Expertise.dc.html (Claude Design export).
   ========================================================================== */

@keyframes tlIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Intro ---- */
.expertise-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 24px;
}
.expertise-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
  font-size: clamp(38px, 6vw, 64px);
  color: var(--ink-900);
  margin: 16px 0 0;
}
.downloads-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.dl-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--ink-900);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.dl-btn:hover {
  background: var(--brand);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink-900);
}
.dl-btn span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-900);
}

/* ---- Timeline ---- */
.timeline-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 32px 40px;
}
.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.timeline-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--ink-900);
}
.tl-arrows { display: flex; gap: 10px; }
.tl-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink-900);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.tl-arrow:hover { background: var(--brand); transform: scale(1.06); }

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.filter-chip {
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1.5px solid var(--ink-900);
  background: var(--white);
  color: var(--ink-900);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.filter-chip:hover { transform: translateY(-2px); }
.filter-chip.is-active { background: var(--brand); color: var(--ink-900); }

.tl-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px 4px 20px;
  scrollbar-width: none;
}
.tl-scroll::-webkit-scrollbar { display: none; }

.tl-row {
  animation: tlIn 0.55s var(--ease-out) both;
  scroll-snap-align: start;
  flex: 0 0 200px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.tl-row.is-hidden { display: none; }
.tl-dot {
  position: absolute;
  top: -8px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink-900);
  background: var(--grey-100);
}
.tl-dot.is-current { background: var(--brand); }
.tl-category {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-500);
  background: var(--grey-100);
  border-radius: 999px;
  padding: 2px 8px;
}
.tl-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px dashed var(--grey-400);
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-logo span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--grey-500);
}
.tl-dates {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 6px;
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.tl-company {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey-600);
  margin: 5px 0 0;
}

/* ---- Education & recognition ---- */
.recognition-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
.recognition-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 16px;
}
.recognition-tags { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Pillars ---- */
.pillar {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 32px 56px;
}
.pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--grey-500);
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-900);
}
.pillar-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey-700);
  margin: 0 0 8px;
}

/* Pillar 1 — numbered vector rail */
.operate-rail {
  position: relative;
  margin-top: 24px;
}
.operate-rail__line {
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: var(--grey-200);
}
.step-row {
  animation: stepIn 0.5s var(--ease-out) both;
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding-bottom: 28px;
}
.step-num-wrap { display: flex; justify-content: center; padding-top: 2px; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-900);
  z-index: 1;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin: 6px 0 8px;
}
.step-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-700);
  margin: 0;
}

/* Pillar 2 — dark, full bleed */
.pillar-dark {
  background: var(--ink-900);
}
.pillar-dark__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 32px;
}
.pillar-dark .pillar-num { color: var(--grey-400); }
.pillar-dark .pillar-title { color: var(--grey-50); }
.pillar-dark .pillar-lead { color: var(--grey-300); }
.pillar-dark h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--grey-50);
  margin: 24px 0 8px;
}
.pillar-dark p.body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-300);
  margin: 0;
}
.pillar-dark p.closing {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-100);
  margin: 0;
  font-weight: 600;
}

/* Pillar 3 */
.pillar3 h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin: 24px 0 8px;
}
.pillar3 p.body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-700);
  margin: 0 0 20px;
}
