@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Glacial";
  src: url("fonts/GlacialIndifference-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Glacial";
  src: url("fonts/GlacialIndifference-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple: #5e17eb;
  --black: #000;
  --white: #fff;
  --lavender: #eee6ff;
  --line: rgba(0, 0, 0, 0.16);
  --page: min(1240px, calc(100vw - 48px));
  --header-offset: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: "Glacial", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
video {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 20px max(24px, env(safe-area-inset-right), calc((100vw - 1240px) / 2)) 20px max(24px, env(safe-area-inset-left), calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  width: max-content;
}

.brand img {
  display: block;
  width: 156px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
}

.nav a,
.text-link,
.footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: #fff;
  background: #000;
  border: 2px solid #000;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  width: var(--page);
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0 76px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-right: 20px;
}

.eyebrow {
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 32px;
  height: 2px;
  margin: 0 12px 3px 0;
  background: var(--purple);
  content: "";
}

.eyebrow-light::before {
  background: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 28px;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(4rem, 7.1vw, 7.2rem);
  line-height: 0.92;
}

.hero-team-title {
  max-width: 840px;
  font-size: clamp(3.5rem, 5.7vw, 6.25rem);
  line-height: 0.94;
}

h1 span {
  position: relative;
  display: inline-block;
  color: var(--purple);
}

h1 span::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 78%;
  height: 7px;
  background: var(--purple);
  content: "";
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 32px;
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  font-weight: 700;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 70px;
  font-size: 0.88rem;
  line-height: 1.3;
}

.hero-note-number {
  font-family: "Anton", Impact, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.purple-field {
  position: absolute;
  inset: 6% -20% 0 8%;
  background: var(--purple);
  transform: rotate(4deg);
}

.phone-shell {
  position: relative;
  overflow: hidden;
  background: #090909;
  border: 10px solid #090909;
  border-radius: 42px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

.phone-shell::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 31px;
  pointer-events: none;
  content: "";
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 72px;
  height: 20px;
  background: #090909;
  border-radius: 0 0 13px 13px;
  transform: translateX(-50%);
}

.phone-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.hero-phone {
  z-index: 2;
  width: min(330px, 72%);
  aspect-ratio: 9 / 16;
  transform: rotate(-4deg);
}

.visual-caption {
  position: absolute;
  right: -10px;
  bottom: 30px;
  z-index: 4;
  padding: 14px 18px;
  color: #fff;
  background: #000;
  font-size: 0.85rem;
  line-height: 1.35;
}

.manifesto {
  padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: #000;
}

.manifesto-line {
  max-width: 1120px;
  margin-bottom: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 5.3rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.section {
  padding: clamp(88px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
}

.section-heading h2,
.deliverable-title h2,
.final-cta h2 {
  font-size: clamp(3rem, 5.7vw, 6rem);
  line-height: 0.96;
}

.split-heading,
.results-heading,
.portfolio-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.split-heading > p,
.results-heading > p,
.portfolio-heading > p {
  max-width: 450px;
  margin-bottom: 36px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 2px solid #000;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 320px;
  padding: 28px 24px 34px 0;
  border-right: 1px solid var(--line);
}

.steps li + li {
  padding-left: 24px;
}

.steps li:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 90px;
  color: var(--purple);
  font-family: "Anton", Impact, sans-serif;
  font-size: 2.3rem;
}

.steps h3 {
  margin-bottom: 12px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.steps .role-label {
  margin-bottom: 10px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps p {
  margin-bottom: 0;
  line-height: 1.5;
}

.results {
  color: #fff;
  background: #000;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 18px;
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
}

.case-time {
  position: relative;
  z-index: 2;
  margin-bottom: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.2rem, 5vw, 5.7rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.case > p:not(.case-time) {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin-bottom: 0;
  line-height: 1.5;
}

.case-index {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  font-family: "Anton", Impact, sans-serif;
  font-size: 2rem;
}

.case-purple {
  background: var(--purple);
}

.case-white {
  color: #000;
  background: #fff;
}

.case-lavender {
  color: #000;
  background: var(--lavender);
}

.portfolio {
  overflow: hidden;
  background: #f6f3fa;
}

.portfolio-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.portfolio-step > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #000;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.portfolio-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.portfolio-step strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 38px;
}

.filter-tab {
  position: relative;
  display: flex;
  min-height: 126px;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  font-family: "Glacial", Arial, sans-serif;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-tab-title {
  max-width: calc(100% - 34px);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.filter-tab-action {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.filter-tab-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.filter-tab.is-active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.filter-tab.is-active .filter-tab-arrow {
  transform: rotate(90deg);
}

.portfolio-step-videos {
  margin-bottom: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.carousel-wrap {
  position: relative;
  margin: 0 calc((100vw - var(--page)) / -2);
}

.video-carousel {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 36px max(15vw, calc((100vw - 340px) / 2));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.video-carousel::-webkit-scrollbar {
  display: none;
}

.video-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.video-card {
  flex: 0 0 clamp(242px, 27vw, 330px);
  scroll-snap-align: center;
  transition: transform 260ms ease, opacity 260ms ease;
  opacity: 0.48;
  transform: scale(0.9);
}

.video-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
}

.video-card .phone-shell {
  width: 100%;
  aspect-ratio: 9 / 16;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 22px 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.66) 0%, rgba(5, 5, 5, 0.03) 42%, rgba(5, 5, 5, 0.78) 100%);
  border: 0;
  font: inherit;
  cursor: pointer;
  opacity: 1;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-cover::after {
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top-color: var(--purple);
  border-bottom-color: var(--purple);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.video-cover::before {
  position: absolute;
  width: 190px;
  height: 190px;
  background: rgba(115, 34, 255, 0.28);
  border-radius: 50%;
  filter: blur(26px);
  content: "";
  pointer-events: none;
}

.video-cover.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.video-cover-category,
.video-cover-cta,
.video-play-mark {
  position: relative;
  z-index: 1;
}

.video-cover-category {
  align-self: flex-start;
  max-width: calc(100% - 20px);
  padding: 8px 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.video-play-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  background: var(--purple);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38), 0 0 0 10px rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-play-triangle {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}

.video-cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-cover-cta::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.video-cover:hover .video-play-mark,
.video-cover:focus-visible .video-play-mark {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.44), 0 0 0 14px rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.video-cover:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -13px;
}

.video-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 700;
}

.video-label span:last-child {
  color: var(--purple);
  text-align: right;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease;
}

.arrow-left {
  left: 5vw;
}

.arrow-right {
  right: 5vw;
}

.carousel-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-meta p:first-child {
  color: var(--purple);
}

.deliverables {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 80px;
}

.deliverable-title {
  position: sticky;
  top: 130px;
  align-self: start;
}

.deliverable-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid #000;
}

.deliverable-list article:last-child {
  border-bottom: 1px solid #000;
}

.deliverable-list strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.deliverable-list p {
  margin-bottom: 0;
  line-height: 1.5;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 720px;
  padding: clamp(80px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: var(--purple);
}

.final-cta img {
  width: 180px;
  height: 44px;
  margin-bottom: auto;
  object-fit: contain;
  object-position: left center;
}

.final-cta h2 {
  max-width: 1000px;
}

.button-light {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: #000;
  font-size: 0.82rem;
}

.footer p {
  margin: 0;
}

.footer a {
  overflow-wrap: anywhere;
}

@media (hover: hover) {
  .button:hover {
    color: #000;
    background: #fff;
    transform: translateY(-2px);
  }

  .filter-tab:hover {
    transform: translateY(-3px);
  }

  .carousel-arrow:hover {
    color: #fff;
    background: var(--purple);
  }

  .button-light:hover {
    color: #fff;
    background: #000;
    border-color: #000;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 20px;
  }

  .hero-team-title {
    font-size: clamp(3.15rem, 5.2vw, 5.4rem);
  }

  .split-heading,
  .results-heading,
  .portfolio-heading {
    gap: 56px;
  }

  .case {
    padding: 30px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-offset: 126px;
    --page: min(1240px, calc(100vw - 64px));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

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

  .hero-note {
    margin-top: 44px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .split-heading,
  .results-heading,
  .portfolio-heading,
  .deliverables {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-heading > p,
  .results-heading > p,
  .portfolio-heading > p {
    margin-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case:last-child {
    grid-column: 1 / -1;
    min-height: 380px;
  }

  .deliverable-title {
    position: static;
  }

  .filter-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  .hero {
    display: flex;
    min-height: 0;
    padding-top: 72px;
    flex-direction: column;
  }

  .hero-copy {
    max-width: 680px;
    padding-right: 0;
  }

  .hero-visual {
    width: 100%;
    min-height: 590px;
    margin-top: 48px;
  }

  .hero-phone {
    width: min(310px, 58vw);
  }

  .purple-field {
    inset: 4% -18% 0 4%;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 32px);
    --header-offset: 122px;
  }

  .site-header {
    gap: 10px 16px;
    padding: 14px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  }

  .nav {
    justify-content: flex-start;
    gap: 22px;
    padding: 9px 2px 2px;
    overflow-x: auto;
    font-size: 0.8rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .brand img {
    width: 132px;
  }

  .button-small {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.2rem);
  }

  .hero-team-title {
    font-size: clamp(2.75rem, 13.4vw, 4.2rem);
    line-height: 0.97;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-note {
    margin-top: 44px;
  }

  .hero-visual {
    width: calc(100% + 32px);
    min-height: clamp(500px, 145vw, 580px);
    margin: 48px -16px 0;
  }

  .purple-field {
    inset: 6% -35% 0 -20%;
  }

  .hero-phone {
    width: min(278px, 76vw);
  }

  .visual-caption {
    right: 12px;
  }

  .section {
    padding: 88px 16px;
  }

  .section-heading h2,
  .deliverable-title h2,
  .final-cta h2 {
    font-size: clamp(2.75rem, 13vw, 3.25rem);
  }

  .manifesto {
    padding: 88px 16px;
  }

  .manifesto-line {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }

  .split-heading,
  .results-heading,
  .portfolio-heading {
    margin-bottom: 50px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 24px 0 44px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps span {
    margin-bottom: 48px;
  }

  .case-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    gap: 12px;
  }

  .case {
    min-height: 400px !important;
  }

  .filter-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0;
  }

  .filter-tab {
    min-height: 112px;
    padding: 16px;
  }

  .filter-tab-arrow {
    top: 14px;
    right: 14px;
  }

  .carousel-wrap {
    margin: 0 -16px;
  }

  .video-carousel {
    padding-right: calc((100vw - 260px) / 2);
    padding-left: calc((100vw - 260px) / 2);
  }

  .video-card {
    flex-basis: min(260px, 82vw);
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-meta {
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    font-size: 0.68rem;
  }

  .deliverable-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .final-cta {
    min-height: 600px;
    padding: 80px 16px;
  }

  .footer {
    flex-direction: column;
    padding: 28px 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --page: calc(100vw - 24px);
    --header-offset: 116px;
  }

  .site-header {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .brand img {
    width: 112px;
    height: 30px;
  }

  .button-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .nav {
    gap: 18px;
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }

  .hero-team-title {
    font-size: clamp(2.45rem, 12.8vw, 2.9rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }

  .hero-note {
    margin-top: 36px;
  }

  .hero-visual {
    width: calc(100% + 24px);
    min-height: 500px;
    margin: 44px -12px 0;
  }

  .hero-phone {
    width: min(248px, 78vw);
  }

  .visual-caption {
    right: 10px;
    bottom: 22px;
    max-width: 238px;
    padding: 11px 13px;
    font-size: 0.76rem;
  }

  .section,
  .manifesto,
  .final-cta {
    padding-right: 12px;
    padding-left: 12px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .manifesto {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2,
  .deliverable-title h2,
  .final-cta h2 {
    font-size: clamp(2.55rem, 13vw, 2.95rem);
  }

  .steps span {
    margin-bottom: 34px;
  }

  .case {
    min-height: 350px !important;
    padding: 26px;
  }

  .case h3 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .portfolio-step {
    align-items: flex-start;
  }

  .portfolio-step > span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .filter-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filter-tab {
    min-height: 88px;
    padding: 15px;
  }

  .filter-tab-arrow {
    top: 13px;
    right: 13px;
  }

  .carousel-wrap {
    margin-right: -12px;
    margin-left: -12px;
  }

  .video-carousel {
    padding-right: calc((100vw - min(260px, 82vw)) / 2);
    padding-left: calc((100vw - min(260px, 82vw)) / 2);
  }

  .video-cover {
    padding: 24px 18px 20px;
  }

  .video-play-mark {
    width: 76px;
    height: 76px;
  }

  .carousel-meta {
    flex-wrap: wrap;
    padding: 0 12px;
  }

  .deliverable-list article {
    padding: 26px 0;
  }

  .deliverable-list strong {
    font-size: 1.7rem;
  }

  .final-cta {
    min-height: 560px;
    padding-top: 72px;
    padding-bottom: max(72px, env(safe-area-inset-bottom));
  }

  .footer {
    padding: 24px 12px max(24px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 960px) and (orientation: landscape) and (max-height: 600px) {
  .hero-visual {
    min-height: 500px;
  }

  .final-cta {
    min-height: 520px;
  }
}

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

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