@font-face {
  font-family: "Audiowide";
  src: url("fonts/audiowide-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0a1720;
  --red: #d2232a;
  --logo-hover-color: #3d3700;
  --navigation-background: linear-gradient(to bottom, #000000 0%, var(--logo-hover-color) 25%, var(--logo-hover-color) 100%);
  --grid-size: 44px;
  --white: #ffffff;
  --soft: #f5f7f8;
  --line: rgba(10, 23, 32, 0.16);
  --muted: #5d6970;
  --max: 74rem;
  --heading-font: "Audiowide", Arial, Helvetica, sans-serif;
  --brand-top: clamp(1rem, 2vw, 1.75rem);
  --brand-size: clamp(4.5rem, 8vw, 6rem);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  --hero-contrast-share: 0;
  --hero-foreground: color-mix(in srgb, #ffffff, #0f1a23 calc(var(--hero-contrast-share) * 100%));
  --hero-muted: color-mix(in srgb, #b9c3ca, #0f1a23 calc(var(--hero-contrast-share) * 100%));
  --hero-control-surface: color-mix(in srgb, rgba(16, 27, 35, 0.92), #ffffff calc(var(--hero-contrast-share) * 100%));
  --hero-card-surface: color-mix(in srgb, rgba(9, 15, 20, 0.78), #ffffff calc(var(--hero-contrast-share) * 100%));
  --hero-hover-surface: color-mix(in srgb, #24323c, #eef2f4 calc(var(--hero-contrast-share) * 100%));
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.video-open {
  overflow: hidden;
}

.advanced-nav__intro h1,
.hero__quote,
.video-carousel__heading,
.white-band h2,
.service-item h3,
.advanced-nav__links a {
  font-family: var(--heading-font);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border: 2px solid var(--red);
  font-weight: 700;
}

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

.site-shell {
  --header-light-share: calc(var(--hero-contrast-share) * var(--hero-header-coverage, 1));
  --header-foreground: color-mix(in srgb, #ffffff, #0f1a23 calc(var(--header-light-share) * 100%));
  display: grid;
  justify-items: center;
  position: fixed;
  top: var(--brand-top);
  left: 50%;
  z-index: 120;
  transform: translateX(-50%);
}

.nav-open .site-shell {
  --header-light-share: 0;
}

.brand-button {
  display: grid;
  width: var(--brand-size);
  aspect-ratio: 1;
  padding: 0.45rem;
  place-items: center;
  background: color-mix(in srgb, rgba(10, 23, 32, 0.88), #ffffff calc(var(--header-light-share) * 100%));
  border: 0;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.brand-button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

.menu-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-arrow__triangle {
  display: block;
  width: 22px;
  height: 12px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: none;
  opacity: 1;
  scale: 1;
  transition: scale 180ms ease-out, background-color 180ms ease-out;
  animation: menu-arrow-pulse 0.8s ease-in-out infinite;
}

@media (hover: hover) {
  .menu-arrow:hover .menu-arrow__triangle {
    scale: 1.35;
    background: var(--red);
  }
}

.menu-arrow:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.menu-arrow--open {
  margin-top: 0.25rem;
}

.menu-arrow--open .menu-arrow__triangle {
  background: color-mix(in srgb, #0f1a23, var(--header-foreground) calc(var(--arrow-invert, 1) * 100%));
  filter: none;
}

.nav-open .menu-arrow--open {
  visibility: hidden;
  pointer-events: none;
}

.menu-arrow--close .menu-arrow__triangle {
  transform: rotate(180deg);
}

@keyframes menu-arrow-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.logo-frame {
  --frame-rest: -0.3rem;
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 0.3rem solid transparent;
  background-color: transparent;
  background-clip: padding-box;
  transition: background-color 160ms ease-out;
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: var(--frame-rest);
  border: 0.3rem solid var(--header-foreground);
  pointer-events: none;
}

.logo-mark {
  width: 66%;
  height: 66%;
  scale: 1;
  transform-origin: center;
  transition: scale 180ms ease-out;
  animation: logo-breathe 2.65s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .brand-button:hover .logo-frame {
    background-color: var(--logo-hover-color);
  }

  .brand-button:hover .logo-mark {
    scale: 0.78;
  }
}

.brand-button.is-clicked .logo-mark {
  scale: 1.24;
}

.mark-light {
  fill: var(--header-foreground);
}

.mark-red {
  fill: var(--red);
}

.advanced-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: min(78vh, 42rem);
  color: var(--white);
  background: var(--navigation-background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
  transform: translateY(-105%);
  transition: transform 520ms cubic-bezier(.2, .85, .2, 1);
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.advanced-nav[hidden] {
  display: none;
}

.advanced-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: linear-gradient(180deg, black 10%, transparent 100%);
  animation: grid-shift 12s linear infinite;
}

.advanced-nav.is-open {
  transform: translateY(0);
}

.advanced-nav__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  flex: 1 0 auto;
  width: 100%;
  min-height: 0;
  padding-top: clamp(7.5rem, 12vw, 10rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.advanced-nav__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  flex-shrink: 0;
  padding: 0.5rem 0 0.75rem;
  place-items: center;
  background: var(--logo-hover-color);
}

.section-kicker,
.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.advanced-nav__intro .eyebrow {
  color: var(--white);
}

.advanced-nav__links {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.advanced-nav__links a {
  display: flex;
  align-items: center;
  min-height: 4rem;
  color: var(--white);
  font-size: 3.25rem;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-1.25rem);
  opacity: 0;
  transition:
    color 180ms ease,
    transform 520ms cubic-bezier(.2, .85, .2, 1),
    opacity 520ms ease;
}

.advanced-nav.is-open .advanced-nav__links a {
  transform: translateY(0);
  opacity: 1;
}

.advanced-nav.is-open .advanced-nav__links li:nth-child(2) a {
  transition-delay: 70ms;
}

.advanced-nav.is-open .advanced-nav__links li:nth-child(3) a {
  transition-delay: 140ms;
}

.advanced-nav.is-open .advanced-nav__links li:nth-child(4) a {
  transition-delay: 210ms;
}

.advanced-nav.is-open .advanced-nav__links li:nth-child(5) a {
  transition-delay: 280ms;
}

.advanced-nav.is-open .advanced-nav__links li:nth-child(6) a {
  transition-delay: 350ms;
}

.advanced-nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}

.advanced-nav__links a:hover,
.advanced-nav__links a:focus-visible {
  color: var(--red);
}

.advanced-nav__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.advanced-nav__panel span {
  min-width: 8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.globe-backdrop {
  position: fixed;
  top: -7rem;
  right: -9rem;
  z-index: 2;
  width: clamp(18rem, 42vw, 37rem);
  aspect-ratio: 1;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.42;
}

.globe-backdrop svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: color-mix(in srgb, var(--hero-foreground) 13%, transparent);
  stroke-width: 12;
  stroke-linecap: round;
  transform-origin: center;
  animation: globe-turn 18s linear infinite;
}

.hero {
  --white: var(--hero-foreground);
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(210, 35, 42, 0.18), transparent 27rem),
    linear-gradient(135deg, #0a1720 0%, #0f1c25 48%, #071018 100%);
}

.hero__background-shift {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #400000;
  opacity: 0;
  animation: hero-background-shift 4s ease-in-out infinite;
}

.hero-icon-filter {
  position: absolute;
  pointer-events: none;
}

.hero-icon-filter__color {
  flood-color: var(--hero-foreground);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--hero-foreground) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--hero-foreground) 14%, transparent) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  animation: grid-shift 4s linear infinite;
}

.hero::after {
  --red-pulse-size: clamp(18rem, 46vmin, 38rem);
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle closest-side,
    rgba(210, 35, 42, 0.72) 0%,
    rgba(210, 35, 42, 0.48) 28%,
    rgba(210, 35, 42, 0.2) 58%,
    transparent 100%
  ) center / var(--red-pulse-size) var(--red-pulse-size) no-repeat;
  filter: blur(28px);
  opacity: 0.7;
  mix-blend-mode: screen;
  transform-origin: center;
  animation:
    hero-red-drift 8s ease-in-out infinite,
    hero-red-pulse 2s ease-in-out infinite;
}

.hero__grid {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--brand-top) + var(--brand-size) + 3rem);
  padding-bottom: 5.5rem;
}

.hero .social-placeholder img,
.hero .icon-button img,
.hero .video-tile__play img,
.hero .site-search__submit img {
  filter: url("#hero-icon-tint");
}

.hero .icon-button {
  border-color: color-mix(in srgb, var(--hero-foreground) 28%, transparent);
  background: var(--hero-card-surface);
}

.hero .icon-button:hover,
.hero .icon-button:focus-visible {
  border-color: var(--red);
}

.site-top-fade {
  --top-fade-color: #101b23;
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: clamp(8rem, 20vh, 14rem);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--top-fade-color) 0%,
    color-mix(in srgb, var(--top-fade-color) 90%, transparent) 28%,
    color-mix(in srgb, var(--top-fade-color) 45%, transparent) 62%,
    transparent 100%
  );
}

.advanced-nav__intro {
  min-width: 0;
}

.advanced-nav__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.advanced-nav__linkedin {
  flex-shrink: 0;
}

.advanced-nav__intro h1 {
  max-width: 100%;
  margin: 0;
  color: var(--red);
  font-size: 2rem;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.advanced-nav__dek {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero__statement {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  min-width: 0;
}

.hero__quote {
  display: grid;
  grid-row: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0;
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.4;
  text-align: center;
}

.hero__quote-footer {
  grid-row: 2;
  align-self: start;
  width: 100%;
}

.hero__quote-slide {
  grid-area: 1 / 1;
  align-self: center;
  visibility: hidden;
  pointer-events: none;
}

.hero__quote-slide.is-active {
  visibility: visible;
  pointer-events: auto;
}

.hero__quote-slide.is-long {
  font-size: 1.75rem;
}

.hero__quote-slide.is-medium {
  font-size: 2rem;
}

.hero__quote-visual {
  display: block;
}

.hero__quote-word {
  display: inline-block;
  white-space: nowrap;
}

.hero__quote-word.is-accent {
  color: var(--red);
}

.hero__quote-letter {
  display: inline-block;
}

.hero__quote.is-preparing .hero__quote-visual {
  opacity: 0;
}

.hero__quote-slide.is-entering .hero__quote-letter {
  animation: letter-fly-in 900ms cubic-bezier(.22, 1, .36, 1) var(--letter-delay) both;
}

.hero__quote-slide.is-leaving .hero__quote-visual {
  animation: quote-fade-out 300ms ease both;
}

.hero__quote.is-paused .hero__quote-letter,
.hero__quote.is-paused .hero__quote-visual {
  animation-play-state: paused;
}

.quote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

.quote-controls[hidden] {
  display: none;
}

.quote-dots {
  display: flex;
}

.quote-dot {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  margin: 0;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quote-dot::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.4;
  transition: background-color 180ms ease, opacity 180ms ease;
}

.quote-dot:hover::before,
.quote-dot:focus-visible::before {
  opacity: 0.85;
}

.quote-dot[aria-current="true"]::before {
  background: var(--red);
  opacity: 1;
}

.quote-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.hero__tools {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-search {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 34rem;
  margin-top: 1.5rem;
  color-scheme: dark;
}

.site-search__form {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--hero-foreground) 35%, transparent);
  border-radius: 4px;
  background: var(--hero-control-surface);
}

.site-search__form:focus-within {
  border-color: color-mix(in srgb, var(--hero-foreground) 75%, transparent);
}

.site-search__form input {
  flex: 1;
  min-width: 0;
  height: 3rem;
  margin: 0;
  padding: 0 0.875rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  box-shadow: none;
}

.site-search__form input::placeholder {
  color: var(--hero-muted);
}

.site-search__form input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-search__submit {
  display: grid;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: var(--red);
  cursor: pointer;
}

.site-search__submit img {
  filter: invert(1);
}

.site-search__submit:hover {
  background: #b61d24;
}

.site-search__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

.site-search__results {
  position: absolute;
  inset: calc(100% + 0.5rem) 0 auto;
  max-height: min(22rem, 45vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid color-mix(in srgb, var(--hero-foreground) 35%, transparent);
  border-radius: 4px;
  background: var(--hero-control-surface);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
}

.site-search__results[hidden] {
  display: none;
}

.site-search__status {
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--hero-muted);
  font-size: 0.875rem;
}

.site-search__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-search__list a {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--hero-foreground) 12%, transparent);
  color: var(--white);
  overflow-wrap: anywhere;
}

.site-search__list a:hover,
.site-search__list a:focus-visible {
  background: var(--hero-hover-surface);
  color: var(--white);
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.site-search__list span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--hero-muted);
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.white-band,
.service-item {
  scroll-margin-top: calc(var(--brand-top) + var(--brand-size) + 3rem);
}

.video-carousel {
  --video-gap: 1rem;
  margin-top: 3.5rem;
  min-width: 0;
}

.video-carousel__heading {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.4;
}

.video-carousel__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.video-carousel.is-ready .video-carousel__rail {
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
}

.video-carousel.is-ready .video-carousel__heading,
.video-carousel.is-ready .video-carousel__viewport,
.video-carousel.is-ready .video-carousel__projects {
  grid-column: 2;
}

.video-carousel__projects {
  display: inline-flex;
  grid-column: 1;
  grid-row: 3;
  justify-self: end;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  max-width: 100%;
  color: var(--hero-foreground);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  transition: color 160ms ease-out;
}

.video-carousel__projects img {
  flex-shrink: 0;
  filter: invert(1);
}

.video-carousel__projects:hover {
  color: var(--red);
}

.video-carousel__projects:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.video-carousel__viewport {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.video-carousel.is-ready .video-carousel__viewport {
  overflow: hidden;
}

.video-carousel__track {
  display: flex;
  margin-left: calc(-1 * var(--video-gap));
  touch-action: pan-y pinch-zoom;
}

.video-carousel__slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  padding-left: var(--video-gap);
}

.video-tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.video-tile__frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--hero-foreground) 22%, transparent);
  border-radius: 4px;
  overflow: hidden;
  background: var(--hero-card-surface);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.video-tile__thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  pointer-events: none;
  transition: transform 220ms ease-out;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .video-tile__frame:hover .video-tile__thumbnail {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .video-tile:focus-visible .video-tile__thumbnail {
    transform: scale(1.08);
  }
}

.video-tile__number {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  color: color-mix(in srgb, var(--hero-foreground) 38%, transparent);
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
}

.video-tile__play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  background: var(--red);
}

.video-tile__thumbnail ~ .video-tile__play {
  background: transparent;
}

.video-tile__play img,
.icon-button img,
.video-modal__status img {
  filter: invert(1);
}

.video-tile__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.5rem;
  margin-top: 0.5rem;
}

.video-tile__title {
  min-width: 0;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

.video-tile__status {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--hero-foreground) 50%, transparent);
  font-family: "Courier New", monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
}

.video-tile:hover .video-tile__frame,
.video-tile:focus-visible .video-tile__frame {
  border-color: var(--red);
  background: var(--hero-hover-surface);
}

.video-tile:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(9, 15, 20, 0.55);
  color: var(--white);
  cursor: pointer;
}

.icon-button[hidden],
.video-modal [hidden] {
  display: none;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--red);
}

.icon-button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.video-carousel__navigation {
  grid-row: 2;
  margin-bottom: 2rem;
}

.social-placeholders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.social-placeholder {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  opacity: 0.75;
  transition: opacity 180ms ease;
}

.social-placeholder:hover {
  opacity: 1;
}

.social-placeholder img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  filter: invert(1);
  scale: 1;
  transition: scale 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (hover: hover) {
  .social-placeholder:hover img {
    scale: 1.2;
  }
}

.social-placeholder.is-bouncing img {
  animation: social-icon-bounce 900ms ease-in-out;
}

@keyframes social-icon-bounce {
  0%, 50%, 100% {
    translate: 0 0;
  }
  25% {
    translate: 0 -5px;
  }
  72% {
    translate: 0 -1.5px;
  }
}

.video-modal {
  width: min(78rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: #0d141a;
  color: var(--white);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.6);
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.video-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  background: #0d141a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.video-modal__header h2 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.video-modal__close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
}

.video-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(16rem, 1fr);
}

.video-modal__stage {
  align-self: start;
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 6rem);
  background: #05080b;
}

.video-modal__details {
  min-width: 0;
  padding: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  overflow-wrap: anywhere;
}

.video-modal__details h3 {
  margin: 0 0 0.75rem;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.video-modal__details p {
  margin: 0;
  color: #b9c3ca;
  font-size: 0.9375rem;
  line-height: 1.65;
  white-space: pre-line;
}

.video-modal__details dl {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.video-modal__details dt {
  color: #b9c3ca;
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.video-modal__details dd {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.video-modal__stage video,
.video-modal__stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.video-modal__status {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1rem;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.video-modal__status p {
  margin: 0;
  font-size: 0.875rem;
}

.white-band {
  position: relative;
  z-index: 4;
  background: var(--white);
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.hero.projects-masthead {
  min-height: 0;
}

.projects-masthead .hero__grid {
  padding-bottom: 2.5rem;
}

.projects-masthead h1 {
  margin: 1rem 0 0;
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.projects-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.projects-home img {
  filter: invert(1);
}

.projects-home:hover {
  color: var(--red);
}

.projects-home:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.projects-gallery {
  padding: 3rem 0;
}

.projects-gallery__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.projects-gallery .projects-gallery__heading {
  min-width: 0;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.35;
  text-transform: none;
  overflow-wrap: anywhere;
}

.project-category-toggle {
  display: grid;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}

.project-category-toggle img {
  display: block;
}

.project-category-toggle:hover {
  border-color: var(--red);
  background: var(--soft);
}

.project-category-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.project-category-toggle[hidden],
.project-category__grid[hidden] {
  display: none;
}

.project-category__grid.is-revealing {
  animation: project-grid-fade-in 260ms ease-out both;
}

@keyframes project-grid-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.projects-grid {
  row-gap: 2rem;
}

.project-item {
  min-width: 0;
}

.projects-grid .video-tile {
  color: var(--ink);
}

.projects-grid .video-tile__frame {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.projects-grid .video-tile__title {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

.projects-grid .video-tile__meta {
  align-items: baseline;
  flex-wrap: wrap;
}

.projects-grid .video-tile__status {
  color: var(--muted);
}

.project-placeholders {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  row-gap: 1.5rem;
  list-style: none;
}

.project-placeholder {
  min-width: 0;
}

.project-placeholder__frame {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.project-placeholder__frame img {
  opacity: 0.35;
}

.project-placeholders--websites .project-placeholder__frame {
  aspect-ratio: 16 / 9;
}

.project-placeholder__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.philosophy {
  overflow: clip;
  border-bottom: 1px solid rgba(10, 23, 32, 0.1);
}

.philosophy.is-pending .philosophy__kicker,
.philosophy.is-pending .philosophy__heading,
.philosophy.is-pending .philosophy__copy {
  opacity: 0;
}

.philosophy.is-pending .philosophy__kicker,
.philosophy.is-pending .philosophy__heading {
  transform: translateX(-3rem);
}

.philosophy.is-pending .philosophy__copy {
  transform: translateX(3rem);
}

.philosophy.is-revealed .philosophy__kicker,
.philosophy.is-revealed .philosophy__heading {
  animation: philosophy-slide-left 850ms cubic-bezier(.22, 1, .36, 1) both;
}

.philosophy.is-revealed .philosophy__copy {
  animation: philosophy-slide-right 850ms cubic-bezier(.22, 1, .36, 1) 100ms both;
}

.white-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.white-band p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.philosophy__copy p + p {
  margin-top: 1.25rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2.4rem;
}

.skills-reveal.is-pending {
  opacity: 0;
}

.skills-reveal.is-revealed {
  animation: skills-fade-in 300ms ease-out both;
}

.skills-reveal.is-pending:focus-within {
  opacity: 1;
}

@keyframes skills-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.service-grid {
  row-gap: 1rem;
}

.service-item {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.service-item article,
.service-item {
  min-width: 0;
}

.service-item {
  display: block;
}

.service-item > * {
  display: block;
}

.service-item > .service-item__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-item__heading h3 {
  flex: 1;
  min-width: 0;
}

.service-item .skill-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

.skill-toggle img {
  display: block;
}

.skill-toggle:hover {
  background: var(--soft);
}

.skill-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.service-item .skill-toggle[hidden],
.service-item p[hidden] {
  display: none;
}

.service-item > .service-item__icon {
  display: inline-grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--ink);
  color: var(--white);
}

.service-item__icon img {
  display: block;
  filter: invert(1);
}

.service-item h3 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-item p {
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.contact-strip {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 0.7rem solid var(--ink);
}

.contact-strip h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 2.5rem;
  text-transform: none;
}

.contact-strip__meta {
  display: grid;
  gap: 0.45rem;
  min-width: max-content;
  text-align: right;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.contact-strip__meta a {
  color: var(--red);
  text-decoration: none;
}

@keyframes philosophy-slide-left {
  from {
    opacity: 0;
    transform: translateX(-3rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes philosophy-slide-right {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes quote-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes letter-fly-in {
  from {
    opacity: 0;
    transform: translate3d(calc(100vw + 2rem), 0.75rem, 0) rotate(8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes globe-turn {
  0% {
    transform: rotateZ(0deg) rotateY(0deg);
  }
  50% {
    transform: rotateZ(180deg) rotateY(180deg);
  }
  100% {
    transform: rotateZ(360deg) rotateY(360deg);
  }
}

@keyframes hero-background-shift {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes grid-shift {
  to {
    background-position: var(--grid-size) var(--grid-size);
  }
}

@keyframes hero-red-drift {
  from {
    translate: var(--red-from-x, 0%) var(--red-from-y, 0%);
  }
  to {
    translate: var(--red-to-x, 0%) var(--red-to-y, 0%);
  }
}

@keyframes hero-red-pulse {
  0%,
  100% {
    scale: 0.85;
  }
  50% {
    scale: 1.3;
  }
}

@media (max-width: 63.9375em) {
  .advanced-nav {
    min-height: min(88vh, 46rem);
  }

  .advanced-nav__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__quote {
    font-size: 2rem;
  }

  .hero__quote-slide.is-long {
    font-size: 1.5rem;
  }

  .hero__quote-slide.is-medium {
    font-size: 1.75rem;
  }

  .video-carousel__slide {
    flex-basis: 50%;
  }

  .white-band h2 {
    font-size: 2.5rem;
  }

  .contact-strip {
    display: grid;
    align-items: start;
  }

  .contact-strip__meta {
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 49.9375em) {
  .video-modal__body {
    grid-template-columns: 1fr;
  }

  .video-modal__details {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 39.9375em) {
  :root {
    --brand-size: 4.4rem;
  }

  .advanced-nav__links a {
    min-height: 3.2rem;
    font-size: 2rem;
  }

  .globe-backdrop {
    top: -4rem;
    right: -11rem;
    width: 24rem;
  }

  .video-carousel {
    --video-gap: 0.75rem;
    margin-top: 2.5rem;
  }

  .video-carousel__rail {
    column-gap: 0.5rem;
  }

  .video-carousel.is-ready .video-carousel__rail {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  }

  .video-carousel__slide {
    flex-basis: 100%;
  }

  .advanced-nav__intro h1 {
    font-size: 1.75rem;
  }

  .hero__quote {
    font-size: 1.75rem;
  }

  .hero__quote-slide.is-long {
    font-size: 1.25rem;
  }

  .hero__quote-slide.is-medium {
    font-size: 1.5rem;
  }

  .white-band h2 {
    font-size: 2rem;
  }

  .philosophy__copy {
    margin-top: 1.25rem;
  }

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

  .service-item__heading h3 {
    margin: 0;
  }

  .service-item p {
    margin-top: 0.75rem;
  }

  .contact-strip h2 {
    font-size: 1.5rem;
  }

  .advanced-nav__dek {
    font-size: 1rem;
  }

}

@media (max-width: 23.4375em) {
  .social-placeholders {
    gap: 0.375rem;
  }

  .social-placeholder {
    width: 2.5rem;
  }

  .advanced-nav__intro h1 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__background-shift,
  .social-placeholder.is-bouncing img,
  .menu-arrow__triangle,
  .hero::before,
  .hero::after,
  .philosophy.is-revealed .philosophy__kicker,
  .philosophy.is-revealed .philosophy__heading,
  .philosophy.is-revealed .philosophy__copy,
  .skills-reveal.is-revealed,
  .project-category__grid.is-revealing,
  .hero__quote-slide.is-entering .hero__quote-letter,
  .hero__quote-slide.is-leaving .hero__quote-visual {
    animation: none;
  }

  .philosophy.is-pending .philosophy__kicker,
  .philosophy.is-pending .philosophy__heading,
  .philosophy.is-pending .philosophy__copy,
  .skills-reveal.is-pending {
    opacity: 1;
    transform: none;
  }

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