:root {
  --paper: #faf8f3;
  --canvas: #ebe8e0;
  --ink: #1d2522;
  --muted: #6c736e;
  --teal: #1f8a76;
  --coral: #ee7650;
  --gold: #f2af36;
  --blue: #4f93d4;
  --line: rgba(29,37,34,.12);
  --chip: #f0ede3;
  --chip-bd: rgba(29,37,34,.12);
  --shadow-sm: 0 2px 8px rgba(40,46,42,.08);
  --shadow-md: 0 8px 32px -8px rgba(40,46,42,.22);
}
html[data-theme="dark"] {
  --paper: #1c1c1f;
  --canvas: #0e0e10;
  --ink: #f1efe9;
  --muted: #a6a39b;
  --teal: #37b39b;
  --coral: #f48a66;
  --gold: #f6c052;
  --blue: #6aa9e0;
  --line: rgba(241,239,233,.13);
  --chip: #27272a;
  --chip-bd: rgba(241,239,233,.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 32px -8px rgba(0,0,0,.5);
}
html[data-mono="on"] {
  --m-black: #111;
  --m-body: #2d2d2d;
  --m-org: #6e6e6e;
  --m-date: #9c9c9c;
  --m-hair: #d8d8d8;
  --m-shape: #e7e7e7;
  --m-stroke: #1a1a1a;
  --paper: #fff;
  --canvas: #e9e9e7;
  --ink: var(--m-body);
  --muted: var(--m-date);
  --line: var(--m-hair);
  --chip: #fff;
  --chip-bd: #cfcfcf;
}
html[data-theme="dark"][data-mono="on"] {
  --m-black: #f5f5f5;
  --m-body: #d6d6d6;
  --m-org: #969696;
  --m-date: #6f6f6f;
  --m-hair: #3a3a3a;
  --m-shape: #262626;
  --m-stroke: #ededed;
  --paper: #151515;
  --canvas: #000;
  --ink: var(--m-body);
  --muted: var(--m-date);
  --line: var(--m-hair);
  --chip: #151515;
  --chip-bd: #3f3f3f;
}

html[data-mono="on"] h1 { color: var(--m-black); }
html[data-mono="on"] .eyebrow { color: var(--m-org); }
html[data-mono="on"] .role { color: var(--m-body); font-weight: 600; }
html[data-mono="on"] .sec-title { color: var(--m-black); }
html[data-mono="on"] .sec-title::before { background: var(--m-black); }
html[data-mono="on"] .entry-role { color: var(--m-black); }
html[data-mono="on"] .entry-org { color: var(--m-org); }
html[data-mono="on"] .entry-date { color: var(--m-date); }
html[data-mono="on"] .entry-list li { color: var(--m-body); }
html[data-mono="on"] .entry-list li::before { background: var(--m-date); opacity: 1; }
html[data-mono="on"] .entry::before { background: var(--m-hair); }
html[data-mono="on"] .entry::after { background: var(--m-black); }
html[data-mono="on"] .kv-row .k { color: var(--m-black); }
html[data-mono="on"] .kv-row .v { color: var(--m-org); }
html[data-mono="on"] .ilist li { color: var(--m-body); }
html[data-mono="on"] .ilist li::before { background: var(--m-black); }


html[data-mono="on"] .cpill { background: var(--chip); border-color: var(--chip-bd); color: var(--m-body); }
html[data-mono="on"] .tag-group-label { color: var(--m-org); }
html[data-mono="on"] .tag-group .tag { border-color: var(--chip-bd); }
html[data-mono="on"] .cpill svg { color: var(--m-black); }
html[data-mono="on"] .tag { background: var(--chip); border-color: var(--chip-bd); color: var(--m-body); }
html[data-mono="on"] .ticks i:nth-child(1) { background: var(--m-black); }
html[data-mono="on"] .ticks i:nth-child(2) { background: var(--m-org); }
html[data-mono="on"] .ticks i:nth-child(3) { background: var(--m-date); }
html[data-mono="on"] .ticks i:nth-child(4) { background: var(--m-hair); }
html[data-mono="on"] .avatar { filter: grayscale(1); }
html[data-mono="on"] .proj-entry::before { background: var(--m-hair); }
html[data-mono="on"] .proj-entry::after { background: var(--m-black); }
html[data-mono="on"] .proj-status { color: var(--m-org); }
html[data-mono="on"] .sn-bar.active { background: var(--m-black) !important; }
html[data-mono="on"] .fab-primary { background: var(--m-black); color: var(--paper); }
html[data-theme="dark"][data-mono="on"] .fab-primary { background: var(--m-stroke); color: var(--canvas); }
html[data-mono="on"] .dec { background: var(--m-shape) !important; }
html[data-mono="on"] .hero-deco span { border-color: var(--m-shape) !important; background: transparent !important; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background .3s ease, color .3s ease;
}
body, body * { cursor: default; }
a, a *, button, button * { cursor: pointer; }

.sidenav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 12px;
  display: none;
  flex-direction: column;
  z-index: 100;
}
@media (max-width: 600px) {
  .sidenav { display: flex; }
}
.sn-bar {
  flex: 1;
  background: var(--line);
  transition: background .35s ease, width .2s ease;
  text-decoration: none;
  display: block;
  position: relative;
}
.sn-bar.active {
  background: var(--c, var(--teal));
}
@media (hover: hover) {
  .sn-bar:hover {
    width: 18px;
  }
  .sn-bar::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, .82);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 10;
  }
  .sn-bar:hover::after {
    opacity: 1;
  }
}

.page { margin-left: 0; }
@media (max-width: 600px) {
  .page { margin-left: 6px; }
}
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  background: var(--canvas);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.hero-inner {
  display: flex;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.photo-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 130px;
  height: 130px;
}
.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--canvas), 0 0 0 8px var(--teal);
  transition: box-shadow .3s ease;
}
.dec {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.dec-coral {
  width: 52px;
  height: 52px;
  background: var(--coral);
  top: -10px;
  left: -14px;
  opacity: .88;
  z-index: 1;
}
.dec-gold {
  width: 22px;
  height: 22px;
  background: var(--gold);
  bottom: -4px;
  right: -4px;
  z-index: 1;
}
.dec-diamond {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--blue);
  top: 2px;
  right: -6px;
  transform: rotate(45deg);
  z-index: 1;
}

.hero-info { flex: 1 1 auto; min-width: 0; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: .01em;
}
.role {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .01em;
}
.ticks {
  display: flex;
  gap: 6px;
  margin: 16px 0 20px;
  max-width: 300px;
}
.ticks i {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  display: block;
}
.ticks i:nth-child(1) { background: var(--teal); }
.ticks i:nth-child(2) { background: var(--coral); }
.ticks i:nth-child(3) { background: var(--gold); }
.ticks i:nth-child(4) { background: var(--blue); }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cpill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--chip-bd);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.cpill:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}
.cpill svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex: 0 0 auto;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-deco span { position: absolute; display: block; border-radius: 50%; }
.d-ring {
  width: 320px;
  height: 320px;
  border: 40px solid var(--blue);
  opacity: .1;
  bottom: -160px;
  right: -80px;
  background: transparent;
}
.d-arc {
  width: 480px;
  height: 480px;
  border: 56px solid var(--gold);
  opacity: .09;
  bottom: -280px;
  right: -160px;
  background: transparent;
}
.d-blob {
  width: 200px;
  height: 200px;
  background: var(--teal);
  opacity: .07;
  top: -80px;
  right: 40%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 56px;
  padding: 56px 0 72px;
  align-items: start;
}
.content-main { display: flex; flex-direction: column; gap: 48px; }
.content-aside { display: flex; flex-direction: column; gap: 40px; }
.snap-group { display: contents; }

.sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.sec-title::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent, var(--teal));
  flex: 0 0 auto;
}

.entry {
  position: relative;
  padding-left: 18px;
}
.entry + .entry { margin-top: 24px; }
.entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.entry::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  left: -3px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
  border: 2px solid var(--paper);
  transition: border-color .3s ease;
}
.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.entry-role {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -.005em;
}
.entry-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.entry-org {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent, var(--teal));
  margin-top: 3px;
}
.entry-list {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.entry-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
}
.entry-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  background: var(--chip);
  border: 1px solid var(--chip-bd);
  padding: 4px 10px;
  border-radius: 6px;
  transition: transform .15s ease, border-color .2s ease;
}
.tag:hover {
  transform: translateY(-1px);
  border-color: var(--accent, var(--teal));
}

.tag-group { margin-top: 14px; }
.tag-group:first-of-type { margin-top: 0; }
.tag-group-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tag-color, var(--teal));
  margin-bottom: 6px;
}
.tag-group[data-cat="dev"]    { --tag-color: var(--teal); }
.tag-group[data-cat="devops"] { --tag-color: var(--coral); }
.tag-group[data-cat="obs"]    { --tag-color: var(--blue); }
.tag-group[data-cat="sys"]    { --tag-color: var(--gold); }
.tag-group .tag { border-color: color-mix(in srgb, var(--tag-color) 25%, var(--chip-bd)); }
.tag-group .tag:hover { border-color: var(--tag-color); }

.kv { display: flex; flex-direction: column; gap: 8px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.kv-row .k { font-weight: 600; color: var(--ink); }
.kv-row .v {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.ilist { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ilist li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink);
}
.ilist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent, var(--teal));
  transform: rotate(45deg);
}

.perso {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.perso-row { display: flex; gap: 16px; flex-wrap: wrap; }

.proj-entry { padding-left: 18px; position: relative; }
.proj-entry + .proj-entry { margin-top: 20px; }
.proj-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.proj-entry::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  left: -3px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--blue));
  border: 2px solid var(--paper);
}
.proj-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.proj-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent, var(--blue));
  margin-top: 2px;
}
.proj-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.fab-bar {
  position: fixed;
  bottom: 24px;
  right: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 200;
}
.fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(12, 12, 14, .84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f0ede8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, .5);
}
.fab-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .55);
}
.fab-btn:active { transform: translateY(0); }
.fab-btn svg { width: 17px; height: 17px; display: block; }
.fab-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .35);
}
.fab-primary {
  background: var(--teal);
  border-color: transparent;
  color: #fff;
  width: 50px;
  height: 50px;
}
.fab-primary svg { width: 19px; height: 19px; }
html[data-theme="light"] .fab-btn:not(.fab-primary) {
  background: rgba(20, 22, 20, .80);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 32px 28px 26px;
  max-width: 420px;
  width: calc(100% - 48px);
  box-shadow: 0 32px 80px -16px rgba(0,0,0,.55), 0 2px 10px rgba(0,0,0,.18);
  transform: translateY(14px) scale(.97);
  transition: transform .22s ease;
  position: relative;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.modal-close:hover { color: var(--ink); background: var(--chip); }
.modal-close svg { width: 18px; height: 18px; display: block; }
.modal-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(238,118,80,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.modal-icon svg { width: 22px; height: 22px; color: var(--coral); }
.modal h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
}
.modal p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-actions button {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--chip-bd);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.modal-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px rgba(40,46,42,.25);
}
.btn-light { background: var(--teal); color: #fff; border-color: transparent; }
.btn-light svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-continue { background: var(--paper); color: var(--ink); }

@media (max-width: 860px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 0 56px;
  }
  .content-main { gap: 40px; }
  .content-aside {
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .sidenav { width: 6px; }
  .container { padding: 0 18px; }
  .hero { padding: 52px 0 44px; }
  .hero-inner { flex-direction: column; gap: 28px; align-items: flex-start; }
  .photo-wrap { width: 150px; height: 150px; }
  h1 { font-size: 28px; }
  .role { font-size: 15px; }
  .ticks { max-width: 220px; }
  .fab-bar { bottom: 18px; right: 14px; gap: 8px; }
  .fab-btn { width: 40px; height: 40px; }
  .fab-primary { width: 46px; height: 46px; }
}
@media (max-width: 400px) {
  h1 { font-size: 24px; }
  .cpill { font-size: 11px; padding: 5px 9px; }
}

@media (max-width: 600px) {
  html { scroll-snap-type: y mandatory; }

  #contact,
  #experiences, #formations,
  #stack, #langues {
    scroll-snap-align: start;
    min-height: 100vh;
    min-height: 100dvh;
  }

  #contact {
    display: flex;
    flex-direction: column;
  }
  #contact .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  #experiences, #formations {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 44px;
    padding-bottom: 90px;
  }

  #stack, #langues {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 90px;
  }

  .sn-bar[data-section="projets"],
  .sn-bar[data-section="interets"],
  .sn-bar[data-section="personnalite"] { display: none; }

  .sn-bar { background: var(--c, var(--teal)); opacity: 0.28; transition: opacity .35s ease, width .2s ease; }
  .sn-bar.active { opacity: 1; }

  .sn-bar[data-section="stack"],
  .sn-bar[data-section="stack"].active {
    background: linear-gradient(
      165deg,
      var(--teal)  calc(50% - 1px),
      var(--paper) calc(50% - 1px),
      var(--paper) calc(50% + 1px),
      var(--blue)  calc(50% + 1px)
    );
  }

  .sn-bar[data-section="langues"],
  .sn-bar[data-section="langues"].active {
    background: linear-gradient(
      165deg,
      var(--gold)  calc(33% - 1px),
      var(--paper) calc(33% - 1px),
      var(--paper) calc(33% + 1px),
      var(--coral) calc(33% + 1px),
      var(--coral) calc(66% - 1px),
      var(--paper) calc(66% - 1px),
      var(--paper) calc(66% + 1px),
      var(--teal)  calc(66% + 1px)
    );
  }

  #contact .contact {
    flex-direction: column;
    gap: 8px;
  }
  #contact .cpill {
    width: 100%;
    justify-content: center;
  }

  .content-grid { padding: 0; }
  .content-main { gap: 0; }
  .content-aside { gap: 0; margin-top: 0; padding-top: 0; border-top: none; }
}

.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
@media (max-width: 860px) { .bg-deco { display: none; } }
.bg-shape { position: absolute; display: block; }

.s1  { width: 320px; height: 320px; border-radius: 50%; border: 40px solid var(--gold); background: transparent; opacity: .10; top: 4vh; left: 3%; }
.s12 { width: 28px; height: 160px; background: var(--gold); opacity: .10; top: 8vh; left: 22%; transform: rotate(-26deg); border-radius: 50px; }
.s9  { width: 80px; height: 80px; background: var(--coral); opacity: .09; top: 14vh; left: 40%;
       clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.s2  { width: 140px; height: 70px; background: var(--coral); opacity: .09; top: 6vh; right: 8%;
       border-radius: 0 0 140px 140px; }
.s3  { width: 66px; height: 66px; background: var(--blue); opacity: .10; top: 16vh; right: 27%;
       clip-path: polygon(33% 0%, 67% 0%, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0% 67%, 0% 33%, 33% 33%); }
.s5  { width: 210px; height: 210px; border-radius: 50%; border: 28px solid var(--coral); background: transparent; opacity: .09; top: 38vh; left: 5%; }
.s6  { width: 80px; height: 80px; background: var(--gold); opacity: .10; top: 54vh; left: 28%;
       clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
.s8  { width: 36px; height: 210px; background: var(--blue); opacity: .07; top: 42vh; left: 50%; transform: rotate(17deg); border-radius: 4px; }
.s10 { width: 90px; height: 90px; background: var(--gold); opacity: .08; top: 62vh; left: 62%;
       clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.s7  { width: 120px; height: 120px; background: var(--teal); opacity: .08; top: 46vh; right: 5%;
       clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.s11 { width: 130px; height: 130px; background: var(--blue); opacity: .08; bottom: 12vh; left: 12%;
       clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
.s4  { width: 360px; height: 360px; border-radius: 50%; border: 46px solid var(--teal); background: transparent; opacity: .09; bottom: 2vh; right: 8%; }

html[data-mono="on"] .bg-shape {
  background-color: var(--m-shape) !important;
  border-color: var(--m-shape) !important;
  opacity: .06;
}

.cv-print { display: none; }

@media print {
  @page { size: A4; margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; transition: none !important; animation: none !important; }

  .sidenav, .fab-bar, .modal-overlay, .page, .bg-deco { display: none !important; }
  .cv-print { display: block !important; }
  body { background: var(--paper); margin: 0; padding: 0; }

  .cv-print .stage { padding: 0; margin: 0; display: block; }
  .cv-print .sheet {
    width: 210mm; height: 297mm; min-height: 0; box-shadow: none;
    background: var(--paper); position: relative; overflow: hidden;
    display: flex; flex-direction: column;
  }

  .cv-print .deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .cv-print .deco span { position: absolute; display: block; }
  .cv-print .d-gold { width: 150px; height: 150px; border-radius: 50%; background: var(--gold); top: -44px; right: -34px; }
  .cv-print .d-coral { width: 58px; height: 58px; border-radius: 50%; background: var(--coral); top: 96px; right: -22px; }
  .cv-print .d-blue-sq { width: 30px; height: 30px; border-radius: 7px; background: var(--blue); top: 18px; right: 118px; transform: rotate(18deg); }
  .cv-print .d-ring { width: 168px; height: 168px; border-radius: 50%; border: 24px solid var(--blue); background: transparent; opacity: .16; bottom: 120px; right: -70px; }
  .cv-print .d-arc { width: 260px; height: 260px; border-radius: 50%; border: 34px solid var(--gold); background: transparent; opacity: .17; bottom: -128px; right: -92px; }
  .cv-print .d-teal-bl { width: 150px; height: 150px; border-radius: 50%; background: var(--teal); opacity: .12; bottom: -58px; left: -52px; }

  .cv-print .band { padding: 6mm 6mm 5mm; background: var(--canvas); position: relative; z-index: 1; }
  .cv-print .band-inner { display: flex; gap: 10mm; align-items: center; }

  .cv-print .photo-stage { position: relative; flex: 0 0 auto; width: 44mm; height: 44mm; display: flex; align-items: center; justify-content: center; }
  .cv-print .pc { position: absolute; border-radius: 50%; display: block; }
  .cv-print .pc-coral { width: 27mm; height: 27mm; background: var(--coral); top: -3mm; left: -4mm; opacity: .9; }
  .cv-print .pc-gold { width: 12mm; height: 12mm; background: var(--gold); bottom: -1mm; right: -1mm; }
  .cv-print .pc-diamond { width: 8mm; height: 8mm; border-radius: 2px; background: var(--blue); top: 2mm; right: -2mm; transform: rotate(45deg); }
  .cv-print .cv-avatar { position: relative; z-index: 2; width: 39mm; height: 39mm; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--teal); }
  .cv-print .idblock { flex: 1 1 auto; min-width: 0; }

  .cv-print h1 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 28px; line-height: 1.08; letter-spacing: .005em; color: var(--ink); text-transform: uppercase; }
  .cv-print .eyebrow { font-size: 11px; margin-bottom: 9px; }
  .cv-print .role { font-size: 16px; margin-top: 6px; }
  .cv-print .ticks { margin: 13px 0 15px; max-width: 330px; }
  .cv-print .contact { gap: 7px 8px; margin-top: 0; }
  .cv-print .cpill { font-size: 11.5px; padding: 5px 10px; border-radius: 7px; box-shadow: none; }
  .cv-print .cpill svg { width: 13px; height: 13px; }

  .cv-print .body { flex: 1 1 auto; padding: 3.5mm 6mm 6mm; display: grid; grid-template-columns: 1.62fr 1fr; gap: 10mm; position: relative; z-index: 1; }

  .cv-print .sec-title { font-size: 14.5px; letter-spacing: .03em; margin-bottom: 9px; gap: 9px; }
  .cv-print .sec-title::before { width: 13px; height: 13px; border-radius: 4px; }
  .cv-print .block + .block { margin-top: 4.5mm; }

  .cv-print .entry { padding-left: 15px; }
  .cv-print .entry + .entry { margin-top: 3mm; }
  .cv-print .entry-role { font-size: 14.5px; }
  .cv-print .entry-date { font-size: 10px; text-align: right; white-space: nowrap; }
  .cv-print .entry-org { font-size: 11px; margin-top: 2px; }
  .cv-print .entry-list { margin-top: 4px; gap: 1px; }
  .cv-print .entry-list li { font-size: 12px; line-height: 1.3; }
  .cv-print .entry-list li::before { left: 1px; top: 8px; width: 4px; height: 4px; }

  .cv-print .aside { display: flex; flex-direction: column; gap: 6mm; }
  .cv-print .aside .block + .block { margin-top: 0; }
  .cv-print .aside .entry-role { font-size: 13px; }

  .cv-print .tags { gap: 5px; }
  .cv-print .tag { font-size: 10.5px; padding: 2px 5px; border-radius: 6px; }

  .cv-print .kv { gap: 6px; }
  .cv-print .kv-row { font-size: 12.3px; }
  .cv-print .kv-row .v { font-size: 10.5px; }

  .cv-print .ilist { gap: 5px; }
  .cv-print .ilist li { font-size: 12.3px; padding-left: 15px; }
  .cv-print .ilist li::before { left: 0; top: 6px; width: 6px; height: 6px; border-radius: 2px; }

  .cv-print .perso { font-size: 13px; }
  .cv-print .perso-row { gap: 10px; }

  html[data-mono="on"] .cv-print .d-gold { background: transparent; border: 14px solid var(--m-shape); opacity: 1; }
  html[data-mono="on"] .cv-print .d-coral { background: transparent; border: 10px solid var(--m-shape); opacity: 1; }
  html[data-mono="on"] .cv-print .d-blue-sq { background: var(--m-shape); opacity: 1; }
  html[data-mono="on"] .cv-print .d-ring { border-width: 20px; border-color: var(--m-shape); opacity: .8; }
  html[data-mono="on"] .cv-print .d-arc { border-width: 26px; border-color: var(--m-shape); opacity: .7; }
  html[data-mono="on"] .cv-print .d-teal-bl { background: transparent; border: 14px solid var(--m-shape); opacity: .8; }
  html[data-mono="on"] .cv-print .pc-coral { background: transparent; border: 6px solid var(--m-shape); opacity: 1; }
  html[data-mono="on"] .cv-print .pc-gold { background: var(--m-shape); }
  html[data-mono="on"] .cv-print .pc-diamond { background: transparent; border: 4px solid var(--m-shape); }
  html[data-mono="on"] .cv-print .cv-avatar { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--m-stroke); filter: grayscale(1); }
}
