@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg:      #F8F7F4;
  --bg2:     #FFFFFF;
  --bg3:     #F0EDE8;
  --accent:  #C0392B;
  --text:    #1A1A1A;
  --text2:   #555555;
  --text3:   #888888;
  --border:  rgba(0,0,0,0.07);
  --card:    #FFFFFF;
  --shadow:  0 4px 24px rgba(0,0,0,0.07);
  --radius:  12px;
  --radius-lg: 16px;
  --font:    'Outfit', sans-serif;
  --mono:    'Space Mono', monospace;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ── Lang helpers ────────────────────────────────────────── */
.fr-text { display: none; }
.en-text { display: inline; }
.fr-block { display: none; }
.en-block { display: block; }
body.lang-fr .en-text { display: none; }
body.lang-fr .fr-text { display: inline; }
body.lang-fr .en-block { display: none; }
body.lang-fr .fr-block { display: block; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(248,247,244,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-brand {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin-right: auto;
}
.nav-brand span { color: var(--accent); }

.nav-link {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text3);
  border-radius: 9px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(192,57,43,0.07);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-left: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Language toggle */
.lang-toggle {
  display: flex;
  background: var(--bg3);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  margin-left: 10px;
}
.lang-btn {
  padding: 4px 13px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}

/* ── PAGE WRAPPER ────────────────────────────────────────── */
body > .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
main { padding-top: 64px; }

/* ── SECTION BASE ────────────────────────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 5%; }
.sec-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.sec-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.sec-title span { color: var(--accent); }
.sec-sub { font-size: 0.97rem; color: var(--text2); max-width: 520px; margin-bottom: 48px; line-height: 1.7; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent); border-radius: 10px;
  padding: 12px 26px; font-family: var(--font);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 2px solid var(--border); border-radius: 10px;
  padding: 12px 26px; font-family: var(--font);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── AVAILABILITY BADGE ──────────────────────────────────── */
.avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 99px; padding: 6px 14px;
  font-size: 0.7rem; font-weight: 700;
  color: var(--accent); font-family: var(--mono);
  margin-bottom: 20px; letter-spacing: 0.03em;
}
.avail-dot {
  width: 7px; height: 7px; background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 1.8s ease infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.4;transform:scale(0.7);} }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 5% 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* dot grid background */
.hero-bg {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192,57,43,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: -1;
}
/* radial glow */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.07) 0%, transparent 65%);
  right: -100px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}

.hero-greeting { font-size: clamp(1.4rem,2.8vw,1.8rem); font-weight: 300; color: var(--text3); }
.hero-greeting .dot { color: var(--accent); font-weight: 800; }
.hero-name { font-size: clamp(1.4rem,2.8vw,1.8rem); font-weight: 500; color: var(--text); margin: 3px 0; }
.hero-title { font-size: clamp(1.6rem,3.2vw,2.2rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero-desc { font-size: 0.95rem; color: var(--text2); line-height: 1.8; max-width: 420px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO VISUAL ─────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.vis-wrap { position: relative; width: 340px; height: 400px; }

/* orbits */
.orbit {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 310px; height: 310px; border: 1.5px dashed rgba(192,57,43,0.14); animation: spin 28s linear infinite; }
.orbit-2 { width: 342px; height: 342px; border: 1px solid rgba(192,57,43,0.05); animation: spin 20s linear infinite reverse; }
@keyframes spin { from{transform:translate(-50%,-50%) rotate(0);} to{transform:translate(-50%,-50%) rotate(360deg);} }

/* code card */
.code-card {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 248px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.11), 0 4px 16px rgba(192,57,43,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
.code-card:hover {
  transform: translate(-50%, -55%);
  box-shadow: 0 32px 80px rgba(0,0,0,0.14), 0 8px 24px rgba(192,57,43,0.1);
}

.cc-header { background: #1A1A2E; padding: 10px 13px; display: flex; align-items: center; gap: 5px; }
.win-dot { width: 9px; height: 9px; border-radius: 50%; }
.cc-title { font-family: var(--mono); font-size: 7px; color: rgba(255,255,255,0.3); margin-left: 6px; letter-spacing: 0.04em; }

.cc-code { background: #1e1e30; padding: 13px; }
.code-line { display: flex; gap: 5px; margin-bottom: 4px; }
.ln { font-family: var(--mono); font-size: 7.5px; color: #3d3d58; width: 9px; flex-shrink: 0; }
.t { font-family: var(--mono); font-size: 8px; }
.kw { color: #c084fc; } .fn { color: #60a5fa; } .str { color: #4ade80; } .op { color: rgba(255,255,255,0.38); } .cm { color: #4a5568; font-style: italic; }
.cursor { display: inline-block; width: 6px; height: 10px; background: var(--accent); border-radius: 1px; vertical-align: middle; margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 50%{opacity:0;} }

.cc-term { background: #0d0d14; padding: 7px 13px; }
.term-line { font-family: var(--mono); font-size: 7.5px; display: flex; gap: 5px; margin-bottom: 2px; }
.t-prompt { color: var(--accent); } .t-path { color: #5b9df7; } .t-cmd { color: #e2e8f0; }
.term-out { color: #4ade80; font-family: var(--mono); font-size: 7.5px; }

.cc-profile { background: #fff; padding: 10px 13px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #f0ede8; }
.cc-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#1A1A2E,#C0392B); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.cc-name { font-size: 10px; font-weight: 700; color: #1A1A2E; }
.cc-role { font-size: 7.5px; color: #888; }
.cc-status { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.status-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: pulse-dot 2s ease infinite; }
.dot-blue   { background: #3b82f6; }
.dot-green  { background: #4ade80; }
.dot-purple { background: #a855f7; }
.status-text { font-size: 7.5px; color: #4ade80; font-weight: 700; }

/* OTW rotating ring */
.otw-ring { position: absolute; top: -12px; right: -12px; width: 50px; height: 50px; }
.otw-ring svg { animation: spin 9s linear infinite; }
.otw-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 11px; height: 11px; background: #4ade80; border-radius: 50%; border: 2px solid #fff; animation: pulse-dot 2s ease infinite; }

/* experience badge */
.exp-badge {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; border-radius: 99px;
  padding: 5px 14px; font-size: 8.5px; font-weight: 700;
  font-family: var(--mono); white-space: nowrap;
  box-shadow: 0 4px 16px rgba(192,57,43,0.35); letter-spacing: 0.03em;
}

/* ── SKILL CHIPS ─────────────────────────────────────────── */
.skill-chip {
  position: absolute;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.25s;
  z-index: 10;
}
.skill-chip:hover { transform: scale(1.06) translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }

.chip-inner { display: flex; align-items: center; gap: 7px; padding: 8px 11px; }
.chip-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip-label { font-size: 9.5px; font-weight: 700; color: #1A1A2E; line-height: 1.2; display: block; }
.chip-sub { font-size: 7.5px; color: #888; line-height: 1.3; }
.chip-bar { height: 3px; background: #f0ede8; border-radius: 99px; margin: 0 11px 8px; }
.chip-fill { height: 100%; border-radius: 99px; }

.chip-1 { top: 12px; right: -12px; animation: float-up 4s ease-in-out infinite; }
.chip-2 { top: 105px; left: -26px; animation: float-down 4s 0.9s ease-in-out infinite; }
.chip-3 { bottom: 88px; right: -16px; animation: float-up 4s 1.8s ease-in-out infinite; }
.chip-4 { bottom: 10px; left: -16px; animation: float-down 4s 2.7s ease-in-out infinite; }

@keyframes float-up   { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
@keyframes float-down { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }

/* ── TOOLTIPS ────────────────────────────────────────────── */
.chip-tooltip {
  position: absolute;
  background: #1A1A2E; color: #fff;
  border-radius: 11px; padding: 11px 13px;
  font-size: 9.5px; line-height: 1.6; width: 165px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  box-shadow: 0 10px 32px rgba(0,0,0,0.22);
}
.chip-tooltip::before { content: ''; position: absolute; border: 6px solid transparent; }
.skill-chip:hover .chip-tooltip { opacity: 1; }

.chip-1 .chip-tooltip { top: 4px; right: calc(100% + 10px); }
.chip-1 .chip-tooltip::before { top: 11px; right: -12px; border-left-color: #1A1A2E; }
.chip-2 .chip-tooltip { top: 4px; left: calc(100% + 10px); }
.chip-2 .chip-tooltip::before { top: 11px; left: -12px; border-right-color: #1A1A2E; }
.chip-3 .chip-tooltip { bottom: 4px; right: calc(100% + 10px); }
.chip-3 .chip-tooltip::before { bottom: 11px; right: -12px; border-left-color: #1A1A2E; }
.chip-4 .chip-tooltip { bottom: 4px; left: calc(100% + 10px); }
.chip-4 .chip-tooltip::before { bottom: 11px; left: -12px; border-right-color: #1A1A2E; }

.tt-title { font-weight: 700; font-size: 10.5px; margin-bottom: 5px; }
.tt-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tt-tag { background: rgba(255,255,255,0.1); border-radius: 4px; padding: 2px 7px; font-size: 8px; color: rgba(255,255,255,0.8); }
.tt-stat { font-size: 8px; color: rgba(255,255,255,0.45); margin-top: 5px; }

/* ── SKILLS TICKER ───────────────────────────────────────── */
.skills-ticker {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
}
.ticker-track { display: flex; animation: ticker 35s linear infinite; width: max-content; }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px; font-family: var(--mono);
  font-size: 0.68rem; font-weight: 700; color: var(--text3);
  letter-spacing: 0.05em; text-transform: uppercase;
  border-right: 1px solid var(--border); white-space: nowrap;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@keyframes ticker { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ── STAT CARDS ──────────────────────────────────────────── */
.stats-row { display: flex; gap: 16px; padding: 40px 5% 20px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.stat-card {
  flex: 1; min-width: 110px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.25s;
}
.stat-card:hover { border-color: rgba(192,57,43,0.25); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.stat-num { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--accent); display: block; }
.stat-lbl { font-size: 0.75rem; color: var(--text3); margin-top: 5px; line-height: 1.35; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about-bio { font-size: 0.9rem; color: var(--text2); line-height: 1.8; margin-bottom: 14px; }
.about-bio strong { color: var(--text); font-weight: 600; }

.about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.about-list li { display: flex; align-items: center; gap: 14px; font-size: 0.88rem; color: var(--text2); }
.list-icon {
  width: 36px; height: 36px;
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.about-list li strong { color: var(--text); font-weight: 600; }

/* About visual panel */
.about-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-header { background: #1A1A2E; padding: 11px 14px; display: flex; align-items: center; gap: 5px; }
.panel-title { font-family: var(--mono); font-size: 7px; color: rgba(255,255,255,0.3); margin-left: 6px; letter-spacing: 0.04em; }
.panel-code { background: #1e1e30; padding: 16px 14px; }
.panel-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.panel-stat { padding: 14px 12px; text-align: center; border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
.panel-stat:last-child { border-right: none; }
.ps-num { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--accent); display: block; }
.ps-lbl { font-size: 0.68rem; color: var(--text3); margin-top: 2px; line-height: 1.3; }
.panel-avail { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-top: 1px solid var(--border); background: #FAFAF8; }
.pa-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse-dot 2s ease infinite; flex-shrink: 0; }
.pa-text { font-size: 0.76rem; color: var(--text2); }
.pa-text strong { color: var(--accent); }

/* ── CV DOWNLOAD STRIP ───────────────────────────────────── */
.cv-strip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-top: 32px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.cv-left { display: flex; align-items: center; gap: 13px; }
.cv-icon {
  width: 42px; height: 42px;
  background: rgba(192,57,43,0.09);
  border: 1px solid rgba(192,57,43,0.18);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.cv-label { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.cv-sub { font-size: 0.73rem; color: var(--text3); margin-top: 2px; }
.cv-btns { display: flex; gap: 9px; flex-wrap: wrap; }
.cv-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 10px;
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; font-family: var(--font);
  text-decoration: none;
}
.cv-btn-en { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.cv-btn-en:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }
.cv-btn-fr { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.cv-btn-fr:hover { border-color: var(--accent); color: var(--accent); }

/* ── SERVICE GRID ────────────────────────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; margin-top: 16px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); transition: all 0.25s;
}
.service-card:hover { border-color: rgba(192,57,43,0.25); transform: translateY(-4px); }
.svc-icon { width: 40px; height: 40px; background: rgba(192,57,43,0.07); border: 1px solid rgba(192,57,43,0.14); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 13px; }
.svc-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.svc-desc { font-size: 0.78rem; color: var(--text3); line-height: 1.6; }

/* ── PROJECT CARDS ───────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 18px; }
.project-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.25s;
  display: flex; flex-direction: column;
}
.project-card:hover { border-color: rgba(192,57,43,0.25); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.project-banner { height: 130px; background: var(--bg3); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(192,57,43,0.08) 0%, transparent 70%); }
.project-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tag { padding: 3px 10px; background: rgba(192,57,43,0.07); border: 1px solid rgba(192,57,43,0.16); border-radius: 99px; font-size: 0.68rem; font-weight: 700; color: var(--accent); font-family: var(--mono); }
.project-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.project-desc { font-size: 0.85rem; color: var(--text2); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.project-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.project-link { font-size: 0.8rem; font-weight: 700; color: var(--accent); font-family: var(--mono); display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s; text-decoration: none; }
.project-link:hover { gap: 9px; }
.status-live { color: #16a34a; font-size: 0.72rem; font-weight: 700; font-family: var(--mono); }
.status-wip  { color: #ca8a04; font-size: 0.72rem; font-weight: 700; font-family: var(--mono); }

.proj-cat-label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text3);
  margin: 52px 0 18px; display: flex; align-items: center; gap: 12px;
}
.proj-cat-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); max-width: 1200px; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--bg3); border-top: 1px solid var(--border); padding: 24px 5%; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand { font-weight: 800; font-size: 0.95rem; }
.footer-brand span { color: var(--accent); }
.footer-note { font-size: 0.78rem; color: var(--text3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.78rem; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-visual { order: -1; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-btns { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .vis-wrap { width: 280px; height: 340px; }
  .orbit-1 { width: 262px; height: 262px; }
  .orbit-2 { width: 290px; height: 290px; }
  .code-card { width: 210px; }
}
@media (max-width: 640px) {
  .nav-link { display: none; }
  .nav-link.mobile-show { display: block; }
  .stats-row { flex-direction: column; gap: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cv-strip { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONS — Announce bar, Photo card, Co-boxes, Sticky CTA
═══════════════════════════════════════════════════════════ */

/* ── ANNOUNCE BAR ────────────────────────────────────────── */
.announce-bar {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 5%;
  font-size: 0.76rem;
  font-weight: 600;
}
.ab-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 4px;
}
.ab-sep { color: rgba(255,255,255,0.18); }
.ab-loc { color: rgba(255,255,255,0.5); font-size: 0.72rem; }
.ab-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: 0.69rem;
  font-weight: 700;
}
.ab-pill-red  { background: rgba(192,57,43,0.22); color: #ff8a7a; border: 1px solid rgba(192,57,43,0.32); }
.ab-pill-teal { background: rgba(8,145,178,0.2);  color: #4dd8ed; border: 1px solid rgba(8,145,178,0.32); }
.ab-pill-gray { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.58); border: 1px solid rgba(255,255,255,0.13); }

/* ── PHOTO CARD ──────────────────────────────────────────── */
.photo-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 200px; height: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14), 0 4px 16px rgba(192,57,43,0.08);
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.35s, box-shadow 0.35s;
}
.photo-card:hover { transform: translate(-50%,-55%); box-shadow: 0 32px 80px rgba(0,0,0,0.18); }
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.exp-badge {
  position: absolute;
  bottom: 14px; right: -14px;
  background: var(--accent); color: #fff;
  font-size: 0.62rem; font-weight: 800;
  padding: 5px 12px; border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(192,57,43,0.4);
  font-family: var(--mono); letter-spacing: 0.03em;
}

/* ── COMPANY BOXES ───────────────────────────────────────── */
.co-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 18px 0;
}
.co-box {
  display: flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.co-box:hover { border-color: rgba(192,57,43,0.22); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.co-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.co-name { font-size: 0.78rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.co-meta { font-size: 0.63rem; color: var(--text3); margin-top: 1px; }

/* ── SKILL TAGS ──────────────────────────────────────────── */
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.skill-tag {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 99px;
  font-size: 0.66rem; font-weight: 700;
  border: 1px solid transparent;
}
.tag-indigo { background: rgba(99,102,241,0.08); color: #4f46e5; border-color: rgba(99,102,241,0.2); }
.tag-teal   { background: rgba(8,145,178,0.08);  color: #0891b2; border-color: rgba(8,145,178,0.2); }
.tag-purple { background: rgba(124,58,237,0.08); color: #7c3aed; border-color: rgba(124,58,237,0.2); }
.tag-rose   { background: rgba(225,29,72,0.07);  color: #e11d48; border-color: rgba(225,29,72,0.18); }

/* ── PIVOT BADGE ─────────────────────────────────────────── */
.pivot-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.18);
  border-radius: 99px; padding: 6px 14px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); font-family: var(--mono);
  margin-bottom: 14px;
}

.fast-scan {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 14px 0 16px;
}
.fast-scan-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.fast-scan-k {
  display: block;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.fast-scan-v {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

/* ── STICKY CTA ──────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(192,57,43,0.22);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(192,57,43,0.1);
  text-decoration: none; color: var(--text);
  transition: all 0.22s;
}
.sticky-cta:hover {
  background: var(--accent); color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(192,57,43,0.35);
}
.sticky-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.22);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}
.sticky-text { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-text strong { font-size: 0.78rem; font-weight: 700; }
.sticky-sub { font-size: 0.65rem; color: var(--text3); margin-top: 1px; }
.sticky-cta:hover .sticky-sub { color: rgba(255,255,255,0.75); }
.sticky-arrow { font-size: 0.9rem; font-weight: 700; transition: transform 0.2s; }
.sticky-cta:hover .sticky-arrow { transform: translateX(4px); }

/* ── RESPONSIVE ADDITIONS ────────────────────────────────── */
@media (max-width: 768px) {
  .announce-bar { gap: 5px; padding: 8px 4%; }
  .ab-loc { display: none; }
  .co-boxes { grid-template-columns: 1fr; }
  .fast-scan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta { right: 12px; bottom: 12px; }
  .sticky-sub { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   V2 ENHANCEMENTS — Dark mode, animations, interactions
═══════════════════════════════════════════════════════════ */

/* ── SECONDARY ACCENT ────────────────────────────────────── */
:root {
  --accent2:    #0891B2;
  --accent2-bg: rgba(8,145,178,0.08);
}

/* ── DARK MODE ────────────────────────────────────────────── */
html.dark {
  --bg:     #1A1A1A;
  --bg2:    #242424;
  --bg3:    #202020;
  --accent: #E06050;
  --text:   #F0EDE8;
  --text2:  #A8A09A;
  --text3:  #6B6460;
  --border: rgba(255,255,255,0.08);
  --card:   #242424;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}
html.dark body         { background: #1A1A1A; }
html.dark .site-nav    { background: rgba(20,20,20,0.97); }
html.dark .announce-bar{ background: #0D0D0D; }
html.dark .skills-ticker{ background: #1E1E1E; }
html.dark .panel-avail { background: #1E1E1E; }
html.dark .sticky-cta  { background: #242424; border-color: rgba(224,96,80,0.3); }
html.dark .site-footer { background: #141414; }
html.dark .footer-bottom-bar { background: #101010; }

/* ── DARK MODE TOGGLE ─────────────────────────────────────── */
.dark-toggle {
  width: 34px; height: 34px; border-radius: 99px;
  background: var(--bg3); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  margin-left: 6px; flex-shrink: 0;
}
.dark-toggle:hover { background: var(--accent); border-color: transparent; transform: rotate(15deg); }
.dark-icon  { display: none; }
.light-icon { display: block; }
html.dark .dark-icon  { display: block; }
html.dark .light-icon { display: none; }

/* ── SECTION VARIATION ───────────────────────────────────── */
.section-band {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0;
  animation: fade-in-scroll 0.8s 1.8s ease forwards;
  z-index: 5;
  pointer-events: none;
}
.scroll-indicator-text {
  font-family: var(--mono); font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text3);
}
.scroll-indicator-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes fade-in-scroll {
  from { opacity:0; transform:translateX(-50%) translateY(8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
@keyframes scroll-pulse { 0%,100%{opacity:0.25;} 50%{opacity:1;} }
@media (max-width: 900px) { .scroll-indicator { display: none; } }

/* ── HERO TITLE FADE-UP ANIMATION ────────────────────────── */
.hero-title-animate {
  opacity: 0;
  animation: hero-fade-up 0.75s 0.25s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hero-fade-up {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── ENHANCED BUTTON PRIMARY HOVER ───────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #C84040 100%);
}
.btn-primary:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(192,57,43,0.38);
  color: #fff;
}

/* ── NAV LINK UNDERLINE SLIDE-IN ─────────────────────────── */
.nav-link { position: relative; overflow: hidden; }
.nav-link::after {
  content: ''; position: absolute;
  left: 14px; bottom: 6px;
  width: 0; height: 2px;
  background: var(--accent); border-radius: 99px;
  transition: width 0.22s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 28px); }
.nav-cta::after { display: none; }

/* ── TAG HOVER ───────────────────────────────────────────── */
.skill-tag, .project-tag {
  transition: filter 0.18s, transform 0.18s, background 0.18s;
  cursor: default;
}
.skill-tag:hover    { filter: brightness(1.12); transform: translateY(-2px); }
.project-tag:hover  { filter: brightness(1.1);  transform: translateY(-1px); }

/* ── SERVICE CARD CATEGORY BORDER-TOP ─────────────────────── */
.service-card { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service-card:hover { transform: translateY(-6px) !important; box-shadow: 0 18px 44px rgba(0,0,0,0.1) !important; }
.svc-card-web    { border-top: 3px solid #2563EB; }
.svc-card-api    { border-top: 3px solid var(--accent); }
.svc-card-data   { border-top: 3px solid #16A34A; }
.svc-card-ai     { border-top: 3px solid #9333EA; }
.svc-card-cloud  { border-top: 3px solid var(--accent2); }
.svc-card-devops { border-top: 3px solid #CA8A04; }

/* ── STAT CARD COLORED TOP BORDERS ──────────────────────── */
.stat-card {
  border-top: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.stat-card:nth-child(1) { border-top-color: var(--accent); }
.stat-card:nth-child(2) { border-top-color: #2563EB; }
.stat-card:nth-child(3) { border-top-color: var(--accent2); }
.stat-card:nth-child(4) { border-top-color: #9333EA; }

/* ── EXPANDED FOOTER ─────────────────────────────────────── */
.site-footer { padding: 0; }
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 5% 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.footer-col-brand .footer-brand { font-size: 1.05rem; margin-bottom: 4px; }
.footer-tagline {
  font-size: 0.78rem; color: var(--text3);
  line-height: 1.65; max-width: 210px; margin-top: 8px;
}
.footer-col-nav h4,
.footer-col-social h4 {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 12px; font-family: var(--mono);
}
.footer-col-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-col-nav a {
  font-size: 0.82rem; color: var(--text2);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col-nav a:hover { color: var(--accent); padding-left: 4px; }
.footer-social-list { display: flex; flex-direction: column; gap: 9px; }
.footer-social-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text2);
  transition: color 0.2s;
}
.footer-social-item:hover { color: var(--accent); }
.footer-social-icon-wrap {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social-item:hover .footer-social-icon-wrap {
  background: var(--accent); border-color: transparent;
}
.footer-bottom-bar {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
}
.footer-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 5%;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 0.72rem; color: var(--text3); }
.back-to-top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; color: var(--text3);
  font-family: var(--mono); letter-spacing: 0.04em;
  cursor: pointer; border: 1px solid var(--border);
  background: none; border-radius: 8px;
  padding: 6px 12px; transition: color 0.2s, border-color 0.2s;
}
.back-to-top:hover { color: var(--accent); border-color: var(--accent); }

/* ── CONTACT FORM (mailto) ────────────────────────────────── */
.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  margin-top: 32px; box-shadow: var(--shadow);
}
.contact-form-title {
  font-size: 1rem; font-weight: 800; color: var(--text);
  margin-bottom: 20px;
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-full { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 0.72rem; font-weight: 700; color: var(--text2); font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.cf-field input,
.cf-field textarea,
.cf-field select {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-family: var(--font); font-size: 0.88rem; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.cf-field textarea { resize: vertical; min-height: 100px; }
.cf-submit { margin-top: 8px; }
@media (max-width: 600px) { .cf-grid { grid-template-columns: 1fr; } }

.contact-fallback-note {
  font-size: 0.74rem;
  color: var(--text3);
  line-height: 1.6;
  margin: 12px 0 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.testimonial-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.testimonial-mark {
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 4rem;
  color: rgba(192,57,43,0.12);
  font-weight: 800;
  line-height: 1;
}
.testimonial-card p {
  position: relative;
  font-size: 0.86rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 0 0 16px;
}
.testimonial-source {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
}

.privacy-page .sec-sub { max-width: 720px; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.privacy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.privacy-card h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.privacy-card p {
  font-size: 0.84rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}
.privacy-card a { color: var(--accent); font-weight: 700; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0 34px;
}
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.case-card:nth-child(2) { border-top-color: #0891b2; }
.case-card:nth-child(3) { border-top-color: #2563EB; }
.case-label {
  font-size: 0.62rem;
  font-family: var(--mono);
  font-weight: 800;
  color: var(--text3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.case-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.case-flow { display: grid; gap: 9px; }
.case-flow div { border-left: 2px solid var(--border); padding-left: 10px; }
.case-flow strong {
  display: block;
  font-size: 0.66rem;
  font-family: var(--mono);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.case-flow span {
  display: block;
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.55;
}
.evidence-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 0 0 40px;
}
.evidence-copy strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}
.evidence-copy span { font-size: 0.78rem; color: var(--text3); }
.evidence-links { display: flex; gap: 8px; flex-wrap: wrap; }
.evidence-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--mono);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.evidence-link:hover {
  color: var(--accent);
  border-color: rgba(192,57,43,0.25);
  transform: translateY(-1px);
}

/* ── RESPONSIVE FOOTER V2 ────────────────────────────────── */
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 28px 5% 16px; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── HERO POSITION FOR SCROLL INDICATOR ──────────────────── */
.hero { position: relative; }

/* ── COMPANY LOGO BADGES (Experience page) ───────────────── */
.comp-logo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 9px; margin: 4px 0 12px;
  font-size: 0.73rem; font-weight: 700;
  border: 1px solid transparent; letter-spacing: 0.01em;
}
.comp-logo-icon {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
.logo-boa  { background: rgba(227,24,55,0.07);  color: #C01020; border-color: rgba(227,24,55,0.18); }
.logo-boa  .comp-logo-icon { background: #E31837; }
.logo-cgn  { background: rgba(0,51,160,0.07);   color: #0033A0; border-color: rgba(0,51,160,0.18); }
.logo-cgn  .comp-logo-icon { background: #0033A0; }
.logo-lti  { background: rgba(0,122,77,0.07);   color: #007A4D; border-color: rgba(0,122,77,0.18); }
.logo-lti  .comp-logo-icon { background: #007A4D; }

/* Extended stat-card nth-child colors for 5th and 6th cards */
.stat-card:nth-child(5) { border-top-color: var(--accent2); }
.stat-card:nth-child(6) { border-top-color: #9333EA; }

/* 6-card stats row — keep compact on wide screens, wrap cleanly on mobile */
.stats-row { flex-wrap: wrap; }
.stats-row .stat-card { min-width: 100px; flex: 1 1 120px; }
