@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink:    #0a0a0a;
  --dim:    #6b6b6b;
  --bg:     #ffffff;
  --plate:  #f2f2f2;
  --slab:   #e9e9e9;
  --line:   #e2e2e2;
  --accent: #9a9a9a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* The hero is a fixed backdrop the grey sheet slides over. .stage and .finale must keep an
   opaque background and a higher z-index or the hero shows through them. */
.wrap {
  position: sticky; top: 0; z-index: 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 78rem; margin-inline: auto; padding: 5rem 1.75rem;
  will-change: transform;
}

h1 {
  font-size: clamp(3.2rem, 13vw, 12rem);
  font-weight: 400; letter-spacing: -.045em; line-height: .82;
}

.intro {
  position: relative;
  margin-top: clamp(3rem, 9vw, 8rem);
  margin-left: clamp(0rem, 7vw, 8rem);
}

/* The tag sits in the hole the first-line indent leaves, so the paragraph itself starts at
   the left margin like every other line. Drop the indent and the two collide. */
.tag {
  position: absolute; left: 0; top: .55em;
  color: var(--dim); font-size: .82rem; letter-spacing: .02em;
}

.bio {
  font-size: clamp(1.15rem, 2.5vw, 2.1rem);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.16;
  text-indent: 5.4em;
}

/* The sweep animates background-size, so the highlight must stay a background image —
   giving mark a plain background-color paints the whole band instantly. */
.bio mark {
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(var(--plate), var(--plate));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 100%;
  padding: 0 .12em;
  animation: highlight .7s cubic-bezier(.4, 0, .2, 1) forwards;
}

.bio mark:nth-of-type(2) { animation-delay: .18s; }
.bio mark:nth-of-type(3) { animation-delay: .36s; }

@keyframes highlight { to { background-size: 100% 100%; } }

@media (prefers-reduced-motion: reduce) {
  .bio mark { animation: none; background-size: 100% 100%; }
}

.foot {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 8vw, 6rem);
}

/* isolation keeps the plate's negative z-index behind the portrait rather than behind
   the page background, where it vanishes entirely. */
.portrait {
  position: relative; isolation: isolate;
  display: inline-block; vertical-align: -.1em;
  width: .88em; height: .88em; margin-left: .14em;
  border-radius: 999px; object-fit: cover; object-position: center top;
  background: var(--plate);
  box-shadow: 0 0 0 1px var(--line);
}

.links {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .82rem; letter-spacing: .04em;
}

.btn {
  display: inline-block; padding: .45rem 1rem;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}
.btn:hover { border-color: var(--accent); background: var(--plate); }

.sep-dot { color: var(--line); }

.plain, .reach a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--dim); text-decoration: none;
  transition: color .25s ease;
}
.plain:hover, .reach a:hover { color: var(--ink); }

.ico { width: 1.05em; height: 1.05em; }

.reach { display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; }

.stage {
  --marquee: clamp(2.6rem, 5.5vw, 9rem);
  position: relative; z-index: 1;
  background: var(--bg);
  overflow: hidden;
  margin-top: -5rem; padding-top: calc(var(--marquee) * .9);
}

.slab {
  position: relative;
  background: var(--slab);
}

/* ScrollTrigger pins .slab-stick and owns the scroll distance. Without .is-pinned the rail
   must stay a plain sideways-scrolling strip, or the timeline becomes unreachable whenever
   GSAP fails to load. */

.slab-stick {
  height: 100svh;
  display: grid;
  grid-template-columns: 17rem 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 4rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.slab-mark {
  position: absolute; top: 1.5rem; right: 1.75rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 8rem); line-height: .85; letter-spacing: .02em; text-transform: uppercase;
  color: var(--dim);
}

.slab-aside { display: flex; flex-direction: column; gap: 1rem; }

.rail { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-top: .6rem; }
.slab.is-pinned .rail { overflow-x: hidden; }
.rail::-webkit-scrollbar { display: none; }

.rail-line {
  position: relative;
  height: 1px; background: var(--line);
  margin-bottom: 2.5rem;
}

.rail-fill {
  position: absolute; inset: 0;
  transform-origin: left center; transform: scaleX(0);
  background: var(--ink);
}

.rail-track {
  display: flex; align-items: flex-start; gap: 5rem;
  list-style: none; padding-right: 1.75rem;
  will-change: transform;
}

.stop { position: relative; flex: 0 0 20rem; padding-top: 3.2rem; }

.stop::before {
  content: ""; position: absolute; top: -2.85rem; left: 0;
  width: .7rem; height: .7rem; border-radius: 999px;
  background: var(--ink);
}

.stop-year {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 2.6rem; line-height: 1; letter-spacing: .02em;
  color: var(--ink);
}

.stop-title { font-size: 1rem; font-weight: 400; margin-top: .75rem; }

.stop-note { margin-top: .4rem; color: var(--dim); line-height: 1.6; font-size: .9rem; }

/* Sits outside the slab and is nudged down into it, so the slab crops the descenders.
   The translate is in em of this font-size — change one and that meeting line breaks. */
.marquee {
  position: absolute; bottom: 100%; left: 0; right: 0;
  transform: translateY(.12em);
  display: flex; overflow: hidden;
  font-family: 'Bebas Neue', Impact, "Haettenschweiler", sans-serif;
  font-size: var(--marquee); line-height: .8;
  user-select: none;
}

.marquee-track {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .22em; padding-right: .22em;
  animation: marquee 42s linear infinite;
}

.marquee-track span {
  font-weight: 400; letter-spacing: .01em;
  color: var(--slab); white-space: nowrap;
}

.marquee-track .sep { font-size: .45em; }

@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.slab-label {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim);
}

.slab-lede {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300; letter-spacing: -.03em; line-height: 1.1;
  max-width: 20ch;
}

footer { margin-top: 2rem; }
footer a { color: var(--dim); text-decoration: none; font-size: .82rem; letter-spacing: .04em; }
footer a:hover { color: var(--ink); }

.featured {
  position: relative; z-index: 1;
  background: var(--bg);
  min-height: 100svh;
  overflow: hidden;
}

.feat-stick {
  position: relative;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end; gap: 2rem;
  padding: 4rem 1.75rem;
  overflow: hidden;
}

.feat-left { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding-bottom: calc(8vw + 3rem); }

/* The descriptions are stacked on one spot, so the block needs a height of its own or the
   column collapses and the word below jumps on every change. */
.feat-desc { position: relative; height: 15rem; }

.desc { position: absolute; inset: 0; max-width: 40rem; }

.desc-no {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1rem; letter-spacing: .04em; color: var(--dim);
}

.desc-title {
  margin-top: .3rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 400; letter-spacing: -.035em; line-height: 1;
}

.desc-note {
  margin-top: .9rem; color: var(--dim);
  font-size: clamp(1.05rem, 1.7vw, 1.6rem);
  letter-spacing: -.015em; line-height: 1.3;
}

/* Pinned to the stick's own corner: in flow it gets pushed out of the row whenever the
   description block grows, and the section clips it away. */
.feat-bg {
  position: absolute; left: 1.75rem; bottom: 1.2rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 8vw; line-height: .95; letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--slab);
  white-space: nowrap; user-select: none;
}

.wheel-window {
  --pw: clamp(13rem, min(25vw, 36svh), 28rem);
  --ph: calc(var(--pw) * 1.414);
  --r: calc(var(--pw) * 2.3);
  --a: 30deg;
  position: relative;
  width: clamp(18rem, 54vw, 60rem);
  height: calc(var(--ph) * 1.14);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent),
              linear-gradient(#000 72%, transparent);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent),
                      linear-gradient(#000 72%, transparent);
  -webkit-mask-composite: source-in;
}

/* GSAP writes `transform` on .wheel to spin it; keep its positioning on left/top, or the
   rotation overwrites it and the wheel jumps to the window's corner. */
.wheel {
  position: absolute; left: 50%; top: calc(50% + var(--r));
  width: 0; height: 0;
  list-style: none; will-change: transform;
}

.page {
  position: absolute;
  left: calc(var(--pw) / -2); top: calc(var(--ph) / -2);
  width: var(--pw); height: var(--ph);
  transform: rotate(calc(var(--k) * var(--a))) translateY(calc(var(--r) * -1)) scale(.88);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1.2rem 2.4rem -1.2rem rgba(0, 0, 0, .18);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

.page img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .4s ease, opacity .4s ease;
}

.page.is-on img { filter: none; opacity: 1; }

.page[data-project] { cursor: zoom-in; }

.page.is-on {
  transform: rotate(calc(var(--k) * var(--a))) translateY(calc(var(--r) * -1)) scale(1);
  border-color: var(--accent);
  box-shadow: 0 1.6rem 3rem -1.2rem rgba(0, 0, 0, .28);
}

.desc-link {
  display: inline-block; margin-top: 1.1rem;
  color: var(--ink); text-decoration: none;
  font-size: .9rem; letter-spacing: .04em;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
  transition: border-color .25s ease;
}
.desc-link:hover { border-color: var(--ink); }

html.is-viewing { overflow: hidden; }

.viewer { position: fixed; inset: 0; z-index: 100; }
.viewer[hidden] { display: none; }

.viewer-backdrop { position: absolute; inset: 0; background: #d9dfdb; }

.viewer-sheet {
  position: fixed; left: 0; top: 0;
  object-fit: cover; object-position: top;
  background: #fff;
  box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, .35);
}

.viewer-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  background: #d9dfdb;
}

.viewer-bar {
  position: fixed; top: 1rem; right: 1rem; z-index: 1;
  display: flex; align-items: center; gap: .6rem;
}

.viewer-tab,
.viewer-close {
  height: 2.6rem;
  display: inline-grid; place-items: center;
  background: var(--bg); color: var(--ink);
  font: inherit; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 .4rem 1rem -.4rem rgba(0, 0, 0, .25);
  cursor: pointer;
}
.viewer-tab { padding: 0 1rem; font-size: .8rem; letter-spacing: .04em; text-decoration: none; }
.viewer-close { width: 2.6rem; font-size: 1.5rem; line-height: 1; }
.viewer-tab:hover, .viewer-close:hover { border-color: var(--accent); }

.feat-right {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-end; gap: 2.5rem;
}

.feat-aside { max-width: 22rem; }

.feat-label {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--dim);
}

.feat-line {
  margin-top: .8rem;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.15;
}

.feat-back { margin-top: 1.4rem; }
.feat-back a {
  color: var(--dim); text-decoration: none;
  font-size: .82rem; letter-spacing: .04em;
  transition: color .25s ease;
}
.feat-back a:hover { color: var(--ink); }

.finale {
  position: relative; z-index: 1;
  background: var(--bg);
  display: grid; place-items: center;
  padding: 6rem 1.75rem 8rem;
  overflow: hidden;
}

.sign {
  margin-top: 1.2rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--dim);
}

.closer { display: inline-block; }

.closer-line {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400; letter-spacing: .01em; line-height: 1;
  font-size: clamp(2rem, 7vw, 7rem);
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 56rem) {
  .feat-stick { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-items: center; }
  .feat-left { grid-area: auto; order: 2; }
  .feat-bg { display: none; }
  .feat-left { padding-bottom: 0; }

  .feat-right { align-self: auto; align-items: stretch; gap: 1.5rem; order: 1; min-width: 0; }
  .feat-aside { max-width: none; }

  .wheel-window { --pw: min(62vw, 34svh); width: 100%; }

  .slab-stick {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3rem;
  }
}

/* Below this width the name always wraps to two lines, so the portrait is sized to both of
   them. An inline image cannot do that — it has to leave the text flow. */
@media (max-width: 30rem) {
  h1 { display: flex; align-items: center; gap: .16em; }
  .portrait { width: 1.66em; height: 1.66em; margin-left: 0; }
}

@media (max-width: 34rem) {
  .tag { position: static; margin-bottom: 1rem; }
  .bio { text-indent: 0; }
  .stop { flex-basis: 16rem; }
  .rail-track { gap: 3rem; }
  .bio, .links { margin-inline: auto; }
  .links { justify-content: center; }
}
