@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500&display=swap");

:root {
  --white: #f0f1fa;
  --pure: #fff;
  --black: #050505;
  --accent: #006b54;
  --blue: var(--accent);
  --green: #c1ff00;
  --pad-x: max(5vw, 40px);
  --pad-y: clamp(30px, 4vw, 50px);
  --gap: 2vw;
  --radius: 18px;
}

@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html {
    background: var(--white);
    scroll-behavior: auto;
    line-height: 1.5;
  }
  body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family: "Manrope", sans-serif;
    overflow-x: clip;
  }
  h1, h2, h3, h4, p, figure { margin: 0; }
  img { display: block; max-width: 100%; height: auto; object-fit: cover; }
  button,
  input {
    font: inherit;
  }
  button {
    color: inherit;
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  ::selection {
    background: var(--blue);
    color: white;
  }
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding: var(--pad-y) var(--pad-x);
}

.arrow {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  overflow: visible;
}
.arrow path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.diagonal {
  transform: rotate(-45deg);
}
a:hover .arrow path,
button:hover .arrow path {
  transform: translateX(0.18em);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pad-y) var(--pad-x);
  pointer-events: none;
  transition: color 0.35s;
}
.header.on-project {
  color: var(--project-ink, white);
}
.brand {
  pointer-events: auto;
}
.brand {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: none;
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-align: left;
  transition: color 0.35s;
}
.page-enter {
  animation: pageEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-hero {
  height: 100svh;
  align-content: start;
  overflow: hidden;
}
.home-hero h1 {
  position: relative;
  z-index: 4;
  grid-column: 4 / span 5;
  margin: calc(var(--pad-y) + 5.3em) 0 0;
  font-size: 2.5vw;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.hero-visual {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  overflow: hidden;
}
.hero-rings {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%) rotateX(62deg);
}
.hero-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  animation: rings 7s ease-in-out infinite alternate;
}
.hero-rings i:nth-child(2) {
  inset: 15%;
  animation-delay: -2s;
}
.hero-rings i:nth-child(3) {
  inset: 31%;
  animation-delay: -4s;
}
.hero-object {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 15vw;
  height: 15vw;
  min-width: 150px;
  min-height: 150px;
  transform: translate(-50%, -50%) rotate(-8deg);
  transform-style: preserve-3d;
  animation: objectFloat 5s ease-in-out infinite;
}
.hero-object-face {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 3vw;
  letter-spacing: -0.09em;
  box-shadow: 0 40px 80px rgba(0, 22, 236, 0.23);
}
.hero-object-edge {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: translateZ(35px);
}
.hero-float {
  position: absolute;
  width: 12vw;
  aspect-ratio: 1.35;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  animation: cardFloat 6s ease-in-out infinite;
}
.hero-float img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.float-1 {
  left: 13%;
  top: 48%;
  transform: rotate(-9deg);
}
.float-2 {
  right: 13%;
  top: 38%;
  transform: rotate(8deg);
  animation-delay: -2s;
}
.float-3 {
  left: 27%;
  bottom: 8%;
  width: 9vw;
  transform: rotate(5deg);
  animation-delay: -3s;
}
.float-4 {
  right: 25%;
  bottom: 5%;
  width: 10vw;
  transform: rotate(-5deg);
  animation-delay: -4s;
}
.home-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: var(--pad-x);
  width: calc(100% - 2 * var(--pad-x));
  height: var(--pad-y);
}
.home-scroll-cue span {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 1em;
  background: var(--white);
  font: 9px "IBM Plex Mono";
  text-transform: uppercase;
}

.home-reel {
  padding-block: clamp(3rem, 10vh, 8rem);
  background: var(--white);
}

.reel-heading h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.reel-heading h2 span { display: block; }
.reel-heading h2 span:first-child { padding-left: 16.7%; }

.reel-stage { align-items: start; }
.reel-ribbon { display: none; }

.reel-media {
  grid-column: 1 / span 5;
  grid-row: 1;
  min-width: 0;
}

.reel-project {
  position: relative;
  display: block;
  border-radius: var(--radius);
  background: #2524b8;
  color: white;
}

.reel-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: inherit;
  object-fit: cover;
}

.reel-project > span {
  position: absolute;
  right: clamp(0.65rem, 2vw, 1.25rem);
  bottom: clamp(0.65rem, 2vw, 1.25rem);
  display: flex;
  align-items: center;
  gap: 0.7em;
  border-radius: 3em;
  padding: 0.85em 1.2em;
  background: white;
  color: var(--black);
  font: 11px "IBM Plex Mono", monospace;
}

.reel-project:is(:hover, :focus-visible) > span {
  background: var(--blue);
  color: white;
}

.reel-copy {
  grid-column: 7 / span 6;
  grid-row: 1;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.45;
}

.reel-copy p { max-width: 35ch; }
.reel-copy .action-pill { margin-top: 1.5rem; }

.action-pill {
  position: relative;
  width: fit-content;
  height: 3.4em;
  margin-top: 3em;
  padding: 0 1.5em;
  display: flex;
  align-items: center;
  gap: 1em;
  overflow: hidden;
  border-radius: 5em;
  background: #fff;
  color: #000;
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.08);
  transition:
    background 0.35s,
    color 0.35s;
}
.action-pill i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}
.action-pill:hover {
  background: var(--blue);
  color: white;
}

.featured {
  padding-top: 13vh;
  padding-bottom: 15vh;
  background: var(--white);
}
.featured-title {
  grid-column: 1 / span 12;
}
.featured-title h2 {
  margin: 0;
  font-size: 8vw;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.featured-note {
  grid-column: 10 / span 3;
  margin: -2.7em 0 6em;
  font: 10px/1.45 "IBM Plex Mono";
  text-transform: uppercase;
}
.project-grid {
  grid-column: 1 / span 12;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6em var(--gap);
}
.project-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s;
}
.project-image {
  position: relative;
  aspect-ratio: 1.53;
  border-radius: var(--radius);
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-image img {
  transform: scale(1.04);
}
.view-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1em 1.3em;
  border-radius: 4em;
  background: #fff;
  font: 9px "IBM Plex Mono";
  text-transform: uppercase;
  transform: translateY(130%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:is(:hover, :focus-within) .view-pill {
  transform: none;
}
.project-card-foot p {
  margin: 1.5em 0 1em;
  font: 10px "IBM Plex Mono";
  text-transform: uppercase;
}
.project-card-foot h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-size: 3vw;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.045em;
  overflow: hidden;
}
.project-card-foot h3 i {
  flex: 0 0 auto;
  width: 0.7em;
  height: 0.7em;
  margin-left: -0.95em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  transition: margin 0.35s;
}
.project-card:hover h3 i {
  margin-left: 0;
}
.featured-cta {
  grid-column: 1 / span 12;
  place-self: center;
  margin-top: 9em;
}

.end-section {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.end-section > p {
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
}
.end-section > a {
  position: relative;
  margin-top: 0.3em;
  font-size: 10vw;
  line-height: 0.85;
  letter-spacing: -0.07em;
}
.end-section > a::after {
  content: "";
  position: absolute;
  left: 0.1em;
  right: 0.05em;
  bottom: 0.05em;
  height: 0.06em;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s;
}
.end-section > a:hover::after {
  transform: scaleX(0.25);
}
.projects-main {
  padding-top: 20vh;
  padding-bottom: 15vh;
}
.projects-title {
  position: relative;
  grid-column: 1 / -1;
  width: fit-content;
}
.projects-title h1 {
  margin: 0 0 0.35em -0.06em;
  font-size: 15vw;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.projects-intro {
  grid-column: 9 / span 4;
  margin: 1.5rem 0 5rem;
  font-size: 16px;
  line-height: 1.5;
}
.projects-main .project-grid {
  margin-top: 2em;
}

.project-page {
  --project-bg: #111;
  --project-ink: #fff;
  background: var(--project-bg);
  color: var(--project-ink);
}
.case-inquiry-link { display: block; width: fit-content; margin-top: 1rem; text-decoration: underline; text-underline-offset: 0.25em; }
.project-contact { padding: clamp(4rem, 8vw, 8rem) var(--pad-x); background: var(--white); color: var(--black); scroll-margin-top: 6rem; }
.project-contact > div { grid-column: 1 / -1; }
.project-contact h2 { font-size: clamp(2rem, 5vw, 5rem); line-height: 1.1; letter-spacing: -0.05em; }
.project-contact p { max-width: 38rem; margin: 1.5rem 0 2rem; }
.project-contact .utility-link { display: inline-block; margin: 1.5rem; }
html.project-arrival { overflow: hidden; }

.case-horizontal {
  height: 560vh;
  position: relative;
}
.case-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  padding: var(--pad-y) var(--pad-x);
}
.case-info {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 34em;
  max-width: 38vw;
  transform: translateY(-50%);
}
.horizontal-ready .case-info {
  transform: translate3d(var(--case-offset, 0px), -50%, 0);
  opacity: var(--case-intro-opacity, 1);
}
.horizontal-ready .case-track {
  transform: translate3d(var(--case-offset, 0px), 0, 0);
}
.case-info h1 {
  margin: 0;
  font-size: 4.5em;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.case-columns::after {
  content: "";
  display: block;
  clear: both;
}
.case-description {
  float: left;
  width: 60%;
  margin-top: 4em;
  font-size: 0.75em;
  line-height: 1.5em;
}
.case-description p {
  margin: 0;
}
.case-description p + p {
  margin-top: 1em;
}
.case-launch {
  width: fit-content;
  height: 3.375em;
  margin-top: 3em;
  padding: 0 1.2em;
  display: flex;
  align-items: center;
  gap: 1em;
  overflow: hidden;
  border-radius: 100px;
  background: var(--project-ink);
  color: var(--project-bg);
  font-size: 0.875em;
  font-weight: 500;
  text-transform: uppercase;
  transition:
    background 0.35s,
    color 0.35s;
}
.case-launch i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}
.case-launch:hover {
  background: var(--blue);
  color: white;
}
.case-side-list {
  float: right;
  width: 40%;
  padding-left: 20%;
  margin-top: 3em;
  font-size: 0.75em;
  line-height: 1.4;
}
.case-side-list h4 {
  margin: 0 0 1em;
  color: var(--project-ink);
  font: inherit;
  text-transform: uppercase;
  opacity: 0.6;
}
.case-side-list h4:not(:first-child) {
  margin-top: 4em;
}
.case-side-list a {
  display: block;
  width: fit-content;
  border-bottom: 1px solid currentColor;
}
.case-track {
  position: absolute;
  top: 17svh;
  left: 0;
  height: 66svh;
  display: flex;
  align-items: start;
  gap: 5em;
  padding-left: 48em;
  padding-right: 7vw;
  white-space: nowrap;
  will-change: transform;
}
.case-media {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  white-space: normal;
}
.case-media img {
  height: 100%;
  width: auto;
  max-width: none;
  min-width: 0;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.next-project {
  width: 70vw;
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4em;
  border-radius: 13px;
  background: var(--project-ink);
  color: var(--project-bg);
}
.next-project > span {
  font: 11px "IBM Plex Mono";
  text-transform: uppercase;
}
.next-project h2 {
  margin: 0.25em 0 0.7em;
  white-space: normal;
  font-size: 6vw;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.next-line {
  display: flex;
  align-items: center;
  gap: 1em;
}
.next-line i {
  flex: 1;
  height: 3px;
  background: currentColor;
  opacity: 0.25;
}
.next-line .arrow {
  width: 2em;
  height: 2em;
}
.case-scroll {
  margin-top: 1.4em;
  display: flex;
  align-items: center;
  gap: 0.75em;
  font: 9px "IBM Plex Mono";
  text-transform: uppercase;
}
.case-scroll .arrow {
  width: 1.2em;
  height: 1.2em;
}

.text-hero {
  min-height: 100svh;
  padding-top: 19vh;
  align-content: start;
}
.text-hero > span {
  grid-column: 1 / span 2;
  font: 11px "IBM Plex Mono";
  text-transform: uppercase;
}
.text-hero h1 {
  grid-column: 2 / span 10;
  margin: 0.2em 0;
  font-size: 10vw;
  line-height: 0.79;
  font-weight: 400;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.text-hero p {
  grid-column: 8 / span 4;
  font-size: 18px;
  line-height: 1.55;
}
.text-list {
  padding-top: 14vh;
  padding-bottom: 17vh;
  background: var(--black);
  color: white;
}
.text-list > h2 {
  grid-column: 1 / span 9;
  margin: 0 0 1em;
  font-size: 7vw;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.text-list > div {
  grid-column: 1 / span 12;
}
.text-list-item {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr;
  gap: 2em;
  padding: 3em 0;
  border-top: 1px solid #444;
}
.text-list-item small {
  font: 10px/1.5 "IBM Plex Mono";
  text-transform: uppercase;
}
.text-list-item h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
}
.text-list-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.about-statements {
  padding-top: 14vh;
  padding-bottom: 17vh;
  background: var(--black);
  color: white;
}
.about-statements > div {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2em;
  padding: 5em 0;
  border-top: 1px solid #444;
}
.about-statements h2 {
  margin: 0;
  font-size: 5vw;
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.055em;
}
.about-statements p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.not-found {
  min-height: 100svh;
  padding: 18vh var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.not-found > span {
  font: 10px "IBM Plex Mono";
}
.not-found h1 {
  margin: 0.1em 0;
  font-size: 12vw;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.reveal.reveal-ready:not(.visible):not(:focus-within) {
  opacity: 0;
  transform: translateY(55px);
}
.reveal {
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
}
@keyframes rings {
  to {
    transform: rotate(35deg) scale(1.08);
  }
}
@keyframes objectFloat {
  50% {
    transform: translate(-50%, calc(-50% - 20px)) rotate(7deg) rotateY(15deg);
  }
}
@keyframes cardFloat {
  50% {
    translate: 0 -18px;
  }
}

@media (max-width: 812px) {
  :root {
    --pad-x: 25px;
    --pad-y: 25px;
    --gap: 4vw;
    --radius: 12px;
  }
  .section-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .home-hero h1 {
    grid-column: 1 / span 6;
    margin-top: 8em;
    font-size: 6vw;
  }
  .hero-rings {
    width: 90vw;
    top: 60%;
  }
  .hero-object {
    width: 38vw;
    height: 38vw;
    top: 61%;
  }
  .hero-object-face {
    font-size: 8vw;
  }
  .hero-float {
    width: 26vw;
  }
  .float-1 {
    left: 3%;
    top: 53%;
  }
  .float-2 {
    right: 3%;
    top: 45%;
  }
  .float-3 {
    left: 18%;
    bottom: 10%;
    width: 23vw;
  }
  .float-4 {
    right: 14%;
    bottom: 8%;
    width: 22vw;
  }
  .home-scroll-cue {
    bottom: var(--pad-y);
  }
  .reel-heading h2 { font-size: 17vw; }
  .reel-heading h2 span:first-child { padding-left: 0; }
  .reel-copy,
  .reel-media { grid-column: 1 / -1; grid-row: auto; }
  .reel-media { margin-top: 2rem; }
  .featured-title {
    grid-column: 1 / span 6;
  }
  .featured-title h2 {
    font-size: 15vw;
  }
  .featured-note {
    grid-column: 1 / span 6;
    margin: 3em 0 5em;
    font-size: 11px;
  }
  .project-grid {
    grid-column: 1 / span 6;
    grid-template-columns: 1fr;
    gap: 5em;
  }
  .project-card-foot h3 {
    font-size: 7vw;
  }
  .project-card-foot p {
    font-size: 9px;
  }
  .featured-cta {
    grid-column: 1 / span 6;
    margin-top: 5em;
  }
  .end-section > a {
    font-size: 18vw;
  }
  .end-section > p {
    width: 65%;
    font-size: 11px;
  }
  .projects-main {
    padding-top: 16vh;
  }
  .projects-title {
    grid-column: 1 / span 6;
  }
  .projects-title h1 {
    font-size: 15vw;
    margin-bottom: 0.8em;
  }
  .projects-intro {
    grid-column: 2 / span 5;
    margin: 0 0 6em;
    font-size: 14px;
  }
  .case-horizontal {
    height: auto;
  }
  .case-sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: 120px;
  }
  .case-info {
    position: relative;
    top: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }
  .case-back {
    position: relative;
    top: auto;
    width: fit-content;
    margin-bottom: 5em;
  }
  .case-info h1 {
    font-size: 15vw;
  }
  .case-columns {
    margin-bottom: 5em;
  }
  .case-description {
    float: none;
    width: 100%;
    margin-top: 4em;
    font-size: 15px;
  }
  .case-launch {
    font-size: 12px;
  }
  .case-side-list {
    float: none;
    width: 100%;
    padding-left: 0;
    margin-top: 4em;
    display: block;
    font-size: 13px;
  }
  .case-side-list h4:not(:first-child) {
    margin-top: 4em;
  }
  .case-track {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 0;
    white-space: normal;
    transform: none !important;
  }
  .case-media {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .case-media img {
    width: 100%;
    height: auto;
    max-width: none;
    min-width: 0;
    max-height: 75vh;
    object-fit: cover;
  }
  .next-project {
    width: 100%;
    height: 55vh;
    padding: 2em;
  }
  .next-project h2 {
    font-size: 15vw;
  }
  .text-hero > span {
    grid-column: 1 / span 6;
  }
  .text-hero h1 {
    grid-column: 1 / span 6;
    margin-top: 1em;
    font-size: 14vw;
  }
  .text-hero p {
    grid-column: 2 / span 5;
    font-size: 16px;
  }
  .text-list > h2 {
    grid-column: 1 / span 6;
    font-size: 13vw;
  }
  .text-list > div {
    grid-column: 1 / span 6;
  }
  .text-list-item {
    grid-template-columns: 1fr;
  }
  .text-list-item h3 {
    font-size: 29px;
  }
  .about-statements > div {
    grid-column: 1 / span 6;
    grid-template-columns: 1fr;
  }
  .about-statements h2 {
    font-size: 11vw;
  }
}

@media (max-width: 440px) {
  :root {
    --pad-x: 15px;
    --pad-y: 15px;
  }
  .home-hero h1 {
    margin-top: 7em;
    font-size: 7vw;
  }
  .hero-visual {
    top: 3vh;
  }
  .home-scroll-cue span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal.reveal-ready {
    opacity: 1;
    transform: none;
  }
}

html { scrollbar-gutter: stable; }
html:has(.navigation[data-navigation-status="active"]) { overflow: hidden; }
.navigation[data-navigation-status="active"] { z-index: 70; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: fixed; top: 0.75rem; left: var(--pad-x); z-index: 60; padding: 0.6rem 1rem; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.utility-section > * { grid-column: 1 / -1; }
.utility-section li, .utility-section p { margin-block: 0.65rem; }
.utility-link { text-decoration: underline; text-underline-offset: 0.2em; }

.case-horizontal:not(.horizontal-ready) { height: auto; }
.case-horizontal:not(.horizontal-ready) .case-sticky {
  position: relative;
  height: auto;
  overflow: visible;
  padding-top: 120px;
}
.case-horizontal:not(.horizontal-ready) .case-info {
  position: relative;
  top: auto;
  width: 100%;
  max-width: none;
  transform: none;
}
.case-horizontal:not(.horizontal-ready) .case-track {
  position: relative;
  inset: auto;
  height: auto;
  flex-direction: column;
  gap: 35px;
  padding: 0;
  white-space: normal;
}
.case-horizontal:not(.horizontal-ready) .case-track > * { width: 100%; height: auto; margin: 0; }
.case-horizontal:not(.horizontal-ready) .case-media img { width: 100%; height: auto; max-height: 75vh; }
.case-horizontal:not(.horizontal-ready) { padding-bottom: 45svh; }

@media (min-width: 813px) {
  .case-horizontal:not(.horizontal-ready) .case-columns { margin-bottom: 4em; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-ready:not(.visible):not(:focus-within) { opacity: 1; transform: none; }
}

.navigation {
  --navigation-ease: cubic-bezier(0.5, 0.5, 0, 1);
  --navigation-size: 3.5rem;
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  color: #131313;
}

.navigation__dark-bg {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--navigation-ease), visibility 0.7s;
}

[data-navigation-status="active"] .navigation__dark-bg {
  opacity: 0.33;
  visibility: visible;
  pointer-events: auto;
}

.hamburger-nav {
  position: absolute;
  top: var(--pad-y);
  right: var(--pad-x);
  width: min(19rem, calc(100% - 2 * var(--pad-x)));
}

.hamburger-nav__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--navigation-size);
  height: var(--navigation-size);
  border-radius: 1.75rem;
  background: #e2e1df;
  transition: width 0.7s var(--navigation-ease), height 0.7s var(--navigation-ease);
}

[data-navigation-status="active"] .hamburger-nav__bg {
  width: 100%;
  height: 100%;
}

.hamburger-nav__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100dvh - 2 * var(--pad-y));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.25rem 2rem 2rem;
  transform: scale(0.15);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.7s var(--navigation-ease), opacity 0.5s var(--navigation-ease), visibility 0.7s;
}

[data-navigation-status="active"] .hamburger-nav__group {
  pointer-events: auto;
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.hamburger-nav__menu-p {
  color: #565553;
  font: 1rem "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hamburger-nav__ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hamburger-nav__a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #131313;
}

.hamburger-nav__p { font-size: 2rem; }
.hamburger-nav__a[aria-current] .hamburger-nav__p { color: #565553; }

.hamburger-nav__dot {
  flex: 0 0 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
  transition: transform 0.7s var(--navigation-ease);
}

.hamburger-nav__a:is([aria-current], :hover, :focus-visible) .hamburger-nav__dot {
  transform: scale(1);
}

.hamburger-nav__toggle {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: var(--navigation-size);
  height: var(--navigation-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #131313;
  pointer-events: auto;
  transition: transform 0.7s var(--navigation-ease);
}

[data-navigation-status="active"] .hamburger-nav__toggle {
  transform: translate(-1rem, 1rem);
}

.hamburger-nav__toggle-bar {
  position: absolute;
  width: 40%;
  height: 2px;
  background: currentColor;
  transform: translateY(-0.17rem);
  transition: transform 0.7s var(--navigation-ease);
}

.hamburger-nav__toggle-bar:nth-child(2) { transform: translateY(0.17rem); }

[data-navigation-status="active"] .hamburger-nav__toggle-bar { transform: rotate(45deg); }
[data-navigation-status="active"] .hamburger-nav__toggle-bar:nth-child(2) { transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .navigation * { transition: none; }
}

@media (min-width: 813px) and (min-height: 520px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reel-track {
      min-height: 195svh;
      view-timeline: --reel block;
    }

    .reel-stage {
      position: sticky;
      top: 0;
      height: 100svh;
      isolation: isolate;
    }

    .reel-ribbon {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
    }

    .reel-trail {
      fill: none;
      stroke: var(--blue);
      stroke-width: 10;
      stroke-linecap: round;
      stroke-dasharray: 1;
      animation: reel-draw linear both;
      animation-timeline: --reel;
      animation-range: entry 15% contain 67%;
    }

    .reel-flight { z-index: 2; }

    .reel-airplane {
      offset-path: url(#reel-flight-path);
      offset-rotate: auto;
      offset-anchor: 0 0;
      animation: reel-fly linear both;
      animation-timeline: --reel;
      animation-range: entry 15% contain 67%;
    }

    .reel-copy {
      position: relative;
      z-index: 1;
      align-self: start;
      margin-top: 12svh;
      animation: reel-copy-exit linear both;
      animation-timeline: --reel;
      animation-range: contain 28% contain 65%;
    }

    .reel-media {
      position: absolute;
      grid-area: auto;
      inset: 12% var(--pad-x) auto;
      transform-origin: top left;
      will-change: transform;
      animation: reel-expand cubic-bezier(0.35, 0, 0.25, 1) both;
      animation-timeline: --reel;
      animation-range: contain 16% contain 86%;
    }

    .reel-project img {
      aspect-ratio: auto;
      height: 76svh;
    }

    .reel-copy:focus-within {
      animation: none;
      outline: 0.75rem solid var(--white);
      background: var(--white);
    }
  }
}

@keyframes reel-fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

@keyframes reel-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes reel-copy-exit {
  to { opacity: 0; translate: 0 -3rem; pointer-events: none; }
}

@keyframes reel-expand {
  from { transform: translateY(17svh) rotate(-3deg) scale(0.46); }
  to { transform: translateY(0) rotate(0deg) scale(1); }
}
