:root {
  --ink: #171816;
  --ink-soft: #252623;
  --paper: #f1eee7;
  --paper-deep: #e3ded3;
  --coral: #e14b35;
  --blue: #8cc7dc;
  --acid: #dce968;
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(23, 24, 22, .2);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --page: min(1440px, calc(100vw - clamp(32px, 7vw, 112px)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { color: var(--ink); background: var(--acid); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.wd-skip { position: fixed; z-index: 100; top: -6rem; left: 1rem; padding: .8rem 1rem; color: var(--ink); background: var(--acid); font-weight: 800; }
.wd-skip:focus { top: 1rem; }
.wd-arrow { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }

.wd-nav { position: absolute; z-index: 10; inset: 0 0 auto; width: var(--page); min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; margin-inline: auto; color: #fff; border-bottom: 1px solid var(--line-dark); }
.wd-nav > p { margin: 0; color: rgba(255, 255, 255, .5); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wd-brand { display: inline-flex; width: max-content; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-size: .9rem; font-weight: 800; letter-spacing: -.025em; text-transform: lowercase; }
.wd-brand-dot { width: .72rem; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(225, 75, 53, .13); }
.wd-nav-link { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wd-nav-link .wd-arrow, .wd-project-link .wd-arrow, .wd-manifesto a .wd-arrow { transition: transform .2s ease; }
.wd-nav-link:hover .wd-arrow, .wd-project-link:hover .wd-arrow, .wd-manifesto a:hover .wd-arrow { transform: translate(.15rem, -.15rem); }

.wd-hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); grid-template-rows: 1fr auto; gap: clamp(3rem, 8vw, 9rem); align-items: end; padding: clamp(9rem, 18vh, 13rem) max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)) clamp(2rem, 5vh, 4rem); color: #fff; background: var(--ink); overflow: hidden; position: relative; }
.wd-hero::before { content: ""; position: absolute; width: min(60vw, 850px); aspect-ratio: 1; left: -18vw; bottom: -42%; border: 1px solid rgba(140, 199, 220, .28); border-radius: 50%; box-shadow: 0 0 0 5vw rgba(140, 199, 220, .025), 0 0 0 12vw rgba(140, 199, 220, .018), 0 0 0 20vw rgba(140, 199, 220, .012); pointer-events: none; }
.wd-hero::after { content: ""; position: absolute; inset: 0 0 auto 55%; height: 52%; opacity: .09; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.wd-hero-copy, .wd-hero-note, .wd-scroll { position: relative; z-index: 1; }
.wd-kicker, .wd-index { margin: 0; color: #a83224; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wd-hero .wd-kicker, .wd-manifesto .wd-kicker { color: #f06f5d; }
.wd-hero h1 { max-width: 11ch; margin: 1.5rem 0 0; font-size: clamp(3.9rem, 9vw, 9rem); line-height: .86; letter-spacing: -.075em; }
.wd-hero h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.wd-hero-note { align-self: end; padding-bottom: .4rem; }
.wd-hero-note > p { max-width: 36rem; margin: 0 0 2.5rem; color: rgba(255, 255, 255, .74); font: clamp(1.15rem, 1.65vw, 1.5rem)/1.48 var(--serif); }
.wd-hero-note dl { margin: 0; border-top: 1px solid var(--line-dark); }
.wd-hero-note dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-dark); }
.wd-hero-note dt { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.wd-hero-note dd { margin: 0; color: rgba(255, 255, 255, .55); font-size: .75rem; }
.wd-scroll { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .7); text-decoration: none; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wd-scroll span { color: var(--blue); font-size: 1.35rem; }

.wd-performance { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; padding: clamp(5rem, 9vw, 9rem) max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)); background: var(--acid); }
.wd-performance-intro h2 { max-width: 9ch; margin: 1.35rem 0 1.7rem; font-size: clamp(3.25rem, 6.4vw, 6.6rem); line-height: .88; letter-spacing: -.07em; }
.wd-performance-intro h2 em { font-family: var(--serif); font-weight: 400; }
.wd-performance-intro > p:last-child { max-width: 38ch; margin: 0; color: rgba(23, 24, 22, .7); font: clamp(1.02rem, 1.45vw, 1.3rem)/1.48 var(--serif); }
.wd-performance .wd-kicker { color: var(--ink); }
.wd-scorecard { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); color: #fff; background: var(--ink); box-shadow: 0 2.5rem 6rem rgba(23, 24, 22, .16); }
.wd-score-label { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; color: rgba(255, 255, 255, .82); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wd-score-label span { color: rgba(255, 255, 255, .7); }
.wd-scorecard dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line-dark); }
.wd-scorecard dl div { min-width: 0; padding: clamp(1rem, 2vw, 1.75rem) clamp(.75rem, 1.6vw, 1.35rem); }
.wd-scorecard dl div + div { border-left: 1px solid var(--line-dark); }
.wd-scorecard dt { font-size: clamp(2.65rem, 4.4vw, 4.8rem); font-weight: 700; line-height: .9; letter-spacing: -.08em; }
.wd-scorecard dd { margin: 1rem 0 0; color: rgba(255, 255, 255, .55); font-size: .53rem; font-weight: 800; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere; }
.wd-scorecard dd span { display: block; margin-top: .25rem; color: var(--blue); }
.wd-score-eco dt { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.wd-score-note { margin: 1.3rem 0 0; color: rgba(255, 255, 255, .62); font-size: .62rem; }

.wd-projects { background: var(--paper); }
.wd-project { min-height: 90svh; display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; padding: clamp(5rem, 11vw, 11rem) max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)); border-bottom: 1px solid var(--line-light); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.wd-project:nth-child(even) { grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); }
.wd-project:nth-child(even) .wd-project-copy { order: 2; }
.wd-project:nth-child(even) .wd-screen { order: 1; }
.wd-project-copy { max-width: 560px; }
.wd-index { display: flex; align-items: center; gap: 1rem; }
.wd-index span { display: grid; width: 2.3rem; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.wd-project h2 { margin: 1.65rem 0 0; font-size: clamp(2.9rem, 5vw, 5.5rem); line-height: .9; letter-spacing: -.055em; }
.wd-lead { max-width: 15ch; margin: 2.2rem 0 1.1rem; font: 400 clamp(1.55rem, 2.4vw, 2.2rem)/1.1 var(--serif); }
.wd-project-copy > p:not(.wd-index):not(.wd-lead) { max-width: 52ch; color: #55564f; font-size: .97rem; line-height: 1.7; }
.wd-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.8rem 0 2.2rem; padding: 0; list-style: none; }
.wd-tags li { padding: .46rem .58rem; border: 1px solid var(--line-light); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.wd-project-link { display: inline-flex; align-items: center; gap: .7rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.wd-screen { min-width: 0; aspect-ratio: 8 / 5; display: block; color: var(--ink); background: #fff; border: 1px solid rgba(23, 24, 22, .25); box-shadow: 0 2.6rem 6.5rem rgba(28, 27, 24, .15); text-decoration: none; overflow: hidden; position: relative; isolation: isolate; transition: transform .35s ease, box-shadow .35s ease; }
.wd-screen:hover { transform: translateY(-.35rem); box-shadow: 0 3.2rem 7.5rem rgba(28, 27, 24, .2); }
.wd-screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.wd-project--cathomedit { background: #eeeae2; }
.wd-screen--cathomedit { background: #f7f5ef; }

.wd-project--sortirama { background: #f5f0e7; }

.wd-project--francoscope {
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: start;
  background: #e9edf4;
}
.wd-project--francoscope .wd-project-copy { padding-top: .1rem; }
.wd-screen--francoscope {
  align-self: start;
  margin-top: .1rem;
  background: #f5f5f1;
  border-color: rgba(23, 24, 22, .42);
  box-shadow: none;
}
.wd-screen--francoscope:hover { transform: none; box-shadow: none; }

.wd-manifesto { display: grid; grid-template-columns: .45fr 1.25fr .8fr; gap: clamp(2rem, 6vw, 7rem); padding: clamp(6rem, 13vw, 13rem) max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)); color: #fff; background: var(--ink); }
.wd-manifesto h2 { max-width: 10ch; margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.wd-manifesto > div { align-self: end; }
.wd-manifesto > div p { max-width: 34ch; margin: 0 0 2rem; color: rgba(255, 255, 255, .68); font: clamp(1.15rem, 1.6vw, 1.45rem)/1.45 var(--serif); }
.wd-manifesto a { display: inline-flex; align-items: center; gap: .65rem; color: var(--acid); text-decoration: none; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.wd-footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-inline: max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)); color: #fff; background: var(--ink); border-top: 1px solid var(--line-dark); }
.wd-footer p, .wd-footer > span { margin: 0; color: rgba(255, 255, 255, .7); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.wd-footer > span { justify-self: end; }

@media (max-width: 980px) {
  .wd-nav { grid-template-columns: 1fr auto; }
  .wd-nav > p { display: none; }
  .wd-hero { grid-template-columns: 1fr; gap: 3.5rem; align-content: end; }
  .wd-hero h1 { max-width: 10ch; }
  .wd-hero-note { max-width: 620px; }
  .wd-performance { grid-template-columns: 1fr; }
  .wd-performance-intro h2 { max-width: 11ch; }
  .wd-project, .wd-project:nth-child(even) { min-height: 0; grid-template-columns: 1fr; gap: 3.5rem; }
  .wd-project--francoscope { gap: 2.75rem; }
  .wd-project:nth-child(even) .wd-project-copy, .wd-project:nth-child(even) .wd-screen { order: initial; }
  .wd-project-copy { max-width: 680px; }
  .wd-screen { width: 100%; max-width: 900px; }
  .wd-manifesto { grid-template-columns: 1fr 1fr; }
  .wd-manifesto .wd-kicker { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --page: calc(100vw - 28px); }
  .wd-nav { min-height: 64px; }
  .wd-brand { font-size: .82rem; }
  .wd-nav-link { font-size: .58rem; }
  .wd-hero { min-height: 0; padding-top: 8rem; padding-bottom: 2rem; }
  .wd-hero h1 { margin-top: 1.2rem; font-size: clamp(3.25rem, 17vw, 5.5rem); }
  .wd-hero-note > p { margin-bottom: 1.7rem; font-size: 1.08rem; }
  .wd-hero-note dl div { grid-template-columns: 1fr; gap: .2rem; }
  .wd-scroll { margin-top: 1rem; }
  .wd-performance { gap: 2.6rem; padding-block: 5rem; }
  .wd-score-label { display: grid; gap: .3rem; }
  .wd-scorecard dl { grid-template-columns: 1fr 1fr; }
  .wd-scorecard dl div + div { border-left: 0; }
  .wd-scorecard dl div:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .wd-scorecard dl div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .wd-scorecard .wd-score-eco { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1.25rem; border-left: 0; }
  .wd-scorecard .wd-score-eco dd { margin-bottom: .25rem; }
  .wd-project { gap: 2.6rem; padding-block: 5rem; }
  .wd-project--francoscope { gap: 2.25rem; }
  .wd-project h2 { margin-top: 1.35rem; font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .wd-lead { margin-top: 1.8rem; font-size: 1.55rem; }
  .wd-screen { margin-inline: -4px; }
  .wd-manifesto { grid-template-columns: 1fr; gap: 2rem; }
  .wd-manifesto .wd-kicker { grid-column: auto; }
  .wd-manifesto h2 { font-size: 3.7rem; }
  .wd-footer { grid-template-columns: 1fr; gap: .75rem; padding-block: 2rem; }
  .wd-footer > span { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
