@font-face {
  font-family: Portfolio;
  src:
    url("../fonts/montserrat-extra-bold.woff2") format("woff2"),
    url("../fonts/montserrat-extra-bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Notebook;
  src:
    url("../fonts/caveat-bold.woff2") format("woff2"),
    url("../fonts/caveat-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #101210;
  --paper: #eee9dd;
  --muted: #bab9ab;
  --red: #cf5945;
  --blue: #3457cf;
  --line: rgba(235, 231, 217, 0.18);
  --display: Portfolio, Arial, sans-serif;
  --mono: "Courier New", monospace;
  --hand: Notebook, cursive;
  --gutter: clamp(22px, 4vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 7px;
}
::selection {
  background: var(--red);
  color: var(--paper);
}
.mono,
.eyebrow,
.label,
.text-link {
  font: 700 11px/1.5 var(--mono);
  letter-spacing: 0.07em;
}
.handwritten {
  font: 700 32px/1.05 var(--hand);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  z-index: 3000;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px var(--gutter);
  gap: 30px;
}
.wordmark {
  font: 800 27px/0.86 var(--display);
  letter-spacing: -1.7px;
}
.wordmark > span {
  display: block;
}
.red-dot {
  color: var(--red);
}
.signal-dots {
  position: absolute;
  left: 50%;
  top: 31px;
  display: flex;
  gap: 7px;
}
.signal-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e1a134;
}
.signal-dots i:nth-child(2) {
  background: var(--blue);
}
.signal-dots i:nth-child(3) {
  background: var(--red);
}
#navigation {
  display: flex;
  gap: 26px;
  font: 700 10px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
#navigation a {
  padding: 5px 0;
}
#navigation a:hover {
  color: var(--red);
}
.menu-toggle {
  display: none;
}
.page-header {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 1200px;
  isolation: isolate;
  overflow: hidden;
  background: #101210;
}
.hero-grid,
.dark-grid {
  background-image:
    linear-gradient(#eae8d807 1px, transparent 1px),
    linear-gradient(90deg, #eae8d807 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  fill: none;
  stroke: #d5d1bf;
  stroke-width: 1;
  opacity: 0.36;
}
.hero-thread path {
  stroke-dasharray: 2700;
  stroke-dashoffset: 2700;
  animation: draw-line 4s var(--ease) forwards;
}
.hero-note {
  position: absolute;
  left: var(--gutter);
  top: 126px;
  color: var(--muted);
  font-size: 10px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: #8eb883;
  box-shadow: 0 0 0 4px #8eb88315;
}
.hero-copy {
  position: absolute;
  left: 50%;
  top: 47%;
  width: max-content;
  max-width: 70%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.eyebrow {
  display: block;
  margin: 0 0 26px 5px;
  font-size: 10px;
  color: #c3bfaf;
}
.hero-copy h1 {
  font: 800 clamp(66px, 7.65vw, 120px)/0.91 var(--display);
  letter-spacing: -0.075em;
  color: var(--red);
}
.hero-copy h1 > span {
  display: block;
  animation: headline-in 1.3s var(--ease) both;
}
.hero-copy h1 > span:nth-child(2) {
  animation-delay: 0.12s;
}
.hero-copy h1 > span:nth-child(3) {
  animation-delay: 0.24s;
}
.period {
  color: var(--paper);
}
.name-sticker {
  position: relative;
  display: table;
  transform: rotate(-4deg);
  margin: 20px 0 0 auto;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 13px;
  font: 700 9px var(--mono);
  box-shadow: 4px 4px 0 #cf594540;
}
.hero-copy p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 29px;
  margin-left: 5px;
  color: #d0cdbe;
}
.hero-project-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font: 700 10px var(--mono);
  margin: 23px 0 0 5px;
  border-bottom: 1px solid #aaa795;
  padding-bottom: 8px;
}
.hero-project-link span {
  font-size: 19px;
  color: var(--red);
}
.hero-project-link:hover {
  color: var(--red);
}
.hero-photo {
  position: absolute;
  width: clamp(150px, 17vw, 255px);
  left: 4%;
  bottom: 16%;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 9px 17px;
  transform: rotate(-12deg);
  box-shadow: 12px 18px 50px #0006;
  --tilt: -12deg;
  --float-delay: -2s;
}
.hero-photo img {
  filter: grayscale(1);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-photo > span {
  display: block;
  font: 700 19px/1 var(--hand);
  text-align: center;
  margin-top: 12px;
}
.photo-tape {
  position: absolute;
  top: -12px;
  left: 33%;
  width: 36%;
  height: 25px;
  background: #d0b582aa;
  transform: rotate(5deg);
}
.code-sticker {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 225px;
  border: 6px solid var(--paper);
  border-radius: 9px;
  background: #191e21;
  box-shadow: 7px 8px 0 #cf5945;
  transform: rotate(9deg);
  --tilt: 9deg;
  --float-delay: -4s;
  font: 12px/1.8 var(--mono);
}
.code-sticker > div {
  font-size: 9px;
  color: #979ea0;
  border-bottom: 1px solid #555;
  padding: 5px 9px;
  display: flex;
  justify-content: space-between;
}
.code-sticker > div span {
  color: var(--red);
}
.code-sticker code {
  display: block;
  padding: 12px 16px;
}
.code-sticker code span {
  color: #a5b8ff;
}
.code-sticker code em {
  color: #d7ab6a;
  font-style: normal;
}
.code-sticker code b {
  color: #d78873;
}
.hero-globe {
  position: absolute;
  bottom: 14%;
  right: 8%;
  transform: rotate(10deg);
  --tilt: 10deg;
  --float-delay: -1s;
}
.wire-sphere {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2px solid #5371e5;
  background: radial-gradient(ellipse at 30% 25%, #3457cf24, transparent 60%);
  box-shadow:
    0 0 0 7px #101210,
    0 0 0 10px #ddd7c7;
}
.wire-sphere i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #5371e5;
}
.wire-sphere i:nth-child(1) {
  transform: scaleX(0.35);
}
.wire-sphere i:nth-child(2) {
  transform: scaleX(0.72);
}
.wire-sphere i:nth-child(3) {
  transform: scaleY(0.3);
}
.wire-sphere i:nth-child(4) {
  transform: scaleY(0.72);
}
.hero-globe > span {
  font: 700 8px var(--mono);
  display: block;
  margin-top: 21px;
  text-align: center;
  color: #9bafe9;
}
.hero-scribble {
  position: absolute;
  top: 20%;
  left: 18%;
  font: 700 28px/0.9 var(--hand);
  color: #b8b39e;
  transform: rotate(-12deg);
}
.hero-bottom {
  position: absolute;
  bottom: 29px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 700 10px var(--mono);
}
.hero-bottom > a:nth-child(2) {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hero-bottom > a:nth-child(2) span {
  margin-left: 15px;
  color: var(--red);
  font-size: 22px;
}
.floating {
  animation: float 7s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.label {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  padding: 7px 12px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--blue);
}
.label-blue {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 3px 3px 0 #3457cf33;
}
.label-red {
  box-shadow: 3px 3px 0 var(--red);
}
.paper {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(#11120e09 1px, transparent 1px),
    linear-gradient(90deg, #11120e09 1px, transparent 1px);
  background-size: 28px 28px;
}
.about {
  position: relative;
  padding: 45px var(--gutter) 0;
  overflow: hidden;
}
.stamp {
  border: 1px solid #727267;
  padding: 4px 11px;
  transform: rotate(3deg);
  font-size: 9px;
}
.about-spread {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6%;
  align-items: center;
  min-height: 680px;
  padding: 65px 0 85px;
}
.portrait-composition {
  position: relative;
  max-width: 490px;
  padding: 40px 30px 85px;
}
.portrait-orbit {
  position: absolute;
  width: 93%;
  aspect-ratio: 1;
  border: 1px solid var(--blue);
  border-radius: 50%;
  left: 0;
  top: 10%;
  box-shadow:
    0 0 0 22px #3457cf06,
    0 0 0 50px #3457cf05;
}
.portrait-frame {
  position: relative;
  transform: rotate(-7deg);
  padding: 13px 13px 24px;
  background: #faf8f0;
  box-shadow:
    8px 12px 0 #3457cf,
    0 18px 30px #0002;
}
.portrait-frame img {
  width: 100%;
  filter: grayscale(1) contrast(1.1);
  aspect-ratio: 1;
  object-fit: cover;
}
.portrait-caption {
  font: 700 29px var(--hand);
  display: block;
  text-align: center;
  margin-top: 9px;
}
.portrait-tag {
  position: absolute;
  left: 0;
  top: 62%;
  background: var(--blue);
  color: var(--paper);
  padding: 7px 12px;
  transform: rotate(-11deg);
  font-size: 9px;
}
.portrait-note {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--blue);
  transform: rotate(-6deg);
  font-size: 30px;
}
.big-asterisk {
  position: absolute;
  right: 1%;
  top: 2%;
  font-size: 94px;
  color: var(--blue);
  line-height: 1;
  transform: rotate(10deg);
}
.about-copy h2 {
  font: 700 clamp(43px, 4.4vw, 70px)/1.05 var(--hand);
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-bottom: 24px;
}
.about-copy h2 em {
  color: var(--blue);
  font-style: normal;
}
.about-lead {
  font: 700 25px/1.15 var(--hand);
  margin-bottom: 24px;
}
.about-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}
.about-columns p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-principles {
  border-left: 1px solid #1113;
  padding-left: 26px;
}
.about-principles h3 {
  color: var(--blue);
  margin-bottom: 18px;
}
.about-principles b {
  display: block;
  font: 700 11px var(--mono);
  margin-bottom: 6px;
}
.text-link {
  display: inline-block;
  border: 0;
  background: none;
  border-bottom: 1px solid currentColor;
  padding: 0 0 7px;
  cursor: pointer;
}
.text-link:hover {
  color: var(--red);
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.about-tags span {
  border: 1px solid #1114;
  padding: 5px 8px;
  font: 700 9px var(--mono);
}
.ticker {
  background: var(--ink);
  color: var(--paper);
  margin: 0 calc(-1 * var(--gutter));
  overflow: hidden;
  padding: 18px 0;
  font: 800 16px var(--display);
  letter-spacing: 0.025em;
}
.ticker > div {
  width: max-content;
  display: flex;
  animation: ticker 35s linear infinite;
}
.ticker span {
  white-space: nowrap;
  padding-right: 30px;
}
.skills-section {
  position: relative;
  min-height: 850px;
  padding: 50px var(--gutter) 32px;
  overflow: hidden;
}
.skills-section:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.skills-section > .section-top {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.skills-section .section-top .handwritten {
  font-size: 29px;
}
.section-top i {
  font-style: normal;
  color: var(--blue);
  margin: 0 7px;
}
.skills-section .section-top > .mono {
  font-size: 9px;
  color: var(--muted);
}
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1.75fr 0.85fr;
  align-items: center;
  gap: 2%;
  min-height: 670px;
}
.skills-heading h2 {
  font: 700 clamp(48px, 5vw, 78px)/0.88 var(--hand);
  margin: 28px 0;
}
.skills-heading h2 em {
  font-style: normal;
  color: #8ca1f2;
}
.skills-heading p {
  font-size: 14px;
  max-width: 240px;
  color: var(--muted);
}
.orbit-hint {
  display: block;
  color: #929687;
  font-size: 8px;
  margin-top: 24px;
}
.orbit-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
}
.orbit-ring,
.orbit-track {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring {
  border: 1px solid #dcd7c225;
}
.ring-one,
.track-one {
  width: 40%;
}
.ring-two,
.track-two {
  width: 68%;
}
.ring-three,
.track-three {
  width: 96%;
}
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #5363a47a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse, #3457cf30, transparent 70%);
  box-shadow: 0 0 65px #3457cf12;
}
.orbit-core:before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dotted #cf5945;
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.orbit-core > span {
  font: 800 32px var(--display);
  letter-spacing: -3px;
  color: #d3d1c3;
}
.orbit-core small {
  font: 7px var(--mono);
  color: #a6a897;
}
.orbit-track {
  animation: orbit var(--speed, 65s) linear infinite;
  pointer-events: none;
}
.track-two {
  --speed: 90s;
  animation-direction: reverse;
}
.track-three {
  --speed: 125s;
}
.orbit-slot {
  position: absolute;
  inset: 0;
  transform: rotate(var(--angle));
  pointer-events: none;
}
.orbit-slot button {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -50%;
  width: 55px;
  height: 55px;
  border: 1px solid color-mix(in srgb, var(--tool-color), transparent 40%);
  background: #101412;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--counter));
  animation: counter-orbit var(--speed, 65s) linear infinite;
  color: var(--tool-color);
  box-shadow: 0 0 0 6px #101210;
}
.track-two button {
  animation-direction: reverse;
}
.orbit-slot button b {
  font: 700 17px var(--mono);
}
.orbit-slot button > span {
  position: absolute;
  top: calc(100% + 4px);
  white-space: nowrap;
  font: 9px var(--mono);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.2s;
  background: var(--ink);
  padding: 2px 5px;
}
.orbit-slot button:hover,
.orbit-slot button[aria-pressed="true"] {
  background: var(--tool-color);
  color: var(--ink);
  border-color: var(--tool-color);
}
.orbit-slot button:hover > span,
.orbit-slot button:focus-visible > span {
  opacity: 1;
}
.skill-note {
  padding-left: 15px;
}
.skill-note h3 {
  font: 700 29px/1.1 var(--hand);
  margin-top: 26px;
  margin-bottom: 14px;
}
.skill-note > p {
  font-size: 13px;
  color: var(--muted);
  min-height: 115px;
}
.proof-tags {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}
.proof-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  font: 700 8px var(--mono);
}
.skills-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 9px;
  color: var(--muted);
  padding-bottom: 10px;
}
.experience-section {
  padding: 55px var(--gutter) 95px;
}
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 9%;
  padding-top: 60px;
}
.experience-layout h2 {
  font: 800 clamp(32px, 3.4vw, 52px)/1.05 var(--display);
  letter-spacing: -0.065em;
}
.experience-layout h2 em {
  font: 700 1.6em/1.2 var(--hand);
  color: var(--blue);
  letter-spacing: -0.04em;
}
.experience-layout > div > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 350px;
  margin: 25px 0 35px;
}
.experience-row {
  display: grid;
  grid-template-columns: 115px 1fr 25px;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid #1114;
}
.experience-row > .mono {
  color: var(--blue);
  font-size: 9px;
  padding-top: 6px;
}
.experience-row h3 {
  font: 800 24px/1.2 var(--display);
  letter-spacing: -0.055em;
}
.experience-row p {
  font-size: 13px;
  margin-top: 6px;
}
.experience-row small {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
  color: #54564c;
}
.experience-row > span:last-child {
  font-size: 24px;
}
.experience-row.personal h3 {
  font: 700 30px var(--hand);
}
.projects-section {
  padding: 55px var(--gutter) 100px;
}
.projects-heading {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: flex-end;
  padding: 75px 0 60px;
}
.projects-heading h2 {
  font: 800 clamp(35px, 4.7vw, 70px)/1.05 var(--display);
  letter-spacing: -0.07em;
}
.projects-heading h2 em {
  font-family: var(--hand);
  font-size: 1.4em;
  line-height: 1.1;
  font-style: normal;
  color: var(--red);
}
.projects-heading > p {
  max-width: 320px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
}
.project-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0 40px;
}
.project-toolbar span {
  font-size: 9px;
  color: var(--muted);
}
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 45px;
}
.work-card {
  min-width: 0;
}
.work-open {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  display: block;
}
.work-visual {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  background: #171a16;
  border: 1px solid #ddd7c32a;
  overflow: hidden;
}
.work-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) brightness(0.75);
  transition:
    filter 0.4s,
    transform 0.8s var(--ease);
}
.work-visual.has-ascii > img {
  clip-path: circle(0% at var(--pointer-x, 50%) var(--pointer-y, 50%));
  filter: none;
  position: relative;
  z-index: 2;
  transition:
    clip-path 0.6s var(--ease),
    transform 0.8s var(--ease);
}
.ascii-preview {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}
.work-open:hover .work-visual > img,
.work-open:focus-visible .work-visual > img {
  clip-path: circle(85% at var(--pointer-x, 50%) var(--pointer-y, 50%));
  filter: none;
  transform: scale(1.035);
}
.work-view {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--red);
  color: var(--ink);
  display: grid;
  place-items: center;
  font: 700 9px var(--mono);
  transform: scale(0.4) rotate(-30deg);
  opacity: 0;
  transition:
    transform 0.5s var(--ease),
    opacity 0.3s;
}
.work-open:hover .work-view,
.work-open:focus-visible .work-view {
  transform: scale(1);
  opacity: 1;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0 8px;
  font: 700 9px var(--mono);
  text-transform: uppercase;
  color: var(--muted);
}
.work-meta > span:last-child {
  color: #b99d88;
  font-size: 8px;
}
.work-open .work-title {
  display: block;
  font: 800 clamp(23px, 2.3vw, 36px)/1.1 var(--display);
  letter-spacing: -0.055em;
}
.work-stack {
  display: block;
  font: 10px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 12px;
}
.work-open:hover .work-title {
  color: var(--red);
}
.contact-section {
  padding: 55px var(--gutter) 25px;
  position: relative;
  overflow: hidden;
}
.contact-heading {
  padding-top: 80px;
}
.contact-heading > .handwritten {
  color: var(--blue);
  display: block;
  transform: rotate(-3deg);
  margin-bottom: 20px;
}
.contact-heading h2 {
  position: relative;
  font: 800 clamp(50px, 8.7vw, 132px)/0.97 var(--display);
  letter-spacing: -0.075em;
  max-width: 1200px;
}
.contact-heading h2 em {
  font: 700 1.35em/0.9 var(--hand);
  color: var(--blue);
  letter-spacing: -0.04em;
}
.contact-star {
  position: absolute;
  right: 0;
  bottom: 0;
  font: 150px/1 Arial;
  color: var(--blue);
  animation: spin 35s linear infinite;
}
.contact-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12%;
  padding: 55px 0 70px;
  align-items: center;
}
.contact-actions > div > p {
  font-size: 15px;
  max-width: 400px;
  margin-bottom: 30px;
}
.email-link {
  font: 800 clamp(15px, 1.7vw, 26px)/1.5 var(--display);
  letter-spacing: -0.04em;
  border-bottom: 1px solid #1115;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.email-link span {
  font: 30px Arial;
}
.contact-launch {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 24px 28px;
  border: 1px solid #1118;
  text-align: left;
  background: #e7e2d3;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
  transition:
    transform 0.4s var(--ease),
    background 0.3s;
}
.contact-launch:hover {
  background: var(--blue);
  color: var(--paper);
  transform: rotate(0);
}
.contact-launch > span:nth-child(2) {
  font: 800 29px/1.1 var(--display);
  letter-spacing: -0.045em;
  position: relative;
  width: 100%;
}
.contact-launch b {
  position: absolute;
  right: 0;
  top: 0;
  font: 50px Arial;
}
.contact-launch small {
  font: 9px var(--mono);
}
.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #1115;
  border-bottom: 1px solid #1115;
}
.social-links a {
  font: 800 17px var(--display);
  letter-spacing: -0.04em;
  padding: 23px 0;
}
.social-links a:hover {
  color: var(--blue);
}
.social-links a > span {
  font: 9px var(--mono);
  margin-right: 14px;
  color: #5f6356;
}
footer {
  padding-top: 45px;
}
.footer-name {
  font: 800 clamp(35px, 9.2vw, 150px)/1 var(--display);
  letter-spacing: -0.08em;
  display: block;
  white-space: nowrap;
}
.footer-name > span {
  display: inline-block;
  font: 10px var(--mono);
  letter-spacing: 0;
  margin-left: 15px;
}
footer > .mono {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  font-size: 9px;
}
.motion-toggle {
  border: 0;
  background: none;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
.section-progress {
  position: fixed;
  right: 24px;
  bottom: 76px;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  z-index: 60;
  background: #101210e8;
  border: 1px solid #e6e0cd30;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}
.section-progress a {
  height: 22px;
  width: 16px;
  position: relative;
}
.section-progress a:after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 7px;
  width: 1px;
  background: #d9d7cb70;
  transition:
    background 0.25s,
    transform 0.25s;
}
.section-progress a[aria-current]:after {
  background: var(--red);
  width: 4px;
  transform: scaleY(1.4);
  border-radius: 3px;
}
.section-progress a:hover:after {
  background: var(--paper);
}
.section-progress a:focus-visible {
  outline-offset: 1px;
}
.project-dialog {
  padding: 0;
  border: 1px solid #797c70;
  color: var(--ink);
  background: var(--paper);
  width: min(1000px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
}
.project-dialog::backdrop {
  background: #080a09db;
  backdrop-filter: blur(8px);
}
body.project-is-open {
  overflow: hidden;
}
.case-close {
  position: sticky;
  float: right;
  top: 16px;
  right: 16px;
  z-index: 3;
  margin: 16px 16px -60px 0;
  width: 44px;
  height: 44px;
  font: 30px Arial;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.case-body {
  padding: 50px;
}
.case-body h2 {
  font: 800 clamp(28px, 4vw, 52px)/1.1 var(--display);
  letter-spacing: -0.055em;
  margin: 28px 45px 20px 0;
}
.case-body > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 740px;
}
.case-body > a > img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  margin: 30px 0;
  background: #d9d7c9;
}
.case-body > a {
  display: block;
}
#case-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
#case-sections h3 {
  font: 700 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
#case-sections p {
  font-size: 14px;
  line-height: 1.8;
}
.case-actions {
  display: flex;
  gap: 30px;
  margin-top: 35px;
}
.case-actions [hidden] {
  display: none;
}
.case-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  margin: 24px 0;
  border-block: 1px solid #10121030;
}
.case-navigation button {
  border: 1px solid #10121050;
  background: transparent;
  padding: 10px 14px;
  font: 700 11px var(--mono);
}
.case-navigation button:hover {
  background: var(--ink);
  color: var(--paper);
}
.case-navigation button:disabled {
  opacity: 0.35;
  cursor: default;
}
.case-navigation output {
  font: 700 11px var(--mono);
  white-space: nowrap;
}
.smart-contact-dialog {
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--blue);
  max-height: calc(100svh - 44px);
}
.smart-contact-header h3 {
  color: var(--ink);
  font: 800 30px/1.1 var(--display);
  letter-spacing: -0.045em;
}
.smart-contact-header p,
.smart-contact-form label {
  color: #43473e;
}
.smart-contact-kicker {
  color: var(--blue);
  font-family: var(--mono);
}
.smart-contact-form input,
.smart-contact-form select,
.smart-contact-form textarea {
  color: var(--ink);
  border: 1px solid #1115;
  background: #fff6;
  border-radius: 0;
}
.smart-contact-form input:focus,
.smart-contact-form select:focus,
.smart-contact-form textarea:focus {
  background: #fff9;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #3457cf33;
}
.smart-contact-close {
  border-radius: 0;
  color: var(--ink);
  border: 1px solid #1115;
  font-size: 26px;
}
.smart-contact-submit {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 0;
  padding: 14px 22px;
  font: 700 12px var(--mono);
}
.smart-contact-status.is-info {
  color: #4c5046;
}
.smart-contact-status.is-error {
  color: #a32b22;
}
.smart-contact-status.is-success {
  color: #276044;
}
.smart-contact-honeypot {
  left: 0;
  top: 0;
  clip-path: inset(50%);
}
.contact-toast {
  background: var(--ink);
  border-radius: 0;
}
.contact-toast-close {
  border-radius: 0;
}
.reveal {
  opacity: 1;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes headline-in {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-15px) rotate(calc(var(--tilt) + 3deg));
  }
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes counter-orbit {
  to {
    transform: rotate(calc(var(--counter) - 360deg));
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation-play-state: paused !important;
}
.motion-paused .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (min-width: 1600px) {
  .hero-copy {
    top: 49%;
  }
  .hero-photo {
    left: 8%;
    bottom: 20%;
  }
  .code-sticker {
    right: 10%;
  }
  .hero-globe {
    right: 12%;
  }
}
@media (max-width: 1100px) {
  #navigation {
    gap: 16px;
  }
  .signal-dots {
    left: 43%;
  }
  .hero-copy h1 {
    font-size: 8vw;
  }
  .hero-photo {
    width: 17%;
    left: 4%;
    bottom: 18%;
  }
  .code-sticker {
    width: 190px;
    right: 4%;
    top: 16%;
    font-size: 10px;
  }
  .hero-globe {
    right: 7%;
    bottom: 18%;
  }
  .wire-sphere {
    width: 125px;
    height: 125px;
  }
  .hero-scribble {
    left: 18%;
    top: 23%;
    font-size: 24px;
  }
  .about-spread {
    gap: 3%;
    grid-template-columns: 0.75fr 1.25fr;
  }
  .about-columns {
    gap: 20px;
  }
  .about-principles {
    padding-left: 18px;
  }
  .about-copy h2 {
    font-size: 48px;
  }
  .portrait-composition {
    padding: 30px 15px 90px;
  }
  .portrait-note {
    font-size: 25px;
  }
  .skills-layout {
    grid-template-columns: 0.85fr 1.5fr;
    min-height: 620px;
    gap: 30px;
  }
  .skill-note {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 150px 1fr 1.5fr;
    gap: 20px;
    align-items: center;
    padding: 0;
    margin: 0 0 40px;
  }
  .skill-note h3 {
    margin: 0;
  }
  .skill-note > p {
    min-height: 0;
  }
  .skill-note .proof-tags {
    display: none;
  }
  .skills-bottom {
    padding-bottom: 15px;
  }
  .experience-layout {
    gap: 5%;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .experience-row {
    grid-template-columns: 90px 1fr 20px;
    gap: 15px;
  }
  .experience-row h3 {
    font-size: 21px;
  }
  .contact-star {
    font-size: 100px;
  }
  .contact-actions {
    gap: 7%;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 25px;
  }
  .site-header {
    padding-top: 24px;
    align-items: flex-start;
  }
  .wordmark {
    font-size: 25px;
  }
  .signal-dots {
    left: 49%;
    top: 29px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    background: var(--ink);
    padding: 6px 10px;
    font: 10px var(--mono);
  }
  .menu-toggle span {
    font-size: 18px;
  }
  #navigation {
    display: none;
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    background: var(--paper);
    color: var(--ink);
    padding: 20px;
    box-shadow: 5px 5px 0 var(--red);
  }
  #navigation.is-open {
    display: grid;
    gap: 0;
  }
  #navigation a {
    padding: 13px 0;
    font-size: 13px;
    border-bottom: 1px solid #1112;
  }
  .page-header {
    min-height: 780px;
    max-height: 1050px;
    height: 100svh;
  }
  .hero-note {
    top: 112px;
    font-size: 8px;
  }
  .hero-copy {
    top: 47%;
    max-width: calc(100% - 48px);
    width: calc(100% - 48px);
  }
  .hero-copy h1 {
    font-size: clamp(51px, 11.3vw, 85px);
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .name-sticker {
    font-size: 7px;
    padding: 7px 8px;
    margin: 15px 0 0 6px;
    transform: rotate(-3deg);
  }
  .hero-copy p {
    font-size: 12px;
    margin-top: 21px;
  }
  .hero-project-link {
    font-size: 9px;
    margin-top: 17px;
  }
  .hero-photo {
    width: 125px;
    left: 30px;
    bottom: 11%;
    padding: 6px 6px 10px;
  }
  .hero-photo > span {
    font-size: 14px;
    margin-top: 6px;
  }
  .hero-globe {
    right: 13%;
    bottom: 12%;
  }
  .wire-sphere {
    width: 93px;
    height: 93px;
    box-shadow:
      0 0 0 4px #101210,
      0 0 0 6px #ddd7c7;
  }
  .hero-globe > span {
    font-size: 6px;
    margin-top: 12px;
  }
  .code-sticker {
    width: 132px;
    top: 15%;
    right: -22px;
    opacity: 0.55;
    font-size: 8px;
    border-width: 4px;
  }
  .code-sticker code {
    padding: 7px 10px;
  }
  .code-sticker > div {
    font-size: 6px;
    padding: 3px 6px;
  }
  .hero-scribble {
    display: none;
  }
  .hero-bottom {
    bottom: 25px;
    font-size: 8px;
  }
  .hero-bottom > .mono {
    display: none;
  }
  .hero-bottom > a:nth-child(2) {
    position: static;
    transform: none;
  }
  .hero-bottom > a:nth-child(2) span {
    font-size: 16px;
    margin-left: 7px;
  }
  .section-top > .mono {
    font-size: 8px;
  }
  .label {
    font-size: 9px;
    padding: 6px 9px;
  }
  .about {
    padding-top: 35px;
  }
  .stamp {
    display: none;
  }
  .about-spread {
    grid-template-columns: 1fr;
    padding: 40px 0 55px;
    gap: 45px;
  }
  .about-copy {
    grid-row: 1;
  }
  .about-copy h2 {
    font-size: clamp(38px, 8vw, 56px);
    white-space: normal;
  }
  .about-lead {
    font-size: 25px;
  }
  .about-columns {
    grid-template-columns: 1fr;
  }
  .about-columns p {
    font-size: 14px;
  }
  .about-principles {
    display: none;
  }
  .about-tags {
    margin-top: 8px;
  }
  .portrait-composition {
    width: 80%;
    max-width: 340px;
    justify-self: center;
    padding-bottom: 70px;
  }
  .portrait-note {
    bottom: -7px;
    right: -15px;
  }
  .portrait-tag {
    font-size: 8px;
  }
  .big-asterisk {
    font-size: 70px;
  }
  .ticker {
    font-size: 13px;
    padding: 17px 0;
  }
  .skills-section {
    padding-top: 36px;
    min-height: 0;
  }
  .skills-section:before {
    inset: 12px;
  }
  .skills-section .section-top > .mono {
    display: none;
  }
  .skills-section .section-top .handwritten {
    font-size: 25px;
  }
  .skills-layout {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 25px;
    min-height: 0;
  }
  .skills-heading h2 {
    font-size: 61px;
    margin: 22px 0 17px;
  }
  .skills-heading h2 br {
    display: none;
  }
  .skills-heading h2 em {
    margin: 0 8px;
  }
  .skills-heading p {
    max-width: 350px;
  }
  .orbit-hint {
    font-size: 8px;
    margin-top: 15px;
  }
  .orbit-stage {
    max-width: 480px;
    width: 92%;
    margin: 15px auto 30px;
  }
  .orbit-slot button {
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 4px #101210;
  }
  .orbit-slot button b {
    font-size: 13px;
  }
  .orbit-core > span {
    font-size: 25px;
  }
  .orbit-core small {
    font-size: 5px;
  }
  .skill-note {
    display: block;
    margin-bottom: 25px;
  }
  .skill-note h3 {
    margin: 18px 0 10px;
  }
  .skill-note > p {
    font-size: 13px;
    min-height: 65px;
  }
  .skills-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 8px;
    padding-bottom: 12px;
  }
  .experience-section {
    padding-top: 35px;
    padding-bottom: 50px;
  }
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  .experience-layout h2 {
    font-size: 36px;
  }
  .experience-layout > div > p {
    margin: 15px 0 23px;
  }
  .experience-row {
    grid-template-columns: 80px 1fr 15px;
    gap: 12px;
  }
  .experience-row > .mono {
    font-size: 8px;
  }
  .experience-row h3 {
    font-size: 22px;
  }
  .experience-row p {
    font-size: 12px;
  }
  .experience-row small {
    font-size: 11px;
  }
  .projects-section {
    padding-top: 35px;
    padding-bottom: 60px;
  }
  .projects-heading {
    display: block;
    padding: 42px 0 25px;
  }
  .projects-heading h2 {
    font-size: clamp(29px, 7vw, 45px);
  }
  .projects-heading > p {
    margin-top: 20px;
    font-size: 13px;
  }
  .project-toolbar {
    padding: 16px 0 25px;
  }
  .project-toolbar > span:last-child {
    display: none;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .work-card:nth-child(even) {
    margin-top: 0;
  }
  .work-open .work-title {
    display: block;
    font-size: 25px;
  }
  .work-meta {
    font-size: 8px;
  }
  .work-view {
    width: 60px;
    height: 60px;
    font-size: 8px;
    right: 12px;
    bottom: 12px;
  }
  .work-stack {
    font-size: 9px;
  }
  .contact-section {
    padding-top: 35px;
  }
  .contact-section .section-top {
    align-items: flex-start;
    gap: 20px;
  }
  .contact-section .section-top > .mono {
    font-size: 7px;
    max-width: 120px;
    text-align: right;
  }
  .contact-section .live-dot {
    margin-right: 6px;
  }
  .contact-heading {
    padding-top: 50px;
  }
  .contact-heading > .handwritten {
    font-size: 28px;
  }
  .contact-heading h2 {
    font-size: clamp(39px, 9vw, 65px);
  }
  .contact-star {
    font-size: 60px;
    right: 5%;
    bottom: 0;
  }
  .contact-actions {
    grid-template-columns: 1fr;
    padding: 35px 0 45px;
    gap: 35px;
  }
  .contact-actions > div > p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .email-link {
    font-size: 15px;
    gap: 8px;
  }
  .email-link span {
    font-size: 25px;
  }
  .contact-launch {
    margin: 0 6px;
    padding: 22px;
  }
  .contact-launch > span:nth-child(2) {
    font-size: 27px;
  }
  .social-links {
    grid-template-columns: 1fr 1fr;
  }
  .social-links a {
    font-size: 15px;
    padding: 18px 0;
  }
  .social-links a:nth-child(-n + 2) {
    border-bottom: 1px solid #1113;
  }
  .social-links a > span {
    font-size: 8px;
    margin-right: 8px;
  }
  footer {
    padding-top: 30px;
  }
  .footer-name {
    font-size: 9vw;
  }
  .footer-name > span {
    font-size: 7px;
    margin-left: 5px;
  }
  footer > .mono {
    flex-direction: column;
    align-items: flex-start;
    font-size: 8px;
    margin-top: 18px;
    padding-bottom: 38px;
    gap: 14px;
  }
  .section-progress {
    right: 12px;
    bottom: 57px;
    padding: 5px 8px;
    gap: 2px;
  }
  .section-progress a {
    width: 14px;
    height: 20px;
  }
  .case-body {
    padding: 30px 22px;
  }
  .case-body h2 {
    font-size: 30px;
    margin-right: 20px;
  }
  .case-body > p {
    font-size: 14px;
  }
  #case-sections {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }
  .case-close {
    width: 35px;
    height: 35px;
    top: 10px;
    right: 10px;
    margin: 10px 10px -45px 0;
  }
  .smart-contact-header h3 {
    font-size: 25px;
  }
  .smart-contact-dialog {
    max-height: calc(100svh - 24px);
  }
}
@media (hover: none), (pointer: coarse) {
  .work-visual.has-ascii > img {
    clip-path: none;
    filter: none;
  }
  .ascii-preview {
    display: none;
  }
  .work-view {
    transform: none;
    opacity: 1;
    width: 65px;
    height: 65px;
  }
  .orbit-slot button > span {
    opacity: 1;
    font-size: 7px;
  }
  .floating {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-thread path {
    stroke-dashoffset: 0;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .work-visual.has-ascii > img {
    clip-path: none;
  }
  .ascii-preview {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Accessibilite. Ajoute en fin de fichier pour ne pas deplacer les regles
   existantes. Les tailles visuelles restent inchangees : seules les zones
   cliquables sont agrandies, au moyen d'une surface invisible.
   -------------------------------------------------------------------------- */

/* WCAG 2.2, critere 2.5.8 : une cible tactile fait au moins 24 x 24 pixels. */
.section-progress a {
  width: 24px;
  height: 24px;
}
.section-progress a:after {
  left: 50%;
  transform: translateX(-50%);
}
.section-progress a[aria-current]:after {
  transform: translateX(-50%) scaleY(1.4);
}

.hero-bottom > a,
.motion-toggle,
.footer-legal a {
  position: relative;
}
.hero-bottom > a::after,
.motion-toggle::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 18px;
  /* Le pied de page descend a huit pixels sur telephone : ces liens sont
     consultes, pas decoratifs, ils gardent une taille lisible. */
  font-size: 11px;
}
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover {
  color: var(--red);
}

@media (max-width: 760px) {
  .section-progress a {
    width: 24px;
    height: 24px;
  }

  /* Ces textes portent une information : le titre du poste, le nom des
     technologies, le rappel du positionnement. Ils restaient sous huit pixels
     sur telephone. Les motifs purement decoratifs ne sont pas touches. */
  .name-sticker {
    font-size: 10px;
  }
  .orbit-slot button > span {
    font-size: 9px;
  }
  .orbit-core small {
    font-size: 8px;
  }
  .contact-section .section-top > .mono {
    font-size: 10px;
    max-width: 150px;
  }
  .footer-name > span {
    font-size: 10px;
  }
}
