:root {
  --paper: #DEDFE0;
  --paper-2: #DEDFE0;
  --pad: clamp(20px, 4.6vw, 80px);
  --sec: clamp(96px, 17vh, 200px);
  --line: rgba(7, 24, 32, .18);
}

body {
  background: var(--paper);
}

.nav.solid[data-tone="light"] {
  background: rgba(222, 223, 224, .85);
}

.h-sec {
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 0;
}

.statement {
  font-weight: 600;
  font-size: clamp(2.2rem, 5.8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.statement .dim {
  color: rgba(7, 24, 32, .36);
}

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink-72);
  max-width: 32ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tlink {
  display: inline-block;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.tlink:hover {
  color: var(--crimson);
}

.btn-crimson {
  background: var(--crimson);
  box-shadow: none;
}

.btn-crimson:hover {
  background: #c9185a;
  box-shadow: none;
}

.s-intro,
.s-invite {
  padding: var(--sec) var(--pad);
  display: grid;
  gap: clamp(24px, 4vh, 40px);
  justify-items: start;
  background: var(--paper);
}

.s-intro .statement {
  max-width: 12em;
}

.s-what {
  padding: calc(var(--sec) * .4) var(--pad) var(--sec);
  display: grid;
  gap: clamp(28px, 5vh, 56px);
  background: var(--paper);
}

.rows {
  border-top: 1px solid var(--ink);
}

.rows a {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--t2) var(--ease);
}

.rows .n {
  color: var(--teal);
}

.rows .t {
  font-size: clamp(1.5rem, 3.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.rows .go {
  font-size: 1.6rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}

.rows a:hover {
  padding-left: 14px;
}

.rows a:hover .go,
.rows a:focus-visible .go {
  opacity: 1;
  transform: none;
  color: var(--crimson);
}

.flow {
  margin-top: clamp(24px, 5vh, 56px);
}

.steps li {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.steps li.on {
  background: rgba(181, 18, 74, .22);
  border-color: #ff7aa6;
  box-shadow: none;
}

.steps li span {
  font-weight: 500;
  font-size: 1rem;
}

.s-work {
  padding: var(--sec) var(--pad);
  display: grid;
  gap: clamp(28px, 5vh, 56px);
  background: var(--paper);
}

.s-process {
  padding: calc(var(--sec) * .4) var(--pad) var(--sec);
  display: grid;
  gap: clamp(28px, 5vh, 56px);
  background: var(--paper);
}

.tech {
  color: var(--ink-72);
}

.sv {
  padding: clamp(40px, 8vh, 90px) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.sv-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 96px);
  max-width: 1500px;
  margin: 0 auto;
}

.sv-head {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sv-head .n {
  color: var(--teal);
}

.sv-title {
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}

.sv-body {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 6px;
}

.sv-p {
  color: var(--ink-72);
  font-size: 1.1rem;
}

.sv-b {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -.02em;
  max-width: 26em;
}

.path {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 22px 0 6px;
  padding-top: 22px;
  max-width: 460px;
}

.path::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 1px;
  background: var(--ink);
  opacity: .35;
}

.path li {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
}

.path li i {
  position: absolute;
  top: -22px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.path li:last-of-type {
  text-align: right;
}

.path li:last-of-type i {
  left: auto;
  right: 0;
}

.path li:nth-child(2) i {
  left: 50%;
  margin-left: -6px;
}

.path li:nth-child(2) {
  text-align: center;
}

.path .dot {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--crimson);
}

.path.run .dot {
  animation: travel 4.4s var(--ease) infinite;
}

@keyframes travel {
  0%,
  8% {
    transform: translateX(0);
  }
  50%,
  58% {
    transform: translateX(calc(min(460px, 100vw - 2 * var(--pad)) - 13px));
  }
  100% {
    transform: translateX(0);
  }
}

.sv-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.tlink.soft {
  color: var(--ink-72);
}

.ab-hero {
  min-height: 84svh;
}

.ab-flight {
  padding: calc(var(--sec) * .5) var(--pad) var(--sec);
  background: var(--paper);
}

.fl-stage {
  position: relative;
  height: clamp(220px, min(30vw, 40svh), 400px);
  max-width: 1500px;
  margin: 0 auto clamp(24px, 4vh, 56px);
}

.fl-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fl-bird {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(40px, 4.6vw, 64px);
  aspect-ratio: 1336 / 1184;
  margin: -2.4% 0 0 -2.6%;
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
  background: var(--ink);
  will-change: transform;
  z-index: 2;
}

.fl-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.fl-node .ico {
  display: grid;
  place-items: center;
  width: clamp(60px, 7vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: rgba(7, 24, 32, .45);
  background: #e9eaeb;
  border: 1px solid var(--line);
  transition: color var(--t2) var(--ease), background var(--t2) var(--ease);
}

.fl-node.on .ico {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.fl-node.n1 {
  transform: translate(-30%, -50%);
}

.fl-node.n3 {
  transform: translate(-70%, -50%);
}

.ico-bird {
  width: 52%;
  aspect-ratio: 1336 / 1184;
  background: currentColor;
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
}

.fl-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  max-width: 1500px;
  margin: 0 auto;
}

.fl-chapters li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: border-color var(--t2) var(--ease);
}

.fl-chapters li.cur {
  border-top-color: var(--ink);
}

.fl-chapters h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.05em;
  margin-bottom: 10px;
}

.fl-chapters p {
  color: var(--ink-72);
  max-width: 30ch;
}

body[data-view="services"] #view-services,
body[data-view="about"] #view-about {
  display: block;
}

@media (max-width: 1060px) {
  .sv-in {
    grid-template-columns: 1fr;
  }
  .fl-chapters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .statement {
    font-size: clamp(2rem, 9.5vw, 3.6rem);
  }
  .rows a {
    grid-template-columns: 2.6rem 1fr;
  }
  .rows .go {
    display: none;
  }
  .fl-stage {
    height: 200px;
  }
}

html.reduced .path .dot {
  animation: none;
}

:root {
  --hall-top: #ececec;
  --hall-bot: #dcdddf;
  --f-helv: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hall-hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  display: block;
  padding: 0;
  background: linear-gradient(180deg, var(--hall-top) 0%, var(--hall-bot) 100%);
}

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

.hv-arches {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hv-arches i {
  position: absolute;
  bottom: -3%;
  width: 19vw;
  height: 84%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .3) 60%, rgba(7, 24, 32, .1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 60px -30px rgba(7, 24, 32, .25);
}

.hv-arches i::after {
  content: "";
  position: absolute;
  inset: 8% 24% 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(7, 24, 32, .1), rgba(7, 24, 32, .02));
}

.hv-arches .l {
  left: -3vw;
}

.hv-arches .r {
  right: -3vw;
  transform: scaleX(-1);
}

.hv-arches .fog {
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 34%;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(222, 223, 224, 0), #dedfe0 85%);
}

.hv-arches .fog::after {
  display: none;
}

.hv-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-46%);
  display: grid;
  gap: clamp(16px, 2.6vh, 28px);
  justify-items: center;
  text-align: center;
  padding: 0 8vw;
  pointer-events: none;
}

.hv-copy a {
  pointer-events: auto;
}

.hv-title {
  font-family: var(--f-helv);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.058em;
  color: #0b0b0b;
}

.hv-sub {
  text-wrap: balance;
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  line-height: 1.4;
  color: rgba(7, 24, 32, .62);
  max-width: 34ch;
}

.hv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0b;
  font-weight: 500;
  font-size: .95rem;
  box-shadow: 0 8px 24px -14px rgba(7, 24, 32, .45);
  transition: transform var(--t2) var(--ease), background var(--t1), color var(--t1);
}

.pill:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
}

.pill-crimson {
  background: var(--crimson);
  color: #fff;
}

.pill-crimson:hover {
  background: #c9185a;
}

.hall-end {
  position: relative;
  overflow: clip;
  min-height: 78svh;
  justify-items: center;
  align-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--hall-bot) 0%, var(--hall-top) 100%);
}

.hall-end > :not(.hv-arches) {
  position: relative;
  z-index: 2;
}

.hall-end .statement {
  max-width: 13em;
}

.hall-end .actions {
  justify-content: center;
}

.hall-end .lede {
  text-align: center;
  margin-inline: auto;
}

.hall-end .hv-arches .fog {
  top: 0;
  bottom: auto;
  height: 30%;
  background: linear-gradient(0deg, rgba(236, 236, 236, 0), #dedfe0 85%);
}

.statement,
.h-sec,
.sv-title,
.rows .t,
.fl-chapters h3 {
  font-family: var(--f-helv);
  font-weight: 400;
  letter-spacing: -.055em;
}

.statement .dim {
  color: rgba(7, 24, 32, .34);
}

@media (max-width: 900px) {
  .hv-arches i {
    width: 26vw;
  }
  .hv-title {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }
  .hv-copy {
    padding: 0 6vw;
  }
  .hall-end {
    min-height: 64svh;
  }
}

.s-intro.scrub {
  display: block;
  padding: 0;
  height: 250svh;
  position: relative;
  background: var(--paper);
}

.si-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-content: center;
  gap: clamp(22px, 4vh, 40px);
  padding: 0 var(--pad);
}

.si-text {
  font-family: var(--f-helv);
  font-weight: 400;
  font-size: clamp(2.4rem, 7.4vw, 8.4rem);
  line-height: .98;
  letter-spacing: -.058em;
  color: #0b0b0b;
  margin: 0;
}

.si-text .l1,
.si-text .l2 {
  display: block;
}

.si-text .w {
  display: inline-block;
  --k0: clamp(0, calc(var(--p, 0) * 8 - var(--i)), 1);
  opacity: calc(.14 + var(--k0) * .86);
  transform: translate3d(0, calc((1 - var(--k0)) * .22em), 0);
  will-change: opacity, transform;
}

.fl {
  position: relative;
}

.fl .c {
  display: inline-block;
}

.fl.live .c {
  animation: wave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--k) * 140ms);
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-.09em);
  }
}

.fl-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.12em;
  width: 100%;
  height: .22em;
  overflow: visible;
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.fl.live .fl-wave {
  opacity: 1;
}

.fl.live .fl-wave path {
  stroke-dasharray: 8 10;
  animation: flowline 1.6s linear infinite;
}

@keyframes flowline {
  to {
    stroke-dashoffset: -36;
  }
}

.si-lede {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: var(--ink-72);
  max-width: 32ch;
  opacity: clamp(0, calc((var(--p, 0) - .8) * 8), 1);
  transform: translate3d(0, calc((1 - clamp(0, calc((var(--p, 0) - .8) * 8), 1)) * 14px), 0);
}

.s-intro.static {
  height: auto;
  padding: var(--sec) 0;
}

.s-intro.static .si-sticky {
  position: static;
  height: auto;
}

.s-intro.static .si-text .w,
.s-intro.static .si-lede {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .s-intro.scrub {
    height: 230svh;
  }
  .si-text {
    font-size: clamp(2.2rem, 12vw, 4.2rem);
  }
}

.rows {
  border-top: 0;
}

.rows::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--ink);
}

.rows li {
  position: relative;
}

.rows li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms + 150ms);
}

.rows li.in::after {
  transform: scaleX(1);
}

.rows a {
  border-bottom: 0;
}

.rows a:hover {
  padding-left: 0;
}

.rows .t {
  font-family: var(--f-helv);
  font-weight: 400;
  overflow: hidden;
  line-height: 1.12;
}

.roll {
  display: grid;
}

.roll > span {
  grid-area: 1 / 1;
  display: block;
  transition: transform .6s var(--ease);
}

.roll > span + span {
  transform: translateY(110%);
  color: var(--crimson);
}

.rows a:hover .roll > span:first-child,
.rows a:focus-visible .roll > span:first-child {
  transform: translateY(-110%);
}

.rows a:hover .roll > span + span,
.rows a:focus-visible .roll > span + span {
  transform: none;
}

html.reduced .fl.live .c,
html.reduced .fl.live .fl-wave path {
  animation: none;
}

.steps li {
  background: rgba(7, 24, 32, .94);
}

.steps li.on {
  background: rgba(60, 12, 36, .96);
}

.path {
  margin-top: 34px;
}

.path .dot {
  top: -26px;
  left: -3px;
  width: 20px;
  height: 17px;
  border-radius: 0;
  background: none;
  display: block;
  text-decoration: none;
}

.path .dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crimson);
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
  transform-origin: 50% 70%;
  animation: flap .42s ease-in-out infinite alternate;
}

@keyframes flap {
  from {
    transform: translateY(1px) scaleY(.82) rotate(2deg);
  }
  to {
    transform: translateY(-2px) scaleY(1.05) rotate(-4deg);
  }
}

.path li i {
  background: var(--paper);
}

html.reduced .path .dot::before {
  animation: none;
}

html:not(.reduced) .path:not(.run) .dot::before {
  animation-play-state: paused;
}

.path {
  container-type: inline-size;
}

@keyframes travel {
  0%,
  8% {
    transform: translateX(0);
  }
  50%,
  58% {
    transform: translateX(calc(100cqw - 13px));
  }
  100% {
    transform: translateX(0);
  }
}

.rows li {
  container-type: inline-size;
}

.rows a {
  grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 27ch) 2.2rem;
  column-gap: clamp(12px, 2vw, 32px);
}

.rows .d {
  font-size: .95rem;
  line-height: 1.35;
  color: var(--ink-72);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.rows a:hover .d,
.rows a:focus-visible .d {
  opacity: 1;
  transform: none;
}

.rows .go {
  justify-self: end;
}

.fly {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  pointer-events: none;
}

.fly::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease);
}

.fly b {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 28px;
  height: 25px;
  opacity: 0;
  transform: translateX(0);
  transition: transform .9s var(--ease), opacity .3s var(--ease);
}

.fly b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crimson);
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
  transform-origin: 50% 70%;
}

.rows li:hover .fly::before,
.rows li:focus-within .fly::before {
  transform: scaleX(1);
}

.rows li:hover .fly b,
.rows li:focus-within .fly b {
  opacity: 1;
  transform: translateX(calc(100cqw - 28px));
}

.rows li:hover .fly b::before,
.rows li:focus-within .fly b::before {
  animation: flap .42s ease-in-out infinite alternate;
}

@keyframes flap {
  from {
    transform: translateY(1px) scaleY(.82) rotate(2deg);
  }
  to {
    transform: translateY(-2px) scaleY(1.05) rotate(-4deg);
  }
}

@media (max-width: 1000px) {
  .rows a {
    grid-template-columns: 3rem minmax(0, 1fr) 2rem;
  }
  .rows .d {
    grid-column: 2 / 3;
    grid-row: 2;
    opacity: 1;
    transform: none;
    padding-bottom: 4px;
  }
  .rows .go {
    grid-row: 1;
    grid-column: 3;
  }
}

@media (hover: none), (pointer: coarse) {
  .rows .d {
    opacity: 1;
    transform: none;
  }
}

html.reduced .rows li:hover .fly b::before,
html.reduced .rows li:focus-within .fly b::before {
  animation: none;
}

html.reduced .fly::before,
html.reduced .fly b {
  transition-duration: .01ms;
}

@media (min-width: 901px) {
  .si-text {
    font-size: clamp(2.4rem, 5.6vw, 6.8rem);
    max-width: 58vw;
  }
  .si-lede {
    max-width: 30ch;
  }
}

.si-art {
  position: absolute;
  right: var(--pad);
  top: 50%;
  width: min(36vw, 520px);
  aspect-ratio: 100 / 120;
  transform: translateY(-50%);
  pointer-events: none;
}

.si-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.si-line path {
  stroke-width: .5px;
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1 - var(--lp, 0));
  --lp: clamp(0, calc((var(--p, 0) * 9 - 1.1) / 4.9), 1);
  opacity: clamp(0, calc(var(--p, 0) * 40), 1);
}

.tile {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 40%;
  display: grid;
  gap: 7px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: #ecedee;
  border: 1px solid rgba(7, 24, 32, .14);
  box-shadow: 0 18px 30px -22px rgba(7, 24, 32, .45);
  --k: clamp(0, calc(var(--p, 0) * 9 - var(--i) * 1.1), 1);
  opacity: var(--k);
  transform: translate(-50%, -50%) translateY(calc((1 - var(--k)) * 26px)) rotate(calc(var(--r) * 1deg)) scale(calc(.9 + var(--k) * .1));
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.tile b {
  font-family: var(--f-helv);
  font-weight: 500;
  font-size: clamp(.8rem, 1.05vw, 1rem);
  letter-spacing: -.01em;
  color: #0b0b0b;
}

.tile i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(7, 24, 32, .13);
}

.tile.hit {
  border-color: var(--crimson);
  background: #f3f4f4;
  box-shadow: 0 22px 34px -20px rgba(181, 18, 74, .5);
}

.s-intro.static .tile {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--r) * 1deg));
}

.s-intro.static .si-line path {
  stroke-dashoffset: 0;
  opacity: 1;
}

@media (max-width: 900px) {
  .si-art {
    display: none;
  }
}

.s-intro.scrub {
  justify-items: stretch;
}

.si-sticky {
  width: 100%;
  box-sizing: border-box;
}

.s-work2 {
  position: relative;
  overflow: clip;
  min-height: 112svh;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: var(--sec) var(--pad);
}

.sw-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(8px, 3vw, 48px);
  pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  perspective: 1400px;
}

.sw-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(26px, 5vh, 46px);
  justify-items: center;
  text-align: center;
}

.sw-title {
  margin: 0;
  font-family: var(--f-helv);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 9rem);
  line-height: .95;
  letter-spacing: -.062em;
  color: #0b0b0b;
}

.sw-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px 0 34px;
  height: clamp(62px, 6vw, 78px);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -.01em;
  overflow: hidden;
  transition: background .35s var(--ease), transform .5s var(--ease);
}

.sw-btn:hover,
.sw-btn:focus-visible {
  background: var(--crimson);
  transform: scale(1.04);
}

.sw-lbl {
  display: grid;
  overflow: hidden;
  line-height: 1.2;
}

.sw-lbl > span {
  grid-area: 1 / 1;
  display: block;
  transition: transform .55s var(--ease);
}

.sw-lbl > span + span {
  transform: translateY(120%);
}

.sw-btn:hover .sw-lbl > span:first-child,
.sw-btn:focus-visible .sw-lbl > span:first-child {
  transform: translateY(-120%);
}

.sw-btn:hover .sw-lbl > span + span,
.sw-btn:focus-visible .sw-lbl > span + span {
  transform: none;
}

.sw-arr {
  flex: none;
  width: clamp(42px, 4.2vw, 54px);
  height: clamp(42px, 4.2vw, 54px);
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform .5s var(--ease), color .3s;
}

.sw-btn:hover .sw-arr {
  transform: translateX(4px);
  color: var(--crimson);
}

.sw-fly {
  position: absolute;
  left: -34px;
  top: 50%;
  width: 26px;
  height: 23px;
  margin-top: -12px;
  background: #fff;
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
  opacity: 0;
}

.sw-btn:hover .sw-fly,
.sw-btn:focus-visible .sw-fly {
  animation: swfly 1.1s var(--ease) forwards;
}

@keyframes swfly {
  0% {
    left: -34px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 10px);
    opacity: 0;
  }
}

html.reduced .sw-btn:hover .sw-fly {
  animation: none;
}

.sw-stage {
  position: absolute;
  inset: 0;
  container-type: size;
  pointer-events: none;
  -webkit-mask: none;
  mask: none;
  display: block;
  padding: 0;
  perspective: none;
}

.lg {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(110px, 12vw, 190px);
  transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqh - 50%));
  transition: transform 1.6s cubic-bezier(.65, 0, .2, 1);
}

.lg-in {
  display: block;
  transform: translate3d(0, calc(var(--sp, 0) * var(--dp, 1) * -70px), 0);
  will-change: transform;
}

.lg-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1.75;
  border-radius: 12px;
  box-shadow: 0 26px 36px -22px rgba(7, 24, 32, .55);
  animation: lgbob 7s ease-in-out infinite alternate;
  animation-delay: calc(var(--dp) * -2.3s);
}

.lg-card img {
  width: 52%;
  max-height: 52%;
  object-fit: contain;
}

@keyframes lgbob {
  from {
    transform: translateY(-7px) rotate(-1.4deg);
  }
  to {
    transform: translateY(8px) rotate(1.6deg);
  }
}

@media (max-width: 760px) {
  .lg {
    width: 88px;
  }
}

html.reduced .lg-card {
  animation: none;
}

html.reduced .lg {
  transition: none;
}

.hs {
  display: grid;
  gap: clamp(30px, 6vh, 64px);
}

.hs-stack {
  display: block;
  position: relative;
}

.hs-card {
  position: sticky;
  top: calc(var(--nav-h) + 22px + var(--i) * 20px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 28ch);
  align-items: end;
  gap: clamp(16px, 3vw, 56px);
  min-height: clamp(300px, 52svh, 470px);
  margin-bottom: clamp(26px, 6vh, 70px);
  padding: clamp(24px, 3.4vw, 54px);
  border-radius: clamp(22px, 2.6vw, 40px);
  overflow: hidden;
  color: #fff;
  --k: 0;
  transform: scale(calc(1 - var(--k) * .05));
  transform-origin: 50% 0;
  box-shadow: 0 -18px 40px -24px rgba(7, 24, 32, .35);
}

.hs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: calc(var(--k) * .28);
  pointer-events: none;
  border-radius: inherit;
}

.hs-n {
  align-self: start;
  font-family: var(--f-mono);
  font-size: clamp(.8rem, 1vw, .95rem);
  letter-spacing: .12em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: .8;
}

.hs-card h3 {
  font-family: var(--f-helv);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 12rem);
  letter-spacing: -.07em;
  line-height: .86;
  margin: 0;
}

.hs-card p {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  opacity: .85;
  padding-bottom: .6em;
}

.hs-a {
  background: #071820;
}

.hs-b {
  background: #1b5663;
}

.hs-c {
  background: #d3d6d8;
  color: #071820;
}

.hs-d {
  background: #8e1340;
}

@media (max-width: 760px) {
  .hs-card {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 46svh;
    top: calc(var(--nav-h) + 8px + var(--i) * 12px);
  }
  .hs-card h3 {
    font-size: clamp(3.4rem, 22vw, 6rem);
  }
}

html.reduced .hs-card {
  position: relative;
  top: auto;
  transform: none;
}

html.reduced .hs-card::after {
  display: none;
}

.hs-n {
  justify-self: start;
}

.lg {
  transition: none;
  transform: none;
  will-change: transform, opacity;
}

.lg-in {
  transform: none;
}

.hs-art {
  position: absolute;
  right: 4%;
  top: 7%;
  width: 44%;
  height: 56%;
  pointer-events: none;
  z-index: 1;
  --hi: #ff7aa6;
}

.hs-art svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hs-a .hs-art,
.hs-b .hs-art {
  --hi: #ff7aa6;
}

.hs-c .hs-art {
  --hi: #B5124A;
}

.hs-d .hs-art {
  --hi: #ffffff;
}

.hs-card > *:not(.hs-art) {
  position: relative;
  z-index: 2;
}

.hs-art .bd {
  fill: var(--hi);
}

.tk {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .3;
  stroke-width: 1.5;
  animation: tklit 7s linear infinite paused;
  animation-delay: calc(var(--c) * 1.55s - 0.2s);
}

.hs-card.run .tk {
  animation-play-state: running;
}

@keyframes tklit {
  0%,
  100% {
    fill: transparent;
    stroke: currentColor;
    stroke-opacity: .3;
  }
  5% {
    fill: var(--hi);
    fill-opacity: .9;
    stroke: var(--hi);
    stroke-opacity: 1;
  }
  20% {
    fill: var(--hi);
    fill-opacity: .12;
    stroke: var(--hi);
    stroke-opacity: .7;
  }
  32% {
    fill: transparent;
    stroke: currentColor;
    stroke-opacity: .3;
  }
}

.rt {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .25;
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
}

.rt-d {
  fill: none;
  stroke: var(--hi);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 9;
  animation: rtflow 1.2s linear infinite paused;
}

.hs-card.run .rt-d {
  animation-play-state: running;
}

@keyframes rtflow {
  to {
    stroke-dashoffset: -30;
  }
}

.wp {
  fill: currentColor;
  fill-opacity: .25;
  stroke: currentColor;
  stroke-opacity: .7;
  stroke-width: 2;
  animation: wppulse 6.4s ease-out infinite paused;
  animation-delay: var(--dl);
}

.hs-card.run .wp {
  animation-play-state: running;
}

@keyframes wppulse {
  0%,
  100% {
    fill: transparent;
  }
  4% {
    fill: var(--hi);
    fill-opacity: 1;
    stroke: var(--hi);
  }
  18% {
    fill: var(--hi);
    fill-opacity: .2;
  }
  30% {
    fill: transparent;
  }
}

.bk {
  fill: currentColor;
  fill-opacity: .14;
  stroke: currentColor;
  stroke-opacity: .55;
  stroke-width: 1.5;
  transform-box: fill-box;
  animation: bkdrop 7s cubic-bezier(.3, 1.4, .5, 1) infinite paused;
  animation-delay: var(--dl);
}

.hs-card.run .bk {
  animation-play-state: running;
}

@keyframes bkdrop {
  0% {
    transform: translateY(-110px);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  16%,
  82% {
    transform: none;
    opacity: 1;
  }
  92%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.bk:last-of-type {
  fill: var(--hi);
  fill-opacity: .25;
  stroke: var(--hi);
  stroke-opacity: .9;
}

.pl {
  fill: none;
  stroke: var(--hi);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: plpulse 2.8s ease-out infinite paused;
  animation-delay: var(--dl);
}

.hs-card.run .pl {
  animation-play-state: running;
}

@keyframes plpulse {
  0% {
    transform: scale(1);
    opacity: .8;
  }
  100% {
    transform: scale(3.6);
    opacity: 0;
  }
}

.ring {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .28;
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}

.core {
  fill: var(--hi);
  fill-opacity: .9;
}

@media (max-width: 760px) {
  .hs-art {
    right: 2%;
    top: 3%;
    width: 52%;
    height: 34%;
    opacity: .9;
  }
}

html.reduced .tk,
html.reduced .rt-d,
html.reduced .wp,
html.reduced .bk,
html.reduced .pl {
  animation: none;
}

html.reduced .bk {
  opacity: 1;
}

.lg-card {
  background: none;
  box-shadow: none;
  aspect-ratio: 1.8;
  border-radius: 0;
}

.lg-logo {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

.lg {
  width: clamp(120px, 12.5vw, 200px);
}

@media (max-width: 760px) {
  .lg {
    width: 96px;
  }
}

.fl {
  color: var(--crimson);
}

.si-art.live .tile {
  animation: tilehit 7.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 1.5s);
}

@keyframes tilehit {
  0%,
  20%,
  100% {
    border-color: rgba(7, 24, 32, .14);
    background: #ecedee;
    box-shadow: 0 18px 30px -22px rgba(7, 24, 32, .45);
  }
  6%,
  12% {
    border-color: var(--crimson);
    background: #f3f4f4;
    box-shadow: 0 22px 34px -20px rgba(181, 18, 74, .5);
  }
}

html.reduced .si-art.live .tile,
.s-intro.static .si-art.live .tile {
  animation: none;
}

@media (min-width: 761px) and (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }
  .brand {
    width: 116px;
  }
  .nav-toggle {
    display: inline-grid;
  }
  .nav-tools .btn {
    display: none;
  }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px var(--pad) 26px;
    background: rgba(4, 20, 27, .97);
    color: #fff;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), visibility 0s linear var(--t2);
  }
  .nav-links.open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav-links a {
    font-size: 1.6rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .si-sticky {
    align-content: start;
    padding-top: calc(var(--nav-h) + 7svh);
  }
  .si-art {
    display: block;
    right: 50%;
    left: auto;
    top: auto;
    bottom: 3svh;
    transform: translateX(50%);
    width: min(66vw, 330px, 40svh * 0.84);
  }
  .tile {
    width: 47%;
    padding: 10px 11px 12px;
    gap: 5px;
    border-radius: 11px;
  }
  .tile b {
    font-size: .72rem;
  }
  .tile i {
    height: 4px;
  }
  .si-lede {
    max-width: 34ch;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .si-text {
    font-size: clamp(2.6rem, 8.4vw, 4.6rem);
  }
}

.film {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  overflow: hidden;
}

.f-grain {
  position: absolute;
  inset: -60px;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .03  0 0 0 0 .09  0 0 0 0 .13  0 0 0 1.5 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.f-vig {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 45%, transparent 52%, rgba(7, 24, 32, .13) 100%);
}

body[data-view="work"] .film {
  display: none;
}

html[data-fx="lite"] .film {
  display: none;
}

html[data-fx="lite"] .lg-card,
html[data-fx="lite"] .pp-bird,
html[data-fx="lite"] .book-halo,
html[data-fx="lite"] .nav-links a[data-nav="work"]::before {
  animation: none;
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

.proj-pill {
  position: fixed;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 3vh, 30px);
  z-index: 57;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  box-shadow: 0 18px 34px -16px rgba(7, 24, 32, .7);
  opacity: 0;
  transform: translateY(24px) scale(.96);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background .3s var(--ease);
}

.proj-pill.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.proj-pill:hover,
.proj-pill:focus-visible {
  background: var(--crimson);
}

.pp-bird {
  width: 22px;
  height: 19px;
  background: #fff;
  -webkit-mask: url(assets/bird.svg) center / contain no-repeat;
  mask: url(assets/bird.svg) center / contain no-repeat;
  animation: flap .5s ease-in-out infinite alternate;
}

.proj-pill svg {
  transition: transform .4s var(--ease);
}

.proj-pill:hover svg {
  transform: translateX(4px);
}

body[data-view="work"] .proj-pill {
  display: none;
}

@media (max-width: 760px) {
  .proj-pill span {
    display: none;
  }
  .proj-pill {
    padding: 13px 15px;
  }
}

html.reduced .pp-bird {
  animation: none;
}

.nav-links a[data-nav="work"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: .12em;
  border-radius: 50%;
  background: var(--crimson);
  animation: ppdot 2.4s ease-out infinite;
}

@keyframes ppdot {
  0% {
    box-shadow: 0 0 0 0 rgba(181, 18, 74, .55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(181, 18, 74, 0);
  }
}

html.reduced .nav-links a[data-nav="work"]::before {
  animation: none;
}

body[data-view="work"] .nav-links a[data-nav="work"]::before {
  display: none;
}

.portal-bird {
  background: linear-gradient(160deg, #2a7385, #071820);
  transition: opacity 1.5s cubic-bezier(.4, 0, .2, 1);
}

.portal:not(.on) .portal-bird {
  transition: none;
}

html:not(.js) .say-1 > span,
html:not(.js) .say-2 em {
  transform: none;
  opacity: 1;
  clip-path: none;
}

html:not(.js) .book {
  opacity: 1;
  transform: none;
}

main:focus {
  outline: none;
}
