@font-face {
  font-family: Diatype;
  src: url("fonts/diatype.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root { --image-label-gap: 13px }
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: #fff; color: #171717; font-family: Diatype, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700 }
a { color: inherit; text-decoration: none }
a:hover, button:hover { text-decoration: underline }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer }
:focus-visible { outline: 2px solid #494949; outline-offset: 3px }
.bar, footer { display: flex; justify-content: space-between; align-items: center; padding: 21px clamp(16px, 4vw, 62px); gap: 12px; font-size: 14px }
.bar > a { text-transform: uppercase; font-size: clamp(18px, 3.1vw, 36px); font-weight: 700; letter-spacing: .012em; line-height: 1; word-spacing: .07em }
nav { display: flex; gap: clamp(12px, 3vw, 30px) }
.intro {
  width: min(79.166667vw, 1280px);
  margin: 0 auto 68px;
  container-type: inline-size;
  --stage-height: calc(100cqw * var(--landscape-height, .75));
  --portrait-padding: clamp(14px, 2.8vw, 48px);
}
.intro-image {
  height: var(--stage-height);
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}
.intro-image:active { cursor: grabbing }
.intro-image:focus { outline: none }
#intro-photo, #intro-previous {
  display: block;
  width: 100%;
  height: 100%;
  padding: var(--portrait-padding);
  object-fit: contain;
  pointer-events: none;
}
#intro-photo.is-landscape, #intro-previous.is-landscape { padding: 0 }
#intro-previous {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 1;
}
#intro-previous[hidden] { display: none }
.project { margin: 0 0 clamp(44px, 7vw, 100px) }
h2 { display: flex; align-items: baseline; gap: 14px; padding: 0 clamp(16px, 4vw, 62px); margin: 0 0 var(--image-label-gap); text-transform: uppercase; font-size: clamp(17px, 2.1vw, 26px); line-height: 1; letter-spacing: .012em }
h2 span { font-size: 13px; letter-spacing: 0 }
.carousel { overflow: hidden; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; outline-offset: -2px }
.carousel:active { cursor: grabbing }
.track, .sequence { display: flex; width: max-content }
.sequence { flex: none; gap: 5px; padding-right: 5px }
.sequence img { display: block; flex: none; height: clamp(355px, 69svh, 800px); width: auto; object-fit: contain; background: #f6f5f2 }
@media (max-width: 540px) {
  .intro {
    width: 100%;
    margin-bottom: 52px;
    --stage-height: min(calc(100svh - 80px), calc(100cqw * var(--tallest-frame, 1.5)));
    --portrait-padding: 0px;
  }
  .bar { font-size: 12px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
}
.intro-counter {
  --blank-height: calc(var(--stage-height) - min(
    var(--stage-height) - 2 * var(--frame-padding, 0px),
    (100cqw - 2 * var(--frame-padding, 0px)) / var(--frame-aspect, 1)
  ));
  transform: translateY(calc(var(--blank-height) / -2));
  margin: var(--image-label-gap) 0 0;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
footer { padding-block: clamp(34px, 6vw, 90px); font-size: clamp(16px, 1.2vw, 20px); font-weight: 500 }
footer p { max-width: calc(50vw - clamp(16px, 4vw, 62px)); margin: 0 0 2lh; line-height: 1.32 }
.contact-links { display: grid; justify-items: start; gap: 6px; line-height: 1.32 }


@media (max-width: 700px) { footer p { max-width: 100% } }
