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

:root {
  --paper:        #FFFFFF;
  --surface:      #FFFFFF;
  --surface-soft: #F8F9FA;
  /* Pistachio: passive content surfaces (experience, eBook). Blue stays reserved for actions. */
  --pistachio-soft: #F3F7E9;
  --pistachio:      #E4EDCB;
  --pistachio-line: #CBDAA6;
  --pistachio-ink:  #4B6420;
  --ink:          #202124;
  --graphite:     #374151;
  --muted:        #6B7280;
  --muted-light:  #9CA3AF;
  --line:         rgba(17,24,39,0.08);
  --line-strong:  rgba(17,24,39,0.13);
  --accent:       #4285F4;
  --accent-dark:  #1A73E8;
  --accent-soft:  #E8F0FE;
  --accent-mid:   rgba(66,133,244,0.12);
  --blue:         #4285F4;
  --sh-xs: 0 1px 3px rgba(17,24,39,0.06);
  --sh-sm: 0 2px 10px rgba(17,24,39,0.07), 0 1px 3px rgba(17,24,39,0.04);
  --sh-md: 0 8px 30px rgba(17,24,39,0.09), 0 2px 8px rgba(17,24,39,0.04);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Dark surface (bands, stats, footer, featured cards): one flat tone, no gradients */
  --ink-deep:     #1A1F29;

  /* ── Desktop layout system ──────────────────────────────────────────
     One page edge for every band, section, nav and footer:
       --pad   = side inset. Never less than --gutter, grows once the
                 viewport is wider than --shell, so content stays centred.
     Percentages resolve against each full-width band, so nothing depends
     on 100vw (and scrollbar width never causes misalignment).            */
  --gutter:    clamp(32px, 4.2vw, 64px);
  --shell:     1480px;
  --pad:       max(var(--gutter), calc((100% - var(--shell)) / 2));
  --section-y: clamp(56px, 4vw, 72px);      /* vertical padding of every section */
  --head-gap:  clamp(32px, 2.8vw, 44px);    /* section head to its content */
  --gap:       clamp(20px, 1.7vw, 28px);    /* gap between sibling modules */
  --gap-lg:    clamp(48px, 4.6vw, 88px);    /* gap between major columns */
  --card-pad:  clamp(24px, 2.1vw, 36px);    /* inner padding of every card/panel */
  --r-card:    16px;                        /* radius of every card/panel */
  --band-label: 280px;                      /* label column shared by logo strip + ticker */
}

html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ══ NAV ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 999;
  gap: 24px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s;
}

/* Left: identity block */
.nav-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.nav-name-block { display: flex; flex-direction: column; gap: 1px; }

.nav-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-role {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

/* Center: page links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.25s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.nav-active::after { width: 100%; }

/* Right: contact info + cta */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-contact-item {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-contact-item svg { width: 12px; height: 12px; opacity: 0.55; flex-shrink: 0; }
.nav-contact-item:hover { color: var(--accent); }

.nav-divider {
  width: 1px; height: 20px;
  background: var(--line-strong);
  flex-shrink: 0;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s, gap 0.2s !important;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-dark) !important; gap: 10px !important; }

/* Scroll states (class toggled in js/app.js) */
nav.nav-hidden { transform: translateY(-100%); }
nav.nav-scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(17,24,39,0.08);
}

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: 100px; padding: 3px; flex-shrink: 0;
}
.lang-btn {
  font-family: 'DM Mono', monospace; font-size: 10.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  transition: background 0.2s, color 0.2s; letter-spacing: 0.06em;
}
.lang-btn.active { background: var(--accent); color: #fff; }

/* Print button */
.nav-print {
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink); background: var(--pistachio); border: 1px solid var(--pistachio-line);
  border-radius: 100px; padding: 8px 16px; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
  text-decoration: none;
  appearance: none;
}

.nav-print:hover { background: #D9E5B8; border-color: #AFC47C; }
.nav-print svg { width: 13px; height: 13px; opacity: 0.8; flex-shrink: 0; }

/* ── Nav responsive ── */
@media (min-width: 1201px) and (max-width: 1599px) {
  .nav-contact { gap: 4px; }
  .nav-contact-item {
    font-size: 0; gap: 0;
    width: 32px; height: 32px;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-contact-item svg { width: 15px; height: 15px; opacity: 0.7; }
  .nav-contact-item:hover { background: var(--accent-soft); }
}

@media (max-width: 1200px) {
  .nav-contact { display: none; }
  .nav-divider { display: none; }
  .nav-cta { padding: 7px 12px; font-size: 12px !important; }
  .nav-cta-text { font-size: 12px; }}

@media (max-width: 1100px) {
  nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-right { gap: 12px; }}

@media (max-width: 900px) {
  .nav-links { display: none; }
  nav { padding: 0 20px; gap: 12px; }}

/* Mobile nav: tight layout, no overflow */
@media (max-width: 640px) {
  /* SV section: compact pill-style on mobile */
  .sv-section { margin-bottom: 20px; }
  .sv-label { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 10px; }
  .sv-grid { display: flex; flex-direction: column; gap: 0; }
  .sv-item { padding: 8px 0; gap: 10px; }
  .sv-num { font-size: 9px; min-width: 14px; }
  .sv-text { font-size: 12px; line-height: 1.35; }
  .hero-body { font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
  .hero-headline { font-size: clamp(28px, 8vw, 44px) !important; margin-bottom: 16px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-contact-row { gap: 7px; }
  .hero-contact-item { font-size: 11.5px; padding: 5px 11px; gap: 6px; }
  .hero-contact-item svg { width: 11px; height: 11px; }
  .hero-left { padding: 52px 20px 40px; }
  nav { padding: 0 16px; gap: 8px; height: 56px; }
  .nav-name-block { display: none; }
  .nav-identity { gap: 0; }
  .nav-right { gap: 8px; }
  /* Hide full CTA text, show icon-only compact button */
  .nav-cta-text { display: none; }
  .nav-cta {
    padding: 7px 10px;
    font-size: 12px !important;
    gap: 0;
    border-radius: 8px;
  }
  .nav-cta-icon { display: flex !important; }
  /* Print button: icon only */
  .nav-print span { display: none; }
  .nav-print { padding: 6px 8px; }
  /* Lang toggle: compact */
  .lang-toggle { gap: 1px; }
  .lang-btn { padding: 3px 8px; font-size: 10px; }
}

@media (max-width: 380px) {
  nav { gap: 5px; padding: 0 10px; }
  .nav-print { padding: 6px 7px; }
  .lang-btn { padding: 3px 6px; }}

/* ══ HERO ══ */
.hero {
  padding: 64px var(--pad) 0;   /* bottom edge comes from .hero-left / .hero-right */
  min-height: min(100vh, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(400px, 36vw, 560px);
  column-gap: var(--gap-lg);
  align-items: start;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}

.hero-headline {
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s ease forwards;
}

.hero-headline .hl-accent { color: var(--accent); }

.hero-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--graphite);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.32s ease forwards;
}

.hero-body a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* Hero contact row — desktop */
.hero-co { color: var(--ink); font-weight: 600; }
/* Company names keep their own brand colors, only here in the intro line */
.hero-co-cisco  { color: #00627E; }
.hero-co-li     { color: #0A66C2; }
.hero-co-indeed { color: #2164F3; font-style: italic; }
.hero-co-dd     { color: #632CA6; }

/* Primary actions: book + download, one accent, always visible above the fold */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px 0 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.38s ease forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--pistachio); color: var(--ink); border-color: var(--pistachio-line); }
.btn-secondary:hover { background: #D9E5B8; border-color: #AFC47C; }
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; margin-bottom: 28px; }
  .btn { width: 100%; }}

.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.6s 0.44s ease forwards;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 6px 14px;
  white-space: nowrap;
}
.hero-contact-item:hover { color: var(--accent); border-color: rgba(66,133,244,0.3); }
.hero-contact-item svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.5; }

/* Hero right — desktop only (hidden at <=1024px).
   Photo spans the stats + competencies stack; languages run full width below. */
.hero-right {
  display: grid;
  grid-template-columns: clamp(150px, 15vw, 220px) minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: var(--gap);
  align-content: start;
  padding: 72px 0;
  position: relative;
  z-index: 2;
}
.hero-right .hero-photo-card { grid-column: 1; grid-row: 1 / span 2; }
.hero-right .stats-card      { grid-column: 2; grid-row: 1; }
.hero-right .comp-card       { grid-column: 2; grid-row: 2; }
.hero-right .lang-card       { grid-column: 1 / -1; }

/* Stats card */
.stats-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 24px 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s ease forwards;
}

.stats-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.stats-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-item { display: flex; align-items: flex-start; gap: 14px; }

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 44px;
}

.stat-desc {
  font-size: 12.5px;
  color: var(--graphite);
  line-height: 1.45;
  padding-top: 4px;
}

/* Competencies card */
.comp-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 20px 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s ease forwards;
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
}

.comp-icon {
  width: 28px; height: 28px;
  background: var(--accent-soft);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comp-icon svg { width: 14px; height: 14px; }

/* ══ LOGO STRIP ══ */
.logo-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--pad);
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-strip-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-strip-companies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.logo-text:hover { color: var(--accent); }
.logo-cisco   { font-size: 14px; letter-spacing: 0.04em; }
/* Company wordmarks share one neutral ink; only the accent appears on hover */
.logo-cisco, .logo-li, .logo-indeed, .logo-dd { color: var(--graphite); }

/* Desktop: label column shared with the ticker band below, logos fill the rest */
@media (min-width: 1025px) {
  .logo-strip { gap: var(--gap-lg); flex-wrap: nowrap; }
  .logo-strip-label { flex: 0 0 var(--band-label); }
  .logo-strip-companies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .logo-text { font-size: 20px; padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line-strong); line-height: 1.2; }
  .logo-text:first-child { padding-left: 0; border-left: 0; }
  .logo-cisco { font-size: 18px; }
}

@media (max-width: 768px) {
  .logo-strip {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    text-align: center;
  }
  .logo-strip-companies {
    justify-content: center;
    gap: 28px;
    flex: none;
    width: 100%;
  }
  .logo-text { font-size: 14px; }}

/* ══ SHARED ══ */
section { padding: var(--section-y) 0; }

.container {
  width: 100%;
  padding: 0 var(--pad);
}

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Desktop: every section opens with the same head, eyebrow + hairline across the grid */
@media (min-width: 1025px) {
  .section-eyebrow { gap: 14px; margin-bottom: var(--head-gap); }
  .section-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-strong);
  }
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 40px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--accent); }

/* ══ ABOUT ══ */
.about { background: var(--surface); }

/* Career path: compact timeline that doubles as a shortcut to Experience */
.about-timeline {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  background: var(--pistachio-soft);
  border: 1px solid var(--pistachio-line);
  border-radius: var(--r-card);
  padding: 22px 20px 20px;
}
.about-timeline-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.timeline-track {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.timeline-track a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--graphite);
}
.tt-co { font-size: clamp(13px, 3.4vw, 16px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.tt-node { position: relative; display: block; width: 100%; height: 14px; }
.tt-node::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--pistachio-line);
}
.timeline-track li:first-child .tt-node::before { left: 50%; }
.timeline-track li:last-child .tt-node::before { right: 50%; }
.tt-node::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--pistachio);
  border: 2px solid #AFC47C;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
}
.timeline-track a:hover .tt-node::after { background: var(--pistachio-ink); border-color: var(--pistachio-ink); }
.tt-year { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: -0.03em; color: var(--muted); white-space: nowrap; }
.about-timeline-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pistachio-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* One timeline, two homes: in the hero on phones and tablets (shortcut to Experience),
   in About on desktop where the nav already links there. */
.hero-timeline { margin: 0 0 32px; max-width: 560px; justify-self: auto; }
@media (min-width: 1025px) { .hero-timeline { display: none; } }
@media (max-width: 1024px) { .about-timeline:not(.hero-timeline) { display: none; } }

/* Row 1: statement + visual. Row 2: operating system, full width (see desktop block below). */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.about-text p {
  font-size: 15.5px;
  color: var(--graphite);
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.2s;
}
.about-link:hover { gap: 10px; }

/* ── My operating system ──
   Base = compact cards (mobile / tablet). Desktop = editorial hairline columns. */
.opsys-label {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.opsys-label::before {
  content: '';
  width: 14px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
}

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

.opsys-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 16px;
  cursor: default;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1),
              border-color 0.2s, box-shadow 0.2s;
}
.opsys-item.visible { opacity: 1; transform: scale(1) translateY(0); }
.opsys-item:hover {
  border-color: rgba(66,133,244,0.22);
  box-shadow: 0 0 0 1px rgba(66,133,244,0.08), var(--sh-sm);
  transform: translateY(-2px);
}

.opsys-icon {
  width: 32px; height: 32px;
  background: var(--accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.opsys-icon svg { width: 15px; height: 15px; }

.opsys-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.opsys-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Insight line: revealed on hover on small screens, always visible on desktop */
.opsys-insight {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.38s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease, margin-top 0.28s ease;
}
.opsys-item:hover .opsys-insight { max-height: 80px; opacity: 1; margin-top: 10px; }

@media (min-width: 1025px) {
  .opsys-label { margin-bottom: var(--gap); }
  .opsys-grid { column-gap: var(--gap-lg); row-gap: 0; }
  .opsys-item {
    display: flex;
    flex-direction: column;
    background: none;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 28px 0 44px;
    overflow: visible;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1), border-color 0.2s;
  }
  .opsys-item:nth-last-child(-n+3) { padding-bottom: 0; }
  .opsys-item.visible,
  .opsys-item:hover { transform: none; }
  .opsys-item:hover { border-color: var(--accent); box-shadow: none; }
  .opsys-icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 22px; }
  .opsys-icon svg { width: 17px; height: 17px; }
  .opsys-title { order: 1; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
  .opsys-sub { order: 2; font-size: 14px; font-weight: 500; color: var(--graphite); line-height: 1.5; margin-bottom: 14px; }
  .opsys-insight {
    order: 3;
    max-height: none; opacity: 1; margin: 0;
    font-size: 14px; color: var(--muted); line-height: 1.65;
    max-width: 44ch;
  }

  /* About: statement + visual share row 1, operating system takes the full-width row 2 */
  .about-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--gap-lg);
    row-gap: var(--section-y);
    align-items: center;
  }
  .about-main { grid-column: 1; grid-row: 1; }
  .about-timeline { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; width: 100%; max-width: 560px; margin: 0; padding: 32px 32px 28px; }
  .about-opsys { grid-column: 1 / -1; grid-row: 2; }
  .about-text { max-width: 660px; }
  .about-text p { font-size: clamp(15.5px, 1.1vw, 17px); }
  .about-text p:last-child { margin-bottom: 0; }}

/* ══ EXPERIENCE + SIDEBAR ══ */
.exp-section { background: var(--paper); }

.exp-layout {
  --side-w: clamp(320px, 26vw, 400px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: var(--gap-lg);
  align-items: start;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.tl-item {
  display: flex;
  gap: 24px;
  position: relative;
}

/* Timeline dot */
.tl-dot {
  width: 38px; height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  margin-top: 20px;
  border: 2px solid var(--surface);
  box-shadow: var(--sh-xs);
}

.dot-dd, .dot-ig, .dot-li, .dot-cs { background: var(--pistachio); color: var(--pistachio-ink); }

.tl-content {
  flex: 1;
  min-width: 0;
  padding: 22px var(--card-pad);
  background: var(--pistachio-soft);
  border: 1px solid var(--pistachio-line);
  border-radius: var(--r-card);
  margin-bottom: 16px;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.tl-content:hover {
  box-shadow: var(--sh-sm);
  border-color: rgba(66,133,244,0.28);
}

.tl-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.tl-top-left { flex: 1; }

.tl-company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.tl-company {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.tl-period {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted-light);
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.tl-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 2px 9px;
}

.tl-role-preview {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--graphite);
  margin-top: 10px;
}

.tl-roles-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 8px;
}

.tl-roles-count svg { width: 13px; height: 13px; }

.tl-chevron {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s, transform 0.3s;
  cursor: pointer;
}
.tl-chevron svg { width: 14px; height: 14px; color: var(--muted); transition: transform 0.3s; }
.tl-content.open .tl-chevron { background: var(--paper); border-color: var(--pistachio-line); }
.tl-content.open .tl-chevron svg { transform: rotate(180deg); color: var(--pistachio-ink); }

/* Open state: a deeper pistachio of the same card */
.tl-content.open {
  background: var(--pistachio);
  border-color: #AFC47C;
  box-shadow: var(--sh-md);
}

/* Expanded roles */
.tl-roles {
  display: none;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 4px;
}
.tl-content.open .tl-roles { display: block; }

.role-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.role-block:last-child { border-bottom: none; padding-bottom: 4px; }

.role-block.role-culture {
  background: linear-gradient(135deg, rgba(66,133,244,0.03) 0%, transparent 100%);
  border-radius: var(--r-sm);
  padding: 14px 12px;
  margin: 6px -12px;
}

.role-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.role-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.role-culture-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(66,133,244,0.18);
  border-radius: 100px;
  padding: 2px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.role-period {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted-light);
  margin-bottom: 10px;
}

.role-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 10px;
}

.role-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.role-bullets li {
  font-size: 13.5px;
  color: var(--graphite);
  line-height: 1.6;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.role-bullets li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  opacity: 0.4;
}

.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  border: 1px solid rgba(66,133,244,0.16);
}

/* Sidebar: a single panel on the same radius/border/padding as every other card */
.exp-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: var(--pistachio-soft);
  border: 1px solid var(--pistachio-line);
  border-radius: var(--r-card);
  padding: var(--card-pad);
}

.sidebar-group + .sidebar-group {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.sidebar-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.sidebar-title::before {
  content: '';
  width: 14px;
  height: 2px;
  flex: 0 0 14px;
  border-radius: 2px;
  background: var(--accent);
}

/* Core Skills + Education: quiet list rows */
.skill-list { list-style: none; }
.skill-list li {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--graphite);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.skill-list li:first-child { padding-top: 0; }
.skill-list li:last-child  { padding-bottom: 0; border-bottom: 0; }

.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.45;
}

.impact-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.impact-dot svg { width: 10px; height: 10px; color: var(--accent); }

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 14px;
  transition: gap 0.2s;
}
.sidebar-link:hover { gap: 9px; }

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-pill {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 5px 12px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.skill-pill:hover { border-color: rgba(66,133,244,0.3); color: var(--accent); }

blockquote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
}

blockquote strong {
  font-weight: 700;
  color: var(--accent);
}

/* Desktop: quote and CTA read as one equal-height pair */
@media (min-width: 1025px) {
  .leadership-grid { align-items: stretch; }
  blockquote { font-size: clamp(19px, 1.5vw, 24px); }
  .cta-headline { font-size: clamp(24px, 2.3vw, 38px); line-height: 1.25; }
  .cta-body { font-size: clamp(14.5px, 1.05vw, 17px); max-width: 52ch; }
}

/* ══ HERO PHOTO CARD ══ */
.hero-photo-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  overflow: hidden;
  animation: fadeUp 0.6s 0.25s ease both;
  display: flex;
  flex-direction: column;
}
.hero-photo {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.hero-photo-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-photo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.hero-photo-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.hero-photo-loc {
  font-size: 10px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.02em;
}
@media print { .hero-photo-card { display: none !important; }}
@media (max-width: 768px) { .hero-photo-card { display: none !important; }}
/* ── Mobile hero avatar ── */
.hero-mobile-avatar {
  display: none;
}
@media (max-width: 768px) {
  .hero-mobile-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .hero-mobile-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2.5px solid var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
  }
  .hero-mobile-dot {
    display: none;
  }}



/* ══ BRIDGE IMAGE ══ */
.bridge-section {
  background: var(--surface);
  padding: clamp(40px, 3.4vw, 56px) var(--pad) 0;
}
.bridge-img-wrap {
  width: 100%;
}
.bridge-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .bridge-section { padding: 18px 0 12px; }
  .bridge-img-wrap { padding: 0; }
  .bridge-img { border-radius: 0; box-shadow: none; }}
/* Bridge and About read as one chapter: shared surface, tighter hand-off */
.bridge-section + .about { padding-top: clamp(40px, 3.4vw, 56px); }
@media print { .bridge-section { display: none !important; }}

/* ══ FOOTER ══ */
footer {
  background: var(--ink-deep);
}

.footer-inner {
  padding: 40px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer-identity {}

.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer-role {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-link svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-link:hover svg { opacity: 0.8; }
.footer-location { cursor: default; }
.footer-location:hover { color: rgba(255,255,255,0.65); }

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  blockquote { font-size: 12px; line-height: 1.5; margin-bottom: 0; }

  /* Footer: single slim line */
  .footer-inner { grid-template-columns: 1fr; gap: 0; padding: 14px 20px; text-align: center; }
  .footer-identity, .footer-contact { display: none; }
  .footer-right { align-items: center; gap: 3px; }
  .footer-tagline { font-size: 10.5px; }
  .footer-copy { font-size: 10px; }}

@media (max-width: 640px) {
  blockquote { font-size: 14.5px; line-height: 1.6; }}

@media (max-width: 440px) {
  .footer-contact { gap: 8px; }
  .footer-link { font-size: 11.5px; }
  .footer-link svg { width: 11px; height: 11px; }}

/* ══ MOBILE ANIMATION ENHANCEMENTS ══ */
/* On touch devices: disable hover-only effects, strengthen scroll-based ones */
@media (max-width: 768px) and (hover: none) {
  /* Disable hover-only states that never fire on touch */
  /* ── Disable hover-only states on touch ── */
  .sv-item:hover, .tl-content:not(.open):hover, .sidebar-card:hover, .skill-pill:hover,
  .tl-item:hover .tl-dot, .stat-item:hover .stat-num, .opsys-item:hover,
  .ticker-item:hover, .hero-contact-item:hover,
  .award-item:hover { transform: none; box-shadow: none; border-color: inherit; background: inherit; text-shadow: none; }

  /* ── Scroll reveals: bigger, snappier ── */
  .reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.52s cubic-bezier(0.22,1,0.36,1), transform 0.52s cubic-bezier(0.22,1,0.36,1);
  }

  /* ── Timeline: slide from left ── */
  .tl-item {
    opacity: 0; transform: translateX(-28px);
    transition: opacity 0.46s cubic-bezier(0.22,1,0.36,1), transform 0.46s cubic-bezier(0.22,1,0.36,1);
  }

  /* ── Opsys / focus: scale up ── */
  .opsys-item, .focus-card {
    opacity: 0; transform: scale(0.93) translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  }

  /* ── SV items: staggered slide-up ── */
  .sv-item {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.36s ease, transform 0.36s cubic-bezier(0.22,1,0.36,1);
  }
  .sv-section.visible .sv-item:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
  .sv-section.visible .sv-item:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.13s; }
  .sv-section.visible .sv-item:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.21s; }
  .sv-section.visible .sv-item:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.29s; }
  .sv-section.visible .sv-item:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.37s; }

  /* ── Awards: cascade from left ── */
  .award-item {
    opacity: 0; transform: translateX(-14px);
    transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1);
  }
  .awards-card.visible .award-item:nth-child(1) { opacity:1; transform:translateX(0); transition-delay:0.04s; }
  .awards-card.visible .award-item:nth-child(2) { opacity:1; transform:translateX(0); transition-delay:0.10s; }
  .awards-card.visible .award-item:nth-child(3) { opacity:1; transform:translateX(0); transition-delay:0.16s; }
  .awards-card.visible .award-item:nth-child(4) { opacity:1; transform:translateX(0); transition-delay:0.22s; }
  .awards-card.visible .award-item:nth-child(5) { opacity:1; transform:translateX(0); transition-delay:0.28s; }
  .awards-card.visible .award-item:nth-child(6) { opacity:1; transform:translateX(0); transition-delay:0.34s; }

  /* ── Leadership cards: pop from bottom ── */
  .leadership-left, .leadership-right, .awards-card {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.48s cubic-bezier(0.22,1,0.36,1), transform 0.48s cubic-bezier(0.22,1,0.36,1);
  }
  .leadership-left.visible  { opacity:1; transform:translateY(0); }
  .leadership-right.visible { opacity:1; transform:translateY(0); transition-delay:0.1s; }
  .awards-card.visible      { opacity:1; transform:translateY(0); transition-delay:0.05s; }

  /* ── Section eyebrow: slide from left ── */
  .section-eyebrow {
    opacity: 0; transform: translateX(-16px);
    transition: opacity 0.38s ease 0.06s, transform 0.38s cubic-bezier(0.22,1,0.36,1) 0.06s;
  }
  .section-eyebrow.visible { opacity:1; transform:translateX(0); }

  /* ── Hero headline: faster stagger ── */
  .hl-line:nth-child(1) { animation-delay: 0.14s; }
  .hl-line:nth-child(2) { animation-delay: 0.24s; }
  .hl-line:nth-child(3) { animation-delay: 0.34s; }
  .hl-line:nth-child(4) { animation-delay: 0.44s; }

  /* ── Touch tap feedback: scale + color ── */
  .tl-content:active      { transform: scale(0.99); box-shadow: var(--sh-md); border-color: rgba(66,133,244,0.2); }
  .opsys-item:active      { transform: scale(0.98); background: var(--surface-soft); }
  .award-item:active      { background: rgba(66,133,244,0.04); }
  .skill-pill:active      { transform: scale(0.97); border-color: rgba(66,133,244,0.3); color: var(--accent); }
  .ticker-item:active     { transform: scale(0.97); border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
  .hero-contact-item:active { transform: scale(0.97); }
  .nav-cta:active         { transform: scale(0.96); background: var(--accent-dark); }
  .lang-btn:active        { transform: scale(0.93); }

  /* ── Better touch targets ── */
  .nav-cta, .lang-btn, .nav-print { min-height: 36px; }
  .hero-contact-item { min-height: 36px; }
  .tl-content { cursor: pointer; }

  /* ── Prevent text size adjustment on orientation change ── */
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  /* ── Smooth momentum scrolling on iOS ── */
  .rec-grid, .ticker-inner { -webkit-overflow-scrolling: touch; }

  /* ── Section padding tighter on mobile ── */
  section { padding-top: 48px !important; padding-bottom: 48px !important; }

  /* ── About grid: single column on mobile ── */
  .about-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* ── Sidebar: single column stacked ── */
  .exp-layout { grid-template-columns: 1fr !important; }
  .exp-sidebar { display: none; }
  .tl-item:active .tl-content { box-shadow: var(--sh-sm); }

  /* ── Nav CTA: single pulse on load ── */
  .nav-cta { animation: ctaPulse 2s ease-out 1.2s 1; }

}

/* ══ LANGUAGE CARD ══ */
.lang-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 20px 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.62s ease forwards;
}

.lang-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.lang-item {
  display: grid;
  grid-template-columns: 22px 90px 1fr;
  align-items: center;
  gap: 10px;
}

.lang-flag { font-size: 16px; line-height: 1; }

.lang-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.lang-level {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted-light);
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.lang-bar {
  height: 4px;
  background: var(--paper);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.lang-fill {
  height: 100%;
  border-radius: 100px;
  opacity: 0.75;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}


/* Mobile languages card */
.mobile-lang-card {
  display: none;
}
@media (max-width: 768px) {
  .mobile-lang-card {
    display: block;
    padding: 0 20px 8px;
  }
  .mobile-lang-card .lang-card {
    opacity: 1;
    animation: none;
  }}

/* ══ SPECIALIZATIONS TICKER ══ */
.ticker-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px var(--pad) 0;
  display: block;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0 16px;
  white-space: nowrap;
  will-change: transform;
  /* soft edges where the pills enter and leave */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: tickerScroll 42s linear infinite;
  flex-shrink: 0;
}

.ticker-inner:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  margin: 0 5px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
  cursor: default;
  transition: border-color 0.22s ease, color 0.22s ease;
}

.ticker-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ticker-item svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

.ticker-sep {
  color: var(--muted-light);
  font-size: 16px;
  margin: 0 4px;
  flex-shrink: 0;
}

/* Desktop: label column aligns with the logo strip, pills run in the content column */
@media (min-width: 1025px) {
  .ticker-section {
    display: grid;
    grid-template-columns: var(--band-label) minmax(0, 1fr);
    column-gap: var(--gap-lg);
    align-items: center;
    padding: 0 var(--pad);
  }
  .ticker-label { padding: 0; }
  .ticker-track { padding: 16px 0; min-width: 0; overflow: hidden; }
}

/* ══ STRATEGIC VALUE (hero inline) ══ */
.sv-section {
  margin: 28px 0 32px;
}

.sv-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--muted-light);
  flex-shrink: 0;
}

.sv-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sv-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  position: relative;
  transition: padding-left 0.25s cubic-bezier(0.22,1,0.36,1);
}

.sv-item:first-child { border-top: 1px solid var(--line); }

.sv-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  border-radius: 2px;
}

.sv-item:hover { padding-left: 12px; }
.sv-item:hover::before { transform: scaleY(1); }

.sv-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 18px;
  letter-spacing: 0.06em;
  transition: opacity 0.25s;
}

.sv-item:hover .sv-num { opacity: 1; }

.sv-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
  line-height: 1.4;
  letter-spacing: -0.005em;
  transition: color 0.25s;
}

.sv-item:hover .sv-text { color: var(--ink); }

/* ══ ANIMATIONS ══ */

/* --- Base keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero headline — clip reveal (text sweeps in from left) */
@keyframes clipReveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateX(-6px); }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; transform: translateX(0); }
}

/* Accent word shimmer — one-shot glow pulse */
@keyframes accentPulse {
  0%   { text-shadow: none; }
  40%  { text-shadow: 0 0 28px rgba(66,133,244,0.45), 0 0 60px rgba(66,133,244,0.18); }
  100% { text-shadow: none; }
}

/* Logo strip fade-up stagger */
@keyframes logoIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA button shine sweep */
@keyframes btnShine {
  0%   { left: -80%; }
  40%, 100% { left: 130%; }
}

/* Timeline line draw */
@keyframes lineGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Count-up numbers are handled in JS */

/* --- Hero headline lines --- */
.hero-headline {
  /* override the inline animation — we'll do per-line */
  animation: none !important;
  opacity: 1 !important;
}

.hl-line {
  display: block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: clipReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hl-line:nth-child(1) { animation-delay: 0.25s; }
.hl-line:nth-child(2) { animation-delay: 0.42s; }
.hl-line:nth-child(3) { animation-delay: 0.59s; }
.hl-line:nth-child(4) { animation-delay: 0.76s; }

/* Accent words pulse once after they appear */
.hl-accent {
  display: inline;
  animation: accentPulse 1.4s ease 1.3s forwards;
}

/* Logo strip items */
.logo-text {
  opacity: 0;
  animation: logoIn 0.5s ease forwards;
}
.logo-text:nth-child(1) { animation-delay: 0.1s; }
.logo-text:nth-child(2) { animation-delay: 0.22s; }
.logo-text:nth-child(3) { animation-delay: 0.34s; }
.logo-text:nth-child(4) { animation-delay: 0.46s; }

/* Timeline vertical line draw on scroll */
.timeline {
  --line-progress: 0%;
}
.timeline::before {
  transform-origin: top center;
  animation: none; /* driven by JS */
}

/* Timeline items slide from left */
.tl-item {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.tl-item.visible { opacity: 1; transform: translateX(0); }

/* Scroll reveal — default */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stat numbers — invisible until count-up fires */
.stat-num[data-target] { opacity: 0; transition: opacity 0.3s; }
.stat-num[data-target].counted { opacity: 1; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 64px 0 80px; column-gap: 0; min-height: 100vh; }
  .hero-right { display: none; }
  .hero-left { padding: 64px 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .exp-layout { grid-template-columns: 1fr; }
  .exp-sidebar { position: static; }
  .awards-card { grid-column: auto; }
  .container { padding: 0 40px; }
  nav { padding: 0 28px; }
  .logo-strip { padding: 20px 40px; }
  footer { padding: 20px 40px; }
  /* Ticker: slightly smaller on tablet */
  .ticker-label { padding: 12px 40px 0; }
  .ticker-item { font-size: 12.5px; padding: 6px 16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .opsys-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 24px; }
  nav { padding: 0 20px; }
  section { padding: 60px 0; }
  .hero { padding-bottom: 60px; }
  footer { padding: 16px 20px; flex-direction: column; gap: 6px; text-align: center; }
  /* Ticker mobile: smaller pills, faster scroll, narrower fades */
  .ticker-label { padding: 10px 24px 0; font-size: 9.5px; }
  .ticker-item { font-size: 12px; padding: 6px 13px; gap: 6px; margin: 0 4px; }
  .ticker-item svg { width: 11px; height: 11px; }
  .ticker-sep { font-size: 13px; margin: 0 2px; }
  .ticker-track { padding: 10px 0 12px; }
  .ticker-inner { animation-duration: 36s; }
  /* Disable hover-pause on touch — no hover on mobile */
  .ticker-inner:hover { animation-play-state: running; }}

@media (max-width: 500px) {
  /* Operating system: compact scan-friendly rows on phones */
  .about-opsys { margin-top: 2px; }
  .opsys-label { margin-bottom: 14px; }
  .opsys-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .opsys-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    min-height: 76px;
    padding: 13px 15px;
    border-radius: 16px;
  }
  .opsys-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 10px;
  }
  .opsys-icon svg { width: 17px; height: 17px; }
  .opsys-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .opsys-sub {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.35;
  }
  .opsys-insight { display: none; }

  /* Ticker: even more compact on small phones */
  .ticker-item { font-size: 11.5px; padding: 5px 11px; gap: 5px; margin: 0 3px; }
  .ticker-inner { animation-duration: 32s; }}


/* ══════════════════════════════════
   PREMIUM INTERACTIONS
══════════════════════════════════ */

/* Company Edition architecture */
/* Usage: <body data-edition="factorial"> or JS: setEdition('factorial') */
[data-edition="factorial"] { --accent:#FF5A1F; --accent-dark:#E04E17; --accent-soft:#FFF0EB; }
[data-edition="harvey"]    { --accent:#1A1A2E; --accent-dark:#0F0F1A; --accent-soft:#EEEEF5; }
[data-edition="mastercard"]{ --accent:#EB001B; --accent-dark:#C5001A; --accent-soft:#FFF0F0; }
[data-edition="datadog"]   { --accent:#632CA6; --accent-dark:#4E2285; --accent-soft:#F5F0FC; }
[data-edition="linkedin"]  { --accent:#4285F4; --accent-dark:#0856A5; --accent-soft:#E8F0FE; }

/* ── Hero intelligence layer: topology SVG ── */
.hero-topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* ── Stats card: number glow on hover ── */
.stat-item:hover .stat-num {
  text-shadow: 0 0 20px rgba(66,133,244,0.3);
  transition: text-shadow 0.3s ease;
}

/* ── Experience card: left accent bar ── */
.tl-content {
  transition: box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
              border-color 0.28s ease,
              transform 0.2s cubic-bezier(0.22,1,0.36,1);
}
.tl-content:hover { transform: translateY(-1px); }

/* ── Timeline dot pulse on open ── */
.tl-content.open + * .tl-dot,
.tl-item:has(.tl-content.open) .tl-dot {
  box-shadow: 0 0 0 3px var(--pistachio-line);
}

/* ── Section title: word highlight on scroll-in ── */
.section-title em {
  position: relative;
}
.section-title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s;
  opacity: 0.4;
}
.reveal.visible .section-title em::after { transform: scaleX(1); }

/* ── Company card timeline dot: hover ring ── */
.tl-dot {
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.tl-item:hover .tl-dot {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(66,133,244,0.1);
}

/* ── Impact dot: ping animation on section visible ── */
@keyframes impactPing {
  0%   { box-shadow: 0 0 0 0 rgba(66,133,244,0.4); }
  70%  { box-shadow: 0 0 0 6px rgba(66,133,244,0); }
  100% { box-shadow: 0 0 0 0 rgba(66,133,244,0); }
}
.exp-sidebar.visible .impact-dot {
  animation: impactPing 1.8s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 0.15s);
}

/* ── Hero topology node animations ── */
@keyframes nodePulse {
  0%, 100% { opacity: 0.35; r: 3; }
  50%       { opacity: 0.85; r: 4.5; }
}
@keyframes pathDraw {
  from { stroke-dashoffset: 300; }
  to   { stroke-dashoffset: 0; }
}
@keyframes nodeRing {
  0%   { r: 6; opacity: 0.3; }
  100% { r: 14; opacity: 0; }
}

/* ── Lang toggle: smooth active transition ── */
.lang-btn {
  transition: background 0.22s cubic-bezier(0.22,1,0.36,1),
              color 0.22s ease,
              transform 0.15s ease;
}
.lang-btn:active { transform: scale(0.95); }

/* ── Hero contact items: micro underline removed — now pill style ── */

/* ── SV items: left bar elevation ── */
.sv-item {
  transition: padding-left 0.28s cubic-bezier(0.22,1,0.36,1),
              background 0.22s ease;
}
.sv-item:hover { background: rgba(66,133,244,0.025); border-radius: 4px; }

/* ── Nav CTA: pulse on load ── */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(66,133,244,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(66,133,244,0); }
  100% { box-shadow: 0 0 0 0 rgba(66,133,244,0); }
}
.nav-cta { animation: ctaPulse 2.5s ease-out 2s 2; }

/* ── Section separator: gradient line ── */
.section-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.12;
  margin: 0;
}

/* Mobile: shorter image */
@media (max-width: 900px) {
  .awards-img { height: 200px; }
  .awards-img-wrap { padding: 14px 14px 16px; }
  .awards-img-title { font-size: 16px; margin-bottom: 6px; }
  .awards-img-sub { font-size: 12px; margin-bottom: 12px; }
  .awards-header { padding: 9px 14px; }
  .awards-header-label { font-size: 9px; }
}

/* Leadership grid — 3 col on large, 1 col on small */
@media (min-width: 641px) and (max-width: 1200px) {
  .leadership-grid { grid-template-columns: 1fr 1fr; }
  .awards-card { grid-column: 1 / -1; }
}

/* Print: awards styles — merged into main print block below */

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
  animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media print { .scroll-progress { display: none !important; }}

/* ── Scroll progress bar ── */
.print-header { display: none; }
.print-footer  { display: none; }

/* Desktop: 7 recognitions read as 4 + 3 and both rows fill the panel edge to edge
   (12-column track: first row spans 3, second row spans 4; image height is shared) */
@media (min-width: 1025px) {
  .rec-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .rec-card { grid-column: span 3; }
  .rec-card:nth-child(n+5) { grid-column: span 4; }
  .rec-img-wrap { aspect-ratio: auto; width: 100%; height: clamp(220px, 20vw, 300px); }
  .awards-img-title { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 10px; }
  .awards-img-sub { max-width: 560px; margin-bottom: 28px; }
}

/* Mobile: 2-column grid, no horizontal scroll */
@media (max-width: 768px) {
  .awards-card { overflow: hidden; border-radius: var(--r-xl); }
  .awards-header { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .awards-img-block {
    background: var(--surface-soft);
    padding: 16px 14px;
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 10px;
    margin-top: 0;
  }
  .rec-card {
    min-width: 0;
  }
  .rec-img-wrap { aspect-ratio: 1/1; }
  /* 7 cards in 2 columns: the last one spans both so the grid has no orphan */
  .rec-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rec-card:last-child:nth-child(odd) .rec-img-wrap { aspect-ratio: 2/1; }
  .rec-body { padding: 10px 10px 12px; }
  .rec-year { font-size: 9.5px; margin-bottom: 3px; }
  .rec-title { font-size: 12px; line-height: 1.3; }
  .rec-desc { display: none; }
  /* On mobile: override hover transition delay for cards */
  .rec-card { transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1); }
}


/* Print: hide image cards to save space */
/* ══ PRINT / PDF — 3 páginas A4 ══ */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  @page { margin: 8mm 11mm; size: A4; }

  /* ── Kill animations ── */
  *, *::before, *::after {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }

  body {
    background: #fff !important; color: #151923 !important;
    font-size: 8pt; line-height: 1.32; font-family: 'Inter', sans-serif;
  }

  /* ── Hide interactive / decorative elements ── */
  nav, .ticker-section, .tl-chevron, .exp-sidebar,
  .hero, .hero-right, .logo-strip, .lang-toggle, .nav-print,
  footer, .hero-topo, .section-sep, .opsys-insight,
  .awards-section-wrap, .sound-btn, .mobile-lang-card,
  .leadership-right, .leadership-icon-wrap, .about-link,
  .cta-btn, .rec-grid, .awards-img-block,
  .hero-mobile-avatar, .scroll-progress,
  .opsys-label, .opsys-grid, .focus { display: none !important; }

  /* ── Print header ── */
  .print-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 5pt;
    margin-bottom: 6pt;
    border-bottom: 2pt solid #4285F4;
    page-break-inside: avoid;
  }
  .print-name {
    font-size: 15pt; font-weight: 800; color: #151923;
    letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 2pt;
  }
  .print-role {
    font-size: 7.5pt; color: #4285F4;
    letter-spacing: 0.04em; font-family: 'Inter', sans-serif; font-weight: 600;
  }
  .print-header-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2pt;
  }
  .print-contact-item {
    font-size: 7.5pt; color: #374151;
    font-family: 'DM Mono', monospace; letter-spacing: 0.02em;
  }

  /* ── Sections ── */
  section { padding: 2pt 0 !important; background: #fff !important; }
  .container { padding: 0 !important; max-width: 100% !important; }
  .section-eyebrow {
    font-size: 6.5pt !important; margin-bottom: 2pt !important;
    color: #4285F4 !important; letter-spacing: 0.12em !important;
    opacity: 1 !important; transform: none !important;
  }
  .section-title { font-size: 10.5pt !important; margin-bottom: 4pt !important; font-weight: 700 !important; }

  /* ── About: 1 column, compact — hide opsys column entirely ── */
  .about { background: #fff !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 0 !important; align-items: start !important; }
  .about-grid > div:last-child { display: none !important; }
  .about-text p { font-size: 7.5pt !important; margin-bottom: 2pt !important; color: #374151 !important; line-height: 1.28 !important; }
  /* Hide last 2 about paragraphs to save space */
  .about-text p:nth-child(n+2) { display: none !important; }

  /* ── Experience ── */
  .exp-section { background: #fff !important; }
  .exp-layout { grid-template-columns: 1fr !important; gap: 0 !important; }
  .exp-header-row { margin-bottom: 4pt !important; }

  .tl-item { display: block !important; margin-bottom: 3pt !important; page-break-inside: avoid; }
  .tl-dot { display: none !important; }
  .tl-content {
    padding: 4pt 7pt !important; border: 1pt solid #e5e7eb !important;
    box-shadow: none !important; background: #fff !important;
    border-radius: 3pt !important; margin-bottom: 0 !important;
  }
  .tl-content .tl-roles, .tl-roles { display: block !important; }
  .tl-top { display: flex !important; justify-content: space-between !important; align-items: flex-start !important; }
  .tl-company { font-size: 9pt !important; font-weight: 700 !important; color: #151923 !important; }
  .tl-period { font-size: 6.5pt !important; color: #6b7280 !important; }
  .tl-tags { gap: 2pt !important; margin: 2pt 0 !important; flex-wrap: wrap !important; }
  .tl-tag {
    font-size: 6pt !important; padding: 1pt 4pt !important;
    background: #E8F0FE !important; color: #4285F4 !important;
    border: 1pt solid #AECBFA !important; border-radius: 2pt !important;
  }
  .tl-role-preview, .tl-roles-count, .tl-chevron { display: none !important; }

  .role-block { padding: 3pt 0 !important; border-bottom: 1pt solid #f3f4f6 !important; }
  .role-block:last-child { border-bottom: none !important; }
  .role-block.role-culture {
    background: #E8F0FE !important; padding: 4pt 6pt !important;
    margin: 2pt -6pt !important; border-radius: 2pt !important;
  }
  .role-culture-tag { font-size: 6pt !important; padding: 1pt 4pt !important; }
  .role-title { font-size: 7.5pt !important; font-weight: 700 !important; color: #151923 !important; margin-bottom: 0.5pt !important; }
  .role-period { font-size: 6.5pt !important; color: #6b7280 !important; margin-bottom: 1pt !important; }
  .role-desc { display: none !important; }
  .role-bullets { gap: 0.5pt !important; padding-left: 8pt !important; }
  .role-bullets li { font-size: 6.8pt !important; color: #374151 !important; line-height: 1.22 !important; }
  /* Only show first 2 bullets per role to save space */
  .role-bullets li:nth-child(n+3) { display: none !important; }
  .role-bullets li::before { margin-top: 3pt !important; }
  .role-badges { display: none !important; }

  /* Hide Cisco r2 in print (service delivery role) */
  .dot-cs ~ .tl-roles .role-block:last-child { display: none !important; }

  /* Hide Indeed bullets in print — just show role title + period */
  .dot-ig ~ .tl-roles .role-bullets { display: none !important; }

  /* Sidebar: 3 columns below experience */
  .exp-sidebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6pt !important;
    margin-top: 4pt !important;
    opacity: 1 !important; transform: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  .sidebar-card {
    border: 1pt solid #e5e7eb !important; padding: 4pt !important;
    border-radius: 3pt !important; box-shadow: none !important;
    background: #fff !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  .sidebar-card[style*="background:#E8F0FE"] { background: #E8F0FE !important; }
  .sidebar-title {
    font-size: 6.5pt !important; font-weight: 700 !important;
    color: #4285F4 !important; letter-spacing: 0.1em !important;
    text-transform: uppercase !important; margin-bottom: 4pt !important;
  }
  .skill-cloud { display: flex !important; flex-wrap: wrap !important; gap: 2pt !important; }
  .skill-pill {
    font-size: 6pt !important; padding: 1pt 4pt !important;
    border: 1pt solid #e5e7eb !important; border-radius: 2pt !important;
    background: #f9fafb !important; color: #374151 !important;
    white-space: nowrap !important;
  }

  /* ── Leadership — force new page ── */
  .leadership { background: #fff !important; page-break-before: auto; }
  .leadership-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .leadership-left {
    border: 1pt solid #e5e7eb !important; padding: 6pt !important;
    background: #f9fafb !important; border-radius: 3pt !important;
    page-break-inside: avoid !important; break-inside: avoid !important;
  }
  .leadership-eyebrow { font-size: 6.5pt !important; color: #4285F4 !important; margin-bottom: 4pt !important; }
  blockquote { font-size: 8pt !important; margin-bottom: 3pt !important; line-height: 1.35 !important; }
  blockquote strong { color: #4285F4 !important; }
  .leadership-body { font-size: 7pt !important; color: #6b7280 !important; display: block !important; }

  /* Awards: text list in 2 columns */
  .awards-card {
    display: block !important; margin-top: 4pt !important;
    border: 1pt solid #e5e7eb !important; border-radius: 3pt !important;
    box-shadow: none !important;
    page-break-inside: avoid !important; break-inside: avoid !important;
  }
  .awards-header {
    display: flex !important; background: #E8F0FE !important;
    padding: 5pt 8pt !important; border-radius: 3pt 3pt 0 0 !important;
  }
  .awards-header-label { font-size: 6.5pt !important; color: #4285F4 !important; }
  .awards-text-list {
    display: block !important;
    padding: 5pt 8pt !important;
    columns: 2 !important;
    column-gap: 10pt !important;
  }
  .awards-text-item {
    display: block !important;
    font-size: 7pt !important;
    color: #374151 !important;
    margin-bottom: 2pt !important;
    break-inside: avoid;
  }
  .awards-text-year {
    font-family: 'DM Mono', monospace !important;
    color: #4285F4 !important;
    font-size: 6.5pt !important;
    margin-right: 3pt !important;
  }

  /* ── Print footer ── */
  .print-footer {
    display: flex !important; justify-content: space-between;
    align-items: center; margin-top: 6pt; padding-top: 4pt;
    border-top: 1pt solid #e5e7eb; page-break-inside: avoid;
  }
  .print-footer-contact { display: flex; gap: 12pt; flex-wrap: wrap; }
  .print-footer-item { font-size: 6.5pt; color: #6b7280; font-family: 'DM Mono', monospace; }
  .print-footer-copy { font-size: 6pt; color: #9ca3af; font-family: 'DM Mono', monospace; }

  /* ── Page breaks ── */
  .tl-item { page-break-inside: avoid; }
  .exp-section { page-break-before: avoid; }
  .leadership { page-break-before: auto; }
}

/* ---- merged from original HTML ---- */

/* ── Sound toggle button ── */
.sound-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(21,25,35,0.1);
  box-shadow: 0 4px 20px rgba(21,25,35,0.12), 0 1px 4px rgba(21,25,35,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s ease,
              background 0.22s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.sound-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(66,133,244,0.18), 0 2px 8px rgba(21,25,35,0.08);
  background: rgba(255,255,255,0.96);
}

.sound-btn:active { transform: scale(0.95); }

.sound-btn.playing {
  background: linear-gradient(135deg, rgba(37,99,235,0.92) 0%, rgba(124,58,237,0.92) 100%);
  border-color: rgba(66,133,244,0.3);
  box-shadow: 0 4px 20px rgba(66,133,244,0.28), 0 0 0 0 rgba(66,133,244,0.3);
  animation: soundPulse 3s ease-in-out infinite;
}

.sound-btn.playing:hover {
  background: rgba(66,133,244,0.98);
  box-shadow: 0 6px 28px rgba(66,133,244,0.38);
}

@keyframes soundPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(66,133,244,0.28), 0 0 0 0 rgba(66,133,244,0.2); }
  50%       { box-shadow: 0 4px 20px rgba(66,133,244,0.28), 0 0 0 8px rgba(66,133,244,0); }
}

.sound-btn svg { width: 18px; height: 18px; transition: opacity 0.2s; }
.sound-btn .icon-on  { display: none; }
.sound-btn .icon-off { display: block; }
.sound-btn.playing .icon-on  { display: block; }
.sound-btn.playing .icon-off { display: none; }

/* Muted: icon in ink; playing: icon in white */
.sound-btn .icon-on  { color: #fff; }
.sound-btn .icon-off { color: var(--muted); }

/* Tooltip */
.sound-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21,25,35,0.82);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease 0.3s;
}
.sound-btn:hover::before { opacity: 1; }

/* Waveform bars when playing */
.sound-bars {
  display: none;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.sound-btn.playing .sound-bars { display: flex; }
.sound-btn.playing svg { display: none; }

.bar {
  width: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.85);
  animation: barAnim 1s ease-in-out infinite;
  transform-origin: bottom;
}
.bar:nth-child(1) { height: 6px;  animation-delay: 0s;    animation-duration: 1.1s; }
.bar:nth-child(2) { height: 12px; animation-delay: 0.18s; animation-duration: 0.9s; }
.bar:nth-child(3) { height: 8px;  animation-delay: 0.35s; animation-duration: 1.2s; }
.bar:nth-child(4) { height: 14px; animation-delay: 0.1s;  animation-duration: 0.8s; }
.bar:nth-child(5) { height: 5px;  animation-delay: 0.28s; animation-duration: 1.0s; }

@keyframes barAnim {
  0%, 100% { transform: scaleY(0.35); opacity: 0.6; }
  50%       { transform: scaleY(1);   opacity: 1;   }
}

/* Mobile: smaller */
@media (max-width: 640px) {
  .sound-btn { width: 38px; height: 38px; bottom: 20px; right: 18px; }
  .sound-btn svg { width: 15px; height: 15px; }
  .sound-btn::before { display: none; }
}

/* Print: hide */
@media print { .sound-btn { display: none !important; } }

/* ══ INTERVIEW BOOKING ══ */
.interview-section {
  background: var(--surface-soft);
  padding: 72px 0;
}
.interview-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #202124 0%, #2d3748 58%, #1A73E8 100%);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  position: relative;
}
.interview-card::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.interview-card .section-eyebrow {
  color: rgba(255,255,255,.6);
}
.interview-card .section-eyebrow::before {
  background: rgba(255,255,255,.6);
}
.interview-title {
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.14;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.interview-body {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
}
.interview-body strong { color: #fff; }
.interview-note {
  margin-top: 12px;
  color: rgba(255,255,255,.52);
  font-size: 12.5px;
}
.interview-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.interview-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 100px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  text-align: center;
}
.interview-btn:hover { transform: translateY(-1px); }
.interview-btn-primary {
  background: #fff;
  color: var(--accent);
}
.interview-btn-secondary {
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.interview-meta {
  color: rgba(255,255,255,.42);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-align: center;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .interview-section { padding: 42px 0 !important; }
  .interview-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px;
    border-radius: var(--r-lg);
  }
  .interview-title { font-size: 28px; }}
@media print {
  .interview-section { display: none !important; }}






/* ══ CONTEXT IMAGES — inline decorative visuals ══ */

.leadership-landscape-visual {
  width: 100%;
  margin: 28px 0 0;
  pointer-events: none;
}
@media (min-width: 1025px) {
  .leadership-landscape-visual { margin: var(--head-gap) 0 0; }}

.leadership-landscape-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .about-timeline {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: 100%;
    max-width: 520px;
    margin: 4px 0 6px;
  }

  .leadership-landscape-visual {
    margin: 22px auto 0;
  }}

@media print {
  .about-timeline,
  .leadership-landscape-visual {
    display: none !important;
  }}

/* ══ CONNECT / THOUGHT LEADERSHIP ══ */
.connect-section {
  background: var(--surface-soft);
}
.connect-intro {
  max-width: 860px;
  margin-bottom: 34px;
}
.connect-title {
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 12px 0 18px;
}
.connect-lead {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--graphite);
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.connect-card {
  min-height: 340px;
  border-radius: var(--r-card);
  padding: var(--card-pad);
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.connect-card-calendar {
  background: var(--surface);
}
.connect-card-icon {
  position: absolute;
  top: var(--card-pad);
  right: var(--card-pad);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  z-index: 1;
}
.connect-card-icon svg { width: 25px; height: 25px; }
.connect-card-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 11px;
  opacity: .65;
}
.connect-card h3 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.connect-card p {
  font-size: 14px;
  line-height: 1.68;
  max-width: 510px;
  margin: 0 0 22px;
}
.connect-card-calendar p { color: var(--graphite); }
.connect-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.connect-card-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.connect-card-secondary {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--graphite) !important;
  cursor: pointer;
  font-family: inherit;
}
.connect-card-secondary:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
.connect-card-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  border-bottom: 0;
}
.connect-card-primary:hover { background: var(--accent-dark); }
.connect-card .connect-card-meta { margin-top: 24px; }
.connect-card-meta span {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 7px 10px;
  color: var(--muted);
}
.connect-card-book {
  background: var(--pistachio-soft);
  border-color: var(--pistachio-line);
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
}
.connect-card-book p { color: var(--graphite); }
.connect-card-book .connect-card-link { color: var(--pistachio-ink); }
.ebook-mini-cover {
  width: 158px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(17,24,39,.20);
  transform: rotate(-2deg);
  background: #fff;
}
.ebook-mini-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Desktop: title left, lead right, both on the same two columns as the cards below */
@media (min-width: 1025px) {
  .connect-intro {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap);
    align-items: end;
    margin-bottom: var(--head-gap);
  }
  .connect-intro .section-eyebrow { grid-column: 1 / -1; }
  .connect-title { margin: 0; font-size: clamp(34px, 3.4vw, 54px); }
  .connect-lead { margin: 0 0 6px; max-width: 54ch; }
}
@media (max-width: 820px) {
  .connect-section { padding: 54px 0 58px; }
  .connect-grid { grid-template-columns: 1fr; }
  .connect-card { min-height: 300px; padding: 26px 23px; }
  .connect-card-book { grid-template-columns: 118px 1fr; gap: 20px; }
  .ebook-mini-cover { width: 110px; }
  /* icon sits above the title instead of overlapping it on narrow screens */
  .connect-card-icon { position: static; margin-bottom: auto; width: 44px; height: 44px; border-radius: 14px; }
  .connect-card-icon + .connect-card-kicker { margin-top: 24px; }}
@media (max-width: 520px) {
  .connect-title { font-size: 34px; }
  .connect-lead { font-size: 15px; }
  .connect-card-book { grid-template-columns: 92px 1fr; }
  .ebook-mini-cover { width: 86px; }}

/* ══ Resume lead capture ══ */
body.resume-modal-open { overflow: hidden; }
.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.resume-modal.is-open { opacity: 1; visibility: visible; }
.resume-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,20,30,.62);
  backdrop-filter: blur(8px);
}
.resume-modal-dialog {
  position: relative;
  width: min(100%, 590px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 32px 80px rgba(17,24,39,.28);
  padding: 34px;
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}
.resume-modal.is-open .resume-modal-dialog { transform: translateY(0) scale(1); }
.resume-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--graphite);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.resume-modal-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent);
  margin-bottom: 11px;
}
.resume-modal-dialog h2 {
  margin: 0 42px 10px 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.resume-modal-lead {
  margin: 0 0 24px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.65;
  max-width: 500px;
}
.resume-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.resume-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.resume-field-full { grid-column: 1 / -1; }
.resume-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  padding: 0 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.resume-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,115,232,.10);
}
.resume-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.resume-form-error {
  min-height: 20px;
  margin-top: 10px;
  color: #b42318;
  font-size: 11px;
}
.resume-submit-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(26,115,232,.20);
}
.resume-submit-btn:disabled { opacity: .65; cursor: wait; }
.resume-privacy {
  margin: 12px auto 0;
  max-width: 460px;
  color: var(--graphite);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 560px) {
  .resume-modal { padding: 14px; align-items: end; }
  .resume-modal-dialog { padding: 27px 20px 23px; border-radius: 22px 22px 16px 16px; }
  .resume-form-grid { grid-template-columns: 1fr; }
  .resume-field-full { grid-column: auto; }
  .resume-modal-dialog h2 { font-size: 32px; }
  .resume-field input { font-size: 16px; }   /* 16px stops iOS from zooming the page on focus */
  .connect-card-actions { gap: 14px; }}

@media print {
  .connect-section { display: none !important; }}

/* Mobile hero → languages spacing fix */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 16px !important;
  }

  .hero-left {
    padding-bottom: 16px;
  }

  .mobile-lang-card {
    padding-top: 0;
  }
}
