@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500&display=swap");

/* Minimal reset (replaces Tailwind's preflight used in the Figma Make export) */
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
button { font: inherit; color: inherit; background: transparent; padding: 0; border: 0; }
dl, dd, dt, blockquote, figure { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

:root {
  --ink: #0b0b0a;
  --paper: #fff9e8;
  --red: #ef2636;
  --green: #009b54;
  --yellow: #ffd800;
  --blue: #1d55d5;
  --white: #fffef5;
  --rail: 260px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto var(--rail);
  z-index: 100;
  height: 5px;
  background: var(--yellow);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.project-page {
  --project-accent: var(--red);
  min-height: 100vh;
  background: var(--paper);
  animation: project-page-in 0.6s ease both;
}

.project-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 15px 20px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-header button {
  width: fit-content;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-transform: inherit;
}

.project-header button:hover,
.project-header a:hover {
  color: var(--yellow);
}

.project-header a {
  justify-self: center;
}

.project-header > span {
  justify-self: end;
}

.project-hero {
  position: relative;
  min-height: calc(100svh - 45px);
  padding: 18px 20px 30px;
  overflow: hidden;
  background: var(--project-accent);
}

.project-hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-hero-top p:nth-child(2) {
  text-align: center;
}

.project-hero-top p:last-child {
  text-align: right;
}

.project-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding-top: 7vh;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(100px, 16vw, 270px);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.045em;
  animation: project-title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.project-hero-image {
  position: absolute;
  right: 5vw;
  bottom: 5vh;
  width: min(47vw, 700px);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--yellow);
  animation: project-image-in 1s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.project-hero-image img {
  height: min(62vh, 760px);
  object-fit: cover;
}

.project-image-index {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
}

.project-overview {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 5vw;
  padding: 12vh 20px 16vh;
  border-bottom: 1px solid var(--ink);
}

.project-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-lede {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(38px, 4.5vw, 74px);
  line-height: 1;
  letter-spacing: -0.018em;
}

.project-overview dl {
  margin: 0;
  font-size: 12px;
}

.project-overview dl div {
  padding: 8px 0 18px;
  border-top: 1px solid var(--ink);
}

.project-overview dt {
  margin-bottom: 5px;
  text-transform: uppercase;
}

.project-overview dd {
  margin: 0;
}

.project-full-image {
  padding: 20px;
  color: var(--white);
  background: var(--green);
}

.project-full-image img {
  height: 85vh;
  object-fit: contain;
  border: 3px solid var(--ink);
}

.project-full-image p,
.project-gallery figcaption {
  padding-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
}

.project-process {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 9vw;
  padding: 14vh 20px;
  background: var(--yellow);
  border-block: 1px solid var(--ink);
}

.project-process h2 {
  max-width: 900px;
  margin: 50px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(50px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.process-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  font-size: 15px;
  line-height: 1.4;
}

.project-story {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding: 14vh 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.project-story > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vh 5vw;
}

.project-story > div p {
  font-size: clamp(22px, 2.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.project-story > div p:first-child {
  grid-column: 1 / -1;
  max-width: 1200px;
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--paper);
}

.project-gallery figure {
  padding: 20px;
  background: var(--white);
  border: 3px solid var(--ink);
}

.project-gallery figure:nth-child(3n + 1) {
  grid-column: 1 / -1;
  background: var(--yellow);
}

.project-gallery figure:nth-child(3n + 2) {
  background: var(--green);
}

.project-gallery figure:nth-child(3n + 3) {
  background: var(--red);
}

.project-gallery img {
  height: 70vh;
  object-fit: contain;
}

.workshop-testimonials {
  padding: 14vh 20px 18vh;
  color: var(--white);
  background: var(--ink);
}

.workshop-testimonials-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 12vh;
}

.workshop-testimonials-heading h2 {
  max-width: 1100px;
  font-size: clamp(58px, 8vw, 132px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.028em;
}

.workshop-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.workshop-testimonials blockquote {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--white);
}

.workshop-testimonials blockquote:nth-child(2) {
  margin-top: 12vh;
  background: var(--green);
}

.workshop-testimonials blockquote:nth-child(3) {
  margin-top: 4vh;
  background: var(--red);
}

.testimonial-number {
  display: block;
  margin-bottom: 11vh;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.workshop-testimonials blockquote p {
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.workshop-testimonials blockquote footer {
  margin-top: auto;
  padding-top: 48px;
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-quote {
  padding: 18vh 6vw;
  color: var(--white);
  background: var(--blue);
  border-block: 3px solid var(--ink);
}

.project-quote p {
  max-width: 1500px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(58px, 8.5vw, 145px);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.project-credits {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding: 10vh 20px;
}

.project-credits > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  font-size: 13px;
  line-height: 1.5;
}

.next-project {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 3fr 80px;
  align-items: center;
  padding: 35px 20px 28px;
  color: var(--ink);
  background: var(--red);
  border: 0;
  border-top: 3px solid var(--ink);
  cursor: pointer;
  text-align: left;
}

.next-project span {
  align-self: start;
  font-size: 11px;
  text-transform: uppercase;
}

.next-project strong {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(70px, 11vw, 180px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.03em;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-project svg {
  width: 70px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 0.35s ease;
}

.next-project:hover strong {
  transform: translateX(20px);
}

.next-project:hover svg {
  transform: translateX(10px);
}

@keyframes project-page-in {
  from {
    opacity: 0;
  }
}

@keyframes project-title-in {
  from {
    opacity: 0;
    transform: translateY(0.5em);
  }
}

@keyframes project-image-in {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

p,
h1,
h2,
figure {
  margin: 0;
}

::selection {
  color: var(--paper);
  background: var(--blue);
}

.identity-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--rail);
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--white);
  background: var(--green);
  border-right: 1px solid var(--ink);
  overflow: hidden;
}

.identity-rail::before {
  position: absolute;
  right: 0;
  bottom: 105px;
  width: 74px;
  height: 210px;
  content: "";
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-right: 0;
}

.rail-name {
  display: inline-block;
  margin-bottom: 28px;
  font-family: "DM Sans", sans-serif;
  font-size: 35px;
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.rail-intro {
  max-width: 190px;
  font-size: 14px;
  line-height: 1.25;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 14px;
}

.rail-nav a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rail-nav a:hover {
  text-decoration: none;
}

.rail-nav a.is-active {
  transform: translateX(12px);
}

.rail-mark {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rail-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rail-dot {
  width: 34px;
  height: 34px;
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.page {
  margin-left: var(--rail);
}

.mobile-header,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 18px 20px 30px;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
  border-bottom: 1px solid var(--ink);
}

.hero-blocks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blocks span {
  position: absolute;
  top: 0;
  right: 14%;
  width: 10%;
  height: 31%;
  background: var(--ink);
  animation: block-drop 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-blocks span:nth-child(2) {
  top: auto;
  right: 4%;
  bottom: 0;
  width: 23%;
  height: 12%;
  background: var(--green);
  animation-delay: 0.16s;
}

.hero-blocks span:nth-child(3) {
  top: 31%;
  right: 14%;
  width: 10%;
  height: 3%;
  background: var(--white);
  animation-delay: 0.3s;
}

.hero-meta,
.section-heading,
.statement-kicker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-meta {
  position: relative;
  z-index: 2;
}

.hero-meta span:last-child {
  text-align: right;
}

.hero h1 {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: 5vh;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(120px, 17vw, 280px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.045em;
  pointer-events: none;
}

.hero h1 > span {
  paint-order: stroke fill;
  -webkit-text-stroke: 1.5px var(--ink);
  animation: title-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 > span:last-child {
  animation-delay: 0.14s;
}

.hero h1 span:last-child {
  align-self: flex-end;
}

.hero-lastname {
  align-self: flex-end;
  font-size: 0.58em;
  line-height: 0.8;
}

.hero-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  filter:
    drop-shadow(1px 0 0 var(--ink))
    drop-shadow(-1px 0 0 var(--ink))
    drop-shadow(0 1px 0 var(--ink))
    drop-shadow(0 -1px 0 var(--ink));
}

.hero-image {
  position: absolute;
  left: 24%;
  bottom: 4vh;
  width: 42%;
  max-width: 600px;
  transform: rotate(-2.5deg);
  box-shadow:
    10px 12px 0 var(--yellow),
    20px 24px 0 var(--green);
  border: 3px solid var(--ink);
  animation:
    artwork-in 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both,
    artwork-float 5.5s 1.45s ease-in-out infinite;
}

.hero-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-image figcaption {
  position: absolute;
  right: -140px;
  bottom: 0;
  display: flex;
  width: 120px;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.2;
  transform: rotate(2.5deg);
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: flex;
  width: 230px;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.25;
}

.note-dot {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(0.7em);
  }
}

@keyframes artwork-in {
  from {
    opacity: 0;
    transform: translateY(80px) rotate(3deg);
  }
}

@keyframes artwork-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2.5deg);
  }
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

@keyframes block-drop {
  from {
    transform: translateY(-110%);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.65);
  }
}

.signal-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 11px 0;
  color: var(--yellow);
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.signal-strip > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  animation: marquee 24s linear infinite;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-strip i {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
}

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

.work {
  padding: 20px;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(11, 11, 10, 0.12) 50%, transparent 50.1%),
    var(--paper);
}

.section-heading {
  padding: 0 0 70px;
}

.section-heading p:last-child {
  grid-column: 3;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw 20px;
  align-items: start;
}

.project-card.wide {
  grid-column: 1 / -1;
}

.project-card.portrait {
  width: 80%;
}

.project-card.portrait:nth-child(3) {
  justify-self: end;
  margin-top: 14vw;
}

.project-image {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.wide .project-image {
  aspect-ratio: 16 / 8.5;
}

.portrait .project-image {
  aspect-ratio: 4 / 5;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0, 1);
}

.project-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--accent);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:nth-child(2) .project-image {
  box-shadow: 9px 9px 0 var(--red);
}

.project-card:nth-child(3) .project-image {
  box-shadow: 9px 9px 0 var(--green);
}

.project-card:nth-child(4) .project-image {
  box-shadow: 9px 9px 0 var(--yellow);
}

.view-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--paper);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.view-label svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.project-card a:hover .project-image img {
  transform: scale(1.055) rotate(0.6deg);
}

.project-card a:hover .project-image::after {
  opacity: 0.18;
}

.project-card a:hover .view-label {
  opacity: 1;
  transform: translateY(0);
}

.project-info {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding-top: 10px;
  font-size: 12px;
}

.project-info h2 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(30px, 4vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.018em;
}

.project-info p {
  text-align: right;
}

.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 10vw;
  padding: 20px 20px 30px;
  background: var(--yellow);
  color: var(--ink);
  border-block: 3px solid var(--ink);
}

.statement::before {
  position: absolute;
  right: -10vw;
  bottom: -14vw;
  z-index: 0;
  width: 30vw;
  height: 30vw;
  content: "";
  background: var(--red);
  border-radius: 50%;
}

.statement-orbit {
  position: absolute;
  z-index: 0;
  display: block;
  background: var(--green);
  border-radius: 50%;
}

.statement-orbit-one {
  top: 14%;
  right: 8%;
  width: 10vw;
  height: 10vw;
  animation: orbit-one 7s ease-in-out infinite;
}

.statement-orbit-two {
  bottom: 15%;
  left: 48%;
  width: 4vw;
  height: 4vw;
  background: var(--red);
  animation: orbit-two 5s ease-in-out infinite;
}

@keyframes orbit-one {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 22px);
  }
}

@keyframes orbit-two {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -28px) scale(1.2);
  }
}

.statement > *:not(.statement-orbit) {
  position: relative;
  z-index: 2;
}

.statement-kicker span:last-child {
  grid-column: 3;
  text-align: right;
}

.statement-copy {
  max-width: 1500px;
  padding: 15vh 0 17vh;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(54px, 7.7vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.statement-name {
  cursor: crosshair;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.08em;
}

.statement-name:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 0.08em;
}

.statement-portrait {
  position: absolute !important;
  top: 12%;
  right: 7%;
  z-index: 3 !important;
  width: min(28vw, 420px);
  margin: 0;
  padding: 10px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--green);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) rotate(4deg) scale(0.92);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

.statement:has(.statement-name:hover) .statement-portrait,
.statement:has(.statement-name:focus-visible) .statement-portrait {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(2deg) scale(1);
}

.statement-copy em {
  color: var(--green);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.08em;
}

.statement-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}

.statement-bottom > p {
  max-width: 350px;
  font-size: 15px;
  line-height: 1.3;
}

.disciplines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.disciplines span {
  padding-top: 5px;
  border-top: 1px solid currentColor;
}

.studio {
  display: grid;
  min-height: 85vh;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px;
  color: var(--white);
  background: var(--green);
  border-bottom: 3px solid var(--ink);
}

.studio figure {
  display: flex;
  flex-direction: column;
}

.studio figure img {
  height: min(72vh, 800px);
  object-fit: cover;
  filter: saturate(1.25) contrast(1.05);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
}

.studio figcaption {
  padding-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
}

.studio-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 40px;
}

.studio-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-label > span {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  animation: pulse 2.1s ease-in-out infinite;
}

.studio-label p {
  font-size: 12px;
  text-transform: uppercase;
}

.studio-note > p:last-child {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(30px, 3.5vw, 55px);
  line-height: 0.98;
}

#contact {
  position: relative;
  overflow: hidden;
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--white);
  background: var(--red);
}

.footer-blocks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(7vh);
}

.footer-blocks span {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  height: 34%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  animation: footer-block 4s ease-in-out infinite;
}

.footer-blocks span:nth-child(2) {
  right: 28%;
  bottom: 0;
  width: 11%;
  height: 18%;
  background: var(--green);
  animation-delay: -1.5s;
}

.footer-blocks span:nth-child(3) {
  right: 0;
  bottom: 34%;
  width: 17%;
  height: 3%;
  background: var(--white);
  border: 3px solid var(--ink);
  animation-delay: -2.8s;
}

@keyframes footer-block {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.footer-kicker,
.footer-main,
.footer-email,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(240px, 0.65fr);
  gap: 5vw;
  align-items: end;
  margin: 12vh 0;
  transform: translateY(-7vh);
}

.footer-email {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(70px, 11vw, 180px);
  line-height: 0.78;
  letter-spacing: -0.03em;
}

.footer-email span {
  color: var(--yellow);
}

.footer-email:hover span {
  color: var(--green);
  -webkit-text-stroke: 1px var(--white);
}

.footer-email span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-email:hover span {
  transform: translateX(0.08em);
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
  border-top: 2px solid var(--white);
}

.footer-contact-links a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 0;
  border-bottom: 2px solid var(--white);
  transition:
    padding-left 0.25s ease,
    color 0.25s ease;
}

.footer-contact-links a:hover {
  padding-left: 10px;
  color: var(--yellow);
}

.footer-contact-links span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact-links strong {
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 500;
  line-height: 1.05;
}

.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: end;
  font-size: 11px;
}

.footer-bottom > div {
  display: flex;
  gap: 14px;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credits {
  max-width: 430px;
  justify-self: end;
  text-align: right;
  line-height: 1.25;
}

@media (max-width: 900px) {
  :root {
    --rail: 0px;
  }

  .identity-rail {
    display: none;
  }

  .page {
    margin-left: 0;
    padding-top: 52px;
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    display: flex;
    height: 53px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: var(--white);
    background: var(--green);
    border-bottom: 1px solid var(--ink);
  }

  .scroll-progress {
    left: 0;
  }

  .project-header {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .project-header a {
    justify-self: end;
  }

  .project-header > span {
    display: none;
  }

  .project-hero {
    min-height: 92svh;
    padding: 14px;
  }

  .project-hero h1 {
    max-width: 100%;
    padding-top: 8vh;
    font-size: 26vw;
  }

  .project-hero-image {
    right: 8vw;
    bottom: 7vh;
    width: 72vw;
  }

  .project-hero-image img {
    height: 48vh;
  }

  .project-overview {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 10vh 14px;
  }

  .project-lede {
    font-size: 12vw;
  }

  .project-full-image {
    padding: 14px;
  }

  .project-full-image img {
    height: 68vh;
  }

  .project-process {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 11vh 14px;
  }

  .project-process h2 {
    font-size: 15vw;
  }

  .project-story {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 11vh 14px;
  }

  .project-story > div {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-story > div p,
  .project-story > div p:first-child {
    grid-column: auto;
    font-size: 7.5vw;
    line-height: 1.08;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 14px;
  }

  .project-gallery figure,
  .project-gallery figure:nth-child(3n + 1) {
    grid-column: auto;
    padding: 10px;
  }

  .project-gallery img {
    height: 65vh;
  }

  .workshop-testimonials {
    padding: 11vh 14px;
  }

  .workshop-testimonials-heading {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 9vh;
  }

  .workshop-testimonials-heading h2 {
    font-size: 17vw;
  }

  .workshop-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .workshop-testimonials blockquote,
  .workshop-testimonials blockquote:nth-child(2),
  .workshop-testimonials blockquote:nth-child(3) {
    min-height: auto;
    margin-top: 0;
    padding: 20px;
  }

  .testimonial-number {
    margin-bottom: 18vh;
  }

  .workshop-testimonials blockquote p {
    font-size: 7.5vw;
  }

  .workshop-testimonials blockquote footer {
    padding-top: 60px;
  }

  .project-quote {
    padding: 12vh 14px;
  }

  .project-quote p {
    font-size: 16vw;
  }

  .project-credits {
    grid-template-columns: 1fr;
    padding: 10vh 14px;
  }

  .project-credits > div {
    grid-template-columns: 1fr;
  }

  .next-project {
    grid-template-columns: 1fr 50px;
    padding: 28px 14px;
  }

  .next-project span {
    grid-column: 1 / -1;
    padding-bottom: 45px;
  }

  .next-project strong {
    font-size: 18vw;
  }

  .next-project svg {
    width: 44px;
  }

  .wordmark {
    font-family: "DM Sans", sans-serif;
    font-size: 28px;
    letter-spacing: -0.025em;
  }

  .menu-button {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .mobile-menu {
    position: fixed;
    inset: 52px 0 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 14px;
    color: var(--white);
    background:
      radial-gradient(circle at 82% 78%, var(--yellow) 0 12vw, var(--ink) 12vw 15vw, transparent 15vw),
      var(--red);
    visibility: hidden;
    transform: translateY(-105%);
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.45s;
  }

  .mobile-menu.is-open {
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 14vw;
    line-height: 1;
  }

  .mobile-menu nav span {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
  }

  .mobile-menu p {
    font-size: 13px;
    line-height: 1.25;
  }

  .hero {
    min-height: calc(100svh - 52px);
    padding: 14px;
  }

  .hero-blocks span {
    right: 5%;
    width: 16%;
  }

  .hero-blocks span:nth-child(2) {
    right: 0;
    width: 30%;
  }

  .hero-blocks span:nth-child(3) {
    right: 5%;
    width: 16%;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta span:nth-child(2) {
    text-align: right;
  }

  .hero-meta span:last-child {
    display: none;
  }

  .hero h1 {
    margin-top: 9vh;
    font-size: 29vw;
    line-height: 0.72;
  }

  .hero-lastname {
    font-size: 0.42em;
  }

  .hero-image {
    left: 12%;
    bottom: 12vh;
    width: 60%;
  }

  .hero-image figcaption {
    right: -110px;
    width: 96px;
  }

  .hero-note {
    right: 14px;
    bottom: 14px;
    width: 190px;
    font-size: 12px;
  }

  .signal-strip > div {
    font-size: 11px;
  }

  .work,
  .statement,
  .studio,
  #contact {
    padding-right: 14px;
    padding-left: 14px;
  }

  .section-heading {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 45px;
  }

  .section-heading p:last-child {
    grid-column: 2;
  }

  .project-grid {
    display: block;
  }

  .project-card,
  .project-card.portrait {
    width: 100%;
    margin: 0 0 70px;
  }

  .project-card.portrait:nth-child(3) {
    margin-top: 0;
  }

  .wide .project-image,
  .portrait .project-image {
    aspect-ratio: 4 / 4.7;
  }

  .project-info {
    grid-template-columns: 30px 1fr;
  }

  .project-info h2 {
    font-size: 11vw;
  }

  .project-info p {
    grid-column: 2;
    text-align: left;
  }

  .statement {
    margin-top: 20px;
  }

  .statement-orbit-one {
    top: 17%;
    width: 23vw;
    height: 23vw;
  }

  .statement-orbit-two {
    bottom: 8%;
    left: 5%;
    width: 12vw;
    height: 12vw;
  }

  .statement-kicker {
    grid-template-columns: 1fr 1fr;
  }

  .statement-kicker span:last-child {
    grid-column: 2;
  }

  .statement-copy {
    padding: 12vh 0;
    font-size: 15vw;
  }

  .statement-portrait {
    position: fixed !important;
    top: 18%;
    right: 14px;
    width: min(68vw, 360px);
    box-shadow: 9px 9px 0 var(--green);
  }

  .statement-bottom {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .studio {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 14px;
    padding-bottom: 70px;
  }

  .studio figure img {
    height: 62vh;
  }

  .studio-note {
    gap: 70px;
    padding: 30px 0 0;
  }

  .studio-note p:last-child {
    font-size: 11vw;
  }

  #contact {
    min-height: 85vh;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 56px;
    margin: 15vh 0;
    transform: none;
  }

  .footer-email {
    font-size: 19vw;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .credits {
    grid-column: 1 / -1;
    max-width: none;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
