@font-face {
  font-display: swap;
  font-family: "Ortica Linear";
  font-style: normal;
  font-weight: 300;
  src: url("./assets/fonts/OrticaLinear-Light.woff2") format("woff2");
}

:root {
  --bg: #050505;
  --surface: #0c0c0c;
  --surface-raised: #141414;
  --text-primary: #f5f5f5;
  --text-secondary: #b1b1b1;
  --text-muted: #686868;
  --accent: #ffffff;
  --border: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(255, 255, 255, 0.35);
  --font-display: "Ortica Linear", Georgia, serif;
  --font-body: "Ortica Linear", Georgia, serif;
  --rail: clamp(20px, 3.75vw, 72px);
  --side-column: clamp(220px, 29vw, 520px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-gentle: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft-in: cubic-bezier(0.45, 0, 0.25, 1);
}

* {
  box-sizing: border-box;
  font-synthesis-weight: none;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 56% 10%, rgba(255, 255, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 9% 44%, rgba(255, 255, 255, 0.035), transparent 44rem),
    var(--bg);
  color: var(--text-primary);
  font: 300 15px/1.45 var(--font-body);
  overflow-x: hidden;
  position: relative;
}

body::before {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.11) 0.45px, transparent 0.65px),
    radial-gradient(rgba(0, 0, 0, 0.55) 0.65px, transparent 0.9px);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px, 8px 8px;
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.2;
  pointer-events: none;
  position: fixed;
  z-index: 2;
}

body.menu-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

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

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

.eyebrow {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  height: 70px;
  justify-content: space-between;
  left: var(--rail);
  opacity: 0.48;
  padding: 0 35px;
  position: fixed;
  right: var(--rail);
  top: 0;
  transition: background 360ms var(--ease-gentle), backdrop-filter 360ms var(--ease-gentle), opacity 520ms var(--ease-gentle);
  z-index: 100;
}

.site-nav.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.84);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
}

.nav-meta,
.nav-meta p {
  align-items: center;
  display: flex;
}

.nav-meta {
  gap: 60px;
}

.nav-meta p {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 300;
  gap: 13px;
}

.nav-meta span {
  color: var(--text-secondary);
  font-size: inherit;
  font-weight: inherit;
}

.icon-button {
  background: transparent;
}

.menu-button {
  display: grid;
  height: 36px;
  place-content: center;
  position: relative;
  width: 52px;
}

.menu-button span {
  background: var(--text-primary);
  display: block;
  height: 2px;
  position: absolute;
  right: 0;
  transition: transform 320ms var(--ease-gentle), width 320ms var(--ease-gentle);
  width: 34px;
}

.menu-button span:first-child {
  top: 13px;
}

.menu-button span:nth-child(2) {
  top: 22px;
  width: 22px;
}

.menu-button span:last-child {
  display: none;
}

.menu-button:hover span:nth-child(2) {
  transform: translateX(-4px);
  width: 30px;
}

.menu-overlay {
  background: #050505;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(420px, 0.95fr);
  height: 100vh;
  left: 0;
  opacity: 0.32;
  padding: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate3d(100%, 0, 0);
  transition: opacity 360ms var(--ease-gentle), transform 720ms var(--ease-gentle);
  will-change: opacity, transform;
  width: 100%;
  z-index: 200;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.menu-brand {
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, 0.12), transparent 18rem),
    radial-gradient(ellipse at 50% 88%, rgba(255, 255, 255, 0.14), transparent 9rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 44%),
    var(--bg);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 2.2vw, 42px);
}

.menu-brand p {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.72vw, 46px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 23ch;
  text-align: center;
}

.menu-brand-nowrap {
  color: inherit;
  font: inherit;
  margin: 0;
  white-space: nowrap;
}

.menu-brand > span {
  color: rgba(255, 255, 255, 0.58);
  font: 300 clamp(16px, 1.25vw, 24px) / 1.2 var(--font-body);
  margin-top: 22px;
}

.menu-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  position: relative;
}

.menu-links {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) 1fr;
  padding: clamp(54px, 6vw, 86px) clamp(34px, 5vw, 72px);
}

.menu-links p,
.menu-contact p {
  color: rgba(255, 255, 255, 0.58);
  font: 300 15px/1.2 var(--font-body);
}

.menu-overlay nav {
  align-self: start;
  display: grid;
  justify-items: end;
}

.menu-overlay a {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(25px, 1.8vw, 32px);
  font-weight: 300;
  height: 1.24em;
  line-height: 1.2;
  overflow: hidden;
  perspective: 440px;
  position: relative;
  transition: color 260ms var(--ease-gentle);
}

.menu-overlay a:hover {
  color: var(--text-secondary);
}

.menu-word {
  display: block;
  transform-origin: 50% 50%;
  transition: opacity 420ms var(--ease-gentle), transform 420ms var(--ease-gentle);
  will-change: opacity, transform;
}

.menu-word-alt {
  left: 0;
  opacity: 0.24;
  position: absolute;
  top: 0;
  transform: rotateX(-72deg) translateY(112%);
  transition: opacity 420ms var(--ease-gentle), transform 420ms var(--ease-gentle);
  will-change: opacity, transform;
}

.menu-overlay a:hover .menu-word:first-child,
.menu-overlay a:focus-visible .menu-word:first-child {
  opacity: 0;
  transform: rotateX(68deg) translateY(-112%);
}

.menu-overlay a:hover .menu-word-alt,
.menu-overlay a:focus-visible .menu-word-alt {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

.menu-close {
  background: transparent;
  color: var(--text-primary);
  font-size: 0;
  height: 48px;
  line-height: 0;
  position: absolute;
  right: clamp(34px, 5vw, 72px);
  top: 24px;
  width: 48px;
  z-index: 2;
}

.menu-close::before,
.menu-close::after {
  background: currentColor;
  content: "";
  height: 1px;
  left: 7px;
  position: absolute;
  top: 23px;
  width: 34px;
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.menu-contact {
  display: grid;
  gap: 22px;
  padding: clamp(44px, 5vw, 76px) clamp(34px, 5vw, 72px) clamp(52px, 5vw, 80px);
}

.menu-contact button {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--text-primary);
  font: 300 clamp(23px, 1.8vw, 36px) / 1.18 var(--font-body);
  justify-self: start;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding-bottom: 14px;
  text-align: left;
}

.menu-contact button span {
  margin-left: 8px;
}

.menu-location {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.menu-location strong,
.menu-location span {
  font: 300 16px/1.2 var(--font-body);
}

.menu-location span {
  color: rgba(255, 255, 255, 0.42);
}

.menu-socials {
  display: flex;
  gap: 24px;
}

.menu-socials a {
  color: rgba(255, 255, 255, 0.7);
  font: 300 18px/1 var(--font-body);
  text-transform: lowercase;
}

main,
.site-footer {
  position: relative;
  z-index: 3;
}

.hero,
.case-studies,
.tools,
.projects-section,
.testimonials,
.site-footer {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  margin-left: var(--rail);
  margin-right: var(--rail);
}

.hero {
  --hero-x: 0px;
  --hero-y: 0px;
  border-bottom: 1px solid var(--border);
  height: max(96svh, 760px);
  overflow: hidden;
  position: relative;
}

.hero-motion,
.hero-shade,
.hero-mesh {
  inset: 0;
  position: absolute;
}

.hero-mesh {
  background: #050505;
  height: 100%;
  pointer-events: none;
  width: 100%;
  z-index: 0;
}

.hero-motion {
  background: transparent;
  z-index: 1;
}

.hero-motion::before {
  content: none;
}

.hero-motion::after {
  content: none;
}

.hero-shade {
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.3) 72%, rgba(5, 5, 5, 0.94)),
    radial-gradient(circle at 70% 44%, transparent 18%, rgba(0, 0, 0, 0.3) 58%);
  z-index: 2;
}

.hero-content {
  inset: 0;
  position: absolute;
  z-index: 5;
}

.hero-viewfinder {
  --hero-left: 35px;
  --hero-right: 56px;
  --text-top: clamp(330px, 37vh, 405px);
  --work-width: clamp(470px, 31vw, 596px);
  --work-height: clamp(350px, 29.4vw, 565px);
  --work-left: calc(100% - var(--hero-right) - var(--work-width));
  --work-top: clamp(194px, 21.4vh, 232px);
  --portrait-width: clamp(220px, 13.9vw, 268px);
  --portrait-left: calc(var(--work-left) - (var(--portrait-width) * 0.72));
  --portrait-top: clamp(106px, 12.4vh, 142px);
  --tabs-height: clamp(46px, 2.8vw, 54px);
  display: block;
  padding: 0;
  position: relative;
}

.hero-statement {
  display: grid;
  gap: clamp(16px, 1.45vw, 28px);
  left: var(--hero-left);
  max-width: clamp(600px, 38vw, 730px);
  opacity: 1;
  position: absolute;
  top: var(--text-top);
  z-index: 4;
}

.hero-eyebrow {
  color: var(--text-secondary);
  font-size: clamp(13px, 0.94vw, 18px);
  font-weight: 300;
  text-transform: uppercase;
}

.hero-statement h1 {
  font-size: clamp(62px, 4.32vw, 83px);
  line-height: 0.9;
  max-width: 780px;
  text-wrap: balance;
}

.hero-statement h1 em {
  font-style: italic;
}

.hero-statement h1 > span {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.18em;
  perspective: 480px;
}

.hero-statement h1 > span > span {
  display: block;
  transform-origin: 50% 100%;
  will-change: opacity, transform;
}

.hero-copy {
  color: var(--text-secondary);
  font-size: clamp(18px, 1.22vw, 24px);
  font-weight: 300;
  line-height: 1.22;
  max-width: 720px;
  opacity: 1;
  transform: none;
}

.desktop-break {
  display: block;
}

.hero-portrait {
  background: #050505;
  border: 1px solid var(--border);
  left: var(--portrait-left);
  overflow: hidden;
  position: absolute;
  top: var(--portrait-top);
  transform: none;
  width: var(--portrait-width);
  z-index: 5;
}

.hero-portrait::before {
  content: none;
}

.portrait {
  aspect-ratio: 0.91;
  filter: grayscale(100%) contrast(1.08);
  height: auto;
  object-fit: cover;
  object-position: center 28%;
  width: 100%;
}

.hero-portrait figcaption {
  --portrait-caption-font: clamp(15px, 1.06vw, 20px);
  --portrait-caption-row: clamp(52px, 3.35vw, 64px);
  display: grid;
}

.hero-portrait figcaption strong {
  align-items: center;
  background: #070707;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  font-size: var(--portrait-caption-font);
  font-weight: 300;
  min-height: var(--portrait-caption-row);
  padding: 0 clamp(21px, 1.45vw, 28px);
}

.hero-portrait figcaption a {
  --hero-cta-pad: clamp(21px, 1.45vw, 28px);
  align-items: center;
  background: var(--text-primary);
  color: #050505;
  display: flex;
  font-size: var(--portrait-caption-font);
  justify-content: space-between;
  min-height: var(--portrait-caption-row);
  overflow: hidden;
  padding: 0 var(--hero-cta-pad);
  isolation: isolate;
  position: relative;
  transition: color 320ms var(--ease-gentle);
}

.hero-portrait figcaption a::before {
  background: #050505;
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 520ms var(--ease-gentle);
  z-index: 0;
}

.hero-portrait figcaption a::after {
  color: var(--text-primary);
  content: attr(data-label);
  font-size: var(--portrait-caption-font);
  left: var(--hero-cta-pad);
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(88%) rotateX(72deg);
  transform-origin: 50% 50%;
  transition:
    opacity 360ms var(--ease-gentle) 60ms,
    transform 520ms var(--ease-gentle) 60ms;
  white-space: nowrap;
  z-index: 1;
}

.hero-portrait figcaption a span,
.hero-portrait figcaption a svg {
  position: relative;
  z-index: 1;
}

.hero-portrait figcaption a span {
  display: block;
  font-size: var(--portrait-caption-font);
  transform-origin: 50% 50%;
  transition:
    color 0ms var(--ease-gentle) 240ms,
    opacity 320ms var(--ease-gentle),
    transform 520ms var(--ease-gentle);
  will-change: opacity, transform;
}

.hero-portrait figcaption a svg {
  fill: currentColor;
  flex: 0 0 auto;
  height: clamp(18px, 1.2vw, 23px);
  transition: color 0ms var(--ease-gentle) 240ms;
  width: clamp(18px, 1.2vw, 23px);
}

.hero-portrait figcaption a:hover,
.hero-portrait figcaption a:focus-visible {
  color: var(--text-primary);
}

.hero-portrait figcaption a:hover::before,
.hero-portrait figcaption a:focus-visible::before {
  transform: scaleY(1);
}

.hero-portrait figcaption a:hover span,
.hero-portrait figcaption a:focus-visible span {
  color: transparent;
  opacity: 1;
  transform: rotateX(-72deg) translateY(-115%);
}

.hero-portrait figcaption a:hover::after,
.hero-portrait figcaption a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) rotateX(0deg);
}


.hero-workbench {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.18);
  height: var(--work-height);
  left: var(--work-left);
  min-height: 0;
  overflow: hidden;
  perspective: 1100px;
  position: absolute;
  top: var(--work-top);
  transform: none;
  transition: border-color 420ms var(--ease-gentle), transform 900ms var(--ease-gentle);
  width: var(--work-width);
  z-index: 2;
}

.hero-workbench:hover {
  border-color: var(--border-hover);
}

.hero-workbench::before,
.hero-workbench::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.hero-workbench::before {
  background:
    linear-gradient(90deg, transparent 0 33.333%, rgba(255, 255, 255, 0.16) 33.333%, rgba(255, 255, 255, 0.16) calc(33.333% + 1px), transparent calc(33.333% + 1px) 66.666%, rgba(255, 255, 255, 0.16) 66.666%, rgba(255, 255, 255, 0.16) calc(66.666% + 1px), transparent calc(66.666% + 1px)),
    linear-gradient(180deg, transparent 0 50%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.16) calc(50% + 1px), transparent calc(50% + 1px));
  bottom: clamp(62px, 4.7vw, 90px);
  inset-inline: 0;
  top: 0;
}

.hero-workbench::after {
  border: 1px solid rgba(255, 255, 255, 0.2);
  bottom: calc(clamp(62px, 4.7vw, 90px) + clamp(18px, 1.55vw, 30px));
  inset-inline: clamp(18px, 1.55vw, 30px);
  top: clamp(18px, 1.55vw, 30px);
}

.hero-scan {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  height: 26%;
  inset: -30% 0 auto;
  opacity: 0.56;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.hero-frame {
  --hero-flip-direction: 1;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: none;
  transition: none;
  visibility: hidden;
  z-index: 1;
}

.hero-frame.active {
  opacity: 1 !important;
  transform: none;
  transition: none;
  visibility: visible !important;
  z-index: 2;
}

.hero-frame:not(.active):not(.is-entering):not(.is-leaving) {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-frame.is-entering {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 4;
}

.hero-frame.is-leaving {
  opacity: 1 !important;
  pointer-events: none;
  visibility: visible !important;
  z-index: 3;
}

.hero-frame img {
  backface-visibility: hidden;
  filter: grayscale(0%) contrast(1.04);
  height: calc(100% - clamp(62px, 4.7vw, 90px));
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 100%;
  transition: filter 700ms var(--ease-gentle);
  will-change: opacity, transform;
  width: 100%;
}

.hero-frame.active img {
  filter: grayscale(0%) contrast(1.04);
}

.hero-frame.is-entering img {
  animation: heroWorkFlipIn 820ms var(--ease-gentle) both;
}

.hero-frame.is-leaving img {
  animation: heroWorkFlipOut 560ms var(--ease-soft-in) both;
}

.hero-frame p {
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 0;
  color: var(--text-primary);
  font-size: clamp(17px, 1.22vw, 23px);
  left: 0;
  min-height: clamp(62px, 4.7vw, 90px);
  padding: clamp(18px, 1.35vw, 26px) clamp(24px, 1.65vw, 32px);
  position: absolute;
  overflow: hidden;
  perspective: 440px;
  right: 0;
  opacity: 1;
  transition: none;
  z-index: 5;
}

.hero-frame p span {
  display: block;
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

.hero-frame.is-entering p span {
  animation: heroTitleFlipIn 620ms var(--ease-gentle) both 80ms;
}

.hero-frame.is-leaving p span {
  animation: heroTitleFlipOut 480ms var(--ease-soft-in) both;
}

.hero-projects {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: var(--tabs-height);
  left: var(--work-left);
  position: absolute;
  top: calc(var(--work-top) + var(--work-height) + 0px);
  width: var(--work-width);
  z-index: 6;
}

.hero-projects button {
  background: rgba(5, 5, 5, 0.28);
  border-left: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  font-size: clamp(13px, 0.9vw, 17px);
  min-height: 0;
  padding: 0 clamp(16px, 1.2vw, 23px);
  align-items: center;
  text-align: left;
  transition: background 340ms var(--ease-gentle), color 340ms var(--ease-gentle);
}

.hero-projects button:first-child {
  border-left: 0;
}

.hero-projects button.active,
.hero-projects button:hover,
.hero-projects button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.hero-projects span,
.hero-capabilities span {
  color: var(--text-muted);
  font-size: inherit;
  text-transform: uppercase;
}

.hero-capabilities {
  align-self: start;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 2vw, 34px);
  grid-column: 1 / 3;
  grid-row: 4;
  padding-top: 22px;
  opacity: 0.64;
  z-index: 5;
}

.hero-capabilities span {
  color: var(--text-secondary);
}

.case-studies {
  border-bottom: 1px solid var(--border);
  padding: 62px 35px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: var(--side-column) 1fr;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h1 {
  display: flex;
  font-size: clamp(76px, 5.75vw, 106px);
  font-weight: 300;
  gap: 0.25em;
  justify-self: start;
  line-height: 0.95;
}

.section-heading h1 > span {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.18em;
  perspective: 480px;
}

.section-heading h1 > span > span {
  display: block;
  transform-origin: 50% 100%;
  will-change: opacity, transform;
}

.work-layout {
  align-items: start;
  display: grid;
  grid-template-columns: var(--side-column) 1fr;
}

.project-index {
  display: grid;
  gap: 13px;
  justify-items: start;
  padding-bottom: clamp(72px, 8vh, 112px);
  position: sticky;
  top: 122px;
}

.project-index a {
  color: var(--text-secondary);
  display: block;
  font-size: clamp(25px, 1.8vw, 32px);
  font-weight: 300;
  height: 1.42em;
  line-height: 1.18;
  overflow: hidden;
  padding: 0.04em 0 0.16em;
  perspective: 440px;
  position: relative;
  transition: color 300ms var(--ease-gentle);
}

.project-word {
  display: block;
  transform-origin: 50% 50%;
  transition: opacity 440ms var(--ease-gentle), transform 440ms var(--ease-gentle);
  will-change: opacity, transform;
}

.project-word-alt {
  display: block;
  left: 0;
  opacity: 0.24;
  position: absolute;
  top: 0;
  transform: rotateX(-72deg) translateY(112%);
  transform-origin: 50% 50%;
  transition: opacity 440ms var(--ease-gentle), transform 440ms var(--ease-gentle);
  will-change: opacity, transform;
}

.project-word.is-flip-in {
  left: 0;
  position: absolute;
  top: 0;
}

.project-index a.active,
.project-index a:hover {
  color: var(--text-primary);
}

.project-index a.active .project-word:first-child,
.project-index a:hover .project-word:first-child,
.project-index a:focus-visible .project-word:first-child {
  opacity: 0;
  transform: rotateX(68deg) translateY(-112%);
}

.project-index a.active .project-word-alt,
.project-index a:hover .project-word-alt,
.project-index a:focus-visible .project-word-alt {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

.study-stack {
  border: 1px solid var(--border);
  display: grid;
  overflow: hidden;
}

.case-study-stack {
  border: 0;
  display: block;
  overflow: visible;
  padding-bottom: 0;
}

.study-card {
  --stack-scale: 1;
  background: rgba(255, 255, 255, 0);
  position: relative;
  scroll-margin-top: 110px;
  transition: background 360ms var(--ease-gentle), box-shadow 360ms var(--ease-gentle);
  transform: scale(var(--stack-scale));
  transform-origin: 50% 0;
  will-change: transform;
}

.study-card.is-clickable {
  cursor: pointer;
}

.case-study-stack .study-card {
  background: #050505;
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  position: sticky;
  top: 0;
}

.case-study-stack .study-card:nth-child(1) {
  z-index: 1;
}

.case-study-stack .study-card:nth-child(2) {
  z-index: 2;
}

.case-study-stack .study-card:nth-child(3) {
  z-index: 3;
}

.study-card::after {
  border: 1px solid var(--border-hover);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 320ms var(--ease-gentle);
  z-index: 4;
}

.study-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.case-study-stack .study-card:hover {
  background: #0b0b0b;
}

.study-card:hover::after,
.study-card:focus-within::after {
  opacity: 1;
}

.cover-frame {
  background: var(--surface);
  display: block;
  height: clamp(336px, 25.4vw, 474px);
  overflow: hidden;
  will-change: transform;
}

.cover-frame img {
  height: 118%;
  object-fit: cover;
  transform: translateY(0);
  transition: filter 800ms var(--ease);
  will-change: transform;
  width: 100%;
}

.study-card:hover .cover-frame img {
  filter: contrast(1.06);
}

.study-details {
  display: grid;
  align-items: start;
  gap: clamp(38px, 3.25vw, 62px);
  grid-template-columns: minmax(300px, 0.96fr) minmax(360px, 1fr);
  min-height: 246px;
  padding: 52px 42px 44px;
}

.study-card + .study-card {
  border-top: 1px solid var(--border);
}

.case-study-stack .study-card + .study-card {
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.study-details h2 {
  display: inline-block;
  font-size: clamp(24px, 1.72vw, 31px);
  font-weight: 300;
  line-height: 1;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-underline-offset: 8px;
  transition: text-decoration-color 320ms var(--ease-gentle);
}

.study-card:hover h2 {
  text-decoration-color: var(--text-primary);
}

.study-details > div:first-child p {
  color: var(--text-secondary);
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 300;
  line-height: 1.38;
  margin-top: 34px;
  max-width: 470px;
}

.category-group > p {
  color: var(--text-secondary);
  font-size: clamp(11px, 0.72vw, 13px);
  font-weight: 300;
  margin-bottom: 26px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-size: clamp(11px, 0.78vw, 14px);
  font-weight: 300;
  line-height: 1;
  padding: 12px 16px;
  transition: border-color 300ms var(--ease-gentle);
}

.tools {
  border-bottom: 1px solid var(--border);
  margin-top: -1px;
  padding: 0;
}

.projects-section {
  border-bottom: 1px solid var(--border);
  padding: 62px 35px 80px;
}

.listing-page {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: 100svh;
  padding: 74px clamp(24px, 4.4vw, 84px) 0;
}

.listing-hero {
  display: block;
  min-height: calc(100svh - 74px);
}

.listing-heading {
  border-right: 0;
  display: block;
  padding: clamp(92px, 9vw, 168px) 0 clamp(48px, 4.8vw, 82px);
}

.listing-heading .eyebrow {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.listing-heading .case-back {
  display: inline-block;
  margin-bottom: clamp(38px, 3.4vw, 64px);
  transform: translateY(-18px);
}

.listing-heading h1 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(92px, 7.5vw, 146px);
  font-weight: 300;
  line-height: 0.94;
}

.listing-cards {
  display: grid;
  gap: clamp(28px, 2.2vw, 42px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: clamp(72px, 6vw, 112px);
}

.listing-card {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--border);
  min-height: auto;
  position: relative;
}

.listing-card .cover-frame {
  aspect-ratio: 16 / 8.55;
  border: 0;
  height: auto;
}

.listing-card .study-details {
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: clamp(24px, 2vw, 42px);
  grid-template-columns: 1fr;
  min-height: clamp(250px, 17vw, 326px);
  padding: clamp(28px, 2.35vw, 46px);
}

.listing-card .study-details h2 {
  font-size: clamp(27px, 1.9vw, 38px);
  margin-bottom: 0;
}

.listing-card .study-details > div:first-child p {
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.34;
  margin-top: 26px;
  max-width: 560px;
}

.listing-card .category-group {
  padding-top: 0;
}

.contact-page {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: 100svh;
  padding: 112px 35px clamp(72px, 6vw, 112px);
}

.contact-hero {
  align-content: start;
  display: grid;
  justify-items: center;
  min-height: calc(100svh - 112px);
  padding-top: 28px;
}

.contact-heading {
  margin-bottom: clamp(46px, 4.7vw, 78px);
  max-width: 820px;
  overflow: hidden;
  text-align: left;
  width: min(100%, 820px);
}

.contact-heading h1 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.25vw, 58px);
  font-weight: 300;
  line-height: 1.08;
}

.contact-form {
  display: grid;
  justify-items: end;
  max-width: 820px;
  width: min(100%, 820px);
}

.contact-grid {
  display: grid;
  gap: 34px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.contact-form label {
  color: var(--text-secondary);
  display: grid;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font: 300 clamp(16px, 1.08vw, 20px) / 1.25 var(--font-body);
  min-height: 54px;
  outline: 0;
  padding: 0 18px;
  transition: border-color 340ms var(--ease-gentle), background 340ms var(--ease-gentle);
  width: 100%;
}

.contact-form textarea {
  min-height: 178px;
  padding-top: 18px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(0, 0, 0, 0.66);
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-submit {
  --contact-cta-pad: clamp(20px, 1.45vw, 28px);
  align-items: center;
  background: var(--text-primary);
  color: #050505;
  display: inline-flex;
  font: 300 clamp(16px, 1vw, 19px) / 1 var(--font-body);
  gap: 16px;
  justify-content: center;
  isolation: isolate;
  margin-top: 20px;
  min-height: 54px;
  overflow: hidden;
  padding: 0 var(--contact-cta-pad);
  position: relative;
  transition: background 320ms var(--ease-gentle), color 320ms var(--ease-gentle);
}

.contact-submit::before {
  background: #050505;
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 520ms var(--ease-gentle);
  z-index: 0;
}

.contact-submit::after {
  color: var(--text-primary);
  content: attr(data-label);
  left: var(--contact-cta-pad);
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(88%) rotateX(72deg);
  transform-origin: 50% 50%;
  transition:
    opacity 360ms var(--ease-gentle) 60ms,
    transform 520ms var(--ease-gentle) 60ms;
  white-space: nowrap;
  z-index: 1;
}

.contact-submit span,
.contact-submit svg {
  position: relative;
  z-index: 1;
}

.contact-submit span {
  display: block;
  transform-origin: 50% 50%;
  transition:
    color 0ms var(--ease-gentle) 240ms,
    opacity 320ms var(--ease-gentle),
    transform 520ms var(--ease-gentle);
  will-change: opacity, transform;
}

.contact-submit svg {
  fill: currentColor;
  height: 19px;
  transition: color 0ms var(--ease-gentle) 240ms;
  width: 19px;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  color: var(--text-primary);
}

.contact-submit:hover::before,
.contact-submit:focus-visible::before {
  transform: scaleY(1);
}

.contact-submit:hover span,
.contact-submit:focus-visible span {
  color: transparent;
  opacity: 1;
  transform: rotateX(-72deg) translateY(-115%);
}

.contact-submit:hover::after,
.contact-submit:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) rotateX(0deg);
}

.projects-layout {
  align-items: start;
  display: grid;
  grid-template-columns: var(--side-column) 1fr;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tool {
  align-items: center;
  border-right: 1px solid var(--border);
  display: flex;
  height: 246px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background 320ms var(--ease-gentle);
}

.tool:nth-child(6n) {
  border-right: 0;
}

.tool:nth-child(n + 7) {
  border-top: 1px solid var(--border);
}

.tool img {
  filter: grayscale(100%);
  height: 40px;
  max-height: 40px;
  max-width: 112px;
  object-fit: contain;
  opacity: 0.94;
  transition: filter 340ms var(--ease-gentle), opacity 340ms var(--ease-gentle), transform 440ms var(--ease-gentle);
  transform: translateY(8px);
  width: 40px;
}

.tool span {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  left: 14px;
  letter-spacing: 0;
  line-height: 1.1;
  opacity: 0;
  position: absolute;
  right: 14px;
  text-align: center;
  top: calc(50% + 26px);
  transform: translateY(6px);
  transition: opacity 320ms var(--ease-gentle), transform 380ms var(--ease-gentle);
  white-space: normal;
}

.tool:hover {
  background: rgba(255, 255, 255, 0.028);
}

.tool:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-9px) scale(1.06);
}

.tool:hover span {
  opacity: 1;
  transform: translateY(0);
}

.tool-mono img,
.tool-mono:hover img {
  filter: grayscale(100%) brightness(0) invert(1);
}

.tool-logo-card img,
.tool-logo-card:hover img {
  filter: none;
  height: 48px;
  max-height: 48px;
  max-width: 48px;
  width: 48px;
}

.testimonials {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: var(--side-column) 1fr;
  grid-template-rows: auto auto;
  min-height: min(900px, 100svh);
  padding: 72px 35px 84px;
}

.testimonial-label {
  grid-column: 1;
  grid-row: 1;
  text-transform: none;
}

.testimonial-heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 62px;
}

.testimonial-heading h2 {
  color: var(--text-secondary);
  font-size: clamp(52px, 4.35vw, 78px);
  font-weight: 300;
  line-height: 1.02;
}

.testimonial-heading strong {
  color: var(--text-primary);
  font-weight: 300;
}

.testimonial-stage {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}

.testimonial-track {
  display: grid;
  min-height: 360px;
  perspective: 1200px;
  position: relative;
}

.testimonial-card {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: var(--side-column) 1fr;
  opacity: 0;
  pointer-events: none;
  transform: rotateX(-8deg) translateY(20px);
  transform-origin: 50% 50%;
  visibility: hidden;
  will-change: opacity, transform;
}

.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: rotateX(0) translateY(0);
  visibility: visible;
}

.testimonial-card footer {
  align-content: start;
  display: grid;
  justify-items: start;
  transform-origin: 50% 42%;
  will-change: opacity, transform;
}

.avatar {
  align-items: center;
  background: linear-gradient(140deg, #d2d2d2, #3b3b3b);
  color: var(--accent);
  display: flex;
  font-size: 82px;
  font-weight: 300;
  height: 220px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 28px;
  position: relative;
  width: 220px;
}

.avatar::after {
  border: 8px solid var(--accent);
  border-radius: 50%;
  content: "";
  inset: 17px;
  position: absolute;
}

.testimonial-logo {
  align-items: center;
  background: #f5f5f5;
  border: 0;
  box-sizing: border-box;
  display: flex;
  height: 220px;
  justify-content: center;
  margin-bottom: 28px;
  overflow: hidden;
  padding: 0;
  width: 220px;
}

.testimonial-logo-dark {
  background: #050505;
}

.testimonial-logo img {
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.testimonial-card footer strong,
.testimonial-card footer small {
  display: block;
}

.testimonial-card footer strong {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 7px;
}

.testimonial-card footer small {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
}

.testimonial-card > div {
  align-self: start;
  max-width: 760px;
  padding-top: 4px;
  transform-origin: 50% 42%;
  will-change: opacity, transform;
}

.quote-mark,
.footer-quote {
  color: var(--text-secondary);
  display: block;
  font-size: 50px;
  font-weight: 300;
  height: 46px;
  line-height: 1;
}

blockquote {
  font-size: clamp(22px, 1.85vw, 34px);
  font-weight: 300;
  line-height: 1.27;
  max-width: 820px;
}

.slider-controls {
  display: flex;
  gap: 17px;
  margin-left: var(--side-column);
  margin-top: -32px;
  position: relative;
  width: max-content;
  z-index: 2;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid var(--border-hover);
  height: 36px;
  font-size: 17px;
  line-height: 1;
  transition: background 320ms var(--ease-gentle), transform 320ms var(--ease-gentle);
  width: 36px;
}

.slider-controls button:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.dots {
  align-items: center;
  display: none;
  gap: 8px;
}

.dots button {
  background: rgba(255, 255, 255, 0.28);
  height: 5px;
  opacity: 0.48;
  transition: background 320ms var(--ease-gentle), opacity 320ms var(--ease-gentle), width 360ms var(--ease-gentle);
  width: 18px;
}

.dots button.active,
.dots button:hover,
.dots button:focus-visible {
  background: var(--text-primary);
  opacity: 1;
  width: 34px;
}

.site-footer {
  min-height: 480px;
  overflow: hidden;
  padding: 82px 35px 46px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  min-height: 350px;
}

.footer-cta {
  align-self: start;
  display: flex;
  flex-direction: column;
  max-width: 775px;
}

.footer-quote {
  color: var(--text-muted);
  margin: 46px 0 22px;
}

.cta-line {
  color: var(--text-secondary);
  font-size: clamp(22px, 1.65vw, 32px);
  font-weight: 300;
  line-height: 1.34;
  opacity: 0;
}

.cta-line:first-of-type {
  color: var(--text-primary);
  font-weight: 300;
}

.email {
  background: transparent;
  border-bottom: 1px solid var(--border-hover);
  color: var(--text-primary);
  display: block;
  font-size: clamp(22px, 1.8vw, 32px);
  font-weight: 300;
  margin-bottom: 0;
  order: -1;
  padding-bottom: 13px;
  text-align: left;
  transition: color 320ms var(--ease-gentle);
  width: max-content;
}

.email:hover {
  color: var(--text-primary);
}

.footer-row {
  align-items: end;
  align-self: center;
  display: grid;
  gap: 34px;
  justify-self: end;
  padding-top: 0;
}

.footer-row nav {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-row nav a {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.18vw, 22px);
  font-weight: 300;
  line-height: 1.18;
  transition: color 320ms var(--ease-gentle);
}

.footer-row nav a:hover,
.footer-row nav a:focus-visible {
  color: var(--text-primary);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  align-items: center;
  border: 1px solid var(--border);
  display: flex;
  height: 40px;
  justify-content: center;
  transition: background 320ms var(--ease-gentle), border-color 320ms var(--ease-gentle), transform 360ms var(--ease-gentle);
  width: 40px;
}

.socials a:hover,
.socials a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.socials svg {
  fill: var(--text-primary);
  height: 18px;
  width: 18px;
}

.about-page {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: grid;
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: auto;
  padding: 112px 35px 58px;
}

.about-dashboard {
  display: block;
  margin: 0 auto;
  max-width: 920px;
  min-height: auto;
  padding: 28px 0 42px;
}

.about-copy {
  display: grid;
  justify-items: start;
  min-width: 0;
  text-align: left;
}

.about-copy h1 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.25vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  padding-bottom: clamp(28px, 3.8vw, 62px);
}

.about-typewriter {
  color: var(--text-secondary);
  max-width: 920px;
  min-height: 2.28em;
}

.about-typewriter-fixed {
  color: var(--text-secondary);
  display: inline-block;
  white-space: nowrap;
}

.about-typewriter-line {
  align-items: baseline;
  display: flex;
  gap: 0.24em;
  max-width: 100%;
  white-space: nowrap;
}

.about-typewriter-prefix {
  color: var(--text-secondary);
}

.about-typewriter-dynamic {
  align-items: baseline;
  color: var(--text-primary);
  display: inline-flex;
  gap: 0.06em;
  min-width: 9.6em;
  white-space: nowrap;
}

.type-cursor {
  animation: typeCursor 780ms steps(1, end) infinite;
  background: var(--text-primary);
  display: inline-block;
  height: 0.92em;
  margin-left: 0.04em;
  vertical-align: -0.08em;
  width: 1px;
}

.about-faq {
  display: grid;
  max-width: 780px;
  width: 100%;
}

.about-faq details {
  animation: aboutFadeUp 580ms var(--ease) both;
}

.about-faq details:nth-of-type(1) {
  animation-delay: 260ms;
}

.about-faq details:nth-of-type(2) {
  animation-delay: 340ms;
}

.about-faq details:nth-of-type(3) {
  animation-delay: 420ms;
}

.about-faq details:nth-of-type(4) {
  animation-delay: 500ms;
}

.about-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: left;
}

.about-faq summary {
  align-items: center;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.7vw, 31px);
  font-weight: 300;
  justify-content: space-between;
  line-height: 1.12;
  list-style: none;
  padding: clamp(19px, 1.8vw, 30px) 0;
}

.about-faq summary::-webkit-details-marker {
  display: none;
}

.about-faq summary span:last-child {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: clamp(24px, 1.7vw, 34px);
  line-height: 1;
  transform-origin: 50% 50%;
  transition: color 340ms var(--ease-gentle), transform 480ms var(--ease-gentle);
}

.about-faq details[open]:not(.is-closing) summary span:last-child {
  transform: rotate(45deg);
}

.about-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 520ms var(--ease-gentle), opacity 360ms var(--ease-gentle);
}

.about-faq details[open]:not(.is-closing) .about-answer {
  opacity: 1;
}

.about-answer p {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.14vw, 21px);
  font-weight: 300;
  line-height: 1.44;
  margin: 0;
  max-width: 680px;
  min-height: 0;
  padding: 0 0 clamp(20px, 2vw, 32px);
  text-align: left;
}

.about-answer a {
  color: var(--text-primary);
  font-weight: 300;
}

.about-widgets {
  align-self: start;
  animation: aboutFadeUp 640ms var(--ease) 420ms both;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: min(650px, calc(100svh - 142px));
  min-height: 0;
}

.about-widget {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--surface);
  border: 1px solid var(--border);
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: clamp(14px, 1.05vw, 20px);
  position: relative;
}

.about-widget h2,
.about-widget strong {
  color: var(--text-primary);
  font-size: clamp(17px, 1.16vw, 22px);
  font-weight: 300;
  line-height: 1.15;
}

.about-widget p,
.about-widget span {
  color: var(--text-secondary);
  font-size: clamp(13px, 0.8vw, 15px);
  font-weight: 300;
  line-height: 1.36;
}

.about-widget-status {
  align-content: space-between;
}

.widget-profile {
  align-items: center;
  display: flex;
  gap: 14px;
}

.widget-profile img {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  filter: grayscale(100%) contrast(1.08);
  object-fit: cover;
  width: 48px;
}

.widget-profile div {
  display: grid;
  gap: 3px;
}

.about-widget-status > p {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.52vw, 29px);
  line-height: 1.08;
}

.about-widget-status a {
  align-items: center;
  border: 1px solid var(--border-hover);
  display: flex;
  font-size: clamp(13px, 0.95vw, 17px);
  justify-content: space-between;
  padding: 13px 16px;
}

.about-widget-audio,
.about-widget-podcast {
  align-content: space-between;
}

.about-widget-audio > img {
  aspect-ratio: 1.38;
  border: 1px solid var(--border);
  filter: grayscale(100%) contrast(1.05);
  object-fit: cover;
  width: 46%;
}

.widget-player {
  align-items: center;
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1.4fr 1fr;
  height: 36px;
  padding: 0 15px;
}

.widget-player span {
  background: var(--text-muted);
  height: 2px;
}

.widget-player span:nth-child(3) {
  background: var(--text-primary);
  height: 14px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  justify-self: center;
  width: 14px;
}

.about-widget-photo {
  padding: 0;
}

.about-widget-photo > img {
  filter: grayscale(100%) contrast(1.02);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.widget-badge {
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  padding: 10px 12px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.widget-cover {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2), transparent 38%),
    #101010;
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 82px);
  justify-content: center;
  width: 36%;
}

.resume-page {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: grid;
  gap: 18px;
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: 100svh;
  padding: 112px 35px 35px;
}

.resume-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.resume-toolbar a {
  border-bottom: 1px solid var(--border-hover);
  color: var(--text-secondary);
  font-size: 13px;
  padding-bottom: 8px;
}

.resume-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  display: block;
  height: calc(100svh - 185px);
  width: 100%;
}

@keyframes typeCursor {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.about-footer {
  border-top: 1px solid var(--border);
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: 360px;
  padding-top: 54px;
}

@keyframes aboutTextFlip {
  from {
    opacity: 0;
    transform: rotateX(-58deg) translateY(118%);
  }

  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px) rotateX(-8deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.toast {
  background: var(--text-primary);
  bottom: 24px;
  color: var(--bg);
  font-size: 13px;
  left: 50%;
  opacity: 0;
  padding: 12px 15px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 320ms var(--ease-gentle), transform 360ms var(--ease-gentle);
  z-index: 250;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 780ms var(--ease-gentle), transform 780ms var(--ease-gentle);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

.case-nav {
  opacity: 1;
}

.case-page {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  margin-left: var(--rail);
  margin-right: var(--rail);
  min-height: 100svh;
  padding: 150px 35px 120px;
}

.case-hero,
.case-section,
.case-card-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.case-hero {
  display: grid;
  gap: 34px;
  overflow: visible;
  padding-bottom: 92px;
}

.case-back {
  border-bottom: 1px solid var(--border-hover);
  color: var(--text-secondary);
  font-size: 13px;
  justify-self: start;
  padding-bottom: 8px;
  transition: color 300ms var(--ease-gentle), border-color 300ms var(--ease-gentle);
}

.case-back:hover,
.case-back:focus-visible {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.case-meta {
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 12px 30px;
  text-transform: uppercase;
}

.case-hero h1 {
  font-size: clamp(46px, 4.7vw, 78px);
  line-height: 1.2;
  max-width: 820px;
  overflow: visible;
  padding: 0.12em 0 0.18em;
}

.case-title-line {
  display: block;
}

.case-title-line:first-child {
  white-space: nowrap;
}

.case-text-mask {
  display: inline-block;
  margin-right: 0.18em;
  overflow: hidden;
  padding: 0.04em 0 0.2em;
  perspective: 480px;
  vertical-align: bottom;
}

.case-text-mask > span {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: opacity, transform;
}

.case-hero > p {
  color: var(--text-secondary);
  font-size: clamp(18px, 1.32vw, 24px);
  line-height: 1.32;
  max-width: 760px;
}

.case-cover,
.case-image-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.case-cover {
  aspect-ratio: auto;
  margin-top: 24px;
}

.case-cover img,
.case-image-panel img,
.case-image-panel video {
  display: block;
  filter: contrast(1.02);
  height: auto;
  object-fit: contain;
  object-position: top center;
  width: 100%;
}

.case-section {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 46px;
  overflow: visible;
  padding: 78px 0;
}

.case-split {
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
}

.case-kicker {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
}

.case-section h2 {
  font-size: clamp(32px, 3.2vw, 56px);
  line-height: 1.24;
  margin-bottom: 28px;
  max-width: 820px;
  overflow: visible;
  padding: 0.1em 0 0.16em;
}

.case-section h2:not(:first-child) {
  margin-top: 56px;
}

.case-section p:not(.case-kicker),
.case-list {
  color: var(--text-secondary);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.48;
  max-width: 760px;
}

.case-section p + p {
  margin-top: 22px;
}

.case-prototype-link {
  color: var(--text-primary);
}

.case-prototype-link:hover,
.case-prototype-link:focus-visible {
  color: var(--text-primary);
}

.case-card-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 78px;
}

.case-card-grid article,
.case-decisions article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  min-height: 260px;
  padding: 28px;
}

.case-card-grid h3,
.case-decisions h3 {
  font-size: clamp(21px, 1.5vw, 28px);
  line-height: 1.1;
  margin: 20px 0 18px;
}

.case-card-grid p:not(.case-kicker),
.case-decisions p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.42;
}

.case-image-panel {
  aspect-ratio: auto;
  margin-top: 42px;
  max-width: 860px;
  position: relative;
}

.case-video-scrubber {
  appearance: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.92) var(--video-progress, 0%),
    rgba(255, 255, 255, 0.28) var(--video-progress, 0%),
    rgba(255, 255, 255, 0.28) 100%
  );
  border-radius: 999px;
  bottom: 20px;
  cursor: ew-resize;
  height: 6px;
  left: 22px;
  opacity: 0.48;
  outline: none;
  position: absolute;
  right: 22px;
  transition: opacity 320ms var(--ease-gentle), transform 320ms var(--ease-gentle);
  z-index: 4;
}

.case-image-panel:has(video)::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.68));
  bottom: 0;
  content: "";
  height: 82px;
  left: 0;
  opacity: 0.32;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: opacity 320ms var(--ease-gentle);
  z-index: 2;
}

.case-image-panel:hover .case-video-scrubber,
.case-video-scrubber:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.case-image-panel:has(video):hover::after,
.case-image-panel:has(video):focus-within::after {
  opacity: 1;
}

.case-video-scrubber::-webkit-slider-thumb {
  appearance: none;
  background: var(--text-primary);
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  cursor: ew-resize;
  height: 16px;
  width: 16px;
}

.case-video-scrubber::-moz-range-thumb {
  background: var(--text-primary);
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  cursor: ew-resize;
  height: 16px;
  width: 16px;
}

.case-list {
  display: grid;
  gap: 12px;
  list-style: disc;
  margin-top: 24px;
  padding-left: 1.2em;
}

.case-list li {
  padding-left: 0.1em;
}

.case-list-spacious {
  margin-bottom: 34px;
}

.before-after {
  --compare-position: 50%;
  cursor: ew-resize;
}

.before-after-image {
  display: block;
  filter: contrast(1.02);
  height: auto;
  user-select: none;
  width: 100%;
}

.before-after-reveal {
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.before-after-reveal .before-after-image {
  height: 100%;
  object-fit: contain;
}

.before-after-label {
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  left: 18px;
  line-height: 1;
  padding: 8px 11px;
  pointer-events: none;
  position: absolute;
  top: 18px;
  z-index: 4;
}

.before-after-label-after {
  left: auto;
  right: 18px;
}

.before-after-divider {
  background: rgba(255, 255, 255, 0.82);
  bottom: 0;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.24);
  left: var(--compare-position);
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  z-index: 3;
}

.before-after-divider::before {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  content: "";
  height: 34px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
}

.before-after-divider::after {
  color: rgba(0, 0, 0, 0.86);
  content: "↔";
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.before-after-range {
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 5;
}

.before-after-range::-webkit-slider-thumb {
  appearance: none;
  height: 1000px;
  width: 42px;
}

.before-after-range::-moz-range-thumb {
  border: 0;
  height: 1000px;
  width: 42px;
}

.case-decisions {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.case-outcome {
  border-bottom: 1px solid var(--border);
  padding-bottom: 94px;
}

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

@keyframes drift {
  to {
    transform: translate3d(6%, 3%, 0) scale(1.04);
  }
}

@keyframes heroFrameImageIn {
  from {
    filter: grayscale(0%) contrast(0.96);
    opacity: 0.82;
  }

  to {
    filter: grayscale(0%) contrast(1.04);
    opacity: 1;
  }
}

@keyframes heroWorkFlipIn {
  from {
    opacity: 0;
    transform: translate3d(0, 42px, 0) rotateX(-72deg);
  }

  52% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }
}

@keyframes heroWorkFlipOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -38px, 0) rotateX(68deg);
  }
}

@keyframes heroTitleFlipIn {
  from {
    opacity: 0.24;
    transform: rotateX(-72deg) translateY(112%);
  }

  to {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

@keyframes heroTitleFlipOut {
  from {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }

  to {
    opacity: 0;
    transform: rotateX(68deg) translateY(-112%);
  }
}

@keyframes heroTextDissolveIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroTextDissolveOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (max-width: 1500px) {
  .logo {
    font-size: 12px;
  }

  .site-nav {
    height: 64px;
    padding: 0 25px;
  }

  .nav-meta {
    gap: 35px;
  }

  .nav-meta p {
    font-size: 14px;
  }

  .nav-meta span {
    font-size: inherit;
  }

  .hero {
    height: max(96svh, 650px);
  }

  .hero-viewfinder {
    --hero-left: 25px;
    --hero-right: 48px;
    --text-top: 292px;
    --work-width: clamp(360px, 31vw, 465px);
    --work-height: 457.85003662109375px;
    --work-left: calc(100% - var(--hero-right) - var(--work-width));
    --work-top: 154px;
    --portrait-width: clamp(186px, 13.9vw, 210px);
    --portrait-left: calc(var(--work-left) - (var(--portrait-width) * 0.62));
    --portrait-top: 196px;
    --tabs-height: 46px;
  }

  .hero-statement {
    gap: 15px;
  }

  .hero-eyebrow {
    font-size: 10px;
  }

  .portrait {
    height: auto;
  }

  .hero-copy {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.25;
  }

  .hero-projects button {
    font-size: 11px;
  }

  .case-studies {
    padding: 48px 25px 0;
  }

  .projects-section {
    padding: 48px 25px 62px;
  }

  .listing-page {
    padding: 64px 25px 0;
  }

  .listing-hero {
    display: block;
    min-height: calc(100svh - 64px);
  }

  .listing-heading {
    padding: 82px 0 46px;
  }

  .listing-heading h1 {
    font-size: clamp(72px, 7.2vw, 112px);
  }

  .listing-cards {
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page {
    padding: 78px 25px 72px;
  }

  .contact-hero {
    min-height: calc(100svh - 78px);
    padding-top: 28px;
  }

  .contact-heading h1 {
    font-size: 42px;
  }

  .contact-form {
    max-width: 760px;
  }

  .listing-card .cover-frame {
    height: auto;
  }

  .listing-card .study-details {
    gap: 24px;
    grid-template-columns: 1fr;
    min-height: 252px;
    padding: 30px 28px 32px;
  }

  .listing-card .study-details h2 {
    font-size: 30px;
  }

  .listing-card .study-details > div:first-child p {
    font-size: 15px;
    margin-top: 22px;
  }

  .listing-card .tags span {
    font-size: 10px;
    padding: 9px 11px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .section-heading h1 {
    font-size: 60px;
  }

  .project-index {
    gap: 10px;
    padding-bottom: 86px;
    top: 125px;
  }

  .project-index a {
    font-size: 16px;
  }

  .cover-frame {
    height: 284px;
  }

  .study-details {
    gap: 30px;
    min-height: 164px;
    padding: 24px 22px 24px;
  }

  .study-details h2 {
    font-size: 16px;
  }

  .study-details > div:first-child p {
    font-size: 12px;
    margin-top: 16px;
    max-width: 250px;
  }

  .category-group > p {
    font-size: 9px;
    margin-bottom: 11px;
  }

  .tags {
    gap: 8px;
  }

  .tags span {
    font-size: 8px;
    padding: 7px 9px;
  }

  .tool {
    height: 150px;
  }

  .tool img {
    height: 25px;
    max-height: 25px;
    max-width: 84px;
    width: 25px;
  }

  .tool-logo-card img,
  .tool-logo-card:hover img {
    height: 34px;
    max-height: 34px;
    max-width: 34px;
    width: 34px;
  }

  .tool span {
    font-size: 11px;
    top: calc(50% + 19px);
  }

  .testimonials {
    min-height: min(760px, 100svh);
    padding: 42px 25px 50px;
  }

  .testimonial-heading {
    margin: 0 0 44px;
  }

  .testimonial-heading h2 {
    font-size: 38px;
  }

  .testimonial-track {
    min-height: 240px;
  }

  .avatar,
  .testimonial-logo {
    border-width: 5px;
    font-size: 54px;
    height: 148px;
    margin-bottom: 17px;
    width: 148px;
  }

  .testimonial-logo {
    border-width: 0;
    padding: 0;
  }

  .testimonial-logo img {
    max-height: none;
    max-width: none;
  }

  .avatar::after {
    border-width: 6px;
    inset: 12px;
  }

  .testimonial-card footer strong {
    font-size: 12px;
  }

  .testimonial-card footer small {
    font-size: 9px;
  }

  .quote-mark,
  .footer-quote {
    font-size: 34px;
    height: 31px;
  }

  blockquote {
    font-size: 16px;
    line-height: 1.34;
    max-width: 560px;
  }

  .slider-controls {
    gap: 9px;
    margin-top: -24px;
  }

  .slider-controls button {
    font-size: 13px;
    height: 24px;
    width: 24px;
  }

  .site-footer {
    min-height: 390px;
    padding: 58px 25px 32px;
  }

  .case-page {
    padding: 122px 25px 90px;
  }

  .about-page {
    padding: 78px 25px 24px;
  }

  .about-dashboard {
    gap: 18px;
    max-width: 860px;
    min-height: 0;
  }

  .about-copy h1 {
    font-size: 42px;
    padding-bottom: 22px;
  }

  .about-answer p {
    font-size: 17px;
    line-height: 1.42;
  }

  .case-hero,
  .case-section,
  .case-card-grid {
    max-width: 900px;
  }

  .case-hero {
    padding-bottom: 70px;
  }

  .case-card-grid article,
  .case-decisions article {
    min-height: 220px;
    padding: 22px;
  }

  .footer-inner {
    min-height: 300px;
  }

  .footer-quote {
    margin: 32px 0 15px;
  }

  .cta-line {
    font-size: 17px;
  }

  .email {
    font-size: 20px;
    margin-top: 0;
    padding-bottom: 8px;
  }

  .footer-row {
    padding-top: 0;
  }

  .footer-row nav a {
    font-size: 15px;
  }

  .socials a {
    height: 31px;
    width: 31px;
  }

  .socials svg {
    height: 14px;
    width: 14px;
  }
}

@media (max-width: 900px) {
  :root {
    --rail: 16px;
    --side-column: auto;
  }

  .site-nav {
    left: 16px;
    padding: 0 15px;
    right: 16px;
  }

  .nav-meta p {
    display: none;
  }

  .menu-overlay {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .menu-brand {
    min-height: 38svh;
  }

  .menu-panel {
    min-height: 62svh;
  }

  .menu-links {
    gap: 28px;
    grid-template-columns: 1fr;
    padding: 58px 28px 44px;
  }

  .menu-overlay nav {
    justify-items: start;
  }

  .menu-overlay a {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.2;
  }

  .menu-contact {
    padding: 38px 28px 48px;
  }

  .menu-contact button {
    font-size: clamp(21px, 6vw, 30px);
    overflow-wrap: anywhere;
  }

  .menu-close {
    height: 44px;
    right: 26px;
    top: 18px;
    width: 44px;
  }

  .menu-close::before,
  .menu-close::after {
    left: 7px;
    top: 21px;
    width: 30px;
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-content {
    inset: auto;
    position: relative;
  }

  .hero-viewfinder {
    --hero-left: 15px;
    --hero-right: 14px;
    --text-top: 96px;
    --work-width: calc(100% - var(--hero-left) - var(--hero-right));
    --work-height: min(62vw, 300px);
    --work-left: var(--hero-left);
    --work-top: 640px;
    --portrait-width: min(46vw, 188px);
    --portrait-left: var(--hero-left);
    --portrait-top: 420px;
    --tabs-height: 48px;
    display: block;
    min-height: 1030px;
    padding: 0;
    position: relative;
  }

  .hero-statement {
    display: grid;
    left: var(--hero-left);
    max-width: calc(100vw - var(--hero-left) - var(--hero-right));
    position: absolute;
    top: var(--text-top);
    transform: none;
  }

  .hero-statement h1 {
    font-size: clamp(36px, 10.3vw, 58px);
    max-width: 520px;
  }

  .hero-copy {
    font-size: 16px;
    max-width: 470px;
  }

  .hero-actions {
    display: none;
  }

  .hero-portrait {
    position: relative;
    left: var(--portrait-left);
    top: var(--portrait-top);
    transform: none;
    width: var(--portrait-width);
  }

  .portrait {
    height: auto;
  }

  .hero-workbench {
    height: var(--work-height);
    min-height: 0;
    position: absolute;
    left: var(--work-left);
    top: var(--work-top);
    transform: none;
    width: var(--work-width);
  }

  .hero-projects {
    height: var(--tabs-height);
    left: var(--work-left);
    position: absolute;
    top: calc(var(--work-top) + var(--work-height) + 4px);
    width: var(--work-width);
  }

  .hero-projects button {
    min-height: 66px;
    overflow-wrap: anywhere;
  }

  .hero-capabilities {
    gap: 12px 22px;
    order: 5;
    padding-bottom: 10px;
  }

  .case-studies {
    padding: 84px 14px 0;
  }

  .section-heading,
  .work-layout,
  .projects-layout,
  .testimonials {
    display: block;
  }

  .projects-section {
    padding: 72px 14px 76px;
  }

  .listing-page {
    padding: 70px 14px 0;
  }

  .listing-hero {
    display: block;
    min-height: 0;
  }

  .listing-heading {
    border-bottom: 1px solid var(--border);
    border-right: 0;
    padding: 48px 0 42px;
  }

  .listing-heading h1 {
    font-size: clamp(58px, 14vw, 96px);
  }

  .listing-heading .case-back {
    margin-bottom: 28px;
    transform: translateY(-8px);
  }

  .listing-cards {
    gap: 24px;
    grid-template-columns: 1fr;
    padding: 24px 0 54px;
  }

  .listing-card .cover-frame {
    aspect-ratio: 16 / 9;
  }

  .listing-card .study-details {
    min-height: 0;
    padding: 24px;
  }

  .contact-page {
    padding: 84px 14px 64px;
  }

  .contact-hero {
    padding-top: 18px;
  }

  .contact-heading {
    margin-bottom: 42px;
    text-align: left;
    width: 100%;
  }

  .contact-heading h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .contact-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .contact-form {
    justify-items: stretch;
  }

  .contact-form textarea {
    min-height: 154px;
  }

  .contact-submit {
    justify-self: start;
  }

  .section-heading {
    margin-bottom: 56px;
  }

  .section-heading h1 {
    font-size: 54px;
    margin-top: 32px;
  }

  .project-index {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    overflow-x: auto;
    position: static;
    white-space: nowrap;
  }

  .project-index a {
    font-size: 16px;
  }

  .cover-frame {
    height: auto;
    aspect-ratio: 1.22;
  }

  .case-study-stack {
    padding-bottom: 0;
  }

  .case-study-stack .study-card {
    position: relative;
    top: auto;
    transform: none !important;
  }

  .case-study-stack .study-card + .study-card {
    margin-top: 0;
  }

  .study-details {
    gap: 26px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .study-details > div:first-child p {
    margin-top: 23px;
  }

  .category-group > p {
    margin-bottom: 14px;
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool {
    border-top: 1px solid var(--border);
    height: 104px;
  }

  .tool span {
    font-size: 10px;
    top: calc(50% + 17px);
  }

  .tool-logo-card img,
  .tool-logo-card:hover img {
    height: 32px;
    max-height: 32px;
    max-width: 32px;
    width: 32px;
  }

  .tool:nth-child(-n + 3) {
    border-top: 0;
  }

  .tool:nth-child(3n) {
    border-right: 0;
  }

  .tool:nth-child(6n) {
    border-right: 1px solid var(--border);
  }

  .testimonials {
    min-height: auto;
    padding: 56px 14px 70px;
  }

  .testimonial-heading {
    margin: 18px 0 32px;
  }

  .testimonial-heading h2 {
    font-size: 34px;
  }

  .testimonial-card {
    gap: 35px;
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    min-height: 470px;
  }

  .avatar,
  .testimonial-logo {
    height: 136px;
    width: 136px;
  }

  .testimonial-logo {
    border-width: 0;
    margin-bottom: 18px;
    padding: 0;
  }

  .testimonial-logo img {
    max-height: none;
    max-width: none;
  }

  blockquote {
    font-size: 18px;
  }

  .slider-controls {
    align-items: center;
    margin-left: 0;
    margin-top: 24px;
  }

  .site-footer {
    min-height: auto;
    padding: 58px 14px 30px;
  }

  .case-page {
    padding: 108px 14px 72px;
  }

  .about-page {
    height: auto;
    padding: 84px 14px 42px;
  }

  .about-dashboard {
    min-height: 0;
  }

  .about-copy h1 {
    font-size: 34px;
  }

  .about-answer p {
    font-size: 16px;
  }

  .case-hero {
    gap: 22px;
    padding-bottom: 56px;
  }

  .case-meta {
    display: grid;
    gap: 8px;
  }

  .case-hero h1 {
    font-size: clamp(42px, 12vw, 66px);
    line-height: 1.2;
  }

  .case-cover,
  .case-image-panel {
    aspect-ratio: auto;
  }

  .case-section,
  .case-split,
  .case-card-grid,
  .case-decisions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-section {
    padding: 54px 0;
  }

  .case-card-grid {
    padding-bottom: 54px;
  }

  .case-card-grid article,
  .case-decisions article {
    min-height: 0;
  }

  .cta-line {
    font-size: 20px;
  }

  .footer-row {
    align-items: start;
    flex-direction: column;
  }

  .footer-row nav {
    display: grid;
    gap: 10px;
  }

  .footer-row nav a {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  :root {
    --rail: 10px;
  }

  body {
    overflow-x: hidden;
  }

  .site-nav {
    left: 10px;
    min-height: 54px;
    padding: 0 10px;
    right: 10px;
    top: 0;
  }

  .brand {
    font-size: 12px;
  }

  .menu-button {
    height: 40px;
    width: 40px;
  }

  .menu-button span {
    width: 24px;
  }

  .menu-overlay {
    grid-template-columns: 1fr;
    height: 100svh;
    overflow-y: auto;
  }

  .menu-brand {
    display: none;
  }

  .menu-panel {
    grid-template-rows: auto 1fr;
    min-height: 100svh;
  }

  .menu-links {
    gap: 18px;
    padding: 72px 20px 26px;
  }

  .menu-overlay a {
    font-size: clamp(24px, 7.4vw, 30px);
    height: 1.18em;
    line-height: 1.16;
  }

  .menu-contact {
    align-content: end;
    gap: 14px;
    padding: 24px 20px 28px;
  }

  .menu-contact p {
    font-size: 11px;
  }

  .menu-contact button {
    font-size: clamp(18px, 5.1vw, 22px);
    line-height: 1.16;
    padding-bottom: 9px;
  }

  .menu-location {
    gap: 8px;
  }

  .menu-location strong,
  .menu-location span {
    font-size: 12px;
  }

  .menu-socials {
    gap: 18px;
  }

  .menu-socials a {
    font-size: 16px;
  }

  .menu-close {
    height: 40px;
    right: 14px;
    top: 10px;
    width: 40px;
  }

  .hero {
    min-height: 0;
  }

  .hero-viewfinder {
    --hero-left: 14px;
    --hero-right: 14px;
    --text-top: 74px;
    --portrait-width: 150px;
    --portrait-left: calc(100% - var(--hero-right) - var(--portrait-width));
    --portrait-top: 292px;
    --work-width: calc(100% - 28px);
    --work-height: 288px;
    --work-left: 14px;
    --work-top: 468px;
    --tabs-height: 34px;
    min-height: 811px;
  }

  .hero-statement {
    gap: 10px;
  }

  .hero-statement h1 {
    font-size: 38px;
    line-height: 0.96;
    max-width: 326px;
  }

  .hero-statement h1 > span {
    padding-bottom: 0.11em;
  }

  .hero-copy {
    font-size: 12px;
    line-height: 1.28;
    max-width: 322px;
    overflow-wrap: normal;
  }

  .desktop-break {
    display: none;
  }

  .hero-portrait {
    z-index: 7;
    width: var(--portrait-width);
  }

  .hero-portrait figcaption {
    --portrait-caption-font: 11px;
    --portrait-caption-row: 30px;
  }

  .hero-portrait figcaption strong,
  .hero-portrait figcaption a {
    padding: 0 10px;
  }

  .hero-workbench {
    box-shadow: none;
    z-index: 2;
  }

  .hero-workbench::before {
    bottom: 34px;
  }

  .hero-workbench::after {
    bottom: 46px;
    inset-inline: 18px;
    top: 12px;
  }

  .hero-frame img {
    height: calc(100% - 34px);
    object-position: center 45%;
  }

  .hero-frame p {
    align-items: center;
    display: flex;
    font-size: 10px;
    line-height: 1.18;
    min-height: 34px;
    padding: 0 12px;
  }

  .hero-projects {
    top: calc(var(--work-top) + var(--work-height));
  }

  .hero-projects button {
    font-size: 10px;
    min-height: 34px;
    padding: 0 12px;
  }

  .contact-page {
    padding: 76px 14px 42px;
  }

  .contact-hero {
    min-height: auto;
    padding-top: 18px;
  }

  .contact-heading {
    margin-bottom: 32px;
  }

  .contact-heading h1 {
    font-size: clamp(28px, 7.6vw, 34px);
    line-height: 1.1;
  }

  .contact-form label {
    font-size: 11px;
    gap: 9px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
    min-height: 48px;
    padding-inline: 14px;
  }

  .contact-form textarea {
    min-height: 140px;
    padding-top: 14px;
  }

  .contact-submit {
    font-size: 15px;
    min-height: 48px;
    width: 100%;
  }

  .case-studies {
    padding: 52px 12px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h1 {
    font-size: 42px;
    line-height: 0.98;
    margin-top: 14px;
  }

  .eyebrow,
  .testimonial-label {
    font-size: 11px;
  }

  .project-index {
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 4px;
  }

  .project-index a {
    font-size: 18px;
  }

  .case-study-stack {
    display: grid;
    gap: 26px;
  }

  .case-study-stack .study-card {
    border: 1px solid var(--border);
    position: relative;
    top: auto;
  }

  .cover-frame {
    aspect-ratio: 16 / 9;
  }

  .cover-frame img {
    height: 100%;
  }

  .study-details {
    gap: 18px;
    padding: 18px 16px 20px;
  }

  .study-details h2 {
    font-size: 25px;
  }

  .study-details > div:first-child p {
    font-size: 14px;
    line-height: 1.36;
    margin-top: 14px;
  }

  .category-group > p {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .tags {
    gap: 8px;
  }

  .tags span {
    font-size: 11px;
    line-height: 1.15;
    padding: 9px 10px;
  }

  .tools {
    margin-top: 44px;
  }

  .tool {
    height: 86px;
  }

  .tool img {
    max-height: 24px;
    max-width: 24px;
  }

  .tool-logo-card img,
  .tool-logo-card:hover img {
    height: 28px;
    max-height: 28px;
    max-width: 28px;
    width: 28px;
  }

  .tool span {
    font-size: 9px;
    line-height: 1.1;
    max-width: 78px;
    top: calc(50% + 15px);
  }

  .projects-section {
    padding: 52px 12px 56px;
  }

  .projects-layout .study-stack {
    border: 1px solid var(--border);
  }

  .projects-layout .study-card {
    border: 0;
  }

  .testimonials {
    padding: 42px 12px 46px;
  }

  .testimonial-heading {
    margin: 14px 0 26px;
  }

  .testimonial-heading h2 {
    font-size: 26px;
    line-height: 1.06;
  }

  .testimonial-track {
    min-height: 316px;
  }

  .testimonial-card {
    gap: 18px;
  }

  .testimonial-logo {
    height: 84px;
    margin-bottom: 12px;
    width: 84px;
  }

  .testimonial-card footer strong {
    font-size: 12px;
  }

  .testimonial-card footer small {
    font-size: 10px;
  }

  .quote-mark {
    font-size: 30px;
    margin-bottom: 16px;
  }

  blockquote {
    font-size: 14px;
    line-height: 1.32;
  }

  .slider-controls {
    margin-top: 16px;
  }

  .slider-controls button {
    height: 30px;
    width: 30px;
  }

  .site-footer {
    padding: 42px 12px 26px;
  }

  .footer-inner {
    gap: 30px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .email {
    font-size: 15px;
    max-width: 100%;
  }

  .footer-quote {
    margin: 22px 0 14px;
  }

  .cta-line {
    font-size: 18px;
    line-height: 1.28;
  }

  .footer-row {
    align-items: start;
    justify-self: stretch;
  }

  .footer-row nav {
    gap: 8px;
    justify-items: start;
  }

  .footer-row nav a {
    font-size: 13px;
  }

  .about-page {
    padding: 76px 14px 38px;
  }

  .about-dashboard {
    padding: 18px 0 28px;
  }

  .about-copy h1 {
    font-size: clamp(28px, 7.6vw, 34px);
    line-height: 1.1;
    padding-bottom: 28px;
  }

  .about-typewriter {
    min-height: 0;
  }

  .about-typewriter-fixed {
    white-space: normal;
  }

  .about-typewriter-line {
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.18em;
    white-space: normal;
  }

  .about-typewriter-dynamic {
    min-width: 7.4em;
  }

  .about-faq {
    max-width: 100%;
  }

  .about-faq summary {
    font-size: 22px;
    gap: 18px;
    line-height: 1.12;
    padding: 19px 0;
  }

  .about-faq summary span:first-child {
    max-width: 280px;
  }

  .about-faq summary span:last-child {
    flex: 0 0 auto;
    font-size: 28px;
  }

  .about-answer p {
    font-size: 15px;
    line-height: 1.42;
    padding-bottom: 20px;
  }

  .case-page {
    margin-left: 10px;
    margin-right: 10px;
    padding: 86px 14px 58px;
  }

  .case-hero,
  .case-section,
  .case-card-grid {
    max-width: 100%;
  }

  .case-hero {
    gap: 18px;
    padding-bottom: 42px;
  }

  .case-back {
    font-size: 12px;
    padding-bottom: 7px;
  }

  .case-meta {
    display: grid;
    font-size: 10px;
    gap: 6px;
  }

  .case-hero h1 {
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: 1.08;
    max-width: 100%;
    padding: 0.08em 0 0.12em;
  }

  .case-title-line:first-child {
    white-space: normal;
  }

  .case-cover {
    margin-top: 8px;
  }

  .case-section {
    gap: 14px;
    padding: 42px 0;
  }

  .case-split,
  .case-card-grid,
  .case-decisions {
    grid-template-columns: 1fr;
  }

  .case-kicker {
    font-size: 11px;
  }

  .case-section h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
    margin-bottom: 18px;
    padding: 0.08em 0 0.12em;
  }

  .case-section h2:not(:first-child) {
    margin-top: 34px;
  }

  .case-section p:not(.case-kicker),
  .case-list {
    font-size: 15px;
    line-height: 1.43;
    max-width: 100%;
  }

  .case-section p + p {
    margin-top: 16px;
  }

  .case-list {
    gap: 10px;
    margin-top: 18px;
  }

  .case-list-spacious {
    margin-bottom: 24px;
  }

  .case-image-panel {
    margin-top: 26px;
    max-width: 100%;
  }

  .case-card-grid {
    gap: 12px;
    padding-bottom: 42px;
  }

  .case-card-grid article,
  .case-decisions article {
    min-height: 0;
    padding: 20px;
  }

  .case-card-grid h3,
  .case-decisions h3 {
    font-size: 22px;
    margin: 14px 0 12px;
  }

  .case-card-grid p:not(.case-kicker),
  .case-decisions p {
    font-size: 14px;
    line-height: 1.38;
  }

  .case-video-scrubber {
    bottom: 12px;
    height: 5px;
    left: 14px;
    opacity: 0.82;
    right: 14px;
  }

  .before-after-label {
    font-size: 10px;
    left: 10px;
    padding: 6px 8px;
    top: 10px;
  }

  .before-after-label-after {
    left: auto;
    right: 10px;
  }

  .before-after-divider::before {
    height: 28px;
    width: 28px;
  }

  .case-outcome {
    padding-bottom: 52px;
  }
}

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

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

  .site-nav,
  .hero-copy,
  .cta-line {
    opacity: 1 !important;
    transform: none !important;
  }
}
