:root {
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #080808;
  --muted: #606060;
  --line: rgba(8, 8, 8, .2);
  --pad: clamp(16px, 1.25vw, 30px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: auto; }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.3; -webkit-font-smoothing: antialiased;
}
body.is-loading { height: 100svh; overflow: hidden; }
::selection { background: var(--ink); color: var(--white); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
svg { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.skip-link { position: fixed; z-index: 10000; top: 16px; left: 16px; padding: 12px 16px; transform: translateY(-180%); background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.section-pad { padding-inline: var(--pad); }

/* One logo, one exit plane. Progress reflects downloaded and decoded media. */
.loader { position: fixed; z-index: 9000; inset: 0; overflow: hidden; background: #090909; color: white; }
.loader__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(30px, 5svh, 56px); padding: 32px 20px 72px; }
.loader__identity { width: clamp(160px, 16vw, 230px); overflow: hidden; }
.loader__identity img { width: 100%; height: auto; filter: invert(1); }
.loader__number { font-size: clamp(108px, 17vw, 248px); font-weight: 400; line-height: .8; letter-spacing: -.065em; font-variant-numeric: tabular-nums; text-align: center; }
.loader__number span { display: block; }
.loader__footer { position: absolute; inset: auto var(--pad) max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; }
.loader__footer p { margin: 0; color: #b5b5b5; }
.loader__footer button { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.loader__footer [hidden] { display: none; }

/* The compact menu unfolds in place, keeping the hero clear. */
.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; display: flex; align-items: flex-start; justify-content: space-between; padding: var(--pad); color: white; mix-blend-mode: difference; pointer-events: none; }
.site-logo { width: 75px; pointer-events: auto; }
.site-logo img { width: 100%; height: auto; filter: invert(1); }
.site-menu { position: relative; pointer-events: auto; min-width: 112px; }
.menu-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; min-height: 32px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; }
.menu-symbol { width: 12px; height: 12px; fill: currentColor; transition: transform 360ms var(--ease-out); }
.site-nav { position: absolute; top: 32px; right: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-block: 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.has-js .site-nav { visibility: hidden; pointer-events: none; }
.has-js .site-menu.is-open .site-nav { visibility: visible; pointer-events: auto; }
.menu-toggle[aria-expanded="true"] .menu-symbol { transform: rotate(45deg); }
.nav-link { position: relative; display: block; height: 1.2em; overflow: hidden; }
.nav-link span { display: block; transition: transform 220ms var(--ease-out); }
.nav-link span:last-child { position: absolute; top: 100%; left: 0; }

/* The original lowercase name is independent of the shifted studio logo. */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: white; isolation: isolate; }
.hero__word-wrap { position: relative; width: 100%; }
.hero__word { position: relative; z-index: 1; width: max-content; max-width: 100%; margin: 0 auto; font-size: 16.3vw; font-weight: 700; letter-spacing: -.065em; line-height: .78; text-align: center; white-space: nowrap; user-select: none; }
.hero.is-fluid .hero__word { color: transparent; }
.hero__canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__film { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #000; visibility: hidden; pointer-events: none; }
.hero.is-fluid .hero__film { visibility: visible; }
.hero.is-fluid .hero__video { opacity: 0 !important; }
.hero__video { position: absolute; top: 0; left: 0; width: 1000px; height: 562.5px; max-width: none; object-fit: fill; transform-origin: 0 0; pointer-events: none; }
.hero__opening { position: absolute; z-index: 4; left: var(--pad); top: 98px; color: white; mix-blend-mode: difference; }
.hero__opening p { margin: 0 0 24px; font-size: clamp(17px, 1.65vw, 26px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.pill-link { display: inline-flex; align-items: center; gap: 30px; border-radius: 100px; padding: 16px 22px; background: white; color: black; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.pill-link svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform 240ms var(--ease-out); }
.hero__meta, .hero__scroll { position: absolute; z-index: 4; bottom: var(--pad); font-size: 12px; line-height: 1.2; color: white; mix-blend-mode: difference; }
.hero__meta { left: var(--pad); display: flex; gap: 20px; }
.hero__meta span + span::before { content: "/"; margin-right: 20px; }
.hero__scroll { right: var(--pad); display: flex; align-items: center; gap: 16px; text-transform: uppercase; font-size: 10px; font-weight: 600; }
.hero__scroll svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }

/* A clear statement and a short, cinematic sequence. */
.intro { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: 140px; padding-bottom: 100px; }
.intro__statement { grid-column: 1 / 10; margin: 0; max-width: 1000px; font-size: clamp(36px, 5.1vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.intro__aside { grid-column: 9 / 13; margin-top: 38px; max-width: 460px; font-size: 18px; letter-spacing: -.025em; line-height: 1.3; }
.intro__statement .line, .studio h2 .line { display: block; overflow: hidden; }
.intro__statement .line > span, .studio h2 .line > span { display: block; }
.reveal-line > span { display: inline-block; }
.masked-copy .line { display: block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; }
.masked-copy .line > span { display: block; }


/* One uninterrupted film recedes into the lower-right corner. */
.feature { background: #efefeb; }
.feature__stage { position: relative; height: 100svh; min-height: 540px; overflow: clip; }
.feature__copy { position: absolute; inset: 0; padding: max(70px, 9svh) var(--pad) var(--pad); display: flex; flex-direction: column; align-items: flex-start; }
.feature__copy h2 { margin: 0; font-size: clamp(64px, 9.3vw, 156px); font-weight: 400; line-height: .94; letter-spacing: -.045em; }
.feature__copy p { margin: auto 0 22px; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.3; }
.feature__link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; font-size: 13px; }
.feature__link svg { width: 18px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.feature__screen { position: absolute; inset: 0; margin: auto; width: min(calc(100% - var(--pad) * 2), calc((100svh - var(--pad) * 2) * 1.6)); height: max-content; aspect-ratio: 16 / 10; transform-origin: 0 0; background: #dfddd3; }
.feature__screen video { width: 100%; height: 100%; object-fit: contain; }

/* A black, offset gallery: colour comes entirely from the actual projects. */
.projects { position: relative; padding: 70px var(--pad) 150px; background: var(--ink); color: white; }
.projects__letters { position: sticky; top: 74px; z-index: 10; display: flex; width: max-content; height: 36px; font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; pointer-events: none; }
.projects__letters span { display: inline-block; transform-origin: center; }
.projects__intro { display: flex; justify-content: flex-end; align-items: flex-start; gap: 60px; padding-top: 70px; padding-bottom: 100px; }
.projects__intro h2 { margin: 0; width: 49.4%; font-size: clamp(30px, 3.5vw, 60px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.projects__intro > span { font-size: 12px; }
.projects__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(100px, 12vw, 190px) 22px; align-items: start; }
.project { position: relative; min-width: 0; }
.project:nth-child(1) { grid-column: 1 / 12; }
.project:nth-child(2) { grid-column: 5 / 13; }
.project:nth-child(3) { grid-column: 1 / 7; }
.project:nth-child(4) { grid-column: 8 / 13; margin-top: 190px; }
.project__link { display: block; }
.project__head { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: #aaa; }
.project__index { display: none; }
.project__action { color: white; }
.project__title-row { margin: 18px 0 25px; }
.project__title-row h3 { margin: 0 0 8px; font-size: clamp(24px, 2.3vw, 40px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.project__title-row p { margin: 0; max-width: 52ch; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.3; color: #bfbfbf; }
.project-preview { position: relative; overflow: hidden; width: 100%; background: #171717; }
.project-preview .browser-bar { display: none; }
.project-preview__viewport { position: relative; aspect-ratio: 16 / 10; }
.project-preview__viewport video { width: 100%; height: 100%; object-fit: contain; }
.project-preview__hint { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; background: white; color: #080808; border-radius: 40px; font-size: 10px; opacity: 0; }
.project-cursor { position: fixed; z-index: 3000; top: 0; left: 0; display: grid; width: 86px; height: 86px; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; }
.project-cursor span { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; border-radius: 50%; background: white; color: black; font-size: 10px; text-align: center; line-height: 1.3; transform: scale(.8); transition: transform 280ms var(--ease-out), opacity 180ms var(--ease-out); }
.project-cursor.is-visible { visibility: visible; opacity: 1; }
.project-cursor.is-visible span { transform: scale(1); }

/* The studio resolves back into paper and a large typographic signature. */
.studio { position: relative; padding-top: 150px; padding-bottom: 170px; background: white; }
.studio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 25px; }
.studio h2 { grid-column: 1 / 9; margin: 0; font-size: clamp(36px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; }
.studio__copy { grid-column: 9 / 13; padding-top: 100px; max-width: 480px; }
.studio__copy p { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.studio__services { margin-top: 35px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px !important; color: #555; }

.contact { position: relative; padding: 75px var(--pad) 60px; background: white; }
.contact__top { display: flex; justify-content: space-between; font-size: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.contact h2 { margin: 80px 0 60px; font-size: clamp(52px, 9vw, 150px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.contact__mail { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 24px; overflow: hidden; width: min(900px, 100%); min-height: 110px; padding: 24px 22px; border-block: 1px solid var(--ink); font-size: clamp(24px, 3.8vw, 60px); letter-spacing: -.04em; }
.contact__wash { position: absolute; z-index: -1; width: 150%; aspect-ratio: 1; right: -15%; top: 50%; border-radius: 50%; background: var(--ink); opacity: 0; transform: translateY(-50%) scale(.05); transform-origin: 85% 50%; transition: transform 240ms var(--ease-out), opacity 180ms var(--ease-out); }
.contact__address { position: relative; display: block; overflow: hidden; line-height: 1.2; }
.contact__address > span { display: block; transition: transform 260ms var(--ease-out); }
.contact__address > span + span { position: absolute; top: 100%; left: 0; color: white; }
.contact__arrow { position: relative; display: block; flex: 0 0 1em; width: 1em; height: 1em; overflow: hidden; }
.contact__arrow svg { position: absolute; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; transition: transform 260ms var(--ease-out); }
.contact__arrow svg + svg { color: white; transform: translate(-110%, 110%); }
.contact__mail:focus-visible { background: var(--ink); color: white; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 35px; padding: 80px var(--pad) 24px; background: white; color: black; overflow: hidden; }
.footer-word { flex: 0 0 100%; display: block; overflow: hidden; margin-bottom: 30px; font-size: 16.3vw; font-weight: 700; line-height: 1; letter-spacing: -.065em; white-space: nowrap; text-align: center; }
.footer-word > span { display: inline-block; }
.footer-word .footer-hit { display: inline-block; }
.footer-word .footer-glyph { display: inline-block; transform-origin: 50% 50%; pointer-events: none; }
.site-footer__links, .site-footer__meta { display: flex; align-items: center; gap: 30px; font-size: 11px; }
.motion-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
.motion-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.motion-toggle__play, .motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
.pill-link:active, .motion-toggle:active { transform: scale(.97); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .contact__mail * { transition-duration: 0ms; }

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover span { transform: translateY(-100%); }
  .pill-link:hover svg { transform: translateX(4px); }
  .project-preview:hover { cursor: none; }
  .contact__mail:hover .contact__wash { transform: translateY(-50%) scale(1); opacity: 1; }
  .contact__mail:hover .contact__address > span { transform: translateY(-100%); }
  .contact__mail:hover .contact__arrow svg:first-child { transform: translate(110%, -110%); }
  .contact__mail:hover .contact__arrow svg + svg { transform: translate(0, 0); }
  .site-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .footer-word { user-select: none; }
}
/* Legal pages */
.legal-page {
  min-height: 100svh;
  padding: var(--pad);
}

.legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.legal-header img {
  width: clamp(5.5rem, 8vw, 8rem);
}

.legal-back {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  padding: 18svh 0 12svh;
}

.legal-main h1 {
  grid-column: 1 / -1;
  margin: 0 0 12svh;
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.legal-content {
  grid-column: 5 / 10;
}

.legal-content section {
  padding: 1.2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.legal-content p,
.legal-content li {
  color: #33332f;
  line-height: 1.45;
}

.legal-placeholder {
  padding: 1rem;
  border: 1px solid var(--ink);
  background: #e9e9e4;
}


@media (max-width: 900px) {
  .intro__statement { grid-column: 1 / 12; }
  .intro__aside { grid-column: 7 / 13; }
  .studio h2 { grid-column: 1 / 11; }
  .studio__copy { grid-column: 7 / 13; padding-top: 35px; }
  .projects__grid { gap: 90px 16px; }
  .project:nth-child(1) { grid-column: 1 / 13; }
  .project:nth-child(2) { grid-column: 4 / 13; }
  .project:nth-child(3) { grid-column: 1 / 9; }
  .project:nth-child(4) { grid-column: 4 / 13; margin-top: 0; }
}
@media (max-width: 991px), (prefers-reduced-motion: reduce) {
  .feature__stage { height: auto; min-height: 0; padding: 55px var(--pad); }
  .feature__copy { position: relative; inset: auto; padding: 0; }
  .feature__copy h2 { font-size: clamp(48px, 10vw, 90px); }
  .feature__copy p { margin: 25px 0 12px; }
  .feature__screen { position: relative; width: 100%; margin: 35px 0 0; }
}
@media (max-width: 680px) {
  .site-logo { width: 66px; }
  .menu-toggle { min-height: 32px; }
  .site-nav { font-size: 16px; gap: 14px; }
  .hero__opening { top: 95px; }
  .hero__opening p { max-width: 290px; }
  .pill-link { padding: 13px 18px; gap: 22px; }
  .hero__word, .footer-word { font-size: 16vw; }
  .hero__meta { max-width: 68%; font-size: 10px; flex-direction: column; gap: 4px; }
  .hero__meta span + span::before { content: none; }
  .hero__scroll span { display: none; }
  .intro { padding-top: 90px; padding-bottom: 80px; gap: 30px; }
  .intro__statement { grid-column: 1 / -1; font-size: clamp(32px, 8.6vw, 54px); letter-spacing: -.04em; }
  .intro__aside { grid-column: 4 / -1; font-size: 16px; margin-top: 0; }
  .projects { padding-top: 55px; padding-bottom: 90px; }
  .projects__letters { position: relative; top: auto; font-size: 22px; }
  .projects__intro { padding-top: 40px; padding-bottom: 60px; gap: 20px; justify-content: space-between; }
  .projects__intro h2 { width: auto; font-size: 30px; }
  .projects__intro > span { font-size: 10px; flex: none; }
  .projects__grid { display: flex; flex-direction: column; gap: 75px; }
  .project:nth-child(n) { width: 100%; margin: 0; }
  .project:nth-child(2) { width: 88%; margin-left: auto; }
  .project:nth-child(4) { width: 90%; }
  .project__title-row h3 { font-size: 27px; }
  .project__head { font-size: 9px; gap: 10px; }
  .project__title-row p { font-size: 15px; }
  .project__action { display: none; }
  .project-preview__hint { opacity: 1; }
  .project-cursor { display: none; }
  .studio { padding-top: 90px; padding-bottom: 80px; }
  .studio__grid { display: block; }
  .studio h2 { font-size: 10vw; line-height: 1.04; }
  .studio__copy { width: 82%; margin: 35px 0 0 auto; padding-top: 0; }
  .studio__copy p { font-size: 17px; }
  .contact { padding-top: 30px; padding-bottom: 40px; }
  .contact__top span:last-child { display: none; }
  .contact h2 { margin: 65px 0 40px; font-size: 15vw; }
  .contact__mail { font-size: 6.5vw; min-height: 82px; padding: 20px 8px; gap: 12px; }
  .site-footer { padding-top: 45px; gap: 28px; }
  .footer-word { margin-bottom: 12px; }
  .site-footer__links, .site-footer__meta { width: 100%; justify-content: space-between; gap: 16px; }
  .legal-main { display: block; padding-top: 100px; }
  .legal-main h1 { font-size: 16vw; margin-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: 0ms !important; }
  .hero__canvas, .hero__film, .project-cursor { display: none; }
}
