.scroll-scrub {
  --ss-progress: 0;
  position: relative;
  isolation: isolate;
  color: var(--ss-ink);
  background: var(--ss-bg);
}

.scroll-scrub__stage {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--ss-bg);
}

.scroll-scrub__media,
.scroll-scrub__layer,
.scroll-scrub__picture,
.scroll-scrub__poster,
.scroll-scrub__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scroll-scrub__media {
  z-index: 0;
}

.scroll-scrub__layer {
  margin: 0;
  overflow: hidden;
  opacity: 0;
  will-change: opacity;
}

.scroll-scrub__layer:first-child {
  opacity: 1;
}

.scroll-scrub__poster,
.scroll-scrub__video {
  display: block;
  object-fit: cover;
  object-position: var(--ss-object-position);
}

.scroll-scrub__poster {
  z-index: 0;
}

.scroll-scrub__video {
  z-index: 1;
}

.scroll-scrub__layer[data-video-painted="true"] .scroll-scrub__poster {
  visibility: hidden;
}

.scroll-scrub__progress {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: color-mix(in srgb, var(--ss-ink) 14%, transparent);
  pointer-events: none;
}

.scroll-scrub__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ss-accent);
  transform: scaleX(var(--ss-progress));
  transform-origin: left center;
}

.scroll-scrub__route {
  position: absolute;
  z-index: 6;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 4vw, 4rem);
  left: clamp(1rem, 4vw, 4rem);
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  pointer-events: auto;
}

.scroll-scrub__route-button {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  color: var(--ss-muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.scroll-scrub__route-button:hover,
.scroll-scrub__route-button[aria-current="step"] {
  color: var(--ss-ink);
}

.scroll-scrub__route-button[aria-current="step"] {
  text-decoration: underline;
  text-decoration-color: var(--ss-accent);
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.3em;
}

.scroll-scrub__route-button:focus-visible {
  outline: 2px solid var(--ss-accent);
  outline-offset: 3px;
}

.scroll-scrub__story {
  position: relative;
  z-index: 3;
  margin-top: -100dvh;
  pointer-events: none;
}

.scroll-scrub__chapter,
.scroll-scrub__connector-band {
  position: relative;
}

.scroll-scrub__chapter-pin {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  pointer-events: none;
}

.scroll-scrub__chapter[data-align="right"] .scroll-scrub__chapter-pin {
  justify-content: flex-end;
}

.scroll-scrub__copy {
  position: relative;
  width: min(40rem, 48vw);
  pointer-events: auto;
}

.scroll-scrub__copy::before {
  position: absolute;
  z-index: -1;
  inset: -3rem -5rem;
  content: "";
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--ss-bg) 88%, transparent) 0%,
    color-mix(in srgb, var(--ss-bg) 58%, transparent) 52%,
    transparent 76%
  );
  pointer-events: none;
}

.scroll-scrub__kicker {
  max-width: 30ch;
  margin: 0 0 1rem;
  color: var(--ss-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-scrub__title {
  max-width: 13ch;
  margin: 0;
  color: var(--ss-ink);
  font: inherit;
  font-size: clamp(2.75rem, 6vw, 6.75rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.scroll-scrub__body {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  color: var(--ss-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.scroll-scrub__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.scroll-scrub__tags li {
  padding: 0.45rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--ss-ink) 20%, transparent);
  color: var(--ss-ink);
  font-size: 0.82rem;
}

.scroll-scrub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .scroll-scrub__poster,
  .scroll-scrub__video {
    object-position: var(--ss-mobile-position);
  }

  .scroll-scrub__route {
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .scroll-scrub__route-button {
    flex: 0 0 auto;
  }

  .scroll-scrub__chapter-pin,
  .scroll-scrub__chapter[data-align="right"] .scroll-scrub__chapter-pin {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 6.5rem max(1.25rem, env(safe-area-inset-right))
      calc(4rem + env(safe-area-inset-bottom))
      max(1.25rem, env(safe-area-inset-left));
  }

  .scroll-scrub__copy {
    width: min(100%, 36rem);
  }

  .scroll-scrub__copy::before {
    inset: -3rem -2rem;
    background: linear-gradient(
      to top,
      var(--ss-bg) 0%,
      color-mix(in srgb, var(--ss-bg) 82%, transparent) 58%,
      transparent 100%
    );
  }

  .scroll-scrub__title {
    max-width: 14ch;
    font-size: clamp(2.3rem, 11vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-scrub__chapter {
    min-height: 100dvh !important;
  }

  .scroll-scrub__connector-band {
    display: none;
  }

  .scroll-scrub__progress span {
    transition: none;
  }
}
/* ImagiNagari Media House: the site's own token layer and components. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-300-800.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --ig-ground: #0a0d1f;
  --ig-panel: #11152e;
  --ig-ink: #f4f0e8;
  --ig-muted: #b4b3c6;
  --ig-accent: #e0348f;
  --ig-line: rgba(244, 240, 232, 0.16);
  --ig-spectrum: linear-gradient(90deg, #3ba7e6, #3d55c4, #6a2fb0, #c22a86, #e2443b, #f39a1f);
  --ig-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ig-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ig-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ig-gutter: clamp(1.25rem, 6vw, 6rem);
}

html {
  background: var(--ig-ground);
  scroll-behavior: smooth;
}

.ig-body {
  margin: 0;
  color: var(--ig-ink);
  background: var(--ig-ground);
  font-family: var(--ig-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ig-body ::selection {
  color: var(--ig-ground);
  background: var(--ig-ink);
}

/* Header */
.ig-header {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.75rem;
  padding: 0 var(--ig-gutter);
  background: linear-gradient(180deg, rgba(10, 13, 31, 0.9), rgba(10, 13, 31, 0));
}

.ig-header__logo {
  display: block;
  flex: none;
}

.ig-header__logo img {
  display: block;
  width: auto;
  height: 3.25rem;
}

.ig-header__nav {
  display: flex;
  gap: 2.25rem;
}

.ig-header__nav a {
  position: relative;
  padding: 0.6rem 0;
  color: var(--ig-muted);
  font-family: var(--ig-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s var(--ig-ease);
}

.ig-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ig-spectrum);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ig-ease);
}

.ig-header__nav a:hover,
.ig-header__nav a:focus-visible {
  color: var(--ig-ink);
}

.ig-header__nav a:hover::after,
.ig-header__nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Nav CTA: viewfinder brackets close around the label */
.ig-navcta {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.1rem;
  border: 0;
  color: var(--ig-ink);
  background: transparent;
  font-family: var(--ig-mono);
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ig-navcta::before,
.ig-navcta::after {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  border: 2px solid var(--ig-accent);
  transition: transform 0.3s var(--ig-ease);
}

.ig-navcta::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.ig-navcta::after {
  right: 0;
  bottom: 0;
  border-top: 0;
  border-left: 0;
}

.ig-navcta:hover::before,
.ig-navcta:focus-visible::before {
  transform: translate(0.3rem, 0.3rem);
}

.ig-navcta:hover::after,
.ig-navcta:focus-visible::after {
  transform: translate(-0.3rem, -0.3rem);
}

.ig-navcta:active {
  transform: scale(0.98);
}

.ig-navcta:focus-visible,
.ig-shardcta:focus-visible,
.ig-worklink:focus-visible,
.ig-tab:focus-visible,
.ig-rail__item:focus-visible,
.ig-player__poster:focus-visible,
.ig-playlistlink:focus-visible,
.ig-contact__link:focus-visible {
  outline: 2px solid var(--ig-accent);
  outline-offset: 4px;
}

/* Journey overrides (engine untouched) */
.ig-journey {
  font-family: var(--ig-display);
}

.ig-journey .scroll-scrub__stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 13, 31, 0.86) 0%, rgba(10, 13, 31, 0.6) 36%, rgba(10, 13, 31, 0) 68%),
    linear-gradient(0deg, rgba(10, 13, 31, 0.75) 0%, rgba(10, 13, 31, 0) 28%);
  pointer-events: none;
}

.ig-journey .scroll-scrub__progress span {
  background: var(--ig-spectrum);
}

.ig-journey .scroll-scrub__route {
  top: auto;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  justify-content: flex-start;
}

.ig-journey .scroll-scrub__route-button {
  font-family: var(--ig-mono);
  font-size: 0.78rem;
}

.ig-journey .scroll-scrub__kicker {
  font-family: var(--ig-mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.ig-journey .scroll-scrub__title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5.4vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.ig-journey .scroll-scrub__body {
  color: var(--ig-ink);
  opacity: 0.86;
}

.ig-journey .scroll-scrub__tags li {
  font-family: var(--ig-mono);
  font-size: 0.75rem;
}

.ig-journey .scroll-scrub__actions {
  align-items: center;
  gap: 1.25rem;
}

.ig-journey .scroll-scrub__chapter:first-child .scroll-scrub__copy {
  animation: ig-rise 0.9s var(--ig-ease) both;
}

@keyframes ig-rise {
  from {
    transform: translateY(1.5rem);
  }
  to {
    transform: translateY(0);
  }
}

/* Hero CTA: cut-corner slab, the play shard jumps forward */
.ig-shardcta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  height: 3.5rem;
  padding: 0 1.6rem 0 1.2rem;
  color: var(--ig-ground);
  background: var(--ig-ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
  transition: transform 0.25s var(--ig-ease);
}

.ig-shardcta__tri {
  display: block;
  width: 1.05rem;
  height: 1.25rem;
  background: var(--ig-spectrum);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.35s var(--ig-ease);
}

.ig-shardcta:hover .ig-shardcta__tri,
.ig-shardcta:focus-visible .ig-shardcta__tri {
  transform: translateX(0.4rem) scale(1.15);
}

.ig-shardcta:active {
  transform: translateY(1px);
}

.ig-worklink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.5rem;
  color: var(--ig-ink);
  font-family: var(--ig-mono);
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.ig-worklink__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ig-ease);
}

.ig-worklink:hover .ig-worklink__arrow,
.ig-worklink:focus-visible .ig-worklink__arrow {
  transform: translateY(0.35rem);
}

/* Sections */
.ig-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--ig-gutter);
  background: var(--ig-ground);
  scroll-margin-top: 3.5rem;
}

.ig-h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ig-lede {
  max-width: 54ch;
  margin: 1.5rem 0 0;
  color: var(--ig-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.ig-rule {
  height: 2px;
  margin: 0;
  border: 0;
  background: var(--ig-spectrum);
}

/* Work */
.ig-work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.ig-tabs {
  display: flex;
  border-bottom: 1px solid var(--ig-line);
}

.ig-tab {
  position: relative;
  padding: 0.9rem 1.15rem;
  border: 0;
  color: var(--ig-muted);
  background: transparent;
  font-family: var(--ig-mono);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s var(--ig-ease);
}

.ig-tab:hover,
.ig-tab[aria-pressed="true"] {
  color: var(--ig-ink);
}

.ig-tab[aria-pressed="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ig-accent);
}

.ig-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.ig-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ig-panel);
}

.ig-player iframe,
.ig-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ig-player__poster {
  display: block;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ig-player__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ig-ease);
}

.ig-player__poster:hover img {
  transform: scale(1.03);
}

.ig-player__play {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  color: var(--ig-ink);
  background: rgba(10, 13, 31, 0.86);
  font-family: var(--ig-mono);
  font-size: 0.82rem;
  font-weight: 500;
}

.ig-player__play i {
  display: block;
  width: 0.8rem;
  height: 0.95rem;
  background: var(--ig-spectrum);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform 0.35s var(--ig-ease);
}

.ig-player__poster:hover .ig-player__play i {
  transform: translateX(0.25rem);
}

.ig-player__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.ig-player__caption span {
  color: var(--ig-muted);
  font-family: var(--ig-mono);
  font-size: 0.78rem;
  font-weight: 400;
}

.ig-rail {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ig-line);
}

.ig-rail__item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-top: 1px solid var(--ig-line);
  color: var(--ig-ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s var(--ig-ease);
}

.ig-rail__item:hover {
  transform: translateX(0.4rem);
}

.ig-rail__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ig-panel);
}

.ig-rail__title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s var(--ig-ease);
}

.ig-rail__item[aria-current="true"] .ig-rail__title {
  color: var(--ig-accent);
}

.ig-rail__note {
  display: block;
  margin-top: 0.2rem;
  color: var(--ig-muted);
  font-family: var(--ig-mono);
  font-size: 0.74rem;
}

.ig-playlistlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  margin-top: 1rem;
  color: var(--ig-ink);
  font-family: var(--ig-mono);
  font-size: 0.82rem;
  text-decoration: none;
}

.ig-playlistlink span {
  display: inline-block;
  transition: transform 0.35s var(--ig-ease);
}

.ig-playlistlink:hover span,
.ig-playlistlink:focus-visible span {
  transform: translateX(0.4rem);
}

/* Services */
.ig-services {
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ig-line);
}

.ig-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--ig-line);
}

.ig-service::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--ig-spectrum);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ig-ease);
}

.ig-service:hover::before {
  transform: scaleX(1);
}

.ig-service h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ig-service p {
  max-width: 54ch;
  margin: 0;
  color: var(--ig-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Process */
.ig-process {
  background: var(--ig-panel);
}

.ig-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ig-step;
}

.ig-step {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ig-line);
  counter-increment: ig-step;
}

.ig-step::before {
  display: block;
  width: max-content;
  content: counter(ig-step);
  color: transparent;
  background: var(--ig-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.ig-step h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.ig-step p {
  margin: 0;
  color: var(--ig-muted);
  line-height: 1.6;
}

/* About */
.ig-about__statement {
  max-width: 24em;
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ig-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 4rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ig-line);
}

.ig-facts dt {
  color: var(--ig-muted);
  font-family: var(--ig-mono);
  font-size: 0.76rem;
}

.ig-facts dd {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}

/* Contact */
.ig-contact {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.ig-contact__link {
  display: inline-block;
  max-width: 100%;
  margin-top: 3rem;
  padding-bottom: 0.1em;
  color: transparent;
  background-image: var(--ig-spectrum), linear-gradient(var(--ig-ink), var(--ig-ink));
  background-repeat: no-repeat;
  background-size: 0% 100%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.6rem, 5.6vw, 5.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-size 0.7s var(--ig-ease);
}

.ig-contact__link:hover,
.ig-contact__link:focus-visible {
  background-size: 100% 100%, 100% 100%;
}

.ig-contact__alt {
  margin: 1.5rem 0 0;
  color: var(--ig-muted);
  font-size: 1.02rem;
}

.ig-contact__alt a {
  color: var(--ig-ink);
  text-underline-offset: 0.25em;
}

/* Footer */
.ig-footer {
  padding: 0 var(--ig-gutter) 2.5rem;
  background: var(--ig-ground);
}

.ig-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  color: var(--ig-muted);
  font-family: var(--ig-mono);
  font-size: 0.78rem;
}

.ig-footer__row img {
  display: block;
  width: auto;
  height: 5rem;
}

.ig-footer__row p {
  margin: 0;
}

.ig-footer__row a {
  color: var(--ig-ink);
  text-underline-offset: 0.25em;
}

/* Not found and error states */
.ig-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  min-height: 100dvh;
  padding: var(--ig-gutter);
  color: var(--ig-ink);
  background: var(--ig-ground);
  font-family: var(--ig-display);
}

.ig-state h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ig-state p {
  margin: 0;
  color: var(--ig-muted);
}

.ig-state__code {
  width: max-content;
  color: transparent;
  background: var(--ig-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 300;
  line-height: 0.9;
}

@media (max-width: 860px) {
  .ig-header {
    height: 4rem;
  }

  .ig-header__logo img {
    height: 2.5rem;
  }

  .ig-header__nav {
    display: none;
  }

  .ig-journey .scroll-scrub__stage::after {
    background: linear-gradient(0deg, rgba(10, 13, 31, 0.82) 0%, rgba(10, 13, 31, 0.35) 55%, rgba(10, 13, 31, 0.55) 100%);
  }

  .ig-journey .scroll-scrub__route {
    display: none;
  }

  .ig-work__grid,
  .ig-service {
    grid-template-columns: minmax(0, 1fr);
  }

  .ig-service {
    gap: 0.75rem;
  }

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

  .ig-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .ig-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ig-navcta {
    padding: 0 0.8rem;
  }
}

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

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

/* ---------- Static build additions ---------- */
.scroll-scrub {
  --ss-accent: #e0348f;
  --ss-bg: #0a0d1f;
  --ss-ink: #f4f0e8;
  --ss-muted: #b4b3c6;
}

/* The theatre chapter: the film flies into the cinema screen and the reel plays on it */
.ig-screen .scroll-scrub__chapter-pin {
  justify-content: center;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.ig-screen .scroll-scrub__copy {
  width: min(62rem, 88vw, max(20rem, calc((100dvh - 27rem) * 1.7778)));
}

.ig-screen .scroll-scrub__copy::before {
  display: none;
}

.ig-reel {
  padding: 1rem;
  background: rgba(10, 13, 31, 0.78);
  backdrop-filter: blur(10px);
}

.ig-reel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
}

.ig-reel__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ig-reel .ig-tab {
  padding: 0.6rem 0.9rem;
}

.ig-reel .ig-player__caption {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}

.ig-strip {
  display: flex;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
  padding: 0 0 0.25rem;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.ig-strip__item {
  display: block;
  flex: 0 0 8.25rem;
  padding: 0;
  border: 0;
  color: var(--ig-muted);
  background: transparent;
  font-family: var(--ig-mono);
  font-size: 0.7rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s var(--ig-ease);
}

.ig-strip__item:hover {
  transform: translateY(-0.2rem);
}

.ig-strip__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.35rem;
  object-fit: cover;
  border-bottom: 2px solid transparent;
  background: var(--ig-panel);
}

.ig-strip__item[aria-current="true"] {
  color: var(--ig-ink);
}

.ig-strip__item[aria-current="true"] img {
  border-bottom-color: var(--ig-accent);
}

.ig-strip__item:focus-visible {
  outline: 2px solid var(--ig-accent);
  outline-offset: 3px;
}

.ig-reel__foot {
  display: flex;
  justify-content: flex-end;
}

.ig-reel .ig-playlistlink {
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .ig-screen .scroll-scrub__chapter-pin {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .ig-screen .scroll-scrub__copy {
    width: 100%;
  }

  .ig-reel {
    padding: 0.75rem;
  }

  .ig-strip__item {
    flex-basis: 6.5rem;
  }
}

.scroll-scrub__layer {
  --ss-object-position: 50% 50%;
  --ss-mobile-position: 50% 50%;
}

@media (max-width: 860px) {
  .ig-screen .scroll-scrub__chapter-pin {
    align-items: center;
  }
}
