:root {
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-text: #777777;
  --gray-muted: #aaaaaa;
  --gray-border: #e8e8e8;
  --blue: #0a84ff;
  --blue-hover: #0070e0;
  --font: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script: "Carattere", cursive;
  --container: 1760px;
  --radius-lg: 40px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-btn: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 160px, var(--container));
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

/* Buttons — Figma: h-54, px-24, rounded-12, #0a84ff */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 54px;
  padding: 6px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn span[aria-hidden="true"],
.btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 0;
  line-height: 0;
  margin-left: 0;
  flex-shrink: 0;
}

.btn .btn-arrow {
  background: url("images/arrow.svg") center / 16px 16px no-repeat;
  filter: brightness(0) invert(1);
}

.btn-light .btn-arrow {
  filter: none;
}

.btn:focus-visible,
.nav-link:focus-visible,
.icon-btn:focus-visible,
.filter-pill:focus-visible,
.industry-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
}

.btn-light:hover {
  background: var(--gray-light);
}

.btn-sm {
  height: 54px;
  padding: 6px 24px;
  font-size: 20px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn .btn-arrow {
  display: block;
  width: 16px;
  height: 16px;
  background: url("images/arrow.svg") center / contain no-repeat;
  filter: none;
}

.icon-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.icon-btn:hover .btn-arrow {
  filter: brightness(0) invert(1);
}

.icon-btn--dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.icon-btn--dark:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Labels / headings */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.section-light .dot {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.35);
}

.section-heading {
  font-size: clamp(1.85rem, 3.125vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: none;
  white-space: nowrap;
}

.section-heading--dark {
  color: var(--black);
}

.section-sub {
  margin-top: 1rem;
  color: var(--gray-muted);
  font-size: clamp(1rem, 1.45vw, 28px);
  max-width: 52ch;
  line-height: 1.45;
}

.section-sub--dark {
  color: var(--gray-text);
  margin-inline: auto;
}

.section-intro {
  margin-bottom: 3rem;
}

.section-intro--center {
  text-align: center;
}

.section-intro--center .section-heading {
  margin-inline: auto;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--white);
  color: var(--black);
}

/* Header — fixed topbar; logo morphs from hero brand */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease),
    top 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-header-hidden {
  top: calc(-1 * var(--header-h) - 12px);
  pointer-events: none;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: var(--header-h);
}

.logo,
.logo--header {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

/* Desktop: logo out of flow so menu starts flush left until scroll-dock */
@media (min-width: 901px) {
  .logo--header {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
  }

  .site-header.is-brand-docked .logo--header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-inner .nav {
    position: relative;
    margin-left: 0;
    transition: opacity 0.2s var(--ease);
  }

  /* When logo docks, center the menu in the header */
  .site-header.is-brand-docked .header-inner .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
  }
}

.header-cta {
  margin-left: auto;
  height: 40px;
  padding: 4px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero — absolute stage 1920×950 */
.hero {
  padding: 0;
  background: var(--black);
  position: relative;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  aspect-ratio: 1920 / 950;
  min-height: 520px;
}

.hero-brand {
  position: absolute;
  left: 4.635%; /* 89/1920 */
  top: 7%; /* 53/950 */
  font-size: clamp(3rem, 16.875vw, 324px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  margin: 0;
  z-index: 2;
  transform-origin: top left;
  will-change: transform, left, top;
  pointer-events: none;
}

.hero-brand.is-morphing {
  position: fixed;
  margin: 0;
  z-index: 110;
}

/* Mobile hero block + bottom links hidden on desktop */
.hero-mobile,
.hero-copy--mobile,
.hero-mobile-links {
  display: none;
}

/* Desktop wrappers stay transparent so absolute coords still work */
.hero-desktop {
  display: contents;
}

.hero-copy--desktop {
  display: block;
}

.site-header.is-brand-docked .hero-brand,
.hero-brand.is-docked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-star {
  position: absolute;
  left: 13.073%; /* 251/1920 */
  top: 48.737%; /* 463/950 */
  width: clamp(28px, 3.28vw, 63px);
  height: clamp(28px, 3.28vw, 63px);
  object-fit: contain;
  z-index: 2;
}

.hero-line {
  position: absolute;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 0.94;
  white-space: nowrap;
  z-index: 2;
}

.hero-line--brands {
  left: 18.333%; /* 352/1920 */
  top: 46.421%; /* 441/950 */
  font-size: clamp(1.5rem, 5.208vw, 100px);
}

.hero-line--long {
  left: 45.052%; /* 865/1920 */
  top: 56.316%; /* 535/950 */
  font-size: clamp(1.5rem, 5.208vw, 100px);
}

.hero-line--theyre {
  left: 52.552%; /* 1009/1920 */
  top: 66.211%; /* 629/950 */
  font-size: clamp(1.5rem, 5.208vw, 100px);
}

.seen-sticker {
  position: absolute;
  left: 73.969%;
  top: 66%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transform: rotate(-8.67deg);
  transform-origin: center;
  will-change: transform;
}

.seen-sticker__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  padding: 0.05em 0.35em 0.12em;
  border-radius: 2px;
  transform-origin: center center;
  will-change: transform, background-color;
}

.seen-text {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 5.2vw, 100px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 0.05em;
  display: block;
  transform-origin: center;
}

.seen-handle {
  position: absolute;
  width: clamp(8px, 0.6vw, 12px);
  height: clamp(8px, 0.6vw, 12px);
  background: var(--white);
  border-radius: 0;
  z-index: 2;
  transform-origin: center;
  will-change: transform, opacity;
}

.seen-handle.tl { top: -5px; left: -5px; }
.seen-handle.tr { top: -5px; right: -5px; }
.seen-handle.bl { bottom: -5px; left: -5px; }
.seen-handle.br { bottom: -5px; right: -5px; }

/* Seen. box — CSS fallback when GSAP off */
@keyframes seen-box-in {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes seen-handle-in {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes seen-color-cycle {
  0%,
  18% {
    background-color: #0a84ff;
  }
  25%,
  43% {
    background-color: #6a37ff;
  }
  50%,
  68% {
    background-color: #e138fe;
  }
  75%,
  93% {
    background-color: #ff3845;
  }
  100% {
    background-color: #0a84ff;
  }
}

html:not(.js-gsap) .seen-sticker__box {
  animation: seen-box-in 0.85s var(--ease) 0.45s both, seen-color-cycle 6.4s linear 1.4s infinite;
}

html:not(.js-gsap) .seen-handle {
  animation: seen-handle-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

html:not(.js-gsap) .seen-handle.tl { animation-delay: 0.95s; }
html:not(.js-gsap) .seen-handle.tr { animation-delay: 1.05s; }
html:not(.js-gsap) .seen-handle.br { animation-delay: 1.15s; }
html:not(.js-gsap) .seen-handle.bl { animation-delay: 1.25s; }

.hero-copy {
  position: absolute;
  left: 13.073%; /* 251/1920 */
  top: 59.474%; /* 565/950 */
  width: min(450px, 23.4%);
  max-width: 450px;
  color: var(--white);
  font-size: clamp(0.95rem, 1.458vw, 28px);
  line-height: clamp(1.4rem, 2.083vw, 40px);
  font-weight: 400;
  margin: 0;
  z-index: 2;
}

.hero-actions {
  position: absolute;
  left: 13.073%;
  top: 83.789%; /* 796/950 */
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  z-index: 2;
}

.hero-actions .btn {
  height: 54px;
  padding: 6px 24px;
  font-size: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Selected work — sticky stacked case studies (Figma prototype overlap) */
.selected-work {
  padding: clamp(64px, 9vw, 120px) 0;
}

.selected-work .section-label {
  margin-bottom: 1.25rem;
}

.selected-work .section-heading {
  max-width: none;
  white-space: nowrap;
  line-height: 1.08;
  margin: 0;
}

.selected-work .section-sub {
  margin-top: 1.25rem;
  max-width: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 28px);
  line-height: 1.4;
  font-weight: 400;
}

.selected-work .section-intro {
  margin-bottom: clamp(48px, 5.5vw, 80px);
}

.project-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1760px;
}

.project-block {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 clamp(28px, 4vw, 48px);
  transform: none;
  opacity: 1;
  filter: none;
}

.project-block:last-child {
  margin-bottom: 0;
}

.project-block:nth-child(1) {
  z-index: 1;
}

.project-block:nth-child(2) {
  z-index: 2;
}

.project-block:nth-child(3) {
  z-index: 3;
}

.project-feature {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.project-feature__img {
  display: block;
  width: 100%;
  aspect-ratio: 1760 / 950;
  max-height: 100vh;
  height: auto;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s var(--ease);
}

.project-feature:hover .project-feature__img {
  transform: scale(1.02);
}

.project-feature__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 28px);
  padding: clamp(28px, 3.2vw, 52px);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.62) 28%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0) 78%
  );
  pointer-events: none;
}

.project-feature__overlay .btn {
  pointer-events: auto;
  flex-shrink: 0;
}

.project-feature__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-feature__author {
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.7rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.tag-list li {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(22px);
}

.project-feature__title {
  font-size: clamp(1.75rem, 3.125vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: none;
  white-space: nowrap;
}

.project-feature__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
}

.project-feature__desc {
  font-size: clamp(1rem, 1.45vw, 28px);
  color: rgba(255, 255, 255, 0.92);
  max-width: min(980px, calc(100% - 280px));
  line-height: 1.35;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.selected-work__cta {
  margin-top: clamp(40px, 5vw, 72px);
}

/* Trusted by */
.trusted-by {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--gray-border);
}

.trusted-heading {
  text-align: center;
  font-size: clamp(2rem, 3.125vw, 60px);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--black);
}

.logo-strip {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  /* Room so hover lift doesn't clip top/bottom borders */
  padding: 10px 0;
  margin: -10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-strip__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.logo-strip__group {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2.2vw, 40px);
  padding-right: clamp(16px, 2.2vw, 40px);
  flex-shrink: 0;
}

.logo-chip {
  width: clamp(120px, 14.5vw, 260px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1px solid #a3a3a3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

html:not(.js-gsap) .logo-strip__track.is-marquee {
  animation: logo-marquee 35s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.js-gsap) .logo-strip__track.is-marquee {
    animation: none;
  }
}

/* About */
.about {
  padding: clamp(72px, 9vw, 120px) 0;
}

.about .section-heading {
  max-width: none;
  white-space: nowrap;
}

.about-grid {
  display: grid;
  /* Wider media so matched-height image stays landscape */
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr);
  gap: clamp(20px, 2.2vw, 36px);
  align-items: stretch;
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  border-radius: 24px;
  line-height: 0;
}

.about-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center center;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  max-width: 34rem;
}

.about-content p {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.about-content p:last-of-type {
  margin-bottom: 1.5rem;
}

.about-content .btn {
  margin-top: 0;
  align-self: flex-start;
}

/* Services */
.services {
  padding: clamp(72px, 9vw, 120px) 0;
}

.services .section-heading {
  max-width: none;
}

.services .section-sub {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1rem, 1.35vw, 24px);
  color: #777;
}

.service-table {
  margin-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) 1.4fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.3s var(--ease);
}

.service-row:hover {
  background: rgba(10, 132, 255, 0.03);
}

.service-row__num {
  display: block;
  color: var(--blue);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-row__title {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.service-row__desc {
  color: #777;
  font-size: clamp(0.95rem, 1.1vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.service-row__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.service-row__lists li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font);
  font-size: clamp(1rem, 1.15vw, 22px);
  font-weight: 500;
  color: #111;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.service-row__lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

.service-row__visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-row__visual img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

/* Work grid */
.work-grid {
  padding: clamp(72px, 9vw, 120px) 0;
}

.work-grid .section-heading {
  max-width: none;
}

.work-filters {
  margin-bottom: 2.5rem;
}

.work-filters__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.filter-pill.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

.project-card {
  transition: opacity 0.35s, transform 0.35s;
}

.project-card.is-hidden {
  display: none;
}

.project-card__media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card__media > img {
  transform: scale(1.05);
}

.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(60, 60, 60, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.project-card__badge {
  position: absolute;
  left: 50%;
  top: 48%;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  color: var(--black);
  padding: 7px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  width: min(46%, 210px);
  max-width: 210px;
}

.project-card__badge img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.project-card__badge span {
  font-family: var(--font);
  font-size: clamp(1.1rem, 1.35vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  padding: 2px 4px 4px;
}

.project-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.project-card__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.project-card__meta {
  font-size: 0.85rem;
  color: var(--gray-muted);
  margin-top: 2px;
}

.project-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: transform 0.25s var(--ease);
}

.project-card__arrow .btn-arrow {
  display: block;
  width: 16px;
  height: 16px;
  background: url("images/arrow.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

.project-card:hover .project-card__arrow {
  transform: translate(2px, -2px);
}

.work-grid__cta {
  margin-top: 3rem;
}

/* Industries — exact Figma flex ratios */
.industries {
  padding: clamp(72px, 9vw, 120px) 0;
}

.industries .section-heading {
  max-width: none;
}

.industry-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.industry-row {
  display: flex;
  gap: 40px;
  width: 100%;
  perspective: 1100px;
}

.industry-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 410px;
  min-height: 410px;
  flex: 1 1 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.industry-card--lg {
  flex: 860 1 0;
}

.industry-card--sm {
  flex: 410 1 0;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s var(--ease);
}

/* Figma: frosted bottom blur band */
.industry-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(36px) saturate(1.15);
  -webkit-backdrop-filter: blur(36px) saturate(1.15);
  background: linear-gradient(
    to top,
    rgba(20, 16, 12, 0.42) 0%,
    rgba(20, 16, 12, 0.22) 48%,
    rgba(20, 16, 12, 0.06) 78%,
    rgba(20, 16, 12, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.7) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.7) 72%,
    transparent 100%
  );
}

.industry-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.industry-card:hover img {
  transform: scale(1.05);
}

/* Crop baked-in label out of source image */
.industry-card__img--crop-label {
  object-position: center 28%;
  transform: scale(1.12);
  transform-origin: center 28%;
}

.industry-card:hover .industry-card__img--crop-label {
  transform: scale(1.18);
}

.industry-card__title {
  position: absolute;
  left: clamp(20px, 2.2vw, 40px);
  right: clamp(20px, 2.2vw, 40px);
  bottom: clamp(20px, 2.2vw, 40px);
  z-index: 2;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 48px);
  font-weight: 600;
  max-width: none;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Strategy / How we work — two columns like Figma (text | full tablet) */
.strategy {
  position: relative;
  padding: clamp(64px, 7vw, 100px) 0;
  overflow: hidden;
  min-height: 0;
  padding-bottom: 0px;
}

.strategy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: clamp(32px, 3vw, 56px);
  align-items: center;
}

.strategy-content {
  position: relative;
  z-index: 2;
  max-width: none;
  padding-bottom: 0;
}

.strategy .section-heading {
  max-width: none;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.strategy-lead {
  font-size: clamp(1.05rem, 1.35vw, 24px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.75rem;
  max-width: 34ch;
  line-height: 1.4;
}

.process-steps {
  --process-rail: #6e6e6e;
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 0;
  list-style: none;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--process-rail);
}

.process-step {
  position: relative;
  display: block;
  margin-bottom: 1.15rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--process-rail);
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: var(--font);
  min-height: 22px;
}

.process-step__marker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--process-rail);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-sizing: border-box;
}

.process-step.is-active .process-step__marker {
  background: #fff;
}

.process-step.is-active .process-step__label {
  color: #fff;
  font-weight: 600;
}

.process-step__label {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Pattern + copy sit UNDER the Step label, indented to label text */
.process-step__body {
  display: none;
  align-items: flex-start;
  gap: 18px;
  margin: 14px 0 8px 19px;
  min-height: 0;
  padding: 0;
}

.process-step.is-active .process-step__body {
  display: flex;
  animation: process-in 0.4s var(--ease);
}

@keyframes process-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-step__pattern {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.process-step__copy {
  padding-top: 4px;
}

.process-step__copy h3 {
  font-size: clamp(1.35rem, 2vw, 32px);
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.process-step__copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.95rem, 1.1vw, 18px);
  max-width: 28ch;
  line-height: 1.45;
  margin: 0;
}

.strategy-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  min-width: 0;
  align-self: center;
  /* Pull toward viewport right edge like Figma */
  margin-right: calc(-1 * max(0px, (100vw - min(100vw - 160px, var(--container))) / 2));
  width: calc(100% + max(0px, (100vw - min(100vw - 160px, var(--container))) / 2));
  overflow: hidden;
  pointer-events: none;
}

.strategy-visual__img {
  display: block;
  width: 100%;
  height: auto;
  /* Asset has ~46% black left — frame tablet content only (1021×866) */
  aspect-ratio: 1021 / 866;
  /*max-height: min(640px, 72vh);*/
  object-fit: cover;
  object-position: right center;
}

/* Testimonials */
.testimonials {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--white);
}

.testimonials .section-heading {
  max-width: 18ch;
  margin-inline: auto;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 24px;
  align-items: stretch;
  /* Locked height so portrait crop never shifts when quotes change */
  height: clamp(440px, 34vw, 560px);
}

.testimonial-portrait {
  margin: 0;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #e8dfd4;
}

.testimonial-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  /* Crop baked-in rounded corners on founder.png */
  transform: scale(1.06);
  transform-origin: center center;
}

.testimonial-panel {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  color: var(--white);
}

.testimonial-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.testimonial-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 42%,
    rgba(0, 0, 0, 0.12) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.testimonial-panel__count {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 3;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-panel__slides {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 clamp(28px, 3vw, 48px) clamp(28px, 3.2vw, 44px);
  padding-right: clamp(110px, 11vw, 140px);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: testimonial-fade 0.45s var(--ease);
}

@keyframes testimonial-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide blockquote {
  margin: 0 0 1.1rem;
  max-width: none;
}

.testimonial-slide blockquote p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  max-width: none;
}

.testimonial-slide__role {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.testimonial-slide__name {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-nav {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.testimonial-nav__btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonial-nav__btn img {
  display: block;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.testimonial-nav__btn:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.testimonial-nav__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Studios CTA — desktop: composed Figma artwork; ≤1024: HTML content */
.studios {
  background: var(--black);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.studios__frame {
  position: relative;
  width: 100%;
}

.studios__art {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: min(90vh, 820px);
  object-position: center;
}

.studios__hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.studios__hotspot {
  position: absolute;
  pointer-events: auto;
  border-radius: 12px;
}

.studios__hotspot--primary {
  left: 50%;
  top: 72%;
  width: min(200px, 28%);
  height: 54px;
  transform: translateX(calc(-100% - 12px));
}

.studios__hotspot--secondary {
  left: 50%;
  top: 72%;
  width: min(260px, 34%);
  height: 54px;
  transform: translateX(12px);
}

.studios__hotspot--phone {
  left: 50%;
  top: 82%;
  width: min(280px, 40%);
  height: 40px;
  transform: translateX(-50%);
}

/* Mobile/tablet HTML panel — hidden on desktop */
.studios__mobile {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(40px, 4.5vw, 64px) 0 0;
  position: relative;
  overflow: hidden;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "nav nav"
    "main form";
  column-gap: clamp(32px, 4vw, 56px);
  row-gap: 0;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 1.75rem;
  font-size: 15px;
  font-weight: 500;
}

.footer-main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-form-wrap {
  grid-area: form;
  background: #161616;
  border-radius: 20px;
  padding: clamp(28px, 2.4vw, 40px) clamp(24px, 2.2vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  margin-top: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-nav .btn-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("images/figma/arrow-icon.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
  transform: none;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-logo {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  margin-bottom: 0;
  min-height: 100%;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(160px, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: stretch;
  padding-bottom: 1.5rem;
}

.footer-contact__heading {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.footer-office h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #a3a3a3;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.footer-contact-line a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-line a:hover {
  color: var(--white);
}

.footer-ico {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-ico svg {
  display: block;
  width: 15px;
  height: 15px;
}

/*.footer-contact-line--address {
  max-width: 28ch;
}*/

.footer-mid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 24px 48px;
  align-items: center;
  padding: 2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-about {
  color: var(--white);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 36ch;
  margin: 0;
}

.footer-about__fade {
  color: #555555;
}

.footer-mid__cta {
  justify-self: end;
  text-align: left;
}

.footer-mid__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A3A3A3;
  max-width: 42ch;
  line-height: 1.45;
}

.footer-contact__cta {
  margin: 0;
  height: 44px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.48);
  flex-wrap: wrap;
}

.footer-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  padding: 12px 0;
  outline: none;
  resize: vertical;
  font-family: inherit;
  font-size: 0.95rem;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-bottom-color: var(--blue);
}

.footer-form .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding-top: 10px;
  height: 48px;
  border-radius: 10px;
}

.footer-form textarea {
  min-height: 80px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1c1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.social-icon:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.42);
  font-size: 1.2rem;
  margin: 0;
}

.footer-watermark {
  pointer-events: none;
  user-select: none;
  margin-top: 40px;
  margin-bottom: -0.2em;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  line-height: 0;
}

.footer-watermark img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Reveal animations — CSS fallback; GSAP overrides when active */
.reveal {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js-gsap .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Image zoom reveal containers */
.project-feature,
.project-card__media,
.industry-card,
.testimonial-portrait,
.testimonial-panel,
.about-media {
  overflow: hidden;
}

.project-feature__img,
.project-card__media > img,
.industry-card img,
.about-media img {
  transform-origin: center center;
}

.project-card__media > img,
.industry-card img,
.about-media img {
  will-change: transform;
}

/* Micro-interactions */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 132, 255, 0.28);
}

.btn-light:hover {
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
}

.project-card,
.industry-card,
.logo-chip,
.service-row {
  transition: transform 0.45s var(--ease);
}

.project-card:hover,
.industry-card:hover {
  transform: translateY(-6px);
}

.logo-chip:hover {
  transform: translateY(-4px);
  border-color: #7a7a7a;
}

.nav-link {
  position: relative;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.is-active {
  text-decoration: none;
}

/* No underline on header menu items */
.nav-link::after {
  display: none;
  content: none;
}

.site-header .nav-link,
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.is-active {
  text-decoration: none;
}

.site-header {
  transition:
    background 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    top 0.3s var(--ease);
}

.footer-watermark {
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .project-card:hover,
  .industry-card:hover,
  .logo-chip:hover {
    transform: none;
    box-shadow: none;
  }

  .project-feature:hover .project-feature__img,
  .project-card:hover .project-card__media > img,
  .industry-card:hover img {
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  .nav-link {
    font-size: 16px;
  }

  .header-inner .nav {
    gap: 18px;
  }

  .about-grid,
  .strategy-grid,
  .testimonial-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-areas:
      "nav"
      "main"
      "form";
    row-gap: 28px;
  }

  .footer-nav {
    margin-bottom: 0;
  }

  .footer-form-wrap {
    min-height: 0;
  }

  .about-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .about-content {
    height: auto;
    max-width: none;
  }

  .about .section-heading,
  .selected-work .section-heading,
  .selected-work .section-sub,
  .services .section-heading,
  .services .section-sub,
  .work-grid .section-heading,
  .industries .section-heading,
  .testimonials .section-heading,
  .strategy .section-heading {
    white-space: normal;
  }

  .services,
  .service-row {
    max-width: 100%;
    overflow-x: clip;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-row__title,
  .service-row__desc,
  .project-feature__title {
    white-space: normal;
  }

  .project-feature__overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.72) 32%,
      rgba(0, 0, 0, 0.28) 58%,
      rgba(0, 0, 0, 0) 80%
    );
  }

  .project-feature__title {
    max-width: 100%;
    overflow-wrap: break-word;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  }

  .project-feature__desc {
    white-space: normal;
    max-width: 100%;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  }

  .service-row__lists {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .service-row__visual {
    justify-content: space-between;
  }

  .industry-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .industry-card,
  .industry-card--lg,
  .industry-card--sm {
    flex: 1 1 calc(50% - 12px);
    min-height: 360px;
  }

  .strategy {
    display: block;
    min-height: 0;
    padding: clamp(56px, 8vw, 80px) 0;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .strategy-content {
    max-width: none;
    padding-bottom: 0;
    order: 2;
  }

  .strategy-visual {
    position: relative;
    order: 1;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .strategy-visual__img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    aspect-ratio: 1021 / 866;
    margin: 0;
    object-fit: cover;
    object-position: right center;
  }

  .strategy .section-heading {
    max-width: none;
  }

  /* Studios: full-bleed photo bg + large readable HTML (desktop keeps CTA artwork) */
  .studios__frame--desktop {
    display: none;
  }

  .studios__mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: min(92vh, 820px);
    padding: clamp(48px, 9vw, 72px) 20px;
    overflow: hidden;
    background: #000;
  }

  .studios__mobile-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .studios__mobile-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: blur(16px) brightness(0.7) saturate(1.3);
    transform: scale(1.22);
  }

  .studios__mobile-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.68) 100%
    );
  }

  .studios__mobile-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 420px);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
  }

  .studios__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1rem;
  }

  .studios__eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
  }

  .studios__display {
    margin: 0 0 0.85rem;
    line-height: 0.92;
  }

  .studios__display-main,
  .studios__display-accent {
    display: block;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.8);
  }

  .studios__display-main {
    color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(3.25rem, 16vw, 4.75rem);
    text-transform: uppercase;
  }

  .studios__display-accent {
    color: var(--blue) !important;
    opacity: 1 !important;
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .studios__lead {
    margin: 0 0 1.25rem;
    color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    max-width: 16ch;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  }

  .studios__copy {
    margin: 0 0 1.75rem;
    max-width: 30ch;
  }

  .studios__copy p {
    margin: 0 0 0.9rem;
    color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(1.2rem, 4.8vw, 1.35rem);
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  }

  .studios__copy p:last-child {
    margin-bottom: 0;
  }

  .studios__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin: 0 0 1.15rem;
  }

  .studios__actions .btn {
    width: 100%;
    justify-content: center;
    height: 54px;
    font-size: 17px;
  }

  .studios__phone {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  }

  .studios__phone:hover {
    color: var(--blue);
  }

  @media (min-width: 600px) and (max-width: 1024px) {
    .studios__mobile-inner {
      width: min(100%, 520px);
    }

    .studios__copy {
      max-width: 40ch;
    }

    .studios__actions {
      flex-direction: row;
      max-width: 480px;
    }

    .studios__actions .btn {
      width: auto;
      flex: 1 1 0;
      font-size: 15px;
      padding-inline: 14px;
    }
  }

  .process-step.is-active .process-step__body {
    margin-left: 19px;
  }

  .testimonial-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .testimonial-portrait {
    height: min(52vw, 420px);
    min-height: 320px;
  }

  .testimonial-panel {
    height: min(58vw, 480px);
    min-height: 360px;
  }

  .footer-top {
    grid-template-columns: minmax(140px, 0.7fr) 1fr 1fr;
  }

  .section-label {
    font-size: 18px;
  }
}

/* Compact desktop / large tablet: keep nav readable */
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner .nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 14px;
  }

  .header-cta {
    height: 38px;
    padding: 4px 14px;
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }
}

/* Mobile — abandon absolute hero stage */
@media (max-width: 900px) {
  .section-heading,
  .about .section-heading,
  .selected-work .section-heading,
  .selected-work .section-sub,
  .services .section-heading,
  .services .section-sub,
  .service-row__title,
  .service-row__desc,
  .work-grid .section-heading,
  .industries .section-heading,
  .testimonials .section-heading,
  .strategy .section-heading {
    white-space: normal;
    max-width: none;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.92);
  }

  body.is-nav-open .site-header {
    z-index: 220;
  }

  .site-header.is-header-hidden {
    top: calc(-1 * var(--header-h) - 12px);
  }

  /* Mobile header: centered logo + hamburger right (no CTA) */
  .header-inner {
    gap: 12px;
    justify-content: center;
    position: relative;
  }

  .header-cta {
    display: none !important;
  }

  .logo--header,
  html.js-gsap .logo--header {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    order: 0;
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    letter-spacing: -0.04em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Fallback when GSAP off: show centered logo */
  html:not(.js-gsap) .logo--header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html.js-gsap .site-header.is-brand-docked .logo--header,
  html.js-gsap body.is-nav-open .logo--header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    order: 3;
    z-index: 2;
    border: none;
    gap: 7px;
  }

  /* Two-line hamburger like the ref */
  .nav-toggle span:nth-child(2) {
    display: none;
  }

  .nav-toggle span {
    width: 22px;
  }

  .header-inner .nav,
  .site-header.is-brand-docked .header-inner .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    width: 100%;
    min-height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    transform: translateY(-110%);
    margin-left: 0;
    background: #000;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px 24px 40px;
    gap: 0;
    border-bottom: none;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    z-index: 1;
  }

  .nav.is-open,
  .site-header.is-brand-docked .header-inner .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open .hero-brand,
  body.is-nav-open .hero-brand.is-morphing {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
    text-decoration: none;
  }

  .nav-link::after {
    display: none;
  }

  /* —— Mobile hero = reference layout —— */
  .hero-desktop,
  .hero-copy--desktop {
    display: none !important;
  }

  .hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    width: max-content;
    max-width: calc(100% - 8px);
    margin: 0 auto;
    padding: 0;
  }

  .hero-copy--mobile {
    display: block;
  }

  .hero-mobile-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .hero-mobile-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--white);
    text-decoration: none;
    line-height: 1.2;
  }

  .hero {
    padding: 0;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .hero-stage {
    aspect-ratio: auto;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 4px) 22px 32px;
    max-width: none;
    flex: 1;
    box-sizing: border-box;
  }

  /* Full-width centered wordmark — fit-content so GSAP morph measures center */
  .hero-brand:not(.is-morphing) {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  .hero-brand {
    display: block;
    width: fit-content;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(3.1rem, 16vw, 5.25rem);
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.065em;
    word-break: normal;
    z-index: 2;
  }

  .hero-brand.is-morphing {
    white-space: nowrap;
    word-break: normal;
    transform-origin: top center !important;
  }

  /*
   * Ref spacing:
   * logo (top) → large empty band → headline cluster → clear gap → copy → bottom links
   */
  .hero-mobile {
    margin-top: clamp(6.5rem, 22vh, 11.5rem);
  }

  .hero-mobile__line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0.01em;
    color: var(--white);
    text-transform: uppercase;
  }

  .hero-mobile__line--1 {
    gap: 0.65rem;
  }

  .hero-mobile__star {
    width: clamp(1.85rem, 8vw, 2.55rem);
    height: clamp(1.85rem, 8vw, 2.55rem);
    flex-shrink: 0;
    object-fit: contain;
  }

  .hero-mobile__line--2,
  .hero-mobile__line--3 {
    margin-left: 40px;
  }

  .hero-mobile__line--3 {
    margin-top: 0.2rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .hero-mobile__seen {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.15rem;
    transform-origin: center;
    will-change: transform;
  }

  .hero-mobile__seen .seen-handle {
    width: 10px;
    height: 10px;
  }

  .hero-mobile__seen .seen-handle.tl { top: -5px; left: -5px; }
  .hero-mobile__seen .seen-handle.tr { top: -5px; right: -5px; }
  .hero-mobile__seen .seen-handle.bl { bottom: -5px; left: -5px; }
  .hero-mobile__seen .seen-handle.br { bottom: -5px; right: -5px; }

  .hero-mobile__badge {
    display: inline-block;
    padding: 0.08em 0.32em 0.12em;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-script), Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2.45rem, 12.5vw, 3.5rem);
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 2px;
    transform-origin: center;
    will-change: transform, background-color, opacity;
  }

  /* CSS fallback when GSAP is off */
  html:not(.js-gsap) .hero-mobile__seen {
    transform: rotate(-16deg);
  }

  html:not(.js-gsap) .hero-mobile__badge {
    animation: seen-box-in 0.85s var(--ease) 0.45s both, seen-color-cycle 6.4s linear 1.4s infinite;
  }

  html:not(.js-gsap) .hero-mobile__seen .seen-handle {
    animation: seen-handle-in 0.35s var(--ease) 0.9s both;
  }

  .hero-copy,
  .hero-copy--mobile {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: auto;
    max-width: 32ch;
    margin: clamp(2.75rem, 7.5vh, 4.75rem) auto 0;
    padding-top: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: center;
    align-self: center;
    color: rgba(255, 255, 255, 0.92);
  }

  .hero-actions {
    display: none !important;
  }

  .project-block {
    position: relative;
    top: auto;
  }

  .project-stack {
    gap: 24px;
  }

  .project-feature {
    border-radius: 18px;
  }

  .project-feature__overlay {
    gap: 10px;
    padding: 18px 16px 20px;
    justify-content: flex-end;
    background:
      linear-gradient(
        to top,
        #000 0%,
        rgba(0, 0, 0, 0.96) 18%,
        rgba(0, 0, 0, 0.88) 40%,
        rgba(0, 0, 0, 0.55) 62%,
        rgba(0, 0, 0, 0.22) 82%,
        rgba(0, 0, 0, 0.1) 100%
      );
  }

  .project-feature__top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 3;
  }

  .project-feature__author {
    display: none;
  }

  .tag-list {
    gap: 8px;
  }

  .tag-list li {
    padding: 8px 12px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.55);
  }

  .project-feature__title {
    white-space: normal;
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  }

  .project-feature__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .project-feature__desc {
    white-space: normal;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
  }

  .project-feature__overlay .btn {
    height: 46px;
    padding: 6px 18px;
    font-size: 15px;
  }

  .project-feature__img {
    aspect-ratio: 3 / 4;
    min-height: 420px;
    max-height: none;
    object-position: center 30%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .about-content {
    height: auto;
    max-width: none;
  }

  .service-row__lists {
    grid-template-columns: 1fr;
  }

  .service-row__visual img {
    width: 120px;
    height: 80px;
  }

  .industry-row {
    flex-direction: column;
    gap: 16px;
  }

  .industry-card,
  .industry-card--lg,
  .industry-card--sm {
    flex: 1 1 auto;
    width: 100%;
    min-height: 280px;
  }

  .industry-card__title {
    left: 20px;
    bottom: 20px;
    font-size: 1.5rem;
  }

  .project-card__badge {
    width: min(44%, 168px);
    max-width: 168px;
    padding: 6px;
    border-radius: 10px;
  }

  .project-card__badge img {
    margin-bottom: 6px;
    border-radius: 6px;
  }

  .project-card__badge span {
    font-size: 1rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "main"
      "form";
    gap: 28px;
  }

  .footer-nav {
    gap: 10px 18px;
    font-size: 14px;
    margin-bottom: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo {
    min-height: 0;
    align-self: start;
  }

  .footer-logo img {
    height: auto;
    width: min(220px, 55vw);
    max-height: 120px;
  }

  .footer-mid {
    grid-template-columns: 1fr;
  }

  .footer-mid__cta {
    justify-self: start;
  }

  .footer-contact-line--address {
    max-width: none;
  }

  .footer-watermark {
    margin-top: 40px;
  }

  .section-label {
    font-size: 16px;
  }

  .logo-chip {
    width: clamp(110px, 36vw, 160px);
  }

  .filter-pills {
    max-width: 100%;
  }

  .filter-pill {
    max-width: 100%;
    height: auto;
    min-height: 40px;
    padding: 10px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .logo-strip {
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  }

  .testimonial-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .testimonial-portrait {
    height: min(70vw, 380px);
    min-height: 260px;
  }

  .testimonial-panel {
    height: auto;
    min-height: 320px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    display: none;
  }
}
