:root {
  --paper: #faf9f6;
  --ink: #30372f;
  --muted: #6d7067;
  --line: #e5e5dc;
  --orange: #f3865d;
  --purple: #dcd4f4;
  --blue: #c5ddf6;
  --yellow: #f4d875;
  --font: "DM Sans", sans-serif;
  --mono: "DM Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #4d6bc0;
  outline-offset: 6px;
}
button:disabled {
  cursor: default;
}
::selection {
  background: #f7d78c;
}
button[hidden],
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  height: 102px;
  padding: 0 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 22px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.identity small {
  display: block;
  font: 9px/1.9 var(--mono);
  letter-spacing: 1.3px;
  font-weight: 400;
  margin-top: 3px;
}
.monogram {
  font: italic 44px/0.9 var(--serif);
  letter-spacing: -5px;
  padding-right: 6px;
}
.monogram span {
  color: #cc6745;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #87a27f;
  border-radius: 50%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 500;
}
.contact-link span {
  margin-left: 6px;
}
.pdf-button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #d8d9ce;
  border-radius: 7px;
  padding: 10px 13px;
  background: #fffef9;
}
.pdf-label {
  font: 9px var(--mono);
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.pdf-button:hover {
  background: #eeeade;
}
.universe {
  position: relative;
  max-width: 1600px;
  margin: auto;
  overflow: hidden;
  background-image: radial-gradient(#a9aa942c 0.8px, transparent 0.8px);
  background-size: 22px 22px;
}
.intro {
  text-align: center;
  padding: 41px 20px 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1.7px;
}
.intro .eyebrow {
  margin: 0 0 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.tiny-star {
  color: #bd6346;
  font-size: 18px;
  line-height: 1;
}
h1 {
  font-size: clamp(45px, 5.2vw, 76px);
  letter-spacing: -3.9px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0;
}
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #a55b3b;
  letter-spacing: -2.5px;
}
.intro > p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin: 19px 0 0;
}
.map {
  position: relative;
  max-width: 1130px;
  height: 473px;
  margin: -6px auto 0;
}
.connections {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  pointer-events: none;
}
.connections path {
  stroke: #c9c8b9;
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
}
.connections circle {
  fill: #c9c8b9;
}
.world {
  position: absolute;
  width: 264px;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  isolation: isolate;
}
.world-experience {
  left: 4%;
  top: 13px;
}
.world-skills {
  right: 3%;
  top: 0;
}
.world-certs {
  left: 9%;
  top: 260px;
}
.world-projects {
  right: 5%;
  top: 255px;
}
.object {
  position: relative;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 163px;
  width: 224px;
}
.world:hover .object,
.world:focus-visible .object {
  transform: translateY(-10px) rotate(1deg);
}
.world-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.world-caption strong {
  font-size: 15px;
  font-weight: 600;
}
.world-number {
  font: 9px var(--mono);
  color: #7e8177;
}
.world-arrow {
  font-size: 17px;
  transition: transform 0.2s;
}
.world:hover .world-arrow {
  transform: translate(3px, -3px);
}
.world-description {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.folder {
  transform: rotate(-7deg);
  width: 220px;
  height: 151px;
  margin-top: 10px;
}
.folder-tab {
  position: absolute;
  width: 82px;
  height: 33px;
  border-radius: 11px 14px 0 0;
  background: #bba9e4;
  top: 0;
  left: 0;
}
.folder-paper {
  position: absolute;
  left: 14px;
  right: 12px;
  height: 126px;
  top: 10px;
  border: 1px solid #dddbd4;
  border-radius: 6px;
  background: #fffdf8;
  transform: rotate(5deg);
  padding: 12px 14px;
  box-shadow: 0 2px 4px #51454e08;
}
.folder-paper i {
  display: block;
  width: 60%;
  height: 3px;
  background: #e4e1d7;
  margin: 5px 0;
}
.folder-paper i:nth-child(2) {
  width: 40%;
}
.folder-paper span {
  position: absolute;
  right: 12px;
  top: 10px;
  font: 7px var(--mono);
  color: #8c817e;
}
.folder-front {
  position: absolute;
  inset: 30px 0 0;
  border: 1px solid #bdafe0;
  border-radius: 5px 10px 10px 10px;
  background: linear-gradient(120deg, #e4dbf7, #c9bce9);
  padding: 17px 19px;
  box-shadow: 0 12px 20px -13px #77638980;
}
.folder-front > span:first-child {
  font: 7px var(--mono);
  letter-spacing: 1px;
  color: #645579;
  display: block;
}
.folder-front strong {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  display: block;
  margin-top: 8px;
}
.folder-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 23px;
}
.object-badge {
  position: absolute;
  right: -21px;
  bottom: -12px;
  transform: rotate(12deg);
  background: #fffdf8;
  border: 1px solid #deddd4;
  font: 8px var(--mono);
  padding: 7px 10px;
  border-radius: 4px;
  box-shadow: 0 3px 7px #40402006;
}
.skill-object {
  height: 169px;
  width: 212px;
}
.skill-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #91b5db;
  width: 119px;
  height: 143px;
  box-shadow: 0 10px 14px -11px #4f6f9190;
  font-size: 27px;
  font-weight: 500;
  padding: 22px 16px;
  line-height: 1.4;
}
.skill-card > span:last-child {
  font: 6px/1.6 var(--mono);
  letter-spacing: 0.7px;
  margin-top: auto;
}
.card-back {
  left: -1px;
  top: 15px;
  transform: rotate(-19deg);
  background: #dcebf9;
  color: #5c779d;
  font-family: var(--mono);
}
.card-middle {
  left: 48px;
  top: 6px;
  transform: rotate(-3deg);
  background: #d4e5f9;
  color: #375b83;
}
.card-front {
  right: 0;
  top: 21px;
  transform: rotate(13deg);
  background: linear-gradient(140deg, #b8d6f6, #94bcea);
  color: #274a75;
  font-size: 24px;
  padding-top: 10px;
}
.cloud-icon {
  font-size: 32px;
  height: 39px;
  line-height: 1;
}
.skill-sticker {
  position: absolute;
  left: 7px;
  bottom: -7px;
  transform: rotate(-6deg);
  background: #fffdf9;
  padding: 5px 10px;
  font: 7px var(--mono);
  border: 1px solid #d4dcd8;
  border-radius: 4px;
}
.cert-object {
  width: 196px;
  height: 124px;
  transform: rotate(-7deg);
}
.cert-paper {
  position: absolute;
  inset: 0;
  background: #fffdf4;
  border: 1px solid #ded8bd;
  border-radius: 4px;
  padding: 14px 20px;
  box-shadow: 0 9px 18px -12px #867b4680;
}
.cert-paper > span:nth-child(2) {
  font-size: 9px;
  vertical-align: middle;
  margin-left: 4px;
}
.microsoft-mark {
  display: inline-grid;
  grid-template-columns: 6px 6px;
  gap: 1px;
  vertical-align: middle;
}
.microsoft-mark i {
  height: 6px;
  background: #bc9971;
}
.cert-paper strong {
  display: block;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-top: 8px;
}
.cert-lines {
  display: block;
  background: #e4deca;
  width: 71px;
  height: 3px;
  margin-top: 10px;
}
.medal {
  position: absolute;
  right: -25px;
  top: 20px;
  width: 71px;
  height: 71px;
  z-index: 1;
}
.medal > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  font-size: 56px;
  line-height: 1;
  background: #f4d271;
  color: #a47e2f;
  border-radius: 50%;
  border: 5px solid #ebc359;
  outline: 1px solid #e1b84f;
  box-shadow: 0 4px 8px #a0853630;
  z-index: 2;
}
.medal i {
  position: absolute;
  width: 25px;
  height: 48px;
  top: 52px;
  left: 8px;
  background: #edb950;
  transform: rotate(15deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.medal i:last-child {
  left: 37px;
  transform: rotate(-15deg);
}
.cert-count {
  position: absolute;
  left: -17px;
  bottom: -10px;
  display: grid;
  place-items: center;
  background: #f3d678;
  border: 1px solid #d1b65c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font: 17px var(--serif);
  transform: rotate(7deg);
}
.world-certs .world-caption {
  margin-top: 27px;
}
.project-object {
  height: 134px;
  width: 218px;
  transform: rotate(6deg);
}
.project-back {
  position: absolute;
  inset: 0;
  background: #f1c5b4;
  border: 1px solid #dcb19d;
  border-radius: 9px;
  transform: rotate(-9deg);
}
.project-window {
  position: absolute;
  inset: 0;
  background: #fff8ee;
  border: 1px solid #d8af96;
  border-radius: 8px;
  box-shadow: 0 10px 20px -12px #b0754990;
  overflow: hidden;
}
.window-chrome {
  height: 25px;
  background: #f8dfce;
  border-bottom: 1px solid #e9c8b3;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
}
.window-chrome i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c88d70;
}
.window-chrome > span {
  font: 6px var(--mono);
  margin: auto;
  color: #8d6b57;
  padding-right: 17px;
}
.project-window-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
}
.project-symbol {
  font: italic 41px/1 var(--serif);
  position: relative;
  width: 40px;
  color: #b76649;
}
.project-symbol > span {
  font: 20px var(--font);
  position: absolute;
  right: 0;
  top: 0;
}
.project-window-body strong {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.2;
}
.project-window-body strong > span {
  display: block;
  font: 5px var(--mono);
  letter-spacing: 1px;
  margin-top: 8px;
}
.project-window-bottom {
  font: 6px var(--mono);
  display: flex;
  justify-content: space-between;
  padding: 8px 11px;
  border-top: 1px solid #f0dfd1;
}
.project-sticker {
  position: absolute;
  right: -20px;
  bottom: -12px;
  background: #e5ecb7;
  border: 1px solid #c7ce9e;
  border-radius: 3px;
  font: 8px var(--mono);
  padding: 6px 9px;
  transform: rotate(-13deg);
}
.world-projects .world-caption {
  margin-top: 24px;
}
.companion-center {
  position: absolute;
  left: 50%;
  top: 145px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  z-index: 3;
}
.mascot {
  width: 186px;
  height: 186px;
  background: transparent;
  padding: 0;
  animation: bob 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
  transition: filter 0.2s;
}
.mascot svg {
  width: 100%;
  overflow: visible;
}
.mascot:hover {
  filter: saturate(1.2);
}
.mascot:active {
  scale: 0.94;
}
.mascot-eyes {
  transition: transform 0.12s ease-out;
}
.mascot-shadow {
  width: 113px;
  height: 12px;
  border-radius: 50%;
  background: #ddd7c280;
  filter: blur(7px);
  margin-top: 3px;
}
.mascot-label {
  font: 6.8px var(--mono);
  letter-spacing: 1px;
  color: #8c8a79;
  margin-top: 20px;
}
.hello-note {
  position: absolute;
  left: 12px;
  top: -40px;
  font: italic 25px var(--serif);
  transform: rotate(-9deg);
  color: #737564;
}
.hello-note svg {
  position: absolute;
  width: 36px;
  height: 35px;
  right: -20px;
  top: 20px;
  fill: none;
  stroke: #989985;
  stroke-width: 1.4;
  transform: rotate(-7deg);
}
.idea-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #fffefa;
  border: 1px solid #dfd9c9;
  padding: 13px 18px;
  border-radius: 15px;
  box-shadow: 0 5px 25px #60513715;
  text-align: center;
  font-size: 12px;
  z-index: 5;
}
.map-spark {
  position: absolute;
  color: #aca896;
  pointer-events: none;
}
.spark-one {
  left: 33%;
  top: 77px;
  color: #b8bbaa;
  font-size: 27px;
  transform: rotate(12deg);
}
.spark-two {
  right: 35%;
  top: 370px;
  font-size: 19px;
}
.spark-three {
  left: 42%;
  top: 365px;
  color: #d2b87c;
  font-size: 30px;
}
.universe-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 4.5% 0;
  padding: 20px 0 23px;
  position: relative;
}
.explore-hint {
  font-size: 11px;
  color: var(--muted);
}
.explore-hint > span {
  display: inline-block;
  margin-right: 9px;
  font-size: 20px;
  vertical-align: middle;
  transform: rotate(-10deg);
}
.motion-toggle {
  background: transparent;
  font-size: 10px;
  color: var(--muted);
  padding: 8px;
}
.motion-toggle > span {
  margin-right: 7px;
  font-size: 17px;
  vertical-align: middle;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 4.2% 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  gap: 20px;
}
.footer-thought {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}
.guide-launcher {
  position: fixed;
  z-index: 6;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #deddd1;
  border-radius: 50px;
  background: #fffef9;
  box-shadow: 0 5px 22px #39372912;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  white-space: nowrap;
  transition:
    box-shadow 0.2s,
    translate 0.2s;
}
.guide-launcher:hover {
  box-shadow: 0 7px 24px #39372922;
  translate: 0 -3px;
}
.mini-face {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #f79f75;
  border-radius: 12px 15px 12px 15px;
  font-size: 18px;
  letter-spacing: 3px;
  padding-left: 3px;
  line-height: 1;
  flex-shrink: 0;
}
.guide-star {
  font-size: 22px;
  margin-left: 8px;
  color: #8b967a;
}
.guide {
  position: fixed;
  z-index: 10;
  bottom: 86px;
  right: 26px;
  width: 365px;
  background: #fffefb;
  border: 1px solid #dddcd1;
  border-radius: 20px;
  box-shadow: 0 15px 70px #3d3b2824;
  overflow: hidden;
}
.guide header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.guide h2 {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}
.guide header > div > span {
  font-size: 10px;
  color: var(--muted);
}
.icon-button {
  background: transparent;
  font-size: 25px;
  margin-left: auto;
  width: 32px;
  height: 32px;
  line-height: 1;
}
.guide-chat {
  max-height: 220px;
  overflow-y: auto;
  padding: 16px;
  overscroll-behavior: contain;
}
.guide-message {
  background: #f1efe6;
  border-radius: 0 13px 13px 13px;
  padding: 12px 14px;
  font-size: 12px;
  margin: 0 16px 12px 0;
}
.guide-message a {
  display: block;
  color: #6a5437;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 9px;
}
.user-message {
  margin: 0 0 12px 28px;
  border-radius: 12px 0 12px 12px;
  background: #f7d9c7;
  font-size: 11px;
  padding: 10px 12px;
}
.guide-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 16px;
}
.guide-questions button {
  background: #fffefb;
  border: 1px solid #dad9cf;
  border-radius: 20px;
  padding: 8px 10px;
  font-size: 10px;
}
.guide-questions button:hover {
  background: #f4efde;
  border-color: #b9b69e;
}
.guide-disclaimer {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  padding: 11px 8px;
  border-top: 1px solid var(--line);
}
/* Le contenu reste lisible si JavaScript est désactivé. */
.content-container {
  max-width: 1000px;
  margin: auto;
  padding: 30px;
}
.js .content-container {
  display: none;
}
.detail-panel {
  padding: 40px 0 60px;
}
.detail-eyebrow {
  font: 10px var(--mono);
  letter-spacing: 1.5px;
  color: #817665;
  margin-bottom: 20px;
}
.detail-panel h2 {
  font-size: clamp(36px, 4.7vw, 60px);
  font-weight: 500;
  letter-spacing: -2.4px;
  line-height: 1.08;
  margin: 0 0 24px;
}
.detail-panel h2 em {
  font-family: var(--serif);
  color: #a55b3b;
  font-weight: 400;
}
.detail-intro {
  font-size: 15px;
  max-width: 620px;
  color: var(--muted);
  margin: 0 0 45px;
  line-height: 1.8;
}
.explorer {
  padding: 0;
  width: min(1140px, calc(100% - 64px));
  max-height: calc(100dvh - 48px);
  border: 1px solid #e1dfd3;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
  box-shadow: 0 30px 100px #403b3420;
}
.explorer[open] {
  animation: arrive 0.35s ease-out;
}
.explorer::backdrop {
  background: #e9e7ded4;
  backdrop-filter: blur(10px);
}
body.exploring {
  overflow: hidden;
}
.explorer-toolbar {
  position: sticky;
  top: 0;
  background: #faf9f6f5;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  z-index: 4;
  gap: 16px;
}
.back-button {
  font-size: 12px;
  font-weight: 600;
}
.back-button > span {
  margin-left: 8px;
}
.explorer-toolbar > span {
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.dialog-cv {
  font: 10px var(--mono);
  white-space: nowrap;
}
.explorer-nav {
  display: flex;
  gap: 30px;
  padding: 22px 7% 0;
}
.explorer-nav a {
  font: 9px var(--mono);
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.explorer-nav a > span {
  font: 12px var(--font);
  margin-left: 5px;
}
.explorer-nav a[aria-current="page"] {
  border-color: #ce7551;
  color: var(--ink);
}
.explorer-content {
  padding: 0 7%;
}
.explorer-footer {
  border-top: 1px solid var(--line);
  padding: 25px 7%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.explorer-footer > a {
  font-weight: 600;
}
.timeline {
  position: relative;
}
.job {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.job-date {
  font: 11px/1.8 var(--mono);
  color: var(--muted);
  padding-top: 4px;
}
.current-tag {
  display: table;
  background: #e6eddc;
  border: 1px solid #d5dfc6;
  color: #56704c;
  border-radius: 20px;
  font: 9px var(--font);
  padding: 4px 9px;
  margin-top: 10px;
}
.company {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.company small {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
}
.job h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 5px 0 14px;
}
.job p,
.job li,
.education p {
  font-size: 13px;
  color: #62675d;
  line-height: 1.85;
}
.job ul {
  padding-left: 18px;
}
.job li {
  padding: 3px 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tags > span {
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid #e0dfd5;
  border-radius: 5px;
  background: #f4f3ed;
}
.job details {
  margin: 14px 0;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.job summary {
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.education {
  background: #efeee5;
  border-radius: 13px;
  padding: 27px 30px;
}
.education h3 {
  font: 36px var(--serif);
  margin: 9px 0 20px;
}
.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.skill-grid article {
  background: #edf2f7;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  padding: 28px;
}
.skill-grid article:nth-child(2) {
  background: #e8eef8;
}
.skill-grid article:nth-child(3) {
  background: #f3eddf;
  border-color: #e7deca;
}
.skill-grid article:nth-child(4) {
  background: #e9eddf;
  border-color: #dce0d1;
}
.skill-glyph {
  font: 29px var(--mono);
  color: #6a8095;
}
.skill-grid h3 {
  font-size: 22px;
  letter-spacing: -0.7px;
  margin: 13px 0 4px;
}
.skill-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.skill-grid .tags > span {
  background: #ffffff60;
  border-color: #34473416;
}
.ai-note {
  display: flex;
  gap: 24px;
  margin-top: 27px;
  border: 1px solid #e6d5c7;
  border-radius: 14px;
  background: #fbefe2;
  padding: 28px;
}
.ai-note > span {
  font-size: 44px;
  color: #c77648;
  line-height: 1.2;
}
.ai-note h3 {
  margin: 0;
  font-size: 18px;
}
.ai-note p {
  font-size: 13px;
  color: #746658;
  line-height: 1.8;
}
.ai-note a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cert-grid article {
  position: relative;
  padding: 22px 22px 17px;
  min-height: 218px;
  border: 1px solid #e1dac1;
  border-radius: 12px;
  background: #f8f1db;
  overflow: hidden;
}
.cert-grid article:nth-child(3n) {
  background: #ede8f5;
  border-color: #dcd4e8;
}
.cert-grid article:nth-child(4) {
  background: #e7edf4;
  border-color: #d8e1ed;
}
.cert-type {
  font: 8px var(--mono);
  letter-spacing: 1px;
  display: block;
}
.cert-deco {
  display: block;
  color: #b69649;
  font-size: 36px;
  line-height: 1;
  margin: 22px 0 13px;
}
.cert-grid h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.cert-grid p {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0 0;
}
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid #e0d6c9;
  border-radius: 15px;
  overflow: hidden;
  background: #fffcf5;
}
.kerytics-art {
  background: #efc3a5;
  min-height: 355px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(#ad74581c 1px, transparent 1px),
    linear-gradient(90deg, #ad74581c 1px, transparent 1px);
  background-size: 28px 28px;
}
.art-caption {
  position: absolute;
  top: 25px;
  left: 23px;
  font: 8px var(--mono);
  letter-spacing: 1.3px;
}
.big-k {
  font: italic 180px var(--serif);
  color: #834b36;
  position: relative;
  line-height: 1;
}
.big-k > span {
  position: absolute;
  right: -35px;
  top: 10px;
  font: 70px var(--font);
  color: #fff6df;
}
.art-bottom {
  position: absolute;
  bottom: 22px;
  left: 23px;
  font: 8px var(--mono);
}
.project-copy {
  padding: 30px;
}
.project-copy .eyebrow {
  font-size: 8px;
}
.project-copy h3 {
  font-size: 38px;
  letter-spacing: -1.7px;
  font-weight: 500;
  margin: 12px 0;
}
.project-copy p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.solid-link {
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  color: #fffef6;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 11px;
  margin-top: 22px;
}
.solid-link:hover {
  background: #4c5848;
}
.secondary-project {
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 14px;
  margin-top: 22px;
}
.ink-symbol {
  font: italic 65px var(--serif);
  letter-spacing: -5px;
  background: #ece7f2;
  border-radius: 10px;
  min-width: 115px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ink-symbol > span {
  color: #9682b5;
}
.secondary-project h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 5px 0;
}
.secondary-project p {
  font-size: 12px;
  color: var(--muted);
}
.secondary-project a {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
blockquote {
  font-size: 16px;
  text-align: center;
  line-height: 1.7;
  margin: 40px 0 0;
}
blockquote em {
  font: italic 28px var(--serif);
  color: #a55b3b;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes pop {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}
.idea-spark {
  position: absolute;
  left: 50%;
  top: 80px;
  pointer-events: none;
  animation: pop 0.85s ease-out forwards;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  z-index: 4;
  background: var(--spark);
}
.paused *,
.paused *::before,
.paused *::after {
  animation-play-state: paused !important;
  transition: none !important;
}
.paused .mascot-eyes {
  transform: none !important;
}
@media (min-width: 1450px) {
  .intro {
    padding-top: 51px;
  }
  .map {
    height: 490px;
    margin-top: 8px;
  }
  .universe-bottom {
    margin-top: 10px;
  }
}
@media (max-width: 1050px) {
  .header-note {
    display: none;
  }
  .map {
    height: 500px;
  }
  .world-experience {
    left: 2%;
    top: 20px;
  }
  .world-skills {
    right: 2%;
    top: 20px;
  }
  .world-certs {
    left: 5%;
    top: 280px;
  }
  .world-projects {
    right: 3%;
    top: 280px;
  }
  .world {
    width: 230px;
  }
  .companion-center {
    top: 160px;
  }
  .mascot {
    width: 158px;
    height: 158px;
  }
  .mascot-label {
    font-size: 6px;
  }
  .connections {
    opacity: 0.6;
  }
  .intro {
    padding-top: 35px;
  }
  .footer-thought {
    display: none;
  }
  .guide-launcher {
    bottom: 18px;
  }
  .world-description {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 80px;
    padding: 0 20px;
    gap: 10px;
  }
  .identity {
    font-size: 11px;
    gap: 9px;
  }
  .identity small {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .monogram {
    font-size: 35px;
  }
  .header-actions {
    gap: 12px;
  }
  .contact-link {
    font-size: 0;
  }
  .contact-link > span {
    font-size: 21px;
  }
  .pdf-button {
    font-size: 10px;
    padding: 8px 10px;
    gap: 9px;
  }
  .pdf-label {
    display: none;
  }
  .intro {
    padding: 30px 15px 0;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 53px;
    letter-spacing: -3px;
  }
  h1 em {
    letter-spacing: -1.7px;
  }
  .intro > p:last-child {
    font-size: 11px;
    max-width: 280px;
    margin: 17px auto 0;
  }
  .map {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 37px;
    padding: 185px 18px 18px;
    margin: 0 auto;
    max-width: 490px;
  }
  .connections {
    display: none;
  }
  .companion-center {
    top: 21px;
    width: 250px;
  }
  .mascot {
    height: 128px;
    width: 128px;
  }
  .mascot-shadow {
    height: 6px;
    width: 78px;
    margin-top: -2px;
  }
  .mascot-label {
    display: none;
  }
  .hello-note {
    left: 5px;
    top: 22px;
    font-size: 19px;
  }
  .hello-note svg {
    width: 27px;
    right: -12px;
    top: 19px;
  }
  .world {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
  }
  .object {
    zoom: 0.74;
  }
  .world-caption {
    gap: 6px;
    margin-top: 19px;
  }
  .world-caption strong {
    font-size: 12px;
    letter-spacing: -0.3px;
  }
  .world-description {
    font-size: 8px;
    text-align: center;
    max-width: 155px;
    line-height: 1.5;
  }
  .world-number {
    font-size: 7px;
  }
  .world-arrow {
    font-size: 14px;
  }
  .world-certs .world-caption {
    margin-top: 24px;
  }
  .world-projects .world-caption {
    margin-top: 17px;
  }
  .world-skills .world-caption {
    margin-top: 14px;
  }
  .map-spark {
    display: none;
  }
  .universe-bottom {
    margin: 13px 20px 0;
    padding: 8px 0 19px;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .explore-hint {
    font-size: 9px;
  }
  .explore-hint > span {
    font-size: 16px;
  }
  .motion-toggle {
    font-size: 9px;
  }
  .site-footer {
    padding: 18px 20px 95px;
    font-size: 8px;
    gap: 10px;
  }
  .guide-launcher {
    bottom: 19px;
  }
  .guide {
    right: 12px;
    bottom: 81px;
    width: calc(100% - 24px);
    max-width: 365px;
  }
  .guide-chat {
    max-height: min(220px, 30dvh);
  }
  .explorer {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .explorer-toolbar {
    padding: 16px 20px;
  }
  .explorer-toolbar > span {
    display: none;
  }
  .explorer-nav {
    padding: 18px 20px 0;
    gap: 0;
    justify-content: space-between;
  }
  .explorer-nav a {
    font-size: 7px;
  }
  .explorer-nav a > span {
    font-size: 10px;
    margin-left: 3px;
  }
  .explorer-content {
    padding: 0 22px;
  }
  .detail-panel {
    padding-top: 30px;
  }
  .detail-panel h2 {
    font-size: 41px;
    letter-spacing: -1.8px;
  }
  .detail-intro {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 26px;
    margin-bottom: 26px;
  }
  .job-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
  }
  .current-tag {
    margin: 0;
  }
  .company {
    font-size: 21px;
  }
  .job p,
  .job li {
    font-size: 12px;
  }
  .education {
    padding: 23px;
  }
  .skill-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .skill-grid article {
    padding: 23px;
  }
  .ai-note {
    gap: 13px;
    padding: 21px;
  }
  .ai-note > span {
    font-size: 27px;
  }
  .cert-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cert-grid article {
    padding: 18px 15px;
    min-height: 205px;
  }
  .cert-grid h3 {
    font-size: 16px;
  }
  .cert-type {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .kerytics-art {
    min-height: 230px;
  }
  .big-k {
    font-size: 140px;
  }
  .project-copy {
    padding: 23px;
  }
  .secondary-project {
    padding: 21px;
    gap: 18px;
    align-items: flex-start;
  }
  .ink-symbol {
    min-width: 65px;
    height: 75px;
    font-size: 42px;
    letter-spacing: -3px;
  }
  .secondary-project .eyebrow {
    font-size: 7px;
  }
  .secondary-project h3 {
    font-size: 20px;
  }
  .explorer-footer {
    padding: 22px;
    flex-direction: column;
  }
  .idea-bubble {
    width: 230px;
    font-size: 10px;
    bottom: 88%;
    padding: 10px 12px;
  }
  .content-container {
    padding: 20px;
  }
}
@media (max-width: 370px) {
  h1 {
    font-size: 46px;
  }
  .object {
    zoom: 0.63;
  }
  .map {
    column-gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .world-caption strong {
    font-size: 11px;
  }
  .world-description {
    font-size: 7px;
  }
  .site-header {
    padding: 0 13px;
  }
  .identity small {
    font-size: 5.5px;
  }
  .explorer-nav a > span {
    font-size: 9px;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .mascot-eyes {
    transform: none !important;
  }
}
@media print {
  .site-header,
  .universe,
  .site-footer,
  .guide,
  .guide-launcher,
  .explorer-toolbar,
  .explorer-nav,
  .explorer-footer {
    display: none !important;
  }
  .js .content-container {
    display: block;
  }
  .detail-panel {
    display: block !important;
    break-before: page;
    padding: 15px 0;
  }
  .detail-panel:first-child {
    break-before: auto;
  }
  .explorer {
    position: static;
    display: block !important;
    max-height: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  .explorer:not([open]) {
    display: none !important;
  }
  .explorer-content {
    padding: 0;
  }
  .job,
  .skill-grid article,
  .cert-grid article,
  .featured-project {
    break-inside: avoid;
  }
  body.exploring {
    overflow: visible;
  }
  body {
    background: white;
    font-size: 11px;
  }
  .content-container {
    padding: 0;
  }
  .guide-launcher {
    display: none;
  }
  .detail-panel h2 {
    font-size: 35px;
  }
}
/* Sur un portable, les quatre portes d’entrée restent visibles ensemble. */
@media (min-width: 701px) and (max-height: 800px) {
  .site-header {
    height: 76px;
  }
  .intro {
    padding-top: 23px;
  }
  .intro .eyebrow {
    margin-bottom: 10px;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -2.8px;
  }
  .intro > p:last-child {
    margin-top: 12px;
    font-size: 12px;
  }
  .map {
    height: 380px;
    max-width: 1050px;
    margin-top: 4px;
  }
  .world .object {
    zoom: 0.82;
  }
  .world-experience {
    top: 0;
    left: 4%;
  }
  .world-skills {
    top: 0;
    right: 4%;
  }
  .world-certs {
    top: 210px;
    left: 9%;
  }
  .world-projects {
    top: 212px;
    right: 7%;
  }
  .world-caption {
    margin-top: 14px;
  }
  .world-caption strong {
    font-size: 13px;
  }
  .world-description {
    font-size: 9px;
  }
  .world-certs .world-caption {
    margin-top: 22px;
  }
  .world-projects .world-caption {
    margin-top: 20px;
  }
  .companion-center {
    top: 107px;
  }
  .mascot {
    width: 152px;
    height: 152px;
  }
  .hello-note {
    font-size: 23px;
    top: -31px;
    left: 26px;
  }
  .mascot-label {
    font-size: 6px;
    margin-top: 14px;
  }
  .spark-one {
    top: 55px;
  }
  .spark-two,
  .spark-three {
    top: 285px;
  }
  .universe-bottom {
    padding: 10px 0 14px;
    margin-top: 3px;
  }
  .site-footer {
    padding-top: 18px;
    padding-bottom: 22px;
  }
  .guide-launcher {
    bottom: 16px;
  }
  .footer-thought {
    visibility: hidden;
  }
}
html:not(.js) .guide-launcher,
html:not(.js) .motion-toggle {
  display: none;
}
@media (max-width: 700px) {
  h1 {
    font-size: 43px;
    letter-spacing: -2.2px;
  }
  h1 em {
    letter-spacing: -1.4px;
  }
  .hello-note {
    top: -7px;
    left: 0;
    font-size: 18px;
  }
  .intro > p:last-child {
    max-width: 270px;
  }
  .map {
    padding-top: 173px;
  }
}
@media (max-width: 370px) {
  h1 {
    font-size: 37px;
    letter-spacing: -2px;
  }
}
@media print {
  .explorer {
    display: none !important;
  }
}
.companion-center {
  pointer-events: none;
}
.mascot {
  pointer-events: auto;
}
@media (max-width: 700px) {
  .explorer {
    max-width: none;
  }
}
/* Matt, version illustrée — et sa photo en un clic. */
.avatar-frame {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 5px solid #fffdf5;
  outline: 1px solid #e6d4bb;
  box-shadow: 0 12px 30px -17px #82563165;
  background: var(--paper);
}
.avatar-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease-out;
  will-change: transform;
}
.avatar-portrait.original-photo {
  object-position: center;
}
.avatar-spark {
  position: absolute;
  right: -3px;
  top: 5px;
  color: #b96e43;
  font-size: 28px;
  line-height: 1;
  background: #f7dfaa;
  border: 3px solid var(--paper);
  border-radius: 50%;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
}
.mascot:hover {
  filter: none;
}
.mascot:hover .avatar-frame {
  outline-color: #cb9260;
}
.mascot-label {
  margin-top: 12px;
}
.portrait-toggle {
  pointer-events: auto;
  background: transparent;
  color: #7c6855;
  font: 9px var(--mono);
  padding: 8px 9px;
  text-decoration: underline;
  text-decoration-color: #c9bba4;
  text-underline-offset: 4px;
  margin-top: 4px;
}
.portrait-toggle:hover {
  color: #a25a39;
}
.mini-face {
  object-fit: cover;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid #e1d5c4;
  padding: 0;
  width: 34px;
  height: 34px;
}
.guide header .mini-face {
  width: 40px;
  height: 40px;
}
.paused .avatar-portrait {
  transform: none !important;
}
.official-medal {
  width: 83px;
  height: 92px;
  right: -26px;
  top: 15px;
  transform: rotate(8deg);
}
.official-medal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px #38576325);
}
.map-project-logo {
  object-fit: contain;
  flex-shrink: 0;
}
.project-back {
  background: #fdfbf3;
  transform: rotate(-9deg) translate(-9px, -17px);
  display: flex;
  gap: 5px;
  align-items: flex-start;
  padding: 6px 8px;
  border-color: #d6d5c6;
}
.project-back > span {
  font: 7px var(--serif);
  margin-top: 7px;
  color: #594898;
}
.project-back > img {
  width: 23px;
  height: 23px;
}
.project-window {
  background: #f3fbfa;
  border-color: #a8c5c3;
}
.window-chrome {
  background: #d6eae8;
  border-color: #b8d5d2;
}
.window-chrome i {
  background: #78a6a3;
}
.window-chrome > span {
  color: #437a78;
}
.project-window-body {
  color: #17404e;
}
.project-window-bottom {
  border-color: #d4e8e3;
  color: #3d6e6b;
}
.project-sticker {
  font-size: 7px;
  right: -16px;
}
/* Les emblèmes sont ceux publiés par Microsoft Learn. */
.cert-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f6f5f0;
  border-color: #e1e1d7;
  min-height: 286px;
  padding: 18px 19px 16px;
  transition:
    translate 0.2s,
    box-shadow 0.2s;
}
.cert-grid article:nth-child(2) {
  background: #f2f2ed;
}
.cert-grid article:nth-child(3) {
  background: #eef3f9;
  border-color: #dbe3ee;
}
.cert-grid article:nth-child(4) {
  background: #eff1f8;
  border-color: #dde1ef;
}
.cert-grid article:nth-child(5) {
  background: #f7f0e6;
  border-color: #e8dccb;
}
.cert-grid article:nth-child(6) {
  background: #eff4eb;
  border-color: #dce5d6;
}
.cert-grid article:hover {
  translate: 0 -4px;
  box-shadow: 0 10px 25px -18px #344f7370;
}
.cert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.cert-type {
  font-size: 7px;
  letter-spacing: 0.7px;
}
.cert-code {
  font: 8px var(--mono);
  color: var(--muted);
}
.cert-badge {
  display: block;
  object-fit: contain;
  width: 104px;
  height: 112px;
  margin: 20px auto 18px;
}
.cert-grid h3 {
  font-size: 16px;
  line-height: 1.35;
  max-width: 210px;
  min-height: 43px;
}
.cert-expired .cert-badge {
  filter: grayscale(1);
  opacity: 0.65;
}
.cert-grid .cert-status {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #59616b;
}
.cert-source {
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #52574819;
  padding-top: 12px;
  margin-top: 17px;
  color: #5c6e78;
}
.cert-source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cert-source > span {
  font-size: 16px;
  line-height: 1;
}
/* Deux univers réels, chacun avec son identité. */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-showcase {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dcded4;
  border-radius: 16px;
  background: #fffdf7;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.project-showcase:hover {
  box-shadow: 0 15px 40px -27px #334b4360;
}
.project-cover {
  display: block;
  position: relative;
  height: 315px;
  overflow: hidden;
}
.cover-brand {
  position: absolute;
  left: 21px;
  right: 21px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
}
.cover-brand > img {
  width: 30px;
  height: 30px;
}
.cover-brand > strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.cover-brand > span {
  margin-left: auto;
  background: #ffffffb0;
  border: 1px solid #ffffffaa;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: transform 0.2s;
}
.project-cover:hover .cover-brand > span {
  transform: rotate(45deg);
}
.cover-caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  font: 6.5px var(--mono);
  letter-spacing: 0.6px;
  text-align: center;
}
.kerytics-cover {
  background:
    radial-gradient(ellipse at 90% 10%, #80c9c868, transparent 65%), #e3efef;
  color: #17404e;
}
.property-scene {
  display: block;
  position: absolute;
  inset: 84px 32px 56px;
  perspective: 700px;
}
.property-sheet {
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #bfdcda;
  border-radius: 10px;
  background: #fcfffe;
  box-shadow: 0 17px 20px -14px #194e5660;
}
.sheet-behind {
  transform: rotate(9deg) translate(11px, 7px);
  background: #d5e8e6;
}
.sheet-front {
  transform: rotate(-5deg);
  transition: transform 0.4s;
}
.project-cover:hover .sheet-front {
  transform: rotate(-1deg) translateY(-4px);
}
.property-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 600;
  padding: 11px 13px;
}
.property-topline i {
  font-style: normal;
  color: #31a4a5;
  font-size: 15px;
  line-height: 1;
}
.house-scene {
  display: block;
  position: relative;
  margin: 0 12px;
  height: 84px;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(#d9eeee, #e9f3e8);
}
.house-wall {
  position: absolute;
  width: 70px;
  height: 43px;
  background: #fffaf1;
  left: calc(50% - 35px);
  bottom: 0;
  box-shadow: 8px 0 0 #e7dfca;
}
.house-wall i {
  position: absolute;
  background: #65adb2;
  width: 13px;
  height: 14px;
  top: 8px;
  left: 10px;
  border: 2px solid #e2dcca;
}
.house-wall i:nth-child(2) {
  left: 46px;
}
.house-wall i:nth-child(3) {
  left: 28px;
  width: 15px;
  height: 22px;
  top: 21px;
  background: #b09b7e;
  border: 0;
}
.house-roof {
  position: absolute;
  border-left: 47px solid transparent;
  border-right: 47px solid transparent;
  border-bottom: 30px solid #3d6a6b;
  left: calc(50% - 47px);
  bottom: 43px;
  filter: drop-shadow(3px 1px 0 #295756);
}
.house-tree {
  position: absolute;
  height: 45px;
  width: 24px;
  border-radius: 50% 50% 35% 35%;
  left: 21%;
  bottom: 7px;
  background: #6e9b82;
}
.house-tree:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 17px;
  background: #846c51;
  left: 11px;
  bottom: -7px;
}
.house-sun {
  position: absolute;
  right: 19%;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0d79c;
}
.property-metrics {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  font: 5px var(--mono);
  color: #6b8582;
}
.property-metrics strong {
  display: block;
  font: 8px var(--font);
  font-weight: 600;
  color: #285551;
  margin-top: 4px;
}
.analysis-sticker {
  position: absolute;
  bottom: -19px;
  right: -16px;
  transform: rotate(4deg);
  background: #1e8588;
  color: #fff;
  border: 1px solid #166e71;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 8px;
  box-shadow: 0 5px 10px #174e4620;
}
.encre-cover {
  background: #eee9df;
  color: #303744;
  background-image: radial-gradient(#9e917c30 0.65px, transparent 0.65px);
  background-size: 5px 5px;
}
.encre-cover .cover-brand strong {
  font: italic 21px var(--serif);
  letter-spacing: -0.3px;
}
.notebook-cover {
  display: block;
  position: absolute;
  left: 18px;
  right: 18px;
  top: 88px;
  background: #fdfbf3;
  border: 1px solid #dfdcd0;
  box-shadow:
    2px 3px 0 #f8f5e9,
    3px 4px 0 #d6d2c3,
    6px 9px 15px #4b493925;
  transform: rotate(-5deg);
  transition: transform 0.4s;
}
.notebook-cover > img {
  display: block;
  width: 100%;
  height: auto;
}
.notebook-tape {
  position: absolute;
  width: 63px;
  height: 19px;
  background: #ffffff91;
  left: calc(50% - 31px);
  top: -9px;
  border: 1px solid #ebe7d565;
  transform: rotate(3deg);
  z-index: 1;
}
.project-cover:hover .notebook-cover {
  transform: rotate(-2deg) translateY(-3px);
}
.notebook-note {
  position: absolute;
  right: 21px;
  bottom: 38px;
  padding: 8px 15px;
  background: #f4ee8c;
  font: italic 17px/1.15 var(--serif);
  color: #685b48;
  transform: rotate(6deg);
  box-shadow: 1px 3px 4px #574a3720;
}
.encre-cover .cover-caption {
  font-size: 5.8px;
}
.project-gallery .project-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px;
}
.project-gallery .project-copy h3 {
  font-size: 29px;
  letter-spacing: -1px;
}
.project-gallery .project-copy p {
  font-size: 12px;
  margin: 0 0 13px;
}
.project-gallery .project-copy .tags {
  margin-top: auto;
  padding-top: 8px;
}
.showcase-kerytics .solid-link {
  background: #174e56;
}
.showcase-encre .solid-link {
  background: #544386;
}
.showcase-encre .solid-link:hover {
  background: #6a54a2;
}
.project-gallery .solid-link {
  margin-top: 23px;
}
.project-gallery .project-copy .eyebrow {
  font-size: 7px;
}
@media (max-width: 850px) {
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-cover {
    height: 320px;
  }
  .property-scene {
    max-width: 290px;
    left: 50%;
    right: auto;
    width: 70%;
    transform: translateX(-50%);
  }
  .notebook-cover {
    width: 360px;
    max-width: 85%;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-5deg);
  }
  .project-cover:hover .notebook-cover {
    transform: translateX(-50%) rotate(-2deg) translateY(-3px);
  }
  .notebook-note {
    right: 14%;
    bottom: 36px;
  }
  .encre-cover .cover-caption {
    font-size: 7px;
  }
}
@media (max-width: 700px) {
  .avatar-frame {
    border-width: 4px;
  }
  .avatar-spark {
    width: 28px;
    height: 28px;
    font-size: 21px;
    right: -4px;
    top: 1px;
  }
  .portrait-toggle {
    font-size: 7px;
    padding: 7px;
    margin-top: 2px;
  }
  .map {
    padding-top: 182px;
  }
  .cert-grid article {
    padding: 15px 13px;
    min-height: 260px;
  }
  .cert-card-top {
    gap: 5px;
    flex-wrap: wrap;
    align-self: start;
  }
  .cert-code {
    font-size: 7px;
  }
  .cert-badge {
    width: 88px;
    height: 95px;
    margin: 19px auto 16px;
  }
  .cert-grid h3 {
    font-size: 14px;
  }
  .cert-source {
    font-size: 9px;
  }
  .project-gallery .project-copy {
    padding: 23px;
  }
  .project-cover {
    height: 290px;
  }
  .property-scene {
    inset: 77px 25px 51px;
    transform: none;
    width: auto;
    max-width: none;
  }
  .notebook-cover {
    top: 90px;
  }
  .notebook-note {
    right: 7%;
    bottom: 34px;
    font-size: 15px;
  }
  .cover-caption,
  .encre-cover .cover-caption {
    font-size: 5.5px;
  }
  .project-gallery .project-copy h3 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .avatar-portrait {
    transform: none !important;
  }
}
@media print {
  .portrait-toggle {
    display: none;
  }
  .project-gallery {
    display: block;
  }
  .project-showcase {
    break-inside: avoid;
    margin-bottom: 25px;
  }
  .cert-badge {
    width: 80px;
    height: 85px;
  }
}
