:root {
  --clr-primary-a0: #20a8a8;
  --clr-primary-a10: #46b1b0;
  --clr-primary-a20: #60bab9;
  --clr-primary-a30: #77c2c2;
  --clr-primary-a40: #8ccbca;
  --clr-primary-a50: #a0d4d3;
  --clr-surface-a0: #121212;
  --clr-surface-a10: #252525;
  --clr-surface-a20: #393939;
  --clr-surface-a30: #4f4f4f;
  --clr-surface-a40: #666666;
  --clr-surface-a50: #7d7d7d;
  --clr-surface-tonal-a0: #171f1f;
  --clr-surface-tonal-a10: #2a3232;
  --clr-surface-tonal-a20: #3e4545;
  --clr-surface-tonal-a30: #545a5a;
  --clr-surface-tonal-a40: #6a7070;
  --clr-surface-tonal-a50: #818686;
  --clr-success-a0: #22946e;
  --clr-success-a10: #5ba989;
  --clr-success-a20: #86bfa6;
  --clr-warning-a0: #a87a2a;
  --clr-warning-a10: #ba945a;
  --clr-warning-a20: #cbae84;
  --clr-danger-a0: #9c2121;
  --clr-danger-a10: #b4544c;
  --clr-danger-a20: #ca7f77;
  --clr-info-a0: #21498a;
  --clr-info-a10: #4b6ca2;
  --clr-info-a20: #7590ba;
  --dark: #080808;
  --ink: #161616;
  --gray: #d9d9d9;
  --pad: 25px;
  --display-size: 115.2px;
  --display-leading: 0.96;
  --muted: rgba(22, 22, 22, 0.52);
  --soft: #f2f2f0;
  --line: rgba(0, 0, 0, 0.08);
  --bg: #f6f4f1;
  --bg-elevated: rgba(255, 255, 255, 0.86);
  --bg-panel: #ece9e2;
  --hero-start: #003f4f;
  --hero-end: #edf1f1;
  --text-strong: #161616;
  --text-body: rgba(22, 22, 22, 0.72);
  --text-muted: rgba(22, 22, 22, 0.52);
  --text-inverse: #f7f8f8;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --placeholder-base: #bcbcbc;
  --placeholder-dark: #686868;
  --radius: 10px;
  --tracking-body: 0;
  --tracking-heading: -0.02em;
  --tracking-display: -0.035em;
  --tracking-label: 0.12em;
}

body.dark-theme {
  --dark: var(--clr-surface-a0);
  --ink: #eef5f5;
  --muted: rgba(238, 245, 245, 0.58);
  --soft: var(--clr-surface-a10);
  --line: rgba(160, 212, 211, 0.14);
  --bg: var(--clr-surface-a0);
  --bg-elevated: rgba(23, 31, 31, 0.84);
  --bg-panel: var(--clr-surface-tonal-a10);
  --hero-start: var(--clr-surface-a0);
  --hero-end: var(--clr-surface-tonal-a20);
  --text-strong: #eef5f5;
  --text-body: rgba(238, 245, 245, 0.78);
  --text-muted: rgba(238, 245, 245, 0.58);
  --text-inverse: #f7f8f8;
  --border-subtle: rgba(160, 212, 211, 0.16);
  --placeholder-base: var(--clr-surface-a30);
  --placeholder-dark: var(--clr-surface-a20);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #090706;
  color: var(--text-strong);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: var(--tracking-body);
  transition: color 220ms ease;
}

main {
  position: relative;
  z-index: 2;
  margin-bottom: 100svh;
  background:
    radial-gradient(circle at top, rgba(32, 168, 168, 0.08), transparent 28%),
    var(--bg);
  transition: background-color 220ms ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

.loader {
  z-index: 100;
  display: none;
  color: #fff;
  width: 100%;
  height: 100dvh;
  position: fixed;
  inset: 0 0 auto;
}

.loader__bg {
  background-color: #0a0a0a;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.loader__container {
  z-index: 2;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.loader__bg-bar {
  z-index: 1;
  transform-origin: 0%;
  transform-style: preserve-3d;
  background-color: #fff;
  width: 100%;
  height: 0.5em;
  position: absolute;
  inset: auto 0 0;
  transform: scale3d(0, 1, 1);
}

.loader__logo-wrap {
  justify-content: center;
  align-items: center;
  width: min(76vw, 24rem);
  height: 3em;
  display: flex;
  position: relative;
}

.loader__logo-item {
  width: 100%;
  position: absolute;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: 0.86;
  text-align: center;
  white-space: nowrap;
}

.loader__logo-item.is--base {
  opacity: 0.2;
}

.loader__logo-item.is--top {
  -webkit-clip-path: inset(0% 100% 0% 0%);
  clip-path: inset(0% 100% 0% 0%);
}

.loader__text-wrap {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 3.5em;
}

.loader__text-el {
  white-space: nowrap;
  margin-bottom: -0.25em;
  padding-bottom: 0.25em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: var(--tracking-label);
  position: absolute;
}

[data-load-reset] {
  opacity: 0;
}

.skip-link {
  position: fixed;
  left: 50%;
  top: 10px;
  z-index: 80;
  transform: translate(-50%, -150%);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 10px 18px;
  color: var(--text-strong);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.dock {
  position: fixed;
  top: 28px;
  bottom: auto;
  left: 50%;
  z-index: 50;
  display: flex;
  gap: 4px;
  overflow: hidden;
  isolation: isolate;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(246, 244, 241, 0.48);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 18px 44px rgba(17, 19, 19, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dock::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12) 46%, rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.8), transparent 28%);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.dock::after {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

body.dark-theme .dock {
  background: rgba(23, 31, 31, 0.48);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 20px 46px rgba(0, 0, 0, 0.34);
}

body.dark-theme .dock::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 48%, rgba(160, 212, 211, 0.14)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.2), transparent 28%);
  opacity: 1;
}

body.footer-visible .dock {
  opacity: 0;
  pointer-events: none;
}

.dock-menu {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.32);
  color: var(--text-strong);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  transition: background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.46);
}

.menu-toggle:active {
  transform: scale(0.96);
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius);
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -6px;
}

.menu-toggle-bars::after {
  top: 6px;
}

.dock.mobile-open .menu-toggle-bars {
  transform: rotate(45deg);
}

.dock.mobile-open .menu-toggle-bars::before {
  opacity: 0;
}

.dock.mobile-open .menu-toggle-bars::after {
  transform: translateY(-6px) rotate(-90deg);
}

.dock-link {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 12px;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, padding-left 180ms ease, transform 180ms ease;
}

.dock-link::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px rgba(32, 168, 168, 0.42);
  content: "";
  opacity: 0;
  transform: translate3d(-5px, -50%, 0) scale(0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dock-link:hover,
.dock-link.active {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.dock-link.active {
  padding-left: 28px;
}

.dock-link.active::before {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 42px;
  height: 42px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--text-strong);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
}

.theme-toggle-label {
  display: none;
}

.theme-toggle-icon-sun {
  display: none;
}

body.dark-theme .theme-toggle-icon-sun {
  display: block;
}

body.dark-theme .theme-toggle-icon-moon {
  display: none;
}

body.dark-theme .dock-link {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme .dock-link:hover,
body.dark-theme .dock-link.active {
  background: rgba(160, 212, 211, 0.14);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .theme-toggle:hover {
  background: rgba(160, 212, 211, 0.14);
}

body.dark-theme .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .menu-toggle:hover {
  background: rgba(160, 212, 211, 0.14);
}

.section {
  width: min(100% - 32px, 1672px);
  margin: 0 auto;
  padding: 100px 0;
}

.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: var(--hero-end);
  background: -webkit-linear-gradient(to left, var(--hero-start), var(--hero-end));
  background: linear-gradient(to left, var(--hero-start), var(--hero-end));
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.05) 32%, rgba(18, 18, 18, 0.3)),
    radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.22));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  height: 85vh;
  width: min(100% - 32px, 1672px);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.hero-center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 4vw, 54px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-center-mark-image {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.logo,
.wordmark {
  width: 100px;
  height: auto;
}

.wordmark {
  width: auto;
  color: var(--text-inverse);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
}

.hero-kicker {
  text-align: right;
  color: var(--text-inverse);
}

.hero-kicker p {
  margin: 0;
}

.hero-kicker p + p {
  margin-top: -2px;
  color: rgba(247, 248, 248, 0.6);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--hero-end);
  background: -webkit-linear-gradient(to left, var(--hero-start), var(--hero-end));
  background: linear-gradient(to left, var(--hero-start), var(--hero-end));
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-image,
.case-image,
.case-modal-support-image {
  transform-origin: center center;
  will-change: transform;
}

.intro {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-weight: 400;
}

h1,
.work h2,
.services h2,
.about > h2 {
  max-width: 960px;
  color: var(--muted);
  font-size: clamp(1.65rem, 2.2vw, 3rem);
  font-weight: 400;
  letter-spacing: var(--tracking-heading);
  line-height: 1.08;
  text-wrap: balance;
}

h1 span,
.work h2 span,
.services h2 span,
.about > h2 span {
  color: var(--text-strong);
}

.logo-marquee {
  margin-top: 72px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: marquee 26s linear infinite;
}

.logo-track figure {
  display: grid;
  width: 256px;
  height: 160px;
  margin: 0;
  place-items: center;
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 24px;
  color: var(--text-body);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.05;
}

.logo-track img {
  width: 72%;
  max-height: 56%;
  object-fit: contain;
}

body.dark-theme .logo-track img {
  filter: invert(1) brightness(1.2);
}

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

@keyframes dotmPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.72);
  }

  45% {
    opacity: 0.92;
    transform: scale(1);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 44px 8px;
  margin-top: 60px;
}

.case {
  display: block;
  cursor: pointer;
}

.case-image-frame {
  display: grid;
  height: clamp(280px, 30vw, 520px);
  place-items: center;
  border-radius: var(--radius);
  background: var(--soft);
  overflow: hidden;
}

.case:focus-visible {
  outline: 2px solid var(--clr-primary-a0);
  outline-offset: 6px;
}

.case-top {
  grid-column: span 3;
}

.case-bottom {
  grid-column: span 2;
}

.case img {
  --case-focal-x: 50%;
  --case-focal-y: 50%;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: var(--case-focal-x) var(--case-focal-y);
}

.case-image {
  aspect-ratio: 4 / 3;
}

.case-image-foster {
  object-fit: contain;
  object-position: center;
  background: #0713bf;
}

.case-image-verizon {
  --case-focal-x: 56%;
  --case-focal-y: 48%;
  aspect-ratio: 3 / 2;
}

.case-image-guardian {
  --case-focal-x: 52%;
  --case-focal-y: 42%;
  aspect-ratio: 3 / 2;
}

.case-image-rtk {
  --case-focal-x: 42%;
  --case-focal-y: 50%;
  aspect-ratio: 560 / 440;
}

.case-image-kapa-haka {
  --case-focal-x: 44%;
  --case-focal-y: 48%;
}

.media-placeholder {
  width: 100%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    var(--placeholder-base);
}

.media-wide {
  aspect-ratio: 1.6 / 1;
}

.media-tall {
  aspect-ratio: 1 / 1.12;
}

.case:hover .case-image-frame,
.case:hover img {
  border-radius: var(--radius);
}

.case > div:not(.case-image-frame) {
  display: grid;
  gap: 3px;
  padding-top: 14px;
}

.case strong {
  font-size: 1.15rem;
  font-weight: 400;
}

.case span {
  color: var(--text-muted);
  text-wrap: pretty;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.case-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.case-modal-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: var(--bg);
  color: var(--text-strong);
  transform: translateY(100%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-modal.is-open .case-modal-panel {
  transform: translateY(0);
}

.case-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 244, 241, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 180ms ease, transform 180ms ease;
}

.case-modal-close:hover,
.case-modal-close:focus-visible {
  background: #fff;
  outline: 2px solid var(--clr-primary-a0);
  outline-offset: 3px;
  transform: scale(1.04);
}

.case-modal-scroll {
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 72px;
  touch-action: pan-y;
}

.case-modal-hero {
  display: block;
  transform: none !important;
  will-change: auto;
  width: 100vw;
  max-width: none;
  height: 90vh;
  min-height: 90vh;
  max-height: 90vh;
  margin-left: calc(50% - 50vw);
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.case-modal-copy,
.case-modal-image-grid,
.case-modal-next {
  width: min(100% - 32px, 1672px);
  margin-right: auto;
  margin-left: auto;
}

.case-modal-copy {
  display: grid;
  gap: 14px;
  padding: 72px 0 56px;
}

.case-modal-copy h2 {
  max-width: 960px;
  font-size: clamp(2.4rem, 6vw, 7rem);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 0.96;
}

.case-modal-copy span {
  max-width: 760px;
  color: var(--text-muted);
  font-size: clamp(1.2rem, 1.6vw, 1.9rem);
  line-height: 1.18;
}

.case-modal-paragraphs {
  display: grid;
  max-width: 860px;
  gap: 18px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  line-height: 1.55;
}

.case-modal-link {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: opacity 180ms ease;
}

.case-modal-link:hover {
  opacity: 0.7;
}

.case-modal-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.case-modal-image-slot {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--placeholder-base);
}

.case-modal-image-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    var(--placeholder-base);
}

.case-modal-support-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg-panel);
}

.case-modal-next {
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
  font-size: clamp(1.9rem, 4vw, 4.8rem);
  line-height: 1;
  text-align: left;
  transition: color 180ms ease;
}

.case-modal-next:hover,
.case-modal-next:focus-visible {
  color: var(--clr-primary-a0);
  outline: 0;
}

.case-modal-next svg {
  flex: 0 0 auto;
  width: clamp(34px, 4vw, 64px);
  height: clamp(34px, 4vw, 64px);
  transition: transform 180ms ease;
}

.case-modal-next:hover svg,
.case-modal-next:focus-visible svg {
  transform: translate(5px, -5px);
}

body.case-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.services {
  display: grid;
  gap: 60px;
}

.section-label {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  border-bottom: 1px solid var(--line);
}

.service-list button {
  width: 100%;
  background: transparent;
  padding: 32px 0;
  color: var(--text-strong);
  text-align: left;
  font-size: clamp(2rem, 5vw, 5.8rem);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  cursor: pointer;
}

.service-copy {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 28px;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    padding 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-list article.open .service-copy {
  max-height: 320px;
  padding: 0 0 34px;
  opacity: 1;
  transform: translateY(0);
}

.service-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 9px 13px;
  color: var(--text-strong);
}

.large-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.large-stats article {
  min-height: clamp(220px, 26vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: clamp(18px, 2vw, 28px);
  color: var(--text-strong);
}

.large-stats strong {
  font-size: clamp(4.5rem, 12vw, 13rem);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 0.82;
}

.large-stats span {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.2;
}

.testimonial-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 0;
}

.testimonial-duo-card {
  display: flex;
  min-height: clamp(360px, 32vw, 520px);
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: clamp(24px, 3.2vw, 56px);
  color: var(--text-strong);
}

.testimonial-duo-company {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  text-transform: uppercase;
}

.testimonial-duo-card blockquote {
  max-width: 760px;
  margin: 64px 0;
  color: var(--text-strong);
  font-size: clamp(1.75rem, 2.8vw, 4rem);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  text-wrap: balance;
}

.testimonial-duo-person {
  display: grid;
  gap: 4px;
}

.testimonial-duo-person span {
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.1;
}

.testimonial-duo-person small {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.2;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 48px;
}

.stat-card {
  min-height: 330px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: clamp(18px, 2vw, 28px);
}

.tilted-card {
  position: relative;
  perspective: 900px;
  transform-style: preserve-3d;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 1;
}

.tilted-card:hover {
  z-index: 2;
}

.current-job-card {
  z-index: 4;
}

.current-job-card:hover {
  z-index: 5;
}

.current-job-icon {
  display: grid;
  width: 1.45em;
  height: 1.45em;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.17em;
  align-items: center;
  margin-top: 0;
  color: rgba(247, 248, 248, 0.66);
  line-height: 1.45;
}

.current-job-icon span {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: currentColor;
  opacity: 0.36;
  animation: dotmPulse 1.6s ease-in-out infinite;
}

.current-job-icon span:nth-child(2n) {
  animation-delay: 120ms;
}

.current-job-icon span:nth-child(3n) {
  animation-delay: 240ms;
}

.current-job-icon span:nth-child(5n) {
  animation-delay: 360ms;
}

.current-job-icon span:nth-child(7n) {
  animation-delay: 480ms;
}

.stat-card.tilted-card,
.stat-card.dark.tilted-card {
  background: transparent;
  box-shadow: none;
}

.tilted-card-inner {
  position: relative;
  min-height: 330px;
  border-radius: inherit;
  padding: clamp(18px, 2vw, 28px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease;
  backface-visibility: hidden;
  transform-origin: center center;
}

.tilted-card p,
.tilted-card h3 {
  transform: none;
}

.tilted-card .tilted-card-inner {
  background: var(--bg-panel);
  color: inherit;
  box-shadow: none;
}

.tilted-card.dark .tilted-card-inner {
  background: var(--clr-surface-tonal-a0);
  color: var(--text-inverse);
  box-shadow: inset 0 0 0 1px rgba(160, 212, 211, 0.1);
}

.stat-card h3 {
  max-width: 100%;
  margin-top: 18px;
  font-size: clamp(2rem, 2.8vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  overflow-wrap: anywhere;
}

.stat-card p {
  margin-top: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.stat-card.dark {
  background: var(--clr-surface-tonal-a0);
  color: var(--text-inverse);
  box-shadow: inset 0 0 0 1px rgba(160, 212, 211, 0.1);
}

.stat-card.dark p {
  color: rgba(247, 248, 248, 0.66);
}

.experience-link {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: currentColor;
  opacity: 0.62;
  transition: opacity 180ms ease, transform 180ms ease;
}

.experience-link:hover {
  opacity: 1;
  transform: translate(2px, -2px);
}

.experience-link svg {
  width: 18px;
  height: 18px;
}

.headshots {
  display: flex;
  margin-top: 42px;
}

.headshots img {
  width: 58px;
  height: 58px;
  margin-right: -12px;
  border: 3px solid var(--soft);
  border-radius: var(--radius);
  object-fit: contain;
}

.site-footer {
  --ink: #161616;
  --gray: #d9d9d9;
  position: fixed;
  inset: auto 0 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--gray);
  color: var(--ink);
}

.footer-links {
  position: absolute;
  left: var(--pad);
  top: 25px;
  display: grid;
  gap: 20px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: var(--display-size);
  font-weight: 400;
  line-height: var(--display-leading);
}

.footer-contact,
.footer-socials,
.footer-copyright {
  position: absolute;
  right: var(--pad);
  margin: 0;
  text-align: right;
  font-size: 25.2px;
  font-style: normal;
  line-height: 1.5;
}

.footer-contact {
  top: 45.2%;
  display: grid;
}

.footer-socials {
  top: 58.75%;
  display: grid;
}

.footer-copyright {
  top: 68.75%;
}

.footer-name {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 5px;
  max-width: calc(100vw - (var(--pad) * 2));
  margin: 0;
  font-size: clamp(58px, 13.55vw, 292px);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 0.84;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 900px) {
  :root {
    --display-size: 52px;
    --pad: 16px;
  }

  .section {
    padding: 100px 0;
  }

  .hero,
  .hero-inner {
    min-height: 76vh;
    height: 76vh;
  }

  .case-grid,
  .about-grid,
  .large-stats,
  .testimonials,
  .testimonial-duo {
    grid-template-columns: 1fr;
  }

  .case-top,
  .case-bottom {
    grid-column: auto;
  }

  .case-image-frame {
    height: clamp(240px, 64vw, 360px);
  }

  .case img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .service-copy {
    grid-template-columns: 1fr;
  }

  .service-list article.open .service-copy {
    max-height: 520px;
  }

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

  .case-modal-image-slot {
    min-height: 320px;
  }

  .case-modal-copy {
    padding: 52px 0 42px;
  }

  .site-footer {
    display: flex;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: 100svh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(20px, 5svh, 40px) var(--pad);
  }

  .footer-links,
  .footer-contact,
  .footer-socials,
  .footer-copyright,
  .footer-name {
    position: static;
  }

  .footer-links {
    gap: 2px;
  }

  .footer-links a {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 0.96;
  }

  .footer-contact,
  .footer-socials,
  .footer-copyright {
    text-align: right;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.35;
  }

  .footer-name {
    align-self: stretch;
    max-width: 100%;
    font-size: clamp(40px, 14vw, 58px);
    line-height: 0.9;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .case-modal-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transform: none !important;
    will-change: auto;
  }

  .hero-center-mark {
    top: max(72px, env(safe-area-inset-top));
    width: 28px;
    transform: translateX(-50%);
  }

  .hero-inner {
    align-items: center;
    padding-top: 0;
  }

  .hero-kicker {
    font-size: 0.8rem;
  }

  .dock {
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
    transform: none;
    isolation: auto;
  }

  .dock::before,
  .dock::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .dock-menu {
    position: absolute;
    top: 56px;
    right: 0;
    width: min(220px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius);
    background: #ede8e0;
    box-shadow: 0 18px 40px rgba(17, 19, 19, 0.14);
    border: 1px solid rgba(22, 22, 22, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.dark-theme .dock-menu {
    background: #1c2222;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  }

  .dock.mobile-open .dock-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .dock-link {
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 0.9rem;
    text-align: left;
  }

  .dock-link::before {
    display: none;
  }

  .theme-toggle {
    width: 100%;
    height: 44px;
    margin-left: 0;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: var(--radius);
  }

  .theme-toggle-label {
    display: inline-block;
    font-size: 0.9rem;
  }

  .logo-track figure {
    width: 210px;
    height: 132px;
  }

  .case-modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .case-modal-scroll {
    padding-bottom: 48px;
  }

  .case-modal-copy,
  .case-modal-image-grid,
  .case-modal-next {
    width: calc(100% - 24px);
  }

  .case-modal-next {
    min-height: 104px;
    margin-top: 44px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .logo-track,
  .current-job-icon span {
    animation: none;
  }

  .service-copy,
  .reveal {
    transition: none;
  }

  .case-modal-panel {
    transition: none;
  }

  .tilted-card-inner {
    transition: none;
  }
}
