@font-face {
  font-family: Geist;
  src: url("./geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Geist, Arial, sans-serif;
  color: #171b2d;
  background: #fff2dc;
  --ink: #171b2d;
  --paper: #fff2dc;
  --orange: #ff6d32;
  --line: #171b2d3b;
  --gutter: clamp(20px, 6vw, 100px);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px dashed currentColor; outline-offset: 5px; }
::selection { color: var(--ink); background: #ff9954; }
.wrap { width: min(100%, 1550px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: 12px; z-index: 4; padding: 12px 16px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }

.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; justify-self: start; gap: 8px; align-items: center; font-size: clamp(1.03rem, 1.7vw, 1.4rem); font-weight: 830; letter-spacing: -.055em; white-space: nowrap; }
.brand svg { width: 27px; height: 27px; }
.topbar .brand svg { color: #b3370c; }
.top-nav { line-height: 44px; font-weight: 690; font-size: .84rem; }
.top-nav:hover, footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.languages { display: flex; justify-self: end; align-items: center; border: 1px solid var(--line); border-radius: 50px; padding: 2px; }
.languages a { display: grid; place-items: center; min-width: 44px; min-height: 40px; font-size: .79rem; font-weight: 780; border-radius: 50px; }
.languages a[aria-current] { background: var(--ink); color: var(--paper); }
.languages a:not([aria-current]):hover { background: #171b2d12; }

.hero { background: radial-gradient(ellipse at 22% 7%, #ffab63, transparent 55%), var(--orange); border-block: 1px solid var(--ink); }
.hero-inner {
  min-height: clamp(640px, calc(100svh - 76px), 890px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(20px, 4.5vw, 86px);
  align-items: center;
  padding-block: clamp(50px, 8vw, 110px);
}
.hero-copy { animation: bring-in .7s both; }
.micro { font-size: .75rem; font-weight: 780; letter-spacing: .112em; line-height: 1.3; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2.3vw, 34px); }
.eyebrow svg { width: 18px; height: 18px; flex: none; }
h1 { font-size: clamp(4.1rem, 9.35vw, 10rem); font-weight: 900; line-height: .79; letter-spacing: -.102em; }
h1 span, h1 em { display: block; }
h1 em { font-family: Georgia, serif; letter-spacing: -.099em; line-height: .9; font-weight: 700; padding-right: .093em; }
:lang(fr) h1 { font-size: clamp(3.55rem, 7.9vw, 8.5rem); }
.summary { margin-top: clamp(25px, 3vw, 37px); font-size: clamp(1rem, 1.65vw, 1.35rem); line-height: 1.46; font-weight: 530; max-width: 31ch; }
.cta { display: inline-flex; justify-content: space-between; align-items: center; gap: 19px; min-height: 51px; margin-top: 25px; padding: 9px 17px; color: var(--paper); background: var(--ink); font-weight: 740; font-size: .92rem; transition: transform .22s, box-shadow .22s; }
.cta svg { width: 20px; height: 20px; }
.cta:hover { transform: translate(-3px,-4px); box-shadow: 4px 5px 0 #fff2dc; }

.hero-art { min-width: 0; animation: poster-in .83s .08s both cubic-bezier(.2,.75,.3,1); }
.image-wrap { position: relative; transform: rotate(-2deg); border: 1.5px solid var(--ink); padding: 8px; background: var(--paper); box-shadow: 10px 12px 0 #171b2d; }
.image-wrap img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; object-position: center; background: #ffd492; }
.art-seal { position: absolute; width: clamp(55px, 9vw, 128px); aspect-ratio: 1; display: grid; place-items: center; right: -14px; bottom: -13px; background: var(--paper); border-radius: 50%; border: 1.5px solid var(--ink); transform: rotate(11deg); }
.art-seal svg { width: 63%; margin: auto; transition: transform .36s cubic-bezier(.1,.7,.2,1); }
.hero-art:hover .art-seal svg { transform: rotate(48deg) scale(.88); }
.hero-art figcaption { margin-top: 30px; text-align: center; }
@keyframes bring-in { from { opacity: 0; transform: translateY(17px); } }
@keyframes poster-in { from { opacity: 0; transform: rotate(3deg) translateY(25px) scale(.96); } }

.workshop { padding-block: clamp(65px, 9vw, 144px); scroll-margin-top: 20px; }
.workshop-inner { display: grid; gap: 34px; }
.workshop-intro { max-width: 70rem; }
.workshop h2 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 850; line-height: .96; letter-spacing: -.078em; }
.workshop-intro > p:not(.eyebrow) { margin-top: 15px; max-width: 48ch; font-size: 1.08rem; line-height: 1.5; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.picker button {
  border: 1px solid var(--ink); min-height: 45px; padding: 6px 16px;
  border-radius: 50px; font-weight: 690; cursor: pointer; background: transparent;
  transition: background .2s, transform .2s;
}
.picker button:hover { transform: translateY(-2px); }
.picker button[aria-pressed="true"] { background: var(--orange); }
.result h3 { margin-bottom: 24px; font-size: clamp(1.45rem, 2.5vw, 2.4rem); line-height: 1.1; letter-spacing: -.05em; }
.result ol { position: relative; list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 65px); }
.result ol::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); transform-origin: left; }
.result li { counter-increment: step; z-index: 1; }
.result li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 50%; width: 47px; height: 47px;
  margin-bottom: 15px; font-size: .78rem; font-weight: 740; letter-spacing: .03em;
}
.result li h4 { font-size: 1.13rem; line-height: 1.25; letter-spacing: -.035em; }
.result li p { margin-top: 6px; max-width: 36ch; font-size: .96rem; line-height: 1.55; color: #444257; }
.result.is-new ol::before { animation: draw .45s both; }
.result.is-new li { animation: bring-in .32s both; }
.result.is-new li:nth-child(2) { animation-delay: .07s; }
.result.is-new li:nth-child(3) { animation-delay: .14s; }
@keyframes draw { from { transform: scaleX(0); } }

.closer { color: var(--paper); background: var(--ink); padding-block: clamp(38px, 6vw, 80px); }
.closer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.closer svg { color: var(--orange); width: clamp(35px, 6vw, 74px); flex: none; }
.closer p { flex: 1; font-size: clamp(1.75rem, 4.1vw, 4.4rem); font-weight: 790; line-height: 1.04; letter-spacing: -.065em; }
footer { display: flex; align-items: center; justify-content: space-between; min-height: 79px; gap: 16px; }
footer > a:last-child { text-align: right; display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-weight: 700; font-size: .82rem; }

@media (max-width: 730px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 49px; padding-block: 42px 43px; }
  h1 { font-size: clamp(4.2rem, 16vw, 7.5rem); }
  :lang(fr) h1 { font-size: clamp(3.4rem, 13.5vw, 6.7rem); }
  .summary { margin-top: 24px; }
  .hero-art { margin-inline: 3px 12px; }
  .image-wrap img { aspect-ratio: 1.3; }
  .result ol { grid-template-columns: 1fr; gap: 21px; }
  .result ol::before { inset: 0 auto 0 23px; width: 1px; height: auto; transform-origin: top; }
  .result.is-new ol::before { animation-name: draw-vertical; }
  .result li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
  .result li::before { grid-row: 1 / 3; margin: 0; }
  .result li p { grid-column: 2; }
}
@keyframes draw-vertical { from { transform: scaleY(0); } }
@media (max-width: 390px) {
  .topbar { gap: 9px; }
  .topbar .brand svg { width: 21px; height: 21px; }
  .topbar .brand { gap: 4px; }
  .languages a { min-width: 33px; }
  .top-nav { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
