:root {
  --bg: #050711;
  --bg-elevated: rgba(8, 12, 24, 0.92);
  --surface: rgba(8, 13, 26, 0.84);
  --surface-strong: rgba(10, 16, 30, 0.96);
  --text: #f4f7ff;
  --text-soft: #d8e2f4;
  --muted: #9cabc4;
  --line: rgba(137, 170, 218, 0.18);
  --line-strong: rgba(137, 170, 218, 0.34);
  --accent: #2ce6cf;
  --accent-strong: #05b8a4;
  --accent-rose: #ff8ac9;
  --accent-sky: #77d4ff;
  --warm: #f0c56f;
  --warm-soft: rgba(240, 197, 111, 0.16);
  --hero-grad: linear-gradient(96deg, var(--accent-sky) 0%, var(--accent) 46%, #a7b9ff 100%);
  --rule-grad: linear-gradient(90deg, rgba(119, 212, 255, 0), rgba(119, 212, 255, 0.86), rgba(44, 230, 207, 0.96), rgba(255, 138, 201, 0.78), rgba(240, 197, 111, 0));
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-sm: 12px;
  --panel-pad: clamp(1.2rem, 2.6vw, 2rem);
  --content-max: 1240px;
  --content-pad: clamp(1rem, 3vw, 2.4rem);
  --rail-inline: max(1rem, calc((100vw - var(--content-max)) / 2));
  --font-sans: "Inter", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
  --heading-weight: 200;
  --nav-logo-offset: 0px;
}

html[data-theme="light"] {
  --bg: #eef3fa;
  --bg-elevated: rgba(255, 255, 255, 0.95);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.985);
  --text: #0a1730;
  --text-soft: #122744;
  --muted: #334866;
  --line: rgba(49, 76, 116, 0.18);
  --line-strong: rgba(49, 76, 116, 0.3);
  --accent: #08786d;
  --accent-strong: #06675f;
  --accent-rose: #dd5ea2;
  --accent-sky: #2581d6;
  --warm: #d39a35;
  --warm-soft: rgba(211, 154, 53, 0.16);
  --hero-grad: linear-gradient(96deg, var(--accent-sky) 0%, var(--accent) 46%, #5f86d6 100%);
  --shadow: 0 18px 40px rgba(18, 34, 58, 0.11);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 129, 214, 0.1), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(8, 120, 109, 0.08), transparent 22%),
    radial-gradient(circle at 74% 26%, rgba(221, 94, 162, 0.06), transparent 24%),
    linear-gradient(180deg, #eef3fb 0%, #f7f9fd 28%, #eef4fb 100%);
}

html[data-theme="light"] body::before {
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 78%);
}

html[data-force-desktop="true"] .site-nav,
html[data-force-desktop="true"] #page-content,
html[data-force-desktop="true"] .site-footer__inner,
html[data-force-desktop="true"] .site-marquee__inner {
  width: min(calc(100% - 2rem), var(--content-max));
  min-width: 980px;
}

html[data-force-desktop="true"] .site-nav {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: 0;
}

html[data-force-desktop="true"] .site-header.is-condensed .site-nav {
  min-height: 48px;
}

html[data-force-desktop="true"] .nav-links {
  grid-column: auto;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 0.78rem;
  padding-top: 0;
}

html[data-force-desktop="true"] .nav-logo {
  min-height: 64px;
  padding: 0.15rem 0;
  margin-left: var(--nav-logo-offset);
}

html[data-force-desktop="true"] .nav-logo__full {
  width: clamp(224px, 18.5vw, 318px);
  max-height: 92px;
}

@view-transition {
  navigation: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(44, 230, 207, 0.16), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(119, 212, 255, 0.12), transparent 24%),
    radial-gradient(circle at 74% 22%, rgba(255, 138, 201, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    var(--bg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(121, 153, 191, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(121, 153, 191, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 85%);
  opacity: 0.34;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.45rem 0.72rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--text);
  transition: top 120ms ease;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, white 30%);
  outline-offset: 3px;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(3, 5, 12, 0.985), rgba(5, 8, 18, 0.9));
  border-bottom: 0;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 26px 48px rgba(0, 0, 0, 0.18);
  transition: background 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1.35rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0));
  opacity: 0.88;
  filter: blur(10px);
  pointer-events: none;
}

html[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.975), rgba(10, 15, 28, 0.9));
}

html[data-theme="light"] .site-header::after {
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.2), rgba(9, 16, 29, 0));
  opacity: 0.94;
}

.site-nav,
#page-content,
.site-footer__inner,
.site-marquee__inner {
  width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: 0.18rem 0;
  transition: min-height 220ms ease, padding 220ms ease, gap 220ms ease;
}

.nav-menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  gap: 0.42rem;
}

.nav-menu-toggle span {
  position: absolute;
  width: 1rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-menu-toggle span:nth-child(2) { transform: translateY(0); }
.nav-menu-toggle span:nth-child(3) { transform: translateY(5px); }

.nav-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.nav-menu-toggle::after {
  content: "Menu";
  margin-left: 1.2rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-menu-toggle[aria-expanded="true"]::after {
  content: "Close";
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0.15rem 0;
  margin-left: var(--nav-logo-offset);
  line-height: 0;
  transition: min-height 220ms ease, transform 220ms ease, margin 220ms ease;
}

.nav-logo__full {
  display: block;
  width: clamp(224px, 18.5vw, 318px);
  max-height: 92px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
  transform-origin: left center;
  transition: transform 220ms ease, filter 180ms ease, width 220ms ease, max-height 220ms ease;
}

.nav-logo:hover .nav-logo__full,
.nav-logo:focus-visible .nav-logo__full {
  transform: translateY(-1px);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
}

.nav-logo--footer {
  margin-left: 0;
  margin-bottom: 0.9rem;
}

.nav-logo--footer .nav-logo__full {
  width: clamp(190px, 16vw, 254px);
  max-height: 74px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  transition: gap 220ms ease;
}

.nav-links > a,
.nav-dropdown__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: padding 220ms ease, font-size 220ms ease, letter-spacing 220ms ease;
}

.site-header .nav-links > a,
.site-header .nav-dropdown__trigger {
  color: rgba(244, 247, 255, 0.84);
}

.nav-links > a::after,
.nav-dropdown__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after,
.nav-dropdown__trigger:hover::after,
.nav-dropdown__trigger[data-active]::after {
  transform: scaleX(1);
}

.nav-links > a[aria-current="page"] {
  color: var(--text);
}

.site-header .nav-links > a:hover,
.site-header .nav-links > a[aria-current="page"],
.site-header .nav-dropdown__trigger:hover,
.site-header .nav-dropdown__trigger[data-active] {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  color: var(--text);
  gap: 0.4rem;
}

.nav-dropdown__trigger::before {
  content: "▾";
  font-size: 0.8rem;
  color: var(--muted);
  order: 2;
  transform: translateY(1px);
}

.site-header .nav-dropdown__trigger::before {
  color: rgba(244, 247, 255, 0.56);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  max-height: min(72vh, 520px);
  overflow: auto;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  z-index: 35;
}

.nav-dropdown__menu.is-open {
  display: flex;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: var(--text-soft);
  transition: background 140ms ease, color 140ms ease;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a[aria-current="page"] {
  background: rgba(119, 212, 255, 0.14);
  color: var(--text);
}

html[data-theme="light"] .nav-dropdown__menu {
  border-color: rgba(49, 76, 116, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(20, 36, 60, 0.12);
}

html[data-theme="light"] .nav-dropdown__menu a {
  color: #15304f;
}

html[data-theme="light"] .nav-dropdown__menu a:hover,
html[data-theme="light"] .nav-dropdown__menu a[aria-current="page"] {
  background: rgba(37, 129, 214, 0.09);
  color: #08162d;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.nav-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 2.05rem;
  padding: 0.28rem 0.48rem;
  border-radius: 10px;
  border: 1px solid rgba(137, 170, 218, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, padding 220ms ease, min-height 220ms ease, gap 220ms ease;
}

.site-header .nav-action {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 247, 255, 0.88);
}

.nav-action:hover,
.nav-action:focus-visible {
  border-color: rgba(119, 212, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.site-header .nav-action:hover,
.site-header .nav-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

html[data-theme="light"] .site-header .nav-links > a,
html[data-theme="light"] .site-header .nav-dropdown__trigger {
  color: rgba(244, 247, 255, 0.92);
}

html[data-theme="light"] .site-header .nav-links > a:hover,
html[data-theme="light"] .site-header .nav-links > a[aria-current="page"],
html[data-theme="light"] .site-header .nav-dropdown__trigger:hover,
html[data-theme="light"] .site-header .nav-dropdown__trigger[data-active] {
  color: #ffffff;
}

html[data-theme="light"] .site-header .nav-action {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 255, 0.94);
}

html[data-theme="light"] .site-header .nav-action:hover,
html[data-theme="light"] .site-header .nav-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.nav-action__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  line-height: 0;
  align-self: center;
}

.nav-action__icon svg {
  display: block;
  width: 0.94rem;
  height: 0.94rem;
}

.nav-action__label {
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: font-size 220ms ease, letter-spacing 220ms ease;
}

.site-header .nav-action__label {
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width 180ms ease, opacity 180ms ease;
}

.site-header .nav-action::after {
  content: none;
  display: none;
}

.nav-action--panel {
  min-height: 2.2rem;
  padding: 0.38rem 0.62rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: 1px solid rgba(137, 170, 218, 0.24);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(15, 24, 40, 0.88), rgba(8, 14, 28, 0.72));
  color: var(--text);
  min-height: 2.24rem;
  min-width: 4.4rem;
  padding: 0.2rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, min-height 220ms ease, min-width 220ms ease, padding 220ms ease;
}

.theme-toggle:hover {
  border-color: rgba(119, 212, 255, 0.38);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.theme-toggle__track {
  position: relative;
  display: block;
  width: 100%;
  height: 1.78rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(16, 26, 48, 0.94), rgba(8, 14, 28, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -8px 14px rgba(0, 0, 0, 0.24);
}

.theme-toggle__sky,
.theme-toggle__stars {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 320ms ease, transform 420ms ease, background 320ms ease;
}

.theme-toggle__sky {
  background:
    radial-gradient(circle at 22% 30%, rgba(129, 185, 255, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(13, 23, 42, 0.8), rgba(6, 11, 22, 0.88));
}

.theme-toggle__stars {
  background:
    radial-gradient(circle at 24% 34%, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.4px),
    radial-gradient(circle at 34% 58%, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.4px),
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.76) 0 1px, transparent 1.4px),
    radial-gradient(circle at 64% 54%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.4px),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px);
  opacity: 0.78;
}

.theme-toggle__icon {
  position: absolute;
  left: 0.14rem;
  top: 0.14rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #f5f0c8;
  color: #f5f0c8;
  box-shadow:
    0 0 0 0.22rem rgba(255, 255, 255, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(240, 197, 111, 0.2);
  transition:
    transform 380ms cubic-bezier(0.2, 1, 0.22, 1),
    background 320ms ease,
    color 320ms ease,
    box-shadow 320ms ease,
    width 220ms ease,
    height 220ms ease;
}

.theme-toggle__icon::before,
.theme-toggle__icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.2, 1, 0.22, 1), inset 320ms ease, background 320ms ease;
}

.theme-toggle__icon::before {
  inset: 0.18rem 0.12rem 0.18rem 0.52rem;
  background: rgba(8, 14, 28, 0.9);
}

.theme-toggle__icon::after {
  left: 50%;
  top: 50%;
  width: 2px;
  height: 2px;
  margin: -1px;
  background: currentColor;
  opacity: 0;
  box-shadow:
    0 -0.62rem 0 0 currentColor,
    0 0.62rem 0 0 currentColor,
    0.62rem 0 0 0 currentColor,
    -0.62rem 0 0 0 currentColor,
    0.44rem 0.44rem 0 0 currentColor,
    -0.44rem -0.44rem 0 0 currentColor,
    0.44rem -0.44rem 0 0 currentColor,
    -0.44rem 0.44rem 0 0 currentColor;
  transform: scale(0.84);
}

.site-header.is-condensed {
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(3, 5, 12, 0.992), rgba(6, 10, 20, 0.94));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] .site-header.is-condensed {
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.992), rgba(10, 15, 28, 0.94));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

@media (max-width: 1080px) {
  .nav-menu-toggle {
    display: inline-flex;
    width: auto;
    min-width: 5.5rem;
    padding: 0 0.7rem;
    justify-content: flex-start;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    left: auto;
    width: min(24rem, calc(100vw - 2rem));
    display: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.26);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a,
  .nav-dropdown__trigger {
    min-height: 2.6rem;
    padding: 0.35rem 0.15rem;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .site-header .nav-action__label {
    width: auto;
    opacity: 1;
  }

  .site-header .nav-action::after {
    display: none;
  }

  .theme-toggle {
    justify-self: start;
  }
}

.site-header.is-condensed .site-nav {
  min-height: 48px;
  gap: 0.72rem;
  padding: 0.02rem 0;
}

.site-header.is-condensed .nav-logo {
  min-height: 40px;
  margin-left: var(--nav-logo-offset);
}

.site-header.is-condensed .nav-logo__full {
  transform: scale(0.68);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.site-header.is-condensed .nav-links {
  gap: 0.56rem;
}

.site-header.is-condensed .nav-links > a,
.site-header.is-condensed .nav-dropdown__trigger {
  padding: 0.18rem 0;
  font-size: 0.94rem;
}

.site-header.is-condensed .nav-action {
  min-height: 1.72rem;
  padding: 0.18rem 0.34rem;
  gap: 0.24rem;
}

.site-header.is-condensed .nav-action__label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.site-header.is-condensed .theme-toggle {
  min-height: 1.92rem;
  min-width: 3.84rem;
  padding: 0.16rem;
}

.site-header.is-condensed .theme-toggle__track {
  height: 1.52rem;
}

.site-header.is-condensed .theme-toggle__icon {
  width: 1.2rem;
  height: 1.2rem;
}

html[data-theme="light"] .theme-toggle {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.86));
  border-color: rgba(59, 87, 129, 0.24);
}

html[data-theme="light"] .theme-toggle__track {
  background:
    linear-gradient(180deg, rgba(156, 209, 255, 0.86), rgba(110, 189, 255, 0.74)),
    linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(208, 230, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -8px 14px rgba(87, 126, 168, 0.12);
}

html[data-theme="light"] .theme-toggle__sky {
  background:
    radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(180deg, rgba(171, 221, 255, 0.84), rgba(104, 194, 255, 0.58));
}

html[data-theme="light"] .theme-toggle__stars {
  opacity: 0.12;
  transform: translateY(-8%);
}

html[data-theme="light"] .theme-toggle__icon {
  background: #f6bc2f;
  color: #f6bc2f;
  box-shadow:
    0 0 0 0.22rem rgba(255, 255, 255, 0.78),
    0 4px 12px rgba(28, 45, 74, 0.16),
    0 0 24px rgba(246, 188, 47, 0.26);
  transform: translateX(2.12rem);
}

html[data-theme="light"] .theme-toggle__icon::before {
  inset: 0;
  background: rgba(255, 200, 62, 0.22);
  opacity: 0;
}

html[data-theme="light"] .theme-toggle__icon::after {
  opacity: 0.72;
  transform: scale(1);
}

#page-content {
  padding: 2rem 0 4rem;
}

.panel {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 46%, rgba(255, 255, 255, 0.01)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .panel {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96) 48%, rgba(241, 247, 254, 0.94)),
    var(--surface-strong);
  border-color: rgba(49, 76, 116, 0.18);
  box-shadow: 0 16px 34px rgba(24, 48, 87, 0.07);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(44, 230, 207, 0.1), transparent 28%, transparent 72%, rgba(255, 138, 201, 0.08)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
  pointer-events: none;
}

html[data-theme="light"] .panel::before {
  background:
    linear-gradient(140deg, rgba(37, 129, 214, 0.07), transparent 28%, transparent 72%, rgba(221, 94, 162, 0.05)),
    repeating-linear-gradient(135deg, rgba(12, 24, 48, 0.018) 0 1px, transparent 1px 8px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel--hero {
  background:
    radial-gradient(circle at top left, rgba(44, 230, 207, 0.16), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(119, 212, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 138, 201, 0.08), transparent 28%),
    var(--surface-strong);
}

.hero,
.section-block {
  display: grid;
  gap: 1.4rem;
}

.hero.hero--home {
  position: relative;
  z-index: 4;
  margin-top: -4.75rem;
}

@keyframes reveal-lift {
  from {
    opacity: 0.08;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-child-lift {
  from {
    opacity: 0.01;
    transform: translate3d(0, 16px, 0) scale(0.988);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.app-ready [data-reveal] {
  opacity: 1;
  transform: none;
}

.app-ready [data-reveal].is-visible {
  animation: reveal-lift 520ms cubic-bezier(0.2, 1, 0.22, 1) both;
}

[data-reveal-child] {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.app-ready [data-reveal].is-visible [data-reveal-child] {
  animation: reveal-child-lift 680ms cubic-bezier(0.2, 1, 0.22, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

[data-depth-scene] {
  position: relative;
  transform-style: preserve-3d;
}

[data-depth-layer] {
  transform: translate3d(var(--depth-x, 0px), var(--depth-y, 0px), 0);
  will-change: transform, filter;
  transition: transform 220ms cubic-bezier(0.2, 1, 0.22, 1), filter 220ms ease;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.tile-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: min(92svh, 920px);
  overflow: clip;
  isolation: isolate;
  border-bottom: 1px solid rgba(137, 170, 218, 0.12);
  background: #060b16;
}

.tile-hero::before,
.tile-hero::after {
  content: none;
}

.tile-hero__bg,
.tile-hero__bg-layer,
.tile-hero__wash,
.tile-hero__grain {
  position: absolute;
  inset: 0;
}

.tile-hero__bg-layer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: none;
  filter: saturate(1.06);
  will-change: opacity;
  transition: opacity 400ms linear, filter 280ms ease;
}

.tile-hero__bg-layer.is-active {
  opacity: 0.6;
  transform: none;
  filter: saturate(1.06);
}

.tile-hero__bg-layer.is-instant {
  transition: none !important;
}

.tile-hero.is-charged .tile-hero__wash {
  opacity: 0.54;
  filter: blur(4px);
}

.tile-hero.is-charged .tile-hero__grain {
  opacity: 0.04;
}

.tile-hero.is-charged .tile-hero__bg-layer.is-active {
  filter: saturate(1.04) brightness(1);
}

.tile-hero__wash {
  background:
    radial-gradient(circle at 56% 42%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 62% 68%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(4, 8, 20, 0.9) 0%, rgba(4, 8, 20, 0.68) 28%, rgba(4, 8, 20, 0.18) 58%, rgba(4, 8, 20, 0.58) 82%, rgba(4, 8, 20, 0.82) 100%);
  z-index: 1;
  animation: none;
  filter: blur(4px);
  transition: opacity 280ms ease, filter 280ms ease;
}

.tile-hero__grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  z-index: 2;
  animation: none;
  filter: blur(0.2px);
  transition: opacity 280ms ease;
}

.tile-hero__inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 2rem), var(--content-max));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  align-items: start;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: max(0rem, calc(clamp(2.6rem, 6vw, 5rem) - 110px)) 0 clamp(2.2rem, 5vw, 4rem);
}

.tile-hero__copy {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
  align-self: start;
  padding-top: 3.1rem;
}

.tile-hero__title {
  font-size: clamp(2.3rem, 5.6vw, 5.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.tile-hero__lede {
  max-width: 34rem;
}

.tile-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.tile-hero__actions .button.primary {
  position: relative;
  overflow: hidden;
}

.tile-hero__actions .button.primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.28) 42%, transparent 66%);
  transform: translateX(-132%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.2, 1, 0.22, 1), opacity 220ms ease;
  pointer-events: none;
}

.tile-hero__actions .button.primary:hover::before,
.tile-hero__actions .button.primary:focus-visible::before {
  transform: translateX(132%);
  opacity: 0.82;
}

.tile-hero__stage {
  display: grid;
  justify-items: center;
  gap: 1rem;
  align-self: start;
  margin-top: -1.25rem;
}

.tile-hero.is-loading .tile-hero__stage {
  opacity: 0;
}

.tile-hero.is-loading .tile-hero__bg-layer,
.tile-hero.is-loading .tile-hero__matte,
.tile-hero.is-loading .tile-hero__image {
  transition: none;
}

.tile-hero__frame {
  position: relative;
  width: min(72vw, 760px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: visible;
  animation: none;
  perspective: none;
}

.tile-hero__lightning {
  position: absolute;
  inset: 2%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  mix-blend-mode: screen;
}

.tile-hero__lightning.is-active {
  opacity: 1;
}

.tile-hero__lightning[data-lightning-mode="ambient"] {
  opacity: 0.9;
}

.tile-hero__storm-clouds,
.tile-hero__storm-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tile-hero__storm-clouds {
  filter: blur(24px);
  opacity: 0.12;
}

.tile-hero__storm-cloud {
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(157, 222, 255, 0.12) 0%, rgba(107, 171, 227, 0.07) 42%, rgba(15, 28, 54, 0.015) 74%, transparent 100%);
  mix-blend-mode: screen;
  transition: opacity 300ms ease, transform 340ms ease;
}

.tile-hero__storm-cloud--a {
  inset: 10% 14% 44% 8%;
  transform: translate3d(-1%, -2%, 0) scale(0.98);
}

.tile-hero__storm-cloud--b {
  inset: 18% 4% 36% 40%;
  transform: translate3d(2%, -1%, 0) scale(0.99);
}

.tile-hero__storm-cloud--c {
  inset: 48% 20% 14% 18%;
  transform: translate3d(1%, 2%, 0) scale(0.98);
}

.tile-hero__storm-flash {
  background:
    radial-gradient(circle at var(--storm-flash-x, 34%) var(--storm-flash-y, 26%), rgba(255, 253, 241, 0.08), transparent 10%),
    radial-gradient(circle at var(--storm-flash-x, 34%) var(--storm-flash-y, 26%), rgba(182, 238, 255, 0.06), transparent 18%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.tile-hero__lightning-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(120, 235, 255, 0.24)) drop-shadow(0 0 18px rgba(94, 194, 255, 0.12));
}

.tile-hero__lightning.is-active .tile-hero__storm-cloud--a {
  opacity: 0.2;
  transform: translate3d(-1.3%, -1.8%, 0) scale(1.01);
  animation: tileStormCloudPulseA 520ms ease-out both;
}

.tile-hero__lightning.is-active .tile-hero__storm-cloud--b {
  opacity: 0.18;
  transform: translate3d(1.8%, -1.4%, 0) scale(1.02);
  animation: tileStormCloudPulseB 520ms ease-out both;
}

.tile-hero__lightning.is-active .tile-hero__storm-cloud--c {
  opacity: 0.16;
  transform: translate3d(1.3%, 0.9%, 0) scale(1.02);
  animation: tileStormCloudPulseC 520ms ease-out both;
}

.tile-hero__lightning.is-active .tile-hero__storm-flash {
  opacity: 0.04;
  animation: tileStormFlashPulse 420ms ease-out both;
}

.tile-hero__lightning[data-lightning-mode="ambient"].is-active .tile-hero__storm-cloud--a,
.tile-hero__lightning[data-lightning-mode="ambient"].is-active .tile-hero__storm-cloud--b,
.tile-hero__lightning[data-lightning-mode="ambient"].is-active .tile-hero__storm-cloud--c {
  opacity: 0.1;
  animation-duration: 180ms;
}

.tile-hero__lightning[data-lightning-mode="ambient"].is-active .tile-hero__storm-flash {
  opacity: 0.015;
  animation-duration: 180ms;
}

.tile-hero__lightning-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  stroke-dasharray: 96;
  stroke-dashoffset: 96;
  animation: tileLightningPulse var(--bolt-duration, 190ms) ease-out var(--bolt-delay, 0ms) both;
}

.tile-hero__lightning-path--glow {
  stroke: rgba(178, 242, 255, 0.22);
  stroke-width: 1.95;
}

.tile-hero__lightning-path--core {
  stroke: rgba(255, 254, 246, 0.72);
  stroke-width: 0.34;
}

.tile-hero__lightning-path--branch {
  stroke: rgba(198, 242, 255, 0.14);
  stroke-width: 0.12;
}

.tile-hero__lightning[data-lightning-mode="ambient"] .tile-hero__lightning-path--glow {
  stroke-width: 1.45;
  stroke: rgba(158, 236, 255, 0.14);
}

.tile-hero__lightning[data-lightning-mode="ambient"] .tile-hero__lightning-path--core {
  stroke-width: 0.26;
  stroke: rgba(255, 254, 247, 0.48);
}

.tile-hero__lightning[data-lightning-mode="ambient"] .tile-hero__lightning-path--branch {
  stroke-width: 0.08;
  stroke: rgba(180, 236, 255, 0.08);
}

@keyframes tileLightningPulse {
  0% {
    opacity: 0;
    stroke-dashoffset: 180;
  }
  14% {
    opacity: 0.98;
  }
  42% {
    opacity: 0.84;
    stroke-dashoffset: 72;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes tileStormFlashPulse {
  0%,
  100% {
    opacity: 0;
  }
  10% {
    opacity: 0.035;
  }
  24% {
    opacity: 0.07;
  }
  36% {
    opacity: 0.028;
  }
  52% {
    opacity: 0.05;
  }
  100% {
    opacity: 0;
  }
}

@keyframes tileStormCloudPulseA {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(-1%, -1%, 0) scale(0.98);
  }
  30% {
    opacity: 0.48;
    transform: translate3d(-1.5%, -2%, 0) scale(1.03);
  }
  58% {
    opacity: 0.3;
    transform: translate3d(-0.5%, -1%, 0) scale(1.01);
  }
}

@keyframes tileStormCloudPulseB {
  0%,
  100% {
    opacity: 0.16;
    transform: translate3d(1.5%, -0.5%, 0) scale(0.99);
  }
  26% {
    opacity: 0.44;
    transform: translate3d(2%, -1.5%, 0) scale(1.03);
  }
  60% {
    opacity: 0.28;
    transform: translate3d(1.4%, -0.8%, 0) scale(1.01);
  }
}

@keyframes tileStormCloudPulseC {
  0%,
  100% {
    opacity: 0.14;
    transform: translate3d(1%, 1.4%, 0) scale(0.98);
  }
  24% {
    opacity: 0.4;
    transform: translate3d(1.5%, 1%, 0) scale(1.03);
  }
  56% {
    opacity: 0.26;
    transform: translate3d(1.2%, 0.8%, 0) scale(1.01);
  }
}

.tile-hero__frame::before,
.tile-hero__frame::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 42px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--tile-left, #08101f) 96%, transparent) 0%,
      rgba(8, 16, 31, 0) 14%,
      rgba(8, 16, 31, 0) 86%,
      color-mix(in srgb, var(--tile-right, #141b30) 96%, transparent) 100%),
    linear-gradient(180deg,
      rgba(8, 16, 31, 0.78) 0%,
      rgba(8, 16, 31, 0) 14%,
      rgba(8, 16, 31, 0) 86%,
      rgba(20, 27, 48, 0.72) 100%);
  filter: blur(18px);
  opacity: 0.62;
}

.tile-hero[data-tile-morph-mode="alpha"] .tile-hero__frame::before,
.tile-hero[data-tile-morph-mode="alpha"] .tile-hero__frame::after {
  content: none;
}

.tile-hero.is-ionized .tile-hero__frame::before,
.tile-hero.is-ionized .tile-hero__frame::after {
  background:
    linear-gradient(90deg,
      rgba(246, 252, 255, 0.14) 0%,
      rgba(130, 238, 255, 0.12) 8%,
      rgba(130, 238, 255, 0.03) 16%,
      rgba(130, 238, 255, 0) 28%,
      rgba(130, 238, 255, 0) 72%,
      rgba(130, 238, 255, 0.03) 84%,
      rgba(130, 238, 255, 0.12) 92%,
      rgba(246, 252, 255, 0.14) 100%),
    linear-gradient(180deg,
      rgba(170, 245, 255, 0.08) 0%,
      rgba(170, 245, 255, 0.02) 18%,
      rgba(170, 245, 255, 0.02) 82%,
      rgba(170, 245, 255, 0.08) 100%);
  filter: blur(14px);
  opacity: 0.78;
}

.tile-hero.is-charged .tile-hero__frame::before,
.tile-hero.is-charged .tile-hero__frame::after {
  background:
    linear-gradient(90deg,
      rgba(255, 252, 236, 0.18) 0%,
      rgba(102, 238, 255, 0.12) 10%,
      rgba(102, 238, 255, 0.04) 20%,
      rgba(102, 238, 255, 0.04) 80%,
      rgba(102, 238, 255, 0.12) 90%,
      rgba(255, 252, 236, 0.18) 100%),
    linear-gradient(180deg,
      rgba(235, 250, 255, 0.14) 0%,
      rgba(171, 244, 255, 0.03) 18%,
      rgba(171, 244, 255, 0.03) 82%,
      rgba(235, 250, 255, 0.12) 100%);
  filter: blur(16px);
  opacity: 0.92;
}

.tile-hero[data-tile-morph-mode="alpha"].is-ionized .tile-hero__frame {
  filter:
    drop-shadow(0 0 16px rgba(255, 249, 223, 0.12))
    drop-shadow(0 0 26px rgba(90, 236, 255, 0.12));
}

.tile-hero[data-tile-morph-mode="alpha"].is-charged .tile-hero__frame {
  filter:
    drop-shadow(0 0 20px rgba(255, 248, 214, 0.18))
    drop-shadow(0 0 32px rgba(131, 241, 255, 0.18))
    drop-shadow(0 0 46px rgba(46, 237, 221, 0.12));
}

.tile-hero__matte,
.tile-hero__image {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 0;
  opacity: 0;
  transition: opacity 400ms linear;
  will-change: opacity;
}

.tile-hero__matte {
  width: min(94%, 690px);
  height: min(94%, 690px);
  filter: blur(36px);
  transform: none;
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96) 34%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.36) 78%, rgba(0, 0, 0, 0.08) 92%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96) 34%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.36) 78%, rgba(0, 0, 0, 0.08) 92%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.tile-hero[data-tile-morph-mode="alpha"] .tile-hero__matte {
  opacity: 0 !important;
  filter: none;
  background: none !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.tile-hero__image {
  width: min(82%, 610px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 26px 56px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.02));
  transform: none;
  animation: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0.96) 66%, rgba(0, 0, 0, 0.72) 80%, rgba(0, 0, 0, 0.26) 92%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0.96) 66%, rgba(0, 0, 0, 0.72) 80%, rgba(0, 0, 0, 0.26) 92%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.tile-hero[data-tile-morph-mode="alpha"] .tile-hero__image {
  filter:
    brightness(1.05)
    contrast(1.06)
    drop-shadow(0 28px 60px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 16px rgba(124, 228, 255, 0.1))
    drop-shadow(0 0 26px rgba(86, 212, 255, 0.08));
  -webkit-mask-image: none;
  mask-image: none;
}

.tile-hero[data-tile-morph-mode="alpha"].is-ionized .tile-hero__image.is-active {
  filter:
    brightness(1.08)
    contrast(1.08)
    saturate(1.04)
    drop-shadow(0 30px 62px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(255, 248, 224, 0.22))
    drop-shadow(0 0 28px rgba(122, 236, 255, 0.22))
    drop-shadow(0 0 40px rgba(70, 209, 255, 0.12));
}

.tile-hero__matte.is-instant,
.tile-hero__image.is-instant {
  transition: none !important;
}

.tile-hero__matte.is-active,
.tile-hero__image.is-active {
  opacity: 1;
  transform: none;
}

.tile-hero__matte.is-active {
  opacity: 0.58;
}

.tile-hero[data-tile-morph-mode="alpha"].is-charged .tile-hero__image.is-active {
  filter:
    brightness(1.12)
    contrast(1.1)
    saturate(1.06)
    drop-shadow(0 30px 64px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(255, 250, 232, 0.3))
    drop-shadow(0 0 30px rgba(122, 239, 255, 0.26))
    drop-shadow(0 0 48px rgba(64, 214, 255, 0.16))
    drop-shadow(0 0 58px rgba(74, 239, 224, 0.2));
}

.tile-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.12);
  background: rgba(6, 10, 18, 0.26);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.tile-hero__label {
  margin: 0;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

@keyframes tileAuraDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.24;
  }
  100% {
    transform: translate3d(2.5%, -2.5%, 0) scale(1.08);
    opacity: 0.42;
  }
}

@keyframes tileWashPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.92;
  }
  100% {
    transform: scale(1.04) translate3d(-1.2%, 1.2%, 0);
    opacity: 1;
  }
}

@keyframes tileGrainDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-18px, 14px, 0);
  }
}

@keyframes tileFrameFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes tileLensDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(14px, -8px, 0) scale(1.04);
    opacity: 0.82;
  }
}

@keyframes tileObjectBreath {
  0%,
  100% {
    filter:
      drop-shadow(0 34px 72px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 30px rgba(255, 255, 255, 0.04));
  }
  50% {
    filter:
      drop-shadow(0 38px 82px rgba(0, 0, 0, 0.34))
      drop-shadow(0 0 38px rgba(255, 255, 255, 0.08));
  }
}

html[data-theme="light"] .tile-hero {
  background: #eef3fa;
}

html[data-theme="light"] .tile-hero__wash {
  background:
    radial-gradient(circle at 56% 42%, rgba(255, 255, 255, 0.72), transparent 22%),
    radial-gradient(circle at 62% 68%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(246, 249, 255, 0.96) 0%, rgba(246, 249, 255, 0.78) 28%, rgba(246, 249, 255, 0.22) 58%, rgba(246, 249, 255, 0.72) 82%, rgba(246, 249, 255, 0.84) 100%);
}

html[data-theme="light"] .tile-hero__meta {
  background: rgba(255, 255, 255, 0.44);
}

html[data-theme="light"] .button.primary {
  border-color: rgba(121, 183, 255, 0.38);
  box-shadow:
    0 10px 18px rgba(34, 110, 214, 0.12),
    0 18px 30px rgba(16, 198, 184, 0.12);
}

html[data-theme="light"] .button.ghost {
  border-color: rgba(68, 97, 143, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.74));
  color: #102038;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 22px rgba(27, 53, 88, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .tile-hero::before,
  .tile-hero::after,
  .tile-hero__wash,
  .tile-hero__grain,
  .tile-hero__frame,
  .tile-hero__image {
    animation: none;
  }

  [data-depth-layer] {
    transform: none !important;
    transition: none !important;
  }
}

.hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero__copy,
.hero__visual,
.case-hero__copy,
.case-hero__media,
.panel,
.prose-panel {
  padding: var(--panel-pad);
}

.hero__visual {
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video-layer__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.02) contrast(1.02);
}

.tile-hero .hero-video-layer {
  z-index: 0;
}

.tile-hero .hero-video-layer__video {
  opacity: 0.52;
  filter: saturate(1.04) contrast(1.04) brightness(0.92);
}

.hero-video-layer__video.is-video-failed,
.case-hero__media-video.is-video-failed {
  display: none;
}

.hero__orbital,
.about-visual__field > :not(.hero-video-layer) {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
}

.section-kicker::before {
  content: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--heading-weight);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

.page-home h1,
.page-about h1 {
  color: var(--text);
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 20px rgba(44, 230, 207, 0.12);
}

.page-home .hero__copy h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  max-width: 10.4ch;
}

.hero__lede,
.body-copy,
.project-card__blurb,
.metric-card__label,
.narrative-card .body-copy,
.brief-grid dd,
.artifact-thumb span,
.download-row__type {
  color: var(--muted);
}

.hero__lede {
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2.3vw, 1.42rem);
  max-width: 40ch;
  margin: 1rem 0 0.75rem;
  line-height: 1.45;
}

.body-copy {
  font-size: 1rem;
  margin: 0;
}

.body-copy--tight {
  max-width: 36ch;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.metric-row--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.metric-card {
  border-radius: 10px;
  border: 1px solid rgba(123, 165, 211, 0.14);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(44, 230, 207, 0.06), transparent 46%);
  padding: 0.95rem 1rem;
}

.metric-card--compact {
  padding: 0.8rem;
}

.metric-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
}

.metric-card--compact .metric-card__value {
  font-size: 1.55rem;
}

.metric-card__label {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.hero__orbital {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(44, 230, 207, 0.24);
  background:
    radial-gradient(circle at center, rgba(44, 230, 207, 0.12), transparent 50%),
    radial-gradient(circle at 72% 28%, rgba(255, 138, 201, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  overflow: hidden;
  isolation: isolate;
  perspective: 1400px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(0, 0, 0, 0.16);
}

.hero__lottie {
  position: absolute;
  inset: -16% -12%;
  opacity: 0.22;
  filter: saturate(1.15) brightness(1.04) blur(8px);
  pointer-events: none;
}

.hero-motion {
  position: relative;
  min-height: 420px;
  width: 100%;
}

.hero-motion__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.42;
}

.hero-motion__halo--a {
  inset: 10% auto auto 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(44, 230, 207, 0.26), transparent 70%);
}

.hero-motion__halo--b {
  inset: auto 9% 12% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(119, 212, 255, 0.2), transparent 72%);
}

.hero-motion__halo--c {
  inset: 18% 24% auto auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 138, 201, 0.18), transparent 72%);
}

.hero-motion::before,
.hero-motion::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(119, 212, 255, 0.12);
  pointer-events: none;
}

.hero-motion::before {
  inset: 14% 14% 20% 12%;
  transform: rotate(-11deg);
}

.hero-motion::after {
  inset: 22% 8% 10% 20%;
  border-color: rgba(44, 230, 207, 0.12);
  transform: rotate(8deg);
}

.hero-motion__item {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  gap: 0.65rem;
  width: clamp(168px, 24vw, 228px);
  padding: 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(137, 170, 218, 0.22);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(7, 12, 26, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.8);
  cursor: grab;
  user-select: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.hero-motion__item:hover {
  border-color: rgba(119, 212, 255, 0.34);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.hero-motion__item.is-active {
  z-index: 14;
  border-color: rgba(44, 230, 207, 0.46);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38);
}

.hero-motion__item.is-grabbed {
  cursor: grabbing;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] .hero-motion__item {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.72)),
    rgba(255, 255, 255, 0.88);
}

.hero-motion__item--screen {
  width: clamp(210px, 32vw, 284px);
}

.hero-motion__item--flow {
  width: clamp(188px, 27vw, 234px);
}

.hero-motion__item--cover {
  width: clamp(142px, 19vw, 184px);
}

.hero-motion__item--tool {
  width: clamp(176px, 21vw, 214px);
}

.hero-motion__item img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
}

.hero-motion__item--screen img,
.hero-motion__item--flow img {
  aspect-ratio: 1.35 / 1;
}

.hero-motion__item--cover img {
  aspect-ratio: 0.84 / 1;
}

.hero-motion__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-motion__caption {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-motion__mini {
  border-radius: 16px;
  border: 1px solid rgba(137, 170, 218, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-motion__mini--wireframe {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
}

.hero-motion__mini--wireframe span {
  display: block;
  height: 0.68rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(119, 212, 255, 0.92), rgba(44, 230, 207, 0.52));
}

.hero-motion__mini--wireframe span:nth-child(2) {
  width: 74%;
}

.hero-motion__mini--wireframe span:nth-child(3) {
  width: 86%;
}

.hero-motion__mini--wireframe span:nth-child(4) {
  width: 58%;
}

.hero-motion__mini--tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.9rem;
}

.hero-motion__mini--tokens span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(44, 230, 207, 0.12);
  border: 1px solid rgba(44, 230, 207, 0.24);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero__year-band {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.section-block {
  margin-top: 2rem;
}

html[data-theme="light"] .section-block:nth-of-type(even) > .panel,
html[data-theme="light"] .section-block:nth-of-type(even) .story-bridge,
html[data-theme="light"] .section-block:nth-of-type(even) .artifact-set,
html[data-theme="light"] .section-block:nth-of-type(even) .flow-thread-panel,
html[data-theme="light"] .section-block:nth-of-type(even) .case-video {
  background:
    linear-gradient(155deg, rgba(242, 248, 255, 0.98), rgba(255, 255, 255, 0.94) 46%, rgba(245, 249, 255, 0.92)),
    var(--surface-strong);
}

.section-block--tight {
  margin-top: 1.25rem;
}

.section-block--narrow {
  grid-template-columns: minmax(0, 1fr);
}

.section-head {
  display: grid;
  gap: 0.65rem;
  max-width: 62ch;
}

.archive-shell .section-head,
.case-flow-thread .flow-thread-panel__intro {
  max-width: none;
}

.section-head h2,
.artifact-set__head h3,
.case-quicklook h2,
.narrative-card h2,
.prose-panel h2 {
  position: relative;
}

.case-quicklook h2,
.case-evidence h2,
.narrative-card h2,
.prose-panel h2 {
  font-size: clamp(1.52rem, 2.3vw, 2.1rem);
  line-height: 1.02;
}

.section-head h2::after,
.artifact-set__head h3::after,
.case-quicklook h2::after,
.narrative-card h2::after,
.prose-panel h2::after {
  content: "";
  display: block;
  width: min(100%, 320px);
  height: 2px;
  margin-top: 0.7rem;
  background: var(--rule-grad);
  border-radius: 999px;
  opacity: 0.9;
}

.claim-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.claim-card {
  min-height: 100%;
}

.claim-card__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.claim-card__text {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.hero--about-page {
  align-items: stretch;
  gap: 1.5rem;
}

.about-hero {
  display: grid;
  align-content: start;
  gap: 1.05rem;
  padding-right: clamp(0rem, 2vw, 1.4rem);
}

.about-hero__summary {
  display: grid;
  gap: 0.8rem;
  max-width: 34rem;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.about-visual {
  position: relative;
  min-height: 100%;
}

.about-visual__field {
  position: relative;
  min-height: clamp(420px, 54vw, 620px);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    radial-gradient(circle at 16% 20%, rgba(44, 230, 207, 0.22), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(119, 212, 255, 0.18), transparent 28%),
    radial-gradient(circle at 68% 72%, rgba(255, 138, 201, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(6, 13, 30, 0.96) 8%, rgba(7, 11, 26, 0.8) 52%, rgba(21, 18, 42, 0.9) 100%);
  perspective: 1400px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.16);
}

.about-visual__field::before,
.about-visual__field::after {
  content: "";
  position: absolute;
  inset: auto auto 10% 8%;
  width: min(56%, 360px);
  height: min(42%, 250px);
  border-radius: 32px;
  border: 1px solid rgba(137, 170, 218, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  transform: rotate(-7deg);
  filter: blur(2px);
}

.about-visual__field::after {
  inset: 14% 10% auto auto;
  width: min(42%, 250px);
  height: min(32%, 180px);
  transform: rotate(8deg);
  filter: blur(6px);
}

.about-visual__card,
.about-visual__avatar,
.about-visual__badge,
.about-visual__bulb,
.about-visual__caption {
  position: absolute;
  z-index: 2;
}

.about-visual__card {
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  width: min(44%, 300px);
  display: grid;
  gap: 0.58rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 26, 0.7);
  backdrop-filter: blur(10px);
}

.about-visual__card h2 {
  font-size: clamp(1.2rem, 2vw, 1.76rem);
  letter-spacing: -0.04em;
  color: rgba(245, 250, 255, 0.96);
}

.about-visual__card .section-kicker {
  color: var(--accent);
}

.about-visual__card .body-copy,
.about-visual__card .body-copy--tight {
  color: rgba(226, 235, 246, 0.82);
}

.about-visual__avatar {
  right: clamp(0.6rem, 2.4vw, 1.5rem);
  bottom: 0.4rem;
  width: min(48%, 332px);
  max-height: calc(100% - 1rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.about-visual__avatar img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.06));
}

.about-visual__badge {
  top: 13%;
  right: 14%;
  width: clamp(70px, 8.4vw, 104px);
}

.about-visual__badge img,
.about-visual__bulb img {
  width: 100%;
  height: auto;
  display: block;
}

.about-visual__bulb {
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(0.4rem, 2vw, 1.2rem);
  width: clamp(124px, 18vw, 188px);
  opacity: 0.9;
}

.about-visual__caption {
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.4rem);
  width: min(40%, 248px);
  display: grid;
  gap: 0.24rem;
  padding: 0.82rem 0.9rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 26, 0.62);
  backdrop-filter: blur(10px);
}

.about-visual__caption strong {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 620;
  letter-spacing: 0.01em;
}

.about-visual__caption span {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.about-value-strip {
  margin-top: -0.55rem;
}

.about-value-card {
  display: grid;
  gap: 1.15rem;
}

.about-value-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-value-card__grid article {
  display: grid;
  gap: 0.35rem;
}

.about-value-card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head--center,
.section-head--center .body-copy {
  text-align: center;
}

.section-head--center {
  justify-items: center;
}

.about-perspective .section-head,
.about-perspective .section-head .body-copy {
  text-align: left;
}

.about-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phone-testimonials-shell {
  margin-top: 0.2rem;
}

.phone-testimonials-panel {
  display: grid;
  gap: 1rem;
  justify-items: center;
  overflow: visible;
}

.phone-testimonials-panel::after {
  content: none;
}

.phone-testimonials-panel__head {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
}

.phone-testimonials {
  width: min(100%, 1040px);
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.phone-testimonials__device-wrap {
  position: relative;
  width: min(100%, 352px);
  min-height: 560px;
  transition: transform 220ms cubic-bezier(0.2, 1, 0.22, 1), filter 220ms ease;
}

.phone-testimonials__device-wrap::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 12, 26, 0) 0%, rgba(7, 12, 26, 0.26) 24%, rgba(7, 12, 26, 0.72) 64%, rgba(7, 12, 26, 0.96) 100%);
}

.phone-testimonials__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.22));
}

.phone-testimonials__screen {
  position: absolute;
  z-index: 3;
  inset: 4.35% 15.35% 21.15% 15.35%;
  border-radius: 2.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.06), rgba(8, 13, 26, 0.22));
}

.phone-testimonials__screen-bg {
  display: none;
}

.phone-testimonials__viewport {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0.98rem 0.94rem 0.9rem;
  overflow: hidden;
  outline: none;
}

.phone-testimonials__viewport:focus-visible,
.context-device__screen:focus-visible,
main#page-content:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, white 28%);
  outline-offset: 4px;
}

.phone-testimonial {
  position: absolute;
  inset: 0.98rem 0.94rem 0.9rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 0.68rem;
  min-width: 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 240ms ease;
  overflow: hidden;
}

.phone-testimonial.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.phone-testimonial__stars {
  margin: 0;
  color: #fff;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.phone-testimonial__quote {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  width: auto;
  max-width: 66%;
  font-size: 0.84rem;
  line-height: 1.36;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: pretty;
  text-shadow: 0 1px 18px rgba(8, 13, 26, 0.22);
  overflow-y: auto;
  padding-right: 0.14rem;
  scrollbar-width: thin;
}

.phone-testimonial__person {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.58rem;
  min-width: 0;
}

.phone-testimonial__person img {
  width: 1.62rem;
  height: 1.62rem;
  display: block;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    0 0 0 2px rgba(8, 13, 26, 0.36),
    0 8px 14px rgba(0, 0, 0, 0.18);
}

.phone-testimonial__person span {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.phone-testimonial__person strong {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.phone-testimonial__person em {
  color: rgba(237, 243, 255, 0.86);
  font-style: normal;
  font-size: 0.64rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.phone-testimonials__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-testimonials__control {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.22);
  background: rgba(8, 13, 26, 0.58);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.phone-testimonials__control:hover,
.phone-testimonials__control:focus-visible {
  border-color: rgba(44, 230, 207, 0.4);
}

.phone-testimonials__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-testimonials__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(137, 170, 218, 0.32);
  cursor: pointer;
}

.phone-testimonials__dot[aria-pressed="true"] {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 230, 207, 0.18);
}

html[data-theme="light"] .phone-testimonials__control {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-soft);
}

.testimonial-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.1rem 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(9, 15, 30, 0.82);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1.35rem;
  height: 1.35rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.72;
}

.testimonial-card__stars {
  font-size: 1.52rem;
  line-height: 1;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.testimonial-card__quote {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.62;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(44, 230, 207, 0.24), rgba(119, 212, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

.testimonial-card__meta {
  display: grid;
  gap: 0.1rem;
}

.testimonial-card__meta strong,
.testimonial-card__meta em {
  font-style: normal;
}

.testimonial-card__meta strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.testimonial-card__meta em {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.about-columns {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: start;
}

.about-columns__primary,
.about-columns__secondary {
  min-height: 100%;
}

.about-perspective {
  gap: 1.1rem;
}

.about-perspective__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-perspective__card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-height: 100%;
}

.about-perspective__icon {
  display: inline-grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 22px;
  border: 1px solid rgba(137, 170, 218, 0.24);
  background:
    radial-gradient(circle at 30% 25%, rgba(44, 230, 207, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(9, 14, 28, 0.34);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.about-perspective__icon svg {
  width: 2.18rem;
  height: 2.18rem;
}

.about-perspective__label {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-perspective__card h3 {
  line-height: 1.04;
  min-height: 0;
}

.about-perspective__card .body-copy {
  margin: 0;
}

html[data-theme="light"] .about-perspective__icon {
  background:
    radial-gradient(circle at 30% 25%, rgba(37, 129, 214, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.82)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(27, 46, 76, 0.08);
}

.about-lenses {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-lens {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.about-lens__icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.14));
}

.about-lens__copy {
  display: grid;
  gap: 0.45rem;
}

.about-lens__copy h2 {
  font-size: clamp(1.18rem, 1.6vw, 1.6rem);
  letter-spacing: -0.035em;
}

.about-richtext p {
  margin: 0;
}

.about-richtext p + p {
  margin-top: 0.92rem;
}

.about-tools {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

.about-tools__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: end;
}

.about-tools__head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.about-tools__head--center .body-copy {
  max-width: 36rem;
}

.about-timeline {
  display: grid;
  gap: 1rem;
}

.about-timeline__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.2rem;
  padding-top: 1.35rem;
}

.about-timeline__grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.36rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(137, 170, 218, 0.14), rgba(44, 230, 207, 0.45), rgba(137, 170, 218, 0.14));
}

.about-timeline__item {
  position: relative;
  display: grid;
  gap: 0.34rem;
  min-height: 100%;
  padding: 1.05rem 0.9rem 0.98rem;
  border: 1px solid rgba(137, 170, 218, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(9, 14, 26, 0.24);
}

.about-timeline__item::before {
  content: "";
  position: absolute;
  top: -1.05rem;
  left: 0.9rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  border: 2px solid rgba(44, 230, 207, 0.56);
  background: rgba(6, 11, 20, 0.96);
  box-shadow: 0 0 0 0.28rem rgba(8, 14, 26, 0.92);
}

.about-timeline__year {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.tool-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.9rem 0.75rem;
}

.tool-grid__item {
  display: grid;
  justify-items: center;
  gap: 0.48rem;
  text-align: center;
  padding: 0.18rem 0.12rem;
  transition: transform 180ms cubic-bezier(0.2, 1, 0.22, 1), opacity 180ms ease;
}

.tool-mark {
  width: clamp(2.8rem, 3vw, 3.3rem);
  height: clamp(2.8rem, 3vw, 3.3rem);
  display: grid;
  place-items: center;
  padding: 0.16rem;
}

.tool-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-grid__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  line-height: 1.2;
}

.tool-grid--about {
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(5.8rem, 1fr));
  gap: 1rem 0.62rem;
  justify-items: center;
}

.tool-grid--about .tool-grid__item {
  width: 100%;
  gap: 0.62rem;
}

.tool-grid--about .tool-mark {
  width: clamp(4.5rem, 5.4vw, 5.6rem);
  height: clamp(4.5rem, 5.4vw, 5.6rem);
  padding: 0.18rem;
}

.tool-grid--about .tool-grid__label {
  font-size: 0.84rem;
}

.tool-grid--about .tool-mark img[src*="axure"],
.tool-grid--about .tool-mark img[src*="invision"] {
  transform: scale(1.1);
}

.tool-grid--about .tool-mark img[src*="runway"] {
  filter: brightness(2.2) contrast(1.04);
}

html[data-theme="light"] .tool-grid--about .tool-mark img[src*="runway"] {
  filter: none;
}

.client-logo[src*="bmgf-logo"] {
  max-width: 190px;
  max-height: 1.92rem;
}

.tool-grid--case {
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  justify-items: center;
}

.tool-grid--case .tool-mark {
  width: 5rem;
  height: 5rem;
  padding: 0.22rem;
  border-radius: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tool-grid--case .tool-grid__label {
  font-size: 0.76rem;
}

.case-tools__panel {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.case-tools__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  justify-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
}

.tool-grid--case {
  width: min(100%, 760px);
  margin: 0 auto;
}

.about-contact {
  display: grid;
  gap: 0.9rem;
}

.about-contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-contact__field {
  display: grid;
  gap: 0.34rem;
}

.about-contact__field span {
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.about-contact__field input,
.about-contact__field textarea {
  width: 100%;
  border: 1px solid rgba(137, 170, 218, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 26, 0.24);
  color: var(--text);
  padding: 0.8rem 0.92rem;
  font: inherit;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  resize: vertical;
}

.about-contact__field input::placeholder,
.about-contact__field textarea::placeholder {
  color: color-mix(in srgb, var(--text-soft) 72%, transparent);
}

.about-contact__field input:focus,
.about-contact__field textarea:focus {
  outline: none;
  border-color: rgba(44, 230, 207, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(44, 230, 207, 0.12);
}

.about-contact__field input[aria-invalid="true"],
.about-contact__field textarea[aria-invalid="true"] {
  border-color: rgba(255, 122, 136, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(255, 122, 136, 0.14);
}

.about-contact__field--full {
  grid-column: 1 / -1;
}

.about-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  align-items: center;
}

.about-contact__status {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.about-contact__status[data-state="error"] {
  color: #ffb2b8;
}

.about-contact__status[data-state="success"] {
  color: color-mix(in srgb, var(--accent) 70%, white 30%);
}

.home-about__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
}

.home-about__copy {
  max-width: 66ch;
}

.home-about__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.silverlight-fit__panel {
  display: grid;
  gap: 1.25rem;
}

.silverlight-fit__panel--compact {
  gap: 0.5rem;
}

.silverlight-fit__panel--compact .silverlight-fit__intro {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
}

.silverlight-fit__panel--compact .silverlight-fit__badge {
  width: 2.4rem;
  height: 2.4rem;
}

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

.silverlight-fit__badge {
  width: 4.4rem;
  height: 4.4rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(137, 170, 218, 0.2);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(7, 12, 25, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(0, 0, 0, 0.16);
}

.silverlight-fit__badge img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.silverlight-fit__copy {
  display: grid;
  gap: 0.45rem;
}

.silverlight-fit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 0.4rem;
}

.silverlight-fit__copy h3,
.silverlight-fit__card h3 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.silverlight-fit__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.silverlight-fit__meta span,
.silverlight-fit__signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.silverlight-fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.silverlight-fit__card {
  display: grid;
  gap: 0.72rem;
  min-height: 100%;
  padding: 1.1rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 46%, rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 22, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.12);
}

.silverlight-fit__label,
.silverlight-fit__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.silverlight-fit__list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.54rem;
  color: var(--text-soft);
}

.silverlight-fit__list li::marker {
  color: var(--accent-sky);
}

.silverlight-fit__card--preview {
  padding: 0.92rem;
  overflow: hidden;
}

.silverlight-fit__chrome {
  display: flex;
  gap: 0.38rem;
  margin-bottom: 0.7rem;
}

.silverlight-fit__chrome span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.silverlight-fit__screen {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 280px;
  border-radius: 18px;
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(4, 8, 18, 0.76);
  overflow: hidden;
}

.silverlight-fit__rail {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  padding: 1rem 0.9rem;
  border-right: 1px solid rgba(137, 170, 218, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.silverlight-fit__rail p {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.03);
}

.silverlight-fit__surface {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem;
}

.silverlight-fit__surface-head {
  display: grid;
  gap: 0.35rem;
}

.silverlight-fit__surface-head h3 {
  font-size: clamp(1.06rem, 1.6vw, 1.34rem);
}

.silverlight-fit__artifact-row {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.silverlight-fit__artifact {
  display: block;
  min-height: 108px;
  border-radius: 14px;
  border: 1px solid rgba(137, 170, 218, 0.14);
  background:
    radial-gradient(circle at 26% 24%, rgba(119, 212, 255, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
}

.silverlight-fit__artifact--wide {
  min-height: 132px;
}

.silverlight-fit__signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.selected-work-preview {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.15rem 0 1.4rem;
}

.selected-work-preview__item {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  background: rgba(8, 12, 24, 0.34);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  transition: transform 220ms cubic-bezier(0.2, 1, 0.22, 1), box-shadow 220ms ease;
}

.selected-work-preview__item:nth-child(1),
.selected-work-preview__item:nth-child(2) {
  grid-column: span 6;
  min-height: 280px;
}

.selected-work-preview__item:nth-child(n + 3) {
  grid-column: span 4;
}

.selected-work-preview__item img,
.selected-work-preview__overlay {
  position: absolute;
  inset: 0;
}

.selected-work-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 1, 0.22, 1);
}

.selected-work-preview__overlay {
  background:
    linear-gradient(180deg, rgba(4, 7, 16, 0.04) 0%, rgba(4, 7, 16, 0.18) 34%, rgba(4, 7, 16, 0.78) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 26%);
  z-index: 1;
}

.selected-work-preview__eyebrow,
.selected-work-preview__title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-inline: 1.05rem;
}

.selected-work-preview__eyebrow {
  padding-top: 1.05rem;
  align-self: start;
  color: rgba(244, 248, 255, 0.8);
  font-size: 0.74rem;
  font-weight: 640;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.selected-work-preview__title {
  padding-bottom: 1.05rem;
  font-size: clamp(1rem, 2vw, 1.34rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.selected-work-preview__item:hover,
.selected-work-preview__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 42px rgba(0, 0, 0, 0.28);
}

.selected-work-preview__item:hover img,
.selected-work-preview__item:focus-visible img {
  transform: scale(1.03);
}

.selected-work-preview__item:focus-visible {
  outline: 2px solid rgba(44, 230, 207, 0.52);
  outline-offset: 4px;
}

.silverlight-lab__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.silverlight-lab__copy {
  display: grid;
  gap: 0.78rem;
}

.silverlight-lab__copy h2 {
  margin: 0;
}

.silverlight-lab__signals {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.48rem;
  color: var(--text-soft);
}

.silverlight-lab__signals li::marker {
  color: var(--accent-sky);
}

.silverlight-lab__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.silverlight-lab__nav {
  display: grid;
  gap: 0.78rem;
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(137, 170, 218, 0.16);
  background:
    radial-gradient(circle at top left, rgba(76, 141, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 24, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 32px rgba(0, 0, 0, 0.12);
}

.silverlight-lab__nav-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.silverlight-lab__scenario-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.silverlight-lab__scenario {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.8rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.silverlight-lab__scenario:hover,
.silverlight-lab__scenario:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(76, 141, 255, 0.38);
  background: rgba(76, 141, 255, 0.12);
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -55%;
  left: -64%;
  width: 70%;
  height: 220%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-24%) rotate(8deg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.24) 32%, rgba(44, 230, 207, 0.22) 46%, rgba(255, 138, 201, 0.16) 58%, rgba(255, 255, 255, 0.1) 72%, rgba(255, 255, 255, 0) 82%);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(44, 230, 207, 0.4);
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.26);
}

@media (hover:hover) {
  .project-card:hover::before,
  .project-card:focus-visible::before {
    opacity: 0.92;
    animation: q10_sheen_sweep 900ms cubic-bezier(0.2, 1, 0.22, 1) both;
  }
}

.project-card__media {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  aspect-ratio: 1.04 / 1;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card__media img,
.artifact-thumb img,
.case-hero__media img,
.lightbox__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.72rem;
  padding: 0;
}

.project-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem 0.65rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-card__eyebrow span + span::before {
  content: "•";
  margin-right: 0.65rem;
  color: var(--line-strong);
}

.project-card__title {
  line-height: 1;
  min-height: 2.05em;
}

.project-card__blurb {
  margin: 0;
  line-height: 1.5;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  min-height: 2.35rem;
  width: fit-content;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 242, 255, 0.28);
  background: linear-gradient(135deg, rgba(16, 200, 191, 0.18), rgba(35, 136, 255, 0.18) 52%, rgba(107, 127, 255, 0.16) 100%);
  color: #f7fbff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 18px rgba(14, 94, 201, 0.12),
    0 16px 26px rgba(19, 224, 200, 0.12);
  transition:
    transform 220ms cubic-bezier(0.2, 1, 0.22, 1),
    box-shadow 220ms ease,
    background-position 220ms ease,
    border-color 220ms ease;
}

.project-card__cta::after {
  content: "→";
  font-size: 0.95rem;
  transition: transform 180ms ease;
}

.project-card__link:hover .project-card__cta,
.project-card__link:focus-visible .project-card__cta {
  transform: translateY(-1px);
  border-color: rgba(214, 247, 255, 0.38);
  box-shadow:
    0 14px 24px rgba(13, 96, 208, 0.16),
    0 20px 34px rgba(13, 207, 197, 0.14);
}

.tag-list,
.download-grid,
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.36rem;
  margin-top: 0.9rem;
}

.tag-list li {
  display: flex;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.76rem;
  padding: 0.22rem 0.62rem;
  border-radius: 11px;
  border: 1px solid rgba(137, 170, 218, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 26, 0.28);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.tag__label {
  display: inline-block;
}

.tag--interactive {
  cursor: pointer;
}

.tag--interactive:hover,
.tag--interactive:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 230, 207, 0.4);
  background:
    linear-gradient(180deg, rgba(44, 230, 207, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(9, 16, 30, 0.44);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

.tag--interactive[aria-pressed="true"],
.tag--interactive.is-active {
  border-color: rgba(44, 230, 207, 0.6);
  background:
    linear-gradient(180deg, rgba(44, 230, 207, 0.18), rgba(119, 212, 255, 0.08)),
    rgba(11, 18, 32, 0.62);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.tag-list--filters {
  margin-top: 0.88rem;
  min-height: 4.6rem;
  align-content: flex-start;
  overflow: hidden;
}

.tag-list--card {
  margin-top: 0.18rem;
  min-height: 0;
  margin-bottom: 0.08rem;
  gap: 0.22rem 0.3rem;
}

.tag-list--case {
  margin-top: 0.95rem;
}

.tag-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.tag-filter-bar__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.tag-filter-bar__active {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.button--sm {
  min-height: 2rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}

.project-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}

.project-card__link:hover .project-card__cta::after,
.project-card__link:focus-visible .project-card__cta::after {
  transform: translateX(2px);
}

.tag--overflow {
  border-style: dashed;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(119, 212, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 26, 0.22);
}

.project-card[data-hidden="true"] {
  display: none;
}

html[data-theme="light"] .tag {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 249, 255, 0.86)),
    rgba(255, 255, 255, 0.84);
  border-color: rgba(49, 76, 116, 0.18);
  color: #17314f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .tag--interactive:hover,
html[data-theme="light"] .tag--interactive:focus-visible {
  background:
    linear-gradient(180deg, rgba(44, 230, 207, 0.12), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  color: #0b1a32;
}

html[data-theme="light"] .tag--interactive[aria-pressed="true"],
html[data-theme="light"] .tag--interactive.is-active {
  background:
    linear-gradient(180deg, rgba(44, 230, 207, 0.18), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
  color: #0a1730;
}

html[data-theme="light"] .project-card__eyebrow,
html[data-theme="light"] .project-card__blurb,
html[data-theme="light"] .metric-card__label,
html[data-theme="light"] .body-copy,
html[data-theme="light"] .body-copy--tight,
html[data-theme="light"] .about-visual__card .body-copy,
html[data-theme="light"] .about-visual__card .body-copy--tight,
html[data-theme="light"] .narrative-card .body-copy,
html[data-theme="light"] .prose-panel p,
html[data-theme="light"] .download-row__meta,
html[data-theme="light"] .download-row__action-meta,
html[data-theme="light"] .story-bridge__cta-meta {
  color: var(--text-soft);
}

html[data-theme="light"] .project-card__title,
html[data-theme="light"] .narrative-card h2,
html[data-theme="light"] .prose-panel h2,
html[data-theme="light"] .highlight-card__caption,
html[data-theme="light"] .flow-card__caption,
html[data-theme="light"] .flow-card__note,
html[data-theme="light"] .case-chapter-rail__link,
html[data-theme="light"] .case-hero__meta strong {
  color: var(--text);
}

.case-hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(500px, 60vh, 740px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 18%, rgba(44, 230, 207, 0.18), transparent 34%),
    radial-gradient(circle at 94% 72%, rgba(119, 212, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.92), rgba(5, 10, 20, 0.86));
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: -6% -8% -6% 38%;
  z-index: 0;
  background-image: var(--case-hero-cover);
  background-size: cover;
  background-position: center right;
  opacity: 0.34;
  filter: blur(34px) saturate(1.08);
  transform: scale(1.06);
}

.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 0.88) 46%, rgba(0, 0, 0, 0.54) 62%, rgba(0, 0, 0, 0.16) 74%, rgba(0, 0, 0, 0) 82%);
}

.case-hero__copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 0.8rem;
  width: 100%;
  margin: 0;
  min-height: inherit;
  padding: clamp(1.6rem, 4.4vw, 3.4rem) 1rem clamp(5rem, 8.6vw, 7rem) var(--rail-inline);
  max-width: min(100%, 78rem);
}

.case-hero__copy h1 {
  font-size: clamp(1.76rem, 4.6vw, 4.08rem);
  max-width: 14.4ch;
  line-height: 1.05;
}

.case-hero__copy .hero__lede {
  font-size: clamp(1rem, 1.9vw, 1.24rem);
  max-width: 50ch;
  margin-top: 0.8rem;
}

.case-client-attrib {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0;
}

.case-client-attrib__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 2.2rem;
  margin: 0;
  padding: 0;
}

.case-client-attrib__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.95rem;
  padding: 0.24rem 0.54rem;
  border-radius: 12px;
  border: 1px solid rgba(137, 170, 218, 0.18);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.case-client-attrib__item--logo {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.case-client-logo {
  max-height: 1rem;
  max-width: 92px;
  display: block;
  margin: 0;
}

.case-hero--whitelabel {
  --case-accent: var(--accent);
  --case-accent-soft: var(--accent-sky);
  --case-brand-bg: rgba(17, 29, 53, 0.92);
}

.case-hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  filter: blur(0.2px);
}

.case-hero__grid,
.case-hero__bullseye,
.case-hero__gradient,
.case-hero__company-color,
.case-hero__postit,
.case-hero__go {
  position: absolute;
  opacity: 0.92;
}

.case-hero__gradient {
  left: 0;
  top: 0;
  width: min(64vw, 860px);
  opacity: 0.22;
  filter: blur(4px);
}

.case-hero__gradient--light {
  display: none;
}

.case-hero__company-color {
  right: min(18vw, 13rem);
  top: clamp(4rem, 11vw, 8rem);
  width: min(26vw, 380px);
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: blur(10px);
}

.case-hero__grid {
  left: var(--rail-inline);
  top: clamp(1.1rem, 4vw, 2.4rem);
  width: min(44vw, 520px);
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: blur(1px);
}

.case-hero__bullseye {
  left: clamp(1rem, 28vw, 24rem);
  top: clamp(5rem, 26vw, 14rem);
  width: clamp(92px, 12vw, 168px);
  opacity: 0.3;
}

.case-hero__postit--pink {
  left: clamp(0.8rem, 31vw, 26rem);
  bottom: clamp(6rem, 18vw, 14rem);
  width: clamp(48px, 6vw, 88px);
}

.case-hero__postit--blue {
  left: clamp(4.2rem, 35vw, 30rem);
  top: clamp(9rem, 18vw, 11rem);
  width: clamp(42px, 5vw, 76px);
}

.case-hero__go {
  right: min(14vw, 15rem);
  bottom: clamp(3rem, 9vw, 6rem);
  width: clamp(34px, 4.6vw, 58px);
  opacity: 0.7;
}

.case-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(100%, 46rem);
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.case-hero__meta li {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(137, 170, 218, 0.18);
}

.case-hero__meta span {
  color: var(--muted);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-hero__meta strong {
  color: rgba(245, 250, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 520;
  line-height: 1.4;
}

.case-hero__copy .tag-list {
  margin-top: 0.85rem;
  margin-bottom: 0.6rem;
  gap: 0.12rem 0.22rem;
  max-width: 40rem;
}

.case-hero__jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.22rem;
  width: min(100%, 56rem);
}

.case-hero__jump {
  min-height: 2.35rem;
  padding-inline: 1rem;
  border-color: rgba(137, 170, 218, 0.24);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 12px;
}

.case-hero__jump:hover,
.case-hero__jump:focus-visible {
  border-color: rgba(44, 230, 207, 0.42);
  color: var(--text);
}

.case-hero__jump.button.primary {
  color: #071421;
}

.case-hero__jump-icon {
  font-size: 0.84rem;
  line-height: 1;
}

.case-hero__carousel-nav {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.case-hero__chevron {
  position: absolute;
  top: auto;
  bottom: clamp(4.85rem, 8vh, 6.2rem);
  transform: none;
  pointer-events: auto;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.26);
  background: linear-gradient(145deg, rgba(5, 12, 24, 0.88), rgba(5, 12, 24, 0.54));
  color: rgba(245, 250, 255, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.case-hero__chevron small {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: calc(100% + 0.42rem);
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(211, 228, 255, 0.68);
  white-space: nowrap;
  pointer-events: none;
}

.case-hero__chevron--prev {
  left: clamp(0.45rem, 2.2vw, 1.5rem);
}

.case-hero__chevron--next {
  right: clamp(0.45rem, 2.2vw, 1.5rem);
}

.case-hero__chevron:hover,
.case-hero__chevron:focus-visible {
  transform: scale(1.03);
  border-color: rgba(44, 230, 207, 0.44);
  color: #ffffff;
}

#case-brief,
#case-deliverables,
#case-story,
#case-highlights,
#case-archive,
#case-downloads,
#case-supporting-artifacts,
#case-tools,
#case-video {
  scroll-margin-top: clamp(7.8rem, 10.5vw, 9.4rem);
}

.case-content--locked {
  display: none;
}

.case-content--locked.is-unlocked {
  display: block;
}

.nda-gate {
  margin-top: 1.4rem;
}

.nda-gate__panel {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 840px);
  margin: 0 auto;
}

.nda-gate__panel h2 {
  max-width: 24ch;
}

.nda-gate__legal {
  color: var(--muted);
  font-size: 0.9rem;
}

.nda-gate__form {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 440px);
}

.nda-gate__ack {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.nda-gate__ack input {
  margin-top: 0.12rem;
}

.nda-gate__field {
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nda-gate__field input {
  min-height: 2.6rem;
  padding: 0.5rem 0.68rem;
  border-radius: 12px;
  border: 1px solid rgba(137, 170, 218, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 24, 0.5);
  color: var(--text);
}

.nda-gate__field input::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent);
}

.nda-gate__field input:focus-visible {
  border-color: rgba(44, 230, 207, 0.45);
  box-shadow: 0 0 0 3px rgba(44, 230, 207, 0.16);
  outline: none;
}

.nda-gate__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.nda-gate__status {
  margin: 0;
  min-height: 1.3rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.nda-gate__status[data-state="error"] {
  color: #ffb2b8;
}

.nda-gate__status[data-state="success"] {
  color: color-mix(in srgb, var(--accent) 66%, white 34%);
}

.case-chapter-rail {
  position: sticky;
  top: 4.35rem;
  z-index: 18;
  margin: -1.55rem auto 1rem;
  padding-inline: clamp(1rem, 3vw, 2rem);
  width: min(1260px, calc(100vw - 2rem));
}

.case-quicklook > .case-chapter-rail {
  grid-column: 1 / -1;
  position: relative;
  top: auto;
  margin: 0 0 0.54rem;
  justify-self: start;
  width: fit-content;
  max-width: min(100%, 640px);
  padding-inline: 0;
  z-index: 1;
}

.case-quicklook > .case-chapter-rail .case-chapter-rail__inner {
  border-radius: 16px;
}

.case-chapter-rail__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.5rem;
  border: 1px solid rgba(137, 170, 218, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.84), rgba(8, 14, 28, 0.7)),
    rgba(8, 14, 28, 0.68);
  backdrop-filter: blur(22px) saturate(1.08);
  box-shadow: 0 18px 34px rgba(5, 14, 24, 0.16);
}

.case-chapter-rail__links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  flex-wrap: wrap;
  min-width: 0;
}

.case-chapter-rail__link,
.case-chapter-rail__edge {
  text-decoration: none;
}

.case-chapter-rail__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 540;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.case-chapter-rail__edge {
  display: none;
}

.case-chapter-rail__link:hover,
.case-chapter-rail__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(137, 170, 218, 0.18);
  transform: translateY(-1px);
}

.case-chapter-rail__link.is-active,
.case-chapter-rail__link[aria-current="true"] {
  color: var(--text);
  border-color: rgba(44, 230, 207, 0.28);
  background:
    linear-gradient(135deg, rgba(44, 230, 207, 0.14), rgba(119, 212, 255, 0.08)),
    rgba(11, 19, 34, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#selected-work,
#case-brief,
#case-flows,
#case-story,
#case-highlights,
#case-archive,
#case-artifacts,
#case-video {
  scroll-margin-top: clamp(5.5rem, 10vh, 7.6rem);
}

.case-chapter-rail__edge {
  display: none !important;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.45rem 0.72rem;
  border-radius: 18px;
  border: 1px solid rgba(137, 170, 218, 0.14);
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.case-chapter-rail__edge:hover,
.case-chapter-rail__edge:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 230, 207, 0.24);
  box-shadow: 0 14px 28px rgba(4, 12, 24, 0.18);
}

.case-chapter-rail__edge--next {
  justify-self: end;
}

.case-chapter-rail__edge-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  flex: 0 0 auto;
}

.case-chapter-rail__edge-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.case-chapter-rail__edge-copy strong {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 540;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-chapter-rail__edge-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(66vw, 1180px);
  min-height: 100%;
  margin: 0;
  filter: saturate(1.04);
}

.case-hero__media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.case-hero__media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.9;
}

.case-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(5, 10, 20, 0.56) 0%, rgba(5, 10, 20, 0.34) 30%, rgba(5, 10, 20, 0.12) 58%, rgba(5, 10, 20, 0) 78%);
}

.case-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.16), rgba(5, 10, 20, 0.46));
  z-index: 1;
}

html[data-theme="light"] .case-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(44, 230, 207, 0.12), transparent 34%),
    radial-gradient(circle at 94% 72%, rgba(119, 212, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.95));
}

html[data-theme="light"] .case-hero::before {
  inset: -10% -10% -10% 28%;
  opacity: 0.18;
  filter: blur(42px) saturate(0.88);
  transform: scale(1.1);
}

html[data-theme="light"] .case-hero::after {
  background: linear-gradient(
    90deg,
    rgba(249, 252, 255, 0.97) 0%,
    rgba(249, 252, 255, 0.95) 22%,
    rgba(249, 252, 255, 0.8) 42%,
    rgba(249, 252, 255, 0.52) 61%,
    rgba(249, 252, 255, 0.2) 76%,
    rgba(249, 252, 255, 0.03) 88%,
    rgba(249, 252, 255, 0) 96%
  );
}

html[data-theme="light"] .case-hero__media::before {
  background: linear-gradient(
    90deg,
    rgba(249, 252, 255, 0.34) 0%,
    rgba(249, 252, 255, 0.2) 20%,
    rgba(249, 252, 255, 0.08) 40%,
    rgba(249, 252, 255, 0.02) 60%,
    rgba(249, 252, 255, 0) 82%
  );
}

html[data-theme="light"] .case-hero__media::after {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.06), rgba(248, 251, 255, 0.14));
}

html[data-theme="light"] .case-chapter-rail__inner {
  border-color: rgba(137, 170, 218, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(18, 30, 44, 0.08);
}

html[data-theme="light"] .case-chapter-rail__link:hover,
html[data-theme="light"] .case-chapter-rail__link:focus-visible {
  background: rgba(20, 34, 56, 0.04);
}

html[data-theme="light"] .case-chapter-rail__link.is-active,
html[data-theme="light"] .case-chapter-rail__link[aria-current="true"] {
  background:
    linear-gradient(135deg, rgba(44, 230, 207, 0.14), rgba(119, 212, 255, 0.06)),
    rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .case-chapter-rail__edge {
  border-color: rgba(137, 170, 218, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.78));
}

html[data-theme="light"] .case-chapter-rail__edge-arrow {
  background: rgba(20, 34, 56, 0.05);
}

html[data-theme="light"] .case-hero__meta strong {
  color: var(--text);
}

html[data-theme="light"] .case-hero__grid,
html[data-theme="light"] .case-hero__bullseye,
html[data-theme="light"] .case-hero__company-color {
  opacity: 0.14;
}

html[data-theme="light"] .case-hero__gradient--dark {
  display: none;
}

html[data-theme="light"] .case-hero__gradient--light {
  display: block;
  opacity: 0.18;
}

html[data-theme="light"] .case-hero__chevron {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.8));
  color: var(--text-soft);
}

html[data-theme="light"] .case-hero__chevron small {
  color: rgba(57, 79, 112, 0.78);
}

html[data-theme="light"] .case-hero__jump.button.primary {
  color: #ffffff;
}

.case-quicklook {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0.92rem;
  position: relative;
  z-index: 6;
  margin-top: clamp(-4.35rem, -6.4vw, -2.35rem);
  overflow: visible;
}

.case-quicklook .panel {
  border-radius: 14px;
  background:
    linear-gradient(122deg, rgba(44, 230, 207, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--surface);
}

.panel--brief {
  align-content: start;
}

.brief-problem {
  margin: 0.25rem 0 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 56ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.brief-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 0.15rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(137, 170, 218, 0.16);
}

.brief-grid--compact > div {
  padding: 0.1rem 0 0.2rem;
  border: 0;
  background: transparent;
}

.brief-grid dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.brief-grid dd {
  margin: 0.4rem 0 0;
}

.brief-grid--compact dd {
  font-size: 0.88rem;
  line-height: 1.42;
  margin-top: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panel--context {
  position: relative;
  align-content: start;
  overflow: visible;
  padding-bottom: 0.72rem;
}

.context-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.92fr);
  gap: 0.95rem;
  align-items: stretch;
}

.context-shell--device {
  grid-template-columns: minmax(170px, 0.66fr) minmax(360px, 1.34fr);
  gap: 0.72rem;
  align-items: stretch;
  overflow: visible;
}

.context-copy-column {
  display: grid;
  gap: 0.82rem;
  align-content: start;
  padding-top: 1.1rem;
}

.context-device-wrap {
  display: grid;
  align-items: start;
  justify-items: end;
  position: relative;
  z-index: 30;
  margin-top: clamp(-14.8rem, -17vw, -10.2rem);
  margin-right: clamp(-1.25rem, -2vw, -0.5rem);
  margin-bottom: -4.2rem;
}

.context-device {
  position: relative;
  z-index: 31;
  width: min(100%, 610px);
  padding: 0;
}

.context-device__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  margin-inline: auto;
  filter: drop-shadow(0 44px 56px rgba(0, 0, 0, 0.3));
}

.context-device__screen {
  position: absolute;
  inset: 5% 40.5% 27.6% 13.2%;
  z-index: 2;
  display: block;
  border-radius: 2.35rem;
  background:
    linear-gradient(180deg, rgba(14, 21, 44, 0.1), rgba(14, 21, 44, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.context-device__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 82%, color-mix(in srgb, var(--case-accent-soft) 35%, transparent), transparent 42%);
  opacity: 0.42;
  pointer-events: none;
}

.context-device__viewport,
.context-device__specs {
  position: relative;
  z-index: 1;
}

.context-device__viewport {
  height: 100%;
  overflow-y: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-gutter: stable both-edges;
  padding: 0.88rem 0.8rem 0.82rem;
}

.context-device__specs {
  display: grid;
  gap: 0.4rem;
  min-height: min-content;
}

.context-device .context-spec {
  padding: 0.02rem 0 0.46rem;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.context-device .context-spec__label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.context-device .context-spec__label::after {
  content: ":";
}

.context-device .context-spec__value,
.context-device .context-spec__list {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  line-height: 1.22;
  font-weight: 430;
  overflow-wrap: anywhere;
}

.context-device .context-spec__list {
  list-style: none;
  padding-left: 0;
  gap: 0.04rem;
}

.context-device .context-spec__list li {
  margin: 0;
  font-weight: 420;
}

.about-testimonials,
.about-perspective,
.about-lenses,
.about-tools,
.about-timeline,
.about-contact,
.artifact-set,
.story-bridge-shell {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.error-page {
  min-height: min(72vh, 52rem);
  display: grid;
  align-items: center;
}

.error-panel {
  width: min(100%, 42rem);
  margin-inline: auto;
  text-align: left;
}

.error-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.context-accent-column {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.context-specs--plain {
  gap: 0.4rem;
  padding-top: 0.18rem;
}

.context-accent-card {
  position: relative;
  min-height: 172px;
  padding: 0.92rem 0.9rem;
  border: 1px solid rgba(137, 170, 218, 0.18);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--case-accent) 18%, transparent), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 12, 28, 0.92);
}

.context-accent-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}

.context-accent-card__copy {
  position: relative;
  z-index: 2;
  max-width: none;
  min-width: 0;
  display: grid;
  gap: 0.34rem;
  align-content: start;
}

.context-accent-card__eyebrow {
  margin: 0;
  color: var(--case-accent-soft);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.context-accent-card__prompt {
  margin: 0;
  max-width: 18ch;
  font-size: 0.8rem;
  line-height: 1.38;
  color: rgba(236, 243, 255, 0.76);
  font-weight: 430;
  overflow-wrap: anywhere;
}

.context-accent-card__bullseye,
.context-accent-card__postit {
  position: absolute;
  z-index: 1;
}

.context-accent-card__bullseye {
  display: none;
}

.context-accent-card__postit--pink {
  display: none;
}

.context-accent-card__postit--blue {
  display: none;
}

.context-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.context-mini-card {
  margin: 0;
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(137, 170, 218, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 12, 24, 0.78);
}

.context-mini-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.context-mini-card figcaption {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.38rem;
  margin: 0;
  padding: 0.18rem 0.36rem;
  border-radius: 8px;
  background: rgba(4, 8, 19, 0.58);
  color: rgba(236, 243, 255, 0.88);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.context-specs {
  display: grid;
  gap: 0.32rem;
  align-content: start;
}

.context-spec {
  padding: 0.08rem 0 0.42rem;
  border-bottom: 1px solid rgba(137, 170, 218, 0.14);
}

.context-spec__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 640;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.context-spec__value {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.32;
  font-weight: 520;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.context-spec__list {
  margin: 0.32rem 0 0;
  padding: 0 0 0 1rem;
  display: grid;
  gap: 0.26rem;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.context-spec__list li {
  line-height: 1.34;
}

.imagey-marquee {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(137, 170, 218, 0.2);
  overflow: hidden;
  min-height: 286px;
  background:
    linear-gradient(155deg, rgba(64, 80, 255, 0.32), rgba(45, 16, 139, 0.22)),
    radial-gradient(circle at 18% 12%, rgba(119, 212, 255, 0.26), transparent 42%),
    rgba(8, 14, 34, 0.86);
}

.imagey-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 0.72rem;
  min-width: max-content;
  padding: 0.72rem;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.imagey-card {
  margin: 0;
  position: relative;
  flex: 0 0 clamp(128px, 16vw, 178px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 26, 0.45);
}

.imagey-card img {
  width: 100%;
  height: 100%;
  min-height: 246px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.imagey-card figcaption {
  position: absolute;
  left: 0.46rem;
  right: 0.46rem;
  bottom: 0.42rem;
  margin: 0;
  padding: 0.2rem 0.42rem;
  border-radius: 7px;
  background: rgba(4, 8, 19, 0.56);
  color: rgba(236, 243, 255, 0.88);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.imagey-marquee__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 6vw, 58px);
  z-index: 2;
  pointer-events: none;
}

.imagey-marquee__edge--left {
  left: 0;
  background: linear-gradient(90deg, rgba(6, 11, 26, 0.94), rgba(6, 11, 26, 0));
}

.imagey-marquee__edge--right {
  right: 0;
  background: linear-gradient(270deg, rgba(6, 11, 26, 0.94), rgba(6, 11, 26, 0));
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem 0.78rem;
  margin-top: 0.52rem;
  position: relative;
}

.phase-grid--legend {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.34rem;
}

.phase-thread {
  position: absolute;
  inset: 0.15rem 0 0 0;
  z-index: 0;
  background: center top / min(100%, 760px) auto no-repeat url("../images/case-alt/whitelabel-thread.svg");
  opacity: 0.52;
  pointer-events: none;
}

.case-evidence .panel {
  width: min(100%, 760px);
  margin-inline: auto 0;
  padding-top: 0.9rem;
  padding-bottom: 0.92rem;
}

.phase-lanes__note {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.phase-bar {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  padding: 0.48rem 0 0.56rem 2.8rem;
  border: 0;
  border-bottom: 1px solid rgba(137, 170, 218, 0.14);
  border-radius: 0;
  background: transparent;
  min-width: 0;
  transition: border-color 180ms ease, transform 180ms ease;
}

.phase-bar__ordinal {
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-mono);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(180, 200, 235, 0.28);
}

.phase-bar__icon {
  color: var(--accent);
  width: 1.42rem;
  height: 1.42rem;
  flex: 0 0 1.42rem;
  transition: transform 180ms ease, color 180ms ease;
}

.phase-bar__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.16rem;
}

.phase-bar__identity {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  min-width: 0;
}

.phase-bar__name {
  color: var(--muted);
  margin-left: 0;
  font-family: var(--font-mono);
  font-size: 0.81rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.phase-bar__head strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-sky);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.phase-bar__subtext {
  margin: -0.06rem 0 0.12rem;
  color: color-mix(in srgb, var(--muted) 88%, #fff 12%);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.phase-bar__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(137, 170, 218, 0.2);
  overflow: hidden;
}

.phase-bar__track span {
  display: block;
  width: calc(var(--phase-ratio) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms cubic-bezier(0.2, 1, 0.22, 1);
}

.case-flow-thread .panel {
  display: grid;
  gap: 1.15rem;
  overflow: hidden;
}

.flow-thread-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.flow-thread-panel__intro {
  display: grid;
  gap: 0.5rem;
  max-width: 58ch;
  min-width: 0;
}

.flow-thread-legend {
  justify-self: end;
  width: min(100%, 336px);
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(137, 170, 218, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(8, 12, 24, 0.42);
  min-width: 0;
}

.flow-thread-legend__head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
}

.flow-thread-legend__kicker {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-thread-legend__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.flow-thread-legend .phase-thread {
  display: none;
}

.flow-thread-legend .phase-bar {
  padding-left: 1.8rem;
}

.flow-thread-legend .phase-bar__ordinal {
  font-size: 1rem;
  top: 0.22rem;
}

.flow-thread-legend .phase-bar__name,
.flow-thread-legend .phase-bar__head strong {
  font-size: 0.66rem;
}

.phase-bar__count {
  font-size: 0.86rem;
  line-height: 1;
}

.phase-bar__count-label {
  margin-left: 0.28rem;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-thread-board {
  position: relative;
  padding: 0.25rem 0 0.4rem;
}

.flow-thread-board__svg {
  position: absolute;
  inset: 2.35rem 0 auto 0;
  width: 100%;
  height: calc(100% - 3rem);
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.flow-thread-board__svg .flow-thread-board__segment,
.flow-thread-board__svg .flow-thread-board__connector {
  fill: none;
  stroke: color-mix(in srgb, var(--accent-sky) 56%, var(--accent) 44%);
  stroke-width: 2.8;
  stroke-dasharray: 8 7;
  stroke-linecap: butt;
  stroke-linejoin: round;
  opacity: 0.48;
}

.flow-thread-board__svg .flow-thread-board__segment {
  marker-end: url(#flow-thread-arrow);
}

.flow-thread-board__svg .flow-thread-board__connector {
  marker-end: none;
  opacity: 0.4;
}

.flow-thread-board__svg marker path {
  fill: color-mix(in srgb, var(--accent-sky) 58%, var(--accent) 42%);
  stroke: none;
}

.flow-thread-board__rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.flow-thread-board__rows::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(44, 230, 207, 0.24), rgba(119, 212, 255, 0.12), rgba(44, 230, 207, 0.05));
  box-shadow: 0 0 0 1px rgba(44, 230, 207, 0.08);
  pointer-events: none;
}

.flow-lane {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.flow-lane--reverse .flow-lane__cards {
  justify-content: flex-start;
}

.flow-lane__label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.flow-lane__ordinal {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: clamp(3.1rem, 4.2vw, 3.9rem);
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 28, 52, 0.94), rgba(10, 18, 34, 0.98));
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(119, 212, 255, 0.2),
    0 0 0 6px rgba(44, 230, 207, 0.06);
  color: var(--text);
}

.flow-lane__ordinal span {
  font-family: var(--font-display);
  font-size: clamp(1.44rem, 2.1vw, 1.86rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "zero" 0;
}

.flow-lane__meta {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.flow-lane__phase-subtext {
  margin: -0.02rem 0 0.08rem;
  color: color-mix(in srgb, var(--muted) 88%, #fff 12%);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.flow-lane__meta h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.flow-lane__summary {
  margin: 0.08rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.flow-lane__body {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
}

.flow-lane__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

.flow-card {
  position: relative;
  border: 1px solid rgba(137, 170, 218, 0.18);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.flow-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  aspect-ratio: 1.04 / 1;
  object-fit: cover;
}

.flow-card__caption {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  padding: 0.34rem 0.45rem;
  border-radius: 10px;
  background: rgba(7, 12, 24, 0.62);
  backdrop-filter: blur(10px);
  color: rgba(244, 249, 255, 0.94);
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.flow-card__note {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.22rem;
  margin: 0;
  color: rgba(235, 244, 255, 0.84);
  font-size: 0.64rem;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.flow-card:hover,
.flow-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(44, 230, 207, 0.34);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.22);
}

.flow-card:hover .flow-card__caption,
.flow-card:focus-visible .flow-card__caption,
.flow-card:hover .flow-card__note,
.flow-card:focus-visible .flow-card__note {
  opacity: 1;
  transform: translateY(0);
}

.flow-card--metadata .flow-card__caption,
.flow-card--metadata .flow-card__note {
  opacity: 1;
  transform: translateY(0);
}

.flow-card--metadata .flow-card__caption {
  bottom: 1.1rem;
}

.flow-card--overflow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 12, 24, 0.12), rgba(7, 12, 24, 0.56)),
    radial-gradient(circle at 50% 32%, rgba(119, 212, 255, 0.18), transparent 48%);
}

.flow-card--overflow img {
  filter: saturate(0.72) brightness(0.64);
}

.flow-card__overflow-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -62%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 4.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 14, 28, 0.72);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  color: rgba(248, 251, 255, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 640;
  letter-spacing: -0.04em;
}

.flow-card--overflow .flow-card__caption,
.flow-card--overflow .flow-card__note {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.flow-card--overflow .flow-card__caption {
  bottom: 1.32rem;
}

.flow-card--overflow .flow-card__note {
  bottom: 0.48rem;
}

.flow-lane__jump {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 560;
}

.flow-lane__jump:hover,
.flow-lane__jump:focus-visible {
  color: var(--text);
}

.app-ready .phase-bar__track span {
  transform: scaleX(1);
}

.phase-bar:hover,
.phase-bar:focus-within {
  border-color: rgba(44, 230, 207, 0.28);
  transform: translateX(2px);
}

.phase-bar:hover .phase-bar__icon,
.phase-bar:focus-within .phase-bar__icon {
  transform: translateY(-1px);
  color: var(--accent-sky);
}

.narrative-card {
  position: relative;
  display: grid;
  gap: 0.82rem;
  padding-right: var(--panel-pad);
  border-radius: 14px;
  border-color: rgba(137, 170, 218, 0.18);
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--surface);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.narrative-cluster {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: start;
}

.narrative-card--research {
  grid-column: 1 / -1;
  background:
    linear-gradient(120deg, rgba(119, 212, 255, 0.08), rgba(44, 230, 207, 0.04)),
    var(--surface);
}

.narrative-card--map,
.narrative-card--outcome {
  grid-column: auto;
}

.narrative-card--map,
.narrative-card--outcome {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--surface);
}

.narrative-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.narrative-flow .body-copy {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.narrative-card:hover,
.narrative-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(119, 212, 255, 0.3);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.narrative-card .section-kicker::before {
  content: none;
}

.narrative-kicker__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.46rem;
  height: 1.46rem;
  margin-right: 0.2rem;
  border-radius: 999px;
  background: rgba(44, 230, 207, 0.12);
  box-shadow: inset 0 0 0 1px rgba(44, 230, 207, 0.18);
  color: var(--accent-sky);
  flex: 0 0 1.46rem;
}

.narrative-flow {
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
}

.narrative-flow__label {
  margin: 0 0 0.36rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 680;
}

.narrative-map {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.narrative-map__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  padding: 0.8rem 0.84rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 0 0 1px rgba(137, 170, 218, 0.12);
  overflow: hidden;
}

.narrative-map__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.72rem;
  height: 2.72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(44, 230, 207, 0.18), rgba(119, 212, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(119, 212, 255, 0.22);
  color: var(--accent);
}

.narrative-map__body {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.narrative-map__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: baseline;
}

.narrative-map__head strong {
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.narrative-map__head span {
  color: var(--muted);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.narrative-map__body p {
  margin: 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.outcome-chart {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-chart__row {
  display: grid;
  gap: 0.34rem;
}

.outcome-chart__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.outcome-chart__label {
  color: var(--text-soft);
  font-size: 0.83rem;
}

.outcome-chart__value {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.outcome-chart__track {
  position: relative;
  display: block;
  height: 0.54rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(137, 170, 218, 0.16);
}

.outcome-chart__fill {
  display: block;
  width: calc(var(--metric-ratio) * 100%);
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 760ms cubic-bezier(0.2, 1, 0.22, 1);
}

.outcome-chart__row--up .outcome-chart__fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-sky));
}

.outcome-chart__row--down .outcome-chart__fill {
  background: linear-gradient(90deg, var(--warm), #ff91b2);
}

.app-ready [data-reveal].is-visible .outcome-chart__fill {
  transform: scaleX(1);
}

.highlights-showcase {
  margin-inline: calc(50% - 50vw);
  width: auto;
  max-width: none;
  padding-inline: max(var(--rail-inline), 1rem);
  margin-top: 2rem;
}

.highlights-reel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.highlights-reel--static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
  mask-image: none;
}

.highlights-reel__track,
.highlights-reel__segment {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
}

.highlights-reel__track {
  width: max-content;
  will-change: transform;
}

.highlight-card {
  flex: 0 0 clamp(260px, 28vw, 420px);
  position: relative;
  border: 1px solid rgba(137, 170, 218, 0.2);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  aspect-ratio: 1.16 / 1;
}

.highlight-card__index {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  font-size: 2rem;
  line-height: 1;
  font-family: var(--font-mono);
  letter-spacing: -0.08em;
  color: rgba(245, 250, 255, 0.34);
}

.highlight-card__caption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.48rem 0.62rem;
  border-radius: 12px;
  background: rgba(5, 10, 20, 0.58);
  backdrop-filter: blur(10px);
  color: rgba(245, 250, 255, 0.94);
  font-size: 0.8rem;
  line-height: 1.4;
}

.highlight-card:hover,
.highlight-card:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(44, 230, 207, 0.36);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] .context-accent-card,
html[data-theme="light"] .context-mini-card {
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--case-accent) 10%, transparent), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.88));
}

html[data-theme="light"] .context-accent-card__prompt,
html[data-theme="light"] .context-device .context-spec__value,
html[data-theme="light"] .context-device .context-spec__list {
  color: #f8fbff;
}

html[data-theme="light"] .highlight-card__caption {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

html[data-theme="light"] .tool-grid--case .tool-mark {
  border-color: transparent;
  background: transparent;
}

html[data-theme="light"] .highlight-card__index {
  color: rgba(12, 24, 48, 0.22);
}

html[data-theme="light"] .phase-thread {
  opacity: 0.28;
}

html[data-theme="light"] .flow-thread-legend {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .narrative-map__item {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(137, 170, 218, 0.16);
}

html[data-theme="light"] .flow-thread-board__svg path {
  opacity: 0.42;
}

html[data-theme="light"] .flow-card {
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .flow-card__caption {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

@media (hover: none) {
  .flow-card__caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive-shell {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.chip-row,
.pager-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pager-row {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  justify-content: space-between;
}

.pager-chip {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  min-height: 3.5rem;
  min-width: min(100%, 230px);
  padding: 0.78rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.pager-chip strong {
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.pager-chip__meta {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pager-chip__arrow {
  align-self: center;
  justify-self: end;
  grid-row: 1 / span 2;
  grid-column: 2;
  color: currentColor;
  font-size: 1rem;
}

.pager-chip--ghost {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
}

.pager-chip--next {
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(7, 15, 30, 0.12);
  background: linear-gradient(135deg, #071423, #12365f);
  color: rgba(244, 249, 255, 0.96);
  box-shadow: 0 18px 28px rgba(9, 28, 48, 0.16);
  margin-left: auto;
}

.pager-chip--next .pager-chip__meta {
  color: rgba(181, 223, 255, 0.72);
}

.pager-chip:hover,
.pager-chip:focus-visible {
  transform: translateY(-2px);
}

.pager-chip--ghost:hover,
.pager-chip--ghost:focus-visible {
  border-color: rgba(44, 230, 207, 0.32);
  box-shadow: 0 16px 28px rgba(3, 12, 22, 0.14);
}

.pager-chip--next:hover,
.pager-chip--next:focus-visible {
  border-color: rgba(44, 230, 207, 0.22);
  box-shadow: 0 18px 32px rgba(6, 24, 44, 0.24);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  color: var(--text-soft);
}

.chip__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip__icon {
  color: var(--accent);
  width: 1.16rem;
  height: 1.16rem;
  flex: 0 0 1.16rem;
}

.chip span {
  display: inline-grid;
  place-items: center;
  min-width: 1.72rem;
  height: 1.72rem;
  border-radius: 999px;
  background: rgba(44, 230, 207, 0.14);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 640;
}

.artifact-set {
  display: grid;
  gap: 1rem;
  border-radius: 14px;
}

.artifact-set__head {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: end;
}

.artifact-set__head .section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.artifact-set__phase-badge,
.artifact-set__phase-ordinal {
  display: inline-block;
  margin-right: 0.4rem;
}

.artifact-set__phase-badge {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.22rem;
  height: 1.22rem;
  flex: 0 0 1.22rem;
  margin-right: 0.02rem;
}

.artifact-set__phase-ordinal {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  margin-right: 0.15rem;
}

.artifact-set__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.artifact-set--single .artifact-set__head {
  align-items: start;
}

.artifact-thumb--single {
  max-width: min(560px, 100%);
}

.artifact-preview-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.15rem 0.2rem 0.85rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(119, 212, 255, 0.3) transparent;
  cursor: grab;
  touch-action: pan-y;
}

.artifact-rail-shell {
  position: relative;
}

.artifact-rail__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 1px solid rgba(137, 170, 218, 0.24);
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.62);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.artifact-rail__control--prev {
  left: -0.25rem;
}

.artifact-rail__control--next {
  right: -0.25rem;
}

.artifact-preview-grid.is-dragging {
  cursor: grabbing;
}

.artifact-thumb {
  flex: 0 0 clamp(186px, 24vw, 244px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  text-align: left;
  scroll-snap-align: start;
}

.artifact-thumb:hover,
.artifact-thumb:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(44, 230, 207, 0.36);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.artifact-thumb img {
  aspect-ratio: 1.2 / 1;
}

.artifact-thumb span {
  display: block;
  padding: 0.8rem 0.85rem 0.95rem;
  font-size: 0.86rem;
}

.artifact-thumb__note {
  display: block;
  padding: 0 0.85rem 0.95rem;
  margin-top: -0.5rem;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.artifact-thumb--more {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    radial-gradient(circle at center, rgba(44, 230, 207, 0.12), transparent 54%),
    rgba(255, 255, 255, 0.04);
}

.artifact-preview-grid::-webkit-scrollbar {
  height: 10px;
}

.artifact-preview-grid::-webkit-scrollbar-thumb {
  background: rgba(119, 212, 255, 0.24);
  border-radius: 999px;
}

.artifact-preview-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.62rem;
  width: min(100%, 640px);
  margin-top: 1rem;
  margin-inline: 0 auto;
  padding: 0;
  list-style: none;
}

.case-downloads .section-head,
.case-downloads .body-copy {
  max-width: 640px;
}

.case-downloads .body-copy {
  text-align: left;
}

.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.72rem;
  min-height: 3.18rem;
  padding: 0.48rem 0.66rem 0.48rem 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(137, 170, 218, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.download-row:hover,
.download-row:focus-within {
  transform: translateY(-1px);
  border-color: rgba(44, 230, 207, 0.28);
  box-shadow: 0 16px 28px rgba(3, 12, 22, 0.22);
  background:
    linear-gradient(135deg, rgba(44, 230, 207, 0.08), rgba(119, 212, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.download-row__main {
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  text-decoration: none;
  justify-self: start;
}

.download-row__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.download-row__icon {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  opacity: 0.94;
}

html:not([data-theme="light"]) .download-row__icon {
  filter: brightness(0) invert(1);
}

.download-row__title {
  min-width: 0;
  color: var(--text);
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  font-weight: 560;
  line-height: 1.24;
}

.download-row__main:hover .download-row__title,
.download-row__main:focus-visible .download-row__title {
  color: var(--accent);
}

.download-row__main:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 68%, #ffffff 32%);
  outline-offset: 3px;
  border-radius: 8px;
}

.download-row__description {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.28;
}

.download-row__actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.36rem;
  min-width: fit-content;
}

.download-row__action-meta {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.download-row__action-meta--deliverable {
  font-size: 0.62rem;
  letter-spacing: 0.09em;
}

.download-row__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-height: 1.94rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.download-row__button:hover,
.download-row__button:focus-visible {
  border-color: rgba(44, 230, 207, 0.34);
  background: rgba(44, 230, 207, 0.1);
  color: var(--accent);
}

.download-row__button-icon {
  font-size: 0.74rem;
}

.download-row__button:hover .download-row__button-icon,
.download-row__button:focus-visible .download-row__button-icon {
  transform: translateX(2px);
}

html[data-theme="light"] .download-row {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.86)),
    rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .download-row__action-meta {
  color: rgba(98, 112, 139, 0.82);
}

html[data-theme="light"] .story-bridge__cta,
html[data-theme="light"] .pager-chip--next {
  border-color: rgba(7, 15, 30, 0.08);
  background: linear-gradient(135deg, #0f2440, #18508c);
  color: rgba(250, 252, 255, 0.98);
}

html[data-theme="light"] .story-bridge__cta-meta,
html[data-theme="light"] .pager-chip--next .pager-chip__meta {
  color: rgba(213, 234, 255, 0.76);
}

html[data-theme="light"] .nda-gate__field input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.88)),
    rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .case-video--placeholder {
  border-color: rgba(137, 170, 218, 0.2);
  background:
    radial-gradient(circle at 14% 20%, rgba(119, 212, 255, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.82)),
    rgba(255, 255, 255, 0.84);
}

.case-video {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 1.25rem;
}

.case-video--placeholder {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border-style: dashed;
  border-color: rgba(137, 170, 218, 0.22);
  background:
    radial-gradient(circle at 14% 20%, rgba(119, 212, 255, 0.1), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(8, 13, 26, 0.48);
}

.case-video__placeholder-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(137, 170, 218, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.4rem;
}

.case-video__placeholder-copy {
  display: grid;
  gap: 0.58rem;
}

.case-video__placeholder-copy h2 {
  max-width: 28ch;
}

.case-video__placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.22rem;
}

.case-video__copy {
  display: grid;
  gap: 1rem;
}

.case-video__poster {
  margin: 0;
  border-radius: calc(var(--radius) - 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 360px;
}

.case-video__poster img {
  width: 100%;
  aspect-ratio: 1.2 / 0.82;
  object-fit: cover;
}

.case-video__feature-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-video__feature-list li {
  padding-left: 1rem;
  position: relative;
  color: var(--muted);
}

.case-video__feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-rose));
}

.case-video__player-shell {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.case-video__frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 14%, rgba(44, 230, 207, 0.16), transparent 34%),
    rgba(3, 8, 18, 0.92);
  aspect-ratio: 16 / 9;
}

.case-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-video__assist {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-video__chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.case-video__chapter[aria-pressed="true"] {
  border-color: rgba(44, 230, 207, 0.5);
  background: linear-gradient(135deg, rgba(44, 230, 207, 0.16), rgba(119, 212, 255, 0.1));
}

.outcome-list {
  display: grid;
  gap: 0.42rem;
}

.outcome-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
  line-height: 1.46;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-position 260ms ease,
    filter 180ms ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.22) 46%, transparent 68%);
  transform: translateX(-145%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: translateX(145%);
}

.button.primary {
  background: linear-gradient(135deg, #10c8bf 0%, #2388ff 52%, #6b7fff 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #f7fbff;
  border-color: rgba(186, 242, 255, 0.28);
  box-shadow:
    0 12px 22px rgba(14, 94, 201, 0.18),
    0 20px 34px rgba(19, 224, 200, 0.18);
  text-shadow: 0 1px 0 rgba(5, 12, 24, 0.28);
}

.button.ghost {
  border-color: color-mix(in srgb, var(--line-strong) 82%, rgba(255, 255, 255, 0.18));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.08);
}

.button.primary:hover,
.button.primary:focus-visible {
  background-position: 100% 50%;
  box-shadow:
    0 16px 28px rgba(13, 96, 208, 0.22),
    0 24px 42px rgba(13, 207, 197, 0.2);
  filter: saturate(1.06);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(119, 212, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 24px rgba(0, 0, 0, 0.12);
}

.button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.story-bridge-shell {
  margin-top: 0.25rem;
}

.story-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  gap: 1rem;
  align-items: stretch;
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(44, 230, 207, 0.08), rgba(119, 212, 255, 0.06)),
    var(--surface);
}

.story-bridge__copy {
  display: grid;
  align-content: start;
  gap: 0.72rem;
}

.story-bridge__preview {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.28rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(137, 170, 218, 0.24);
  min-height: 210px;
  padding: 0.9rem;
  background: rgba(6, 11, 23, 0.74);
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 240ms ease;
}

.story-bridge__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 420ms cubic-bezier(0.2, 1, 0.22, 1), opacity 220ms ease;
}

.story-bridge__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.06), rgba(4, 10, 20, 0.82));
}

.story-bridge__eyebrow,
.story-bridge__title,
.story-bridge__blurb {
  position: relative;
  z-index: 1;
}

.story-bridge__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-bridge__title {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 560;
}

.story-bridge__blurb {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.story-bridge__preview:hover,
.story-bridge__preview:focus-visible {
  border-color: rgba(44, 230, 207, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
}

.story-bridge__preview:hover img,
.story-bridge__preview:focus-visible img {
  transform: scale(1.04);
  opacity: 0.8;
}

.story-bridge__cta {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.9rem;
  min-height: 3.3rem;
  width: min(100%, 28rem);
  margin-top: 0.35rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(7, 15, 30, 0.12);
  background: linear-gradient(135deg, #071423, #12365f);
  box-shadow: 0 18px 30px rgba(7, 27, 48, 0.18);
  color: rgba(244, 249, 255, 0.96);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 180ms ease;
}

.story-bridge__cta:hover,
.story-bridge__cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(44, 230, 207, 0.24);
  box-shadow: 0 20px 34px rgba(7, 27, 48, 0.24);
}

.story-bridge__cta-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(181, 223, 255, 0.72);
}

.story-bridge__cta strong {
  display: block;
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.story-bridge__cta-icon {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 1rem;
}

.site-marquee {
  margin-top: 1.6rem;
  padding: 0.9rem 0 0;
}

.site-marquee__label {
  margin: 0 0 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.86rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: none;
}

.site-marquee__label::before,
.site-marquee__label::after {
  content: "";
  height: 1px;
  flex: 1 1 120px;
  max-width: 340px;
  background: linear-gradient(90deg, rgba(137, 170, 218, 0), rgba(137, 170, 218, 0.35), rgba(137, 170, 218, 0));
}

.client-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.client-marquee__track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.7rem 0;
  will-change: transform;
}

.client-marquee__segment {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2rem;
}

.client-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.55rem;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(137, 170, 218, 0.16);
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.client-marquee__item--logo {
  padding: 0.24rem 1.8rem;
  min-height: 2.4rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.client-logo {
  max-height: 1.7rem;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.client-logo--dark {
  filter: brightness(0) saturate(100%) invert(1) contrast(1.02);
}

.client-logo--light {
  display: none;
}

html[data-theme="light"] .client-logo--dark {
  display: none;
}

html[data-theme="light"] .client-logo--light {
  display: block;
}

.client-marquee__pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-sky));
  box-shadow: 0 0 0 6px rgba(44, 230, 207, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.7rem 0 2.9rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(44, 230, 207, 0.08), transparent 24%),
    radial-gradient(circle at 86% 0%, rgba(119, 212, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(5, 8, 17, 0.96), rgba(3, 5, 12, 0.995)),
    #050711;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .site-footer {
  border-top-color: rgba(121, 153, 191, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(44, 230, 207, 0.06), transparent 24%),
    radial-gradient(circle at 84% 0%, rgba(119, 212, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(8, 13, 25, 0.98), rgba(4, 8, 18, 0.995)),
    #07101d;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.8rem;
  align-items: flex-start;
  color: rgba(244, 247, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer__brand {
  display: grid;
  gap: 0.72rem;
  max-width: 42ch;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(244, 247, 255, 0.84);
}

.site-footer__note {
  margin-top: 0;
  color: rgba(244, 247, 255, 0.7);
  font-size: 0.84rem;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-self: flex-start;
  padding-top: 0.35rem;
}

.site-footer__links a {
  font-size: 0.83rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #ffffff;
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.62rem;
  max-width: 34rem;
  align-items: center;
  align-self: flex-start;
  padding-top: 0.15rem;
}

.nav-action--footer {
  min-height: 2.2rem;
  padding-inline: 0.64rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 247, 255, 0.92);
}

.nav-action--footer .nav-action__label {
  width: auto;
  opacity: 1;
  overflow: visible;
  white-space: nowrap;
  font-size: 0.74rem;
}

html[data-theme="light"] .nav-action--footer {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.prose-panel p {
  margin: 0;
  color: var(--muted);
}

.prose-panel p + p {
  margin-top: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
}

.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.76);
  backdrop-filter: blur(14px);
}

.lightbox__dialog {
  position: relative;
  width: min(calc(100% - 2rem), 1240px);
  max-height: calc(100vh - 2rem);
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(4, 10, 18, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  outline: none;
}

.lightbox__stage {
  position: relative;
  min-height: min(72vh, 860px);
  display: grid;
  align-items: stretch;
}

.lightbox__chrome {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.lightbox__meta {
  max-width: 70ch;
}

.lightbox__count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lightbox__caption {
  margin: 0.4rem 0 0;
  color: var(--text);
}

.lightbox__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.lightbox__frame {
  min-height: 0;
  overflow: auto;
  border-radius: calc(var(--radius) - 10px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 12%, rgba(44, 230, 207, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.02);
}

.lightbox__frame img {
  height: auto;
  min-height: 100%;
}

img.is-broken-image {
  object-fit: contain !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 26, 0.4);
  border: 1px dashed rgba(137, 170, 218, 0.32);
  padding: 0.6rem;
}

.tile-hero__image.is-broken-image {
  border: none !important;
  background: none !important;
}

.phone-testimonials__frame.is-broken-image,
.phone-testimonials__screen-bg.is-broken-image,
.context-device__frame.is-broken-image {
  visibility: hidden;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.68rem;
  border: 1px solid rgba(137, 170, 218, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(6, 12, 24, 0.44);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.lightbox__nav:hover {
  background: rgba(10, 18, 34, 0.78);
  border-color: rgba(44, 230, 207, 0.34);
}

.lightbox__nav--prev {
  left: 0.45rem;
}

.lightbox__nav--next {
  right: 0.45rem;
}

.lightbox__nav-arrow {
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox__nav-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox__stage:hover .lightbox__nav {
  background: rgba(6, 12, 24, 0.56);
}

.lightbox__nav:disabled {
  opacity: 0.28;
  pointer-events: none;
  transform: translateY(-50%);
}

.lightbox__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 3;
  min-height: 42px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 170, 218, 0.24);
  background: rgba(6, 12, 24, 0.62);
  color: white;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

@keyframes marquee-pan {
  from {
    transform: translateX(0);
  }

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

@keyframes q10_sheen_sweep {
  0% {
    transform: translateX(-30%) rotate(10deg);
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(240%) rotate(10deg);
    opacity: 0;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 280ms;
}

::view-transition-old(root) {
  animation-name: fade-out;
}

::view-transition-new(root) {
  animation-name: fade-in;
}

@keyframes fade-out {
  to {
    opacity: 0.76;
    filter: blur(3px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0.76;
    filter: blur(3px);
  }
}

@media (max-width: 980px) {
  .tile-hero {
    min-height: auto;
  }

  .hero.hero--home {
    margin-top: -2.4rem;
  }

  .tile-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    padding-block: 2.4rem 2rem;
  }

  .tile-hero__copy {
    max-width: none;
    padding-top: 0.5rem;
  }

  .tile-hero__frame {
    width: min(100%, 620px);
  }

  .hero,
  .case-quicklook,
  .case-video,
  .story-bridge {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-quicklook {
    margin-top: -2rem;
  }

  .context-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-shell--device {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-device {
    min-height: 390px;
  }

  .context-mini-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .imagey-marquee {
    min-height: 230px;
  }

  .nav-actions {
    display: none;
  }

  h1 {
    max-width: none;
  }

  .case-hero {
    min-height: clamp(440px, 64vh, 620px);
  }

  .case-hero__copy {
    max-width: none;
    padding-left: var(--rail-inline);
    padding-right: 1rem;
  }

  .case-hero__media {
    width: 100%;
  }

  .hero-motion {
    min-height: 360px;
  }

  .hero-motion__item--systems,
  .hero-motion__item--tokens {
    display: none;
  }

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

  .narrative-card--research {
    grid-column: 1 / -1;
  }

  .narrative-stack {
    gap: 0.82rem;
  }

  .narrative-split {
    grid-template-columns: 1fr;
  }

  .narrative-card {
    padding-right: var(--panel-pad);
  }

  .narrative-card__peek {
    display: none;
  }

  .highlights-reel {
    mask-image: none;
  }

  .story-bridge__preview {
    min-height: 190px;
  }

  .home-about__panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .home-about__actions {
    justify-content: flex-start;
  }

  .silverlight-fit__intro,
  .silverlight-fit__grid,
  .silverlight-lab__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .silverlight-fit__meta {
    justify-content: flex-start;
  }

  .silverlight-fit__actions,
  .silverlight-lab__actions {
    align-items: stretch;
  }

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

  .about-testimonials__grid,
  .about-lenses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero {
    padding-right: 0;
  }

  .about-visual__field {
    min-height: 460px;
  }

  .about-visual__caption {
    width: min(48%, 250px);
  }

  .about-value-card__grid,
  .about-tools__head,
  .case-tools__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-contact__form {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .about-perspective__icon {
    width: 3.7rem;
    height: 3.7rem;
  }

  .about-perspective__icon svg {
    width: 1.92rem;
    height: 1.92rem;
  }

  .about-timeline__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1.2rem;
  }

  .about-lens__icon {
    width: 66px;
    height: 66px;
  }

  .silverlight-fit__screen {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 240px;
  }

  .silverlight-fit__artifact-row {
    grid-template-columns: 1fr;
  }

  .silverlight-fit__artifact,
  .silverlight-fit__artifact--wide {
    min-height: 86px;
  }

  .tool-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tool-grid--about {
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  }

  .tool-grid--about .tool-mark {
    width: 4.1rem;
    height: 4.1rem;
  }

  .selected-work-preview {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .selected-work-preview__item:nth-child(1),
  .selected-work-preview__item:nth-child(2) {
    grid-column: span 3;
    min-height: 230px;
  }

  .selected-work-preview__item:nth-child(n + 3) {
    grid-column: span 2;
    min-height: 200px;
  }

  .highlight-card {
    flex-basis: clamp(240px, 42vw, 340px);
  }
}

@media (min-width: 861px) and (max-width: 980px) {
  :root {
    --nav-logo-offset: -18px;
  }

  .case-quicklook {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: -1.15rem;
  }

  .case-quicklook > .case-chapter-rail {
    margin-bottom: 0.58rem;
  }

  .context-shell--device {
    grid-template-columns: minmax(0, 1.22fr) minmax(250px, 0.78fr);
    gap: 0.72rem;
  }

  .context-device-wrap {
    margin-top: -2.8rem;
  }

  .context-device {
    width: min(100%, 332px);
    justify-self: end;
  }

  .context-device__frame {
    width: min(100%, 332px);
    margin-inline: auto;
    transform: none;
  }

  .context-device__screen {
    inset: 5% 40.5% 27.6% 13.2%;
    transform: none;
    border-radius: 1.85rem;
  }

  .narrative-card__peek,
  .narrative-card__peek--research,
  .narrative-card__peek--strategy,
  .narrative-card__peek--feedback,
  .narrative-card__peek--integration,
  .narrative-card__peek--outcome {
    transform: none;
  }

  .narrative-card__peek {
    width: 80px;
    right: 0.72rem;
    top: 0.74rem;
  }

  .artifact-set__head .section-kicker {
    align-items: center;
    gap: 0.46rem;
  }

  .artifact-set__phase-badge {
    width: 1.3rem;
    height: 1.3rem;
    flex-basis: 1.3rem;
    margin-right: 0.14rem;
  }

  .artifact-set__phase-ordinal {
    margin-right: 0.22rem;
  }

  .download-row {
    min-height: 2.84rem;
    padding: 0.42rem 0.62rem 0.42rem 0.66rem;
  }

  .download-row__button {
    min-height: 1.84rem;
    padding-inline: 0.64rem;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.72rem;
  }

  .site-footer__links,
  .site-footer__contact {
    flex-wrap: nowrap;
    gap: 0.62rem;
  }

  .site-footer__contact {
    justify-content: flex-end;
  }

  .case-video-section {
    margin-bottom: clamp(12.5rem, 24vw, 15.5rem);
  }
}

@media (max-width: 1100px) {
  .site-nav,
  #page-content,
  .site-footer__inner,
  .site-marquee__inner {
    width: min(calc(100% - 1.5rem), var(--content-max));
  }

  .case-chapter-rail {
    top: 4.15rem;
    margin-top: 0;
    width: min(calc(100% - 1.5rem), var(--content-max));
    padding-inline: 0;
  }

  .case-chapter-rail__inner {
    padding: 0.52rem 0.56rem;
    border-radius: 18px;
  }

  .case-chapter-rail__links {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.32rem;
    padding-bottom: 0.08rem;
    scrollbar-width: thin;
  }

  .case-chapter-rail__link {
    min-height: 2.06rem;
    padding: 0.34rem 0.68rem;
    font-size: 0.68rem;
  }

  .case-chapter-rail__edge {
    display: none !important;
  }

  .case-hero__chevron {
    bottom: clamp(4.4rem, 7vh, 5.4rem);
  }

  .case-hero__copy {
    padding-left: clamp(0.95rem, 2.3vw, 1.35rem);
    padding-right: clamp(0.95rem, 2.3vw, 1.35rem);
  }

  .case-hero__meta,
  .case-hero__jumps {
    width: min(100%, 43rem);
  }

  .case-quicklook {
    gap: 0.82rem;
  }

  .flow-thread-panel__head {
    grid-template-columns: minmax(0, 1fr) minmax(248px, 0.38fr);
    gap: 0.8rem;
  }

  .flow-lane {
    grid-template-columns: minmax(170px, 0.29fr) minmax(0, 1fr);
    gap: 0.78rem;
    align-items: start;
  }

  .flow-lane__cards {
    gap: 0.66rem;
  }

  .artifact-set__head {
    align-items: start;
    gap: 0.66rem;
  }

  .artifact-set__meta {
    justify-content: flex-start;
    gap: 0.52rem;
  }

  .download-grid {
    width: min(100%, 720px);
  }

  .download-row {
    gap: 0.62rem;
  }

  .tool-grid--case {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }

  .tool-grid--case .tool-mark {
    width: 4.4rem;
    height: 4.4rem;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem 1.1rem;
  }

  .site-footer__links {
    justify-content: flex-end;
    align-items: center;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  :root {
    --nav-logo-offset: -18px;
  }

  .case-hero__carousel-nav {
    display: none;
  }

  .case-hero__copy {
    padding-left: clamp(0.7rem, 1.8vw, 1rem);
  }

  .case-quicklook > .case-chapter-rail {
    margin-bottom: 0.62rem;
  }

  .case-quicklook > .case-chapter-rail .case-chapter-rail__inner {
    padding-inline: 0.74rem;
  }

  .case-quicklook > .case-chapter-rail .case-chapter-rail__links {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .context-shell--device {
    grid-template-columns: minmax(160px, 0.58fr) minmax(300px, 1.42fr);
    gap: 0.72rem;
  }

  .context-device-wrap {
    z-index: 14;
    margin-top: -8.8rem;
    margin-bottom: -2rem;
  }

  .context-device {
    width: min(100%, 470px);
    justify-self: end;
  }

  .context-device__frame {
    width: min(100%, 470px);
    transform: none;
  }

  .context-device__screen {
    inset: 5% 40.5% 27.6% 13.2%;
    transform: none;
    border-radius: 1.85rem;
  }

  .flow-thread-board__rows {
    gap: 1.52rem;
  }

  .flow-thread-board__svg {
    shape-rendering: geometricPrecision;
  }

  .flow-lane__cards {
    align-items: flex-start;
  }

  .flow-card,
  .artifact-thumb {
    transform: none;
  }

  .artifact-set__head .section-kicker {
    align-items: center;
    gap: 0.38rem;
    flex-wrap: nowrap;
  }

  .artifact-set__phase-badge {
    width: 1.42rem;
    height: 1.42rem;
    flex-basis: 1.42rem;
    margin-right: 0.06rem;
  }

  .artifact-set__phase-ordinal {
    margin-right: 0.16rem;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .chip-row {
    justify-content: center;
    gap: 0.54rem;
  }

  .chip {
    gap: 0.46rem;
    padding: 0.52rem 0.74rem;
    border-radius: 14px;
  }

  .chip__meta {
    gap: 0.3rem;
    padding: 0.08rem 0.44rem;
    border-radius: 999px;
    background: rgba(137, 170, 218, 0.12);
  }

  .chip__icon {
    width: 1.08rem;
    height: 1.08rem;
    flex-basis: 1.08rem;
  }

  .chip span {
    min-width: 1.58rem;
    height: 1.58rem;
  }

  .narrative-card__peek,
  .narrative-card__peek--research,
  .narrative-card__peek--strategy,
  .narrative-card__peek--feedback,
  .narrative-card__peek--integration,
  .narrative-card__peek--outcome {
    transform: none;
  }

  .narrative-card__peek {
    width: 80px;
    right: 0.72rem;
    top: 0.74rem;
  }

  .case-video__player-shell {
    align-content: start;
  }

  .case-video-section {
    margin-bottom: clamp(17.5rem, 31vw, 22rem);
  }

  .download-row {
    align-items: start;
  }

  .download-row__actions {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 0.18rem;
    min-width: 10.6rem;
  }

  .download-row__button {
    justify-self: end;
    order: 1;
  }

  .download-row__action-meta {
    justify-self: end;
    text-align: right;
    white-space: normal;
  }

  .download-row__action-meta--file {
    order: 2;
  }

  .download-row__action-meta--deliverable {
    order: 3;
    margin-top: -0.04rem;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 0.72rem;
  }

  .site-footer__links {
    grid-column: 2;
    align-self: start;
    flex-wrap: nowrap;
    gap: 0.62rem;
  }

  .site-footer__contact {
    grid-column: 3;
    align-self: start;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.62rem;
    max-width: 24rem;
  }

}

@media (max-width: 720px) {
  .site-nav,
  #page-content,
  .site-footer__inner,
  .site-marquee__inner {
    width: min(calc(100% - 1rem), var(--content-max));
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.5rem;
    min-height: auto;
    padding: 0.55rem 0 0.45rem;
  }

  .site-header.is-condensed .site-nav {
    min-height: auto;
    padding: 0.38rem 0 0.32rem;
  }

  .nav-menu-toggle {
    width: auto;
    min-width: 5rem;
    height: 2.35rem;
    padding: 0 0.6rem;
    justify-content: flex-start;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    top: calc(100% + 0.25rem);
    right: 0;
    padding-top: 0.7rem;
  }

  .nav-dropdown {
    width: auto;
    min-width: 0;
  }

  .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: auto;
    min-width: min(calc(100vw - 1rem), 320px);
    max-height: min(58vh, 420px);
    margin-top: 0;
  }

  .nav-logo {
    align-self: center;
    min-height: auto;
    padding: 0.05rem 0;
    margin-left: 0;
  }

  .nav-logo__full {
    width: clamp(156px, 44vw, 204px);
    max-height: 58px;
  }

  .site-header.is-condensed .nav-logo__full {
    transform: scale(0.9);
  }

  .nav-dropdown__trigger,
  .nav-links > a {
    min-height: 40px;
    padding: 0.25rem 0.1rem;
  }

  .nav-dropdown__trigger {
    justify-content: flex-start;
  }

  .nav-links > a {
    justify-self: start;
  }

  .theme-toggle {
    justify-self: start;
    min-height: 40px;
    min-width: 3.8rem;
    padding: 0.18rem;
  }

  .theme-toggle {
    min-width: 3.2rem;
    justify-content: center;
    padding-inline: 0.18rem;
  }

  .site-header.is-condensed .theme-toggle {
    min-height: 36px;
    min-width: 3.2rem;
  }

  .theme-toggle__track {
    height: 1.48rem;
  }

  .theme-toggle__icon {
    width: 1.22rem;
    height: 1.22rem;
  }

  html[data-theme="light"] .theme-toggle__icon {
    transform: translateX(1.78rem);
  }

  .home-about__actions .nav-action {
    min-height: 2rem;
    padding: 0.3rem 0.52rem;
  }

  .home-about__actions .nav-action__label {
    font-size: 0.66rem;
  }

  .tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.62rem 0.44rem;
  }

  .tool-mark {
    width: 2.72rem;
    height: 2.72rem;
    padding: 0.18rem;
  }

  .tool-grid--about {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-grid--about .tool-mark {
    width: 3.4rem;
    height: 3.4rem;
    padding: 0.14rem;
  }

  .tool-grid__label {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .tool-grid--about .tool-grid__label {
    font-size: 0.72rem;
  }

  .about-testimonials__grid,
  .about-lenses {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-perspective__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nda-gate__form {
    width: 100%;
  }

  .about-perspective__card h3 {
    min-height: 0;
  }

  .about-lens {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-lens__icon {
    width: 54px;
    height: 54px;
  }

  .about-hero__actions {
    gap: 0.55rem;
  }

  .about-visual__field {
    min-height: 360px;
  }

  .about-visual__card {
    width: min(72%, 320px);
  }

  .about-visual__avatar {
    width: min(48%, 220px);
    max-height: calc(100% - 0.5rem);
  }

  .about-visual__badge {
    right: 8%;
  }

  .about-visual__caption {
    width: min(76%, 280px);
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .about-columns {
    gap: 1rem;
  }

  .selected-work-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .selected-work-preview__item,
  .selected-work-preview__item:nth-child(1),
  .selected-work-preview__item:nth-child(2),
  .selected-work-preview__item:nth-child(n + 3) {
    grid-column: auto;
    min-height: 208px;
  }

  .about-timeline__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-timeline__item {
    padding-left: 0.9rem;
  }

  #page-content {
    padding-top: 1rem;
  }

  .tile-hero {
    min-height: auto;
  }

  .tile-hero__inner {
    width: min(calc(100% - 1rem), var(--content-max));
    padding-block: 1.4rem 1.8rem;
  }

  .tile-hero__copy {
    padding-top: 0.2rem;
  }

  .tile-hero__title {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .tile-hero__actions {
    gap: 0.55rem;
  }

  .tile-hero__actions .button {
    width: min(100%, 20rem);
    justify-content: center;
  }

  .tile-hero__frame {
    width: 100%;
  }

  .tile-hero__image {
    width: min(88%, 420px);
  }

  .tile-hero__matte {
    width: min(96%, 430px);
    height: min(96%, 430px);
  }

  .tile-hero__meta {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .brief-grid,
  .metric-row--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .download-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.48rem;
    align-items: start;
  }

  .download-row__main {
    width: 100%;
  }

  .download-row__button {
    justify-self: start;
  }

  .download-row__actions {
    justify-items: start;
  }

  .context-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-shell--device {
    gap: 0.82rem;
  }

  .context-device-wrap {
    justify-items: center;
    margin-top: -1.1rem;
    margin-bottom: 0;
  }

  .context-device {
    width: min(100%, 360px);
  }

  .context-device__screen {
    inset: 5% 40.5% 27.8% 13.2%;
    border-radius: 1.72rem;
  }

  .context-device__viewport {
    padding: 0.92rem 0.78rem 0.9rem;
  }

  .context-device .context-spec__value,
  .context-device .context-spec__list {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .context-mini-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .imagey-marquee {
    min-height: 218px;
  }

  .imagey-card {
    flex-basis: 132px;
  }

  .imagey-card img {
    min-height: 190px;
  }

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

  .phase-bar {
    padding-left: 2.32rem;
  }

  .phase-bar__icon {
    width: 1.06rem;
    height: 1.06rem;
    flex-basis: 1.06rem;
  }

  .phase-thread {
    display: none;
  }

  .flow-thread-board__rows::before {
    display: none;
  }

  .narrative-cluster {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-thread-panel__head,
  .flow-lane {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-thread-legend {
    justify-self: stretch;
    width: 100%;
  }

  .flow-thread-board__svg {
    display: none;
  }

  .flow-thread-board__rows {
    gap: 1.15rem;
  }

  .flow-thread-board {
    overflow-x: clip;
  }

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

  .story-bridge__preview {
    min-height: 170px;
    padding: 0.75rem;
  }

  .case-chapter-rail {
    top: 4.25rem;
    width: min(100vw - 1rem, 1260px);
    margin-top: -1.2rem;
  }

  .case-chapter-rail__inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
  }

  .case-chapter-rail__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    overflow-x: clip;
    flex-wrap: unset;
    padding-bottom: 0;
    gap: 0.38rem;
  }

  .case-chapter-rail__link {
    width: 100%;
    min-width: 0;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .case-chapter-rail__edge {
    width: 100%;
  }

  .case-chapter-rail__edge--next {
    justify-self: stretch;
  }

  .story-bridge__cta,
  .pager-chip {
    width: 100%;
    min-width: 0;
  }

  .story-bridge__cta strong,
  .pager-chip strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.24;
  }

  .phase-bar {
    padding-left: 1.8rem;
  }

  .phase-bar__ordinal {
    font-size: 1.16rem;
  }

  .metric-row {
    gap: 0.5rem;
  }

  .hero__orbital,
  .hero-motion {
    min-height: 320px;
  }

  .case-hero {
    min-height: 520px;
  }

  .case-quicklook {
    margin-top: -0.8rem;
  }

  .case-hero__copy {
    width: 100%;
    padding: 1.2rem 0.5rem 2.35rem;
  }

  .case-hero__copy h1 {
    font-size: clamp(1.5rem, 7.2vw, 2.18rem);
    max-width: 13.8ch;
  }

  .case-hero__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
    width: min(100%, 18.5rem);
  }

  .case-hero__meta li {
    padding-top: 0.46rem;
  }

  .case-hero__grid,
  .case-hero__bullseye,
  .case-hero__postit,
  .case-hero__go {
    display: none;
  }

  .case-client-attrib {
    margin-bottom: 0.08rem;
  }

  .case-client-attrib__list {
    gap: 0.38rem;
    min-height: 0;
  }

  .case-client-logo {
    max-height: 0.9rem;
    max-width: 72px;
  }

  .case-hero__copy .tag-list {
    gap: 0.3rem;
    margin-top: 0.8rem;
  }

  .case-hero__copy .tag {
    font-size: 0.68rem;
    padding: 0.18rem 0.42rem;
  }

  .case-hero__jumps {
    gap: 0.45rem;
  }

  .case-hero__jump {
    min-height: 2rem;
    padding-inline: 0.72rem;
    font-size: 0.72rem;
  }

  .case-hero__chevron {
    width: 2.3rem;
    height: 2.3rem;
    top: 46%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .case-hero__chevron small {
    display: none;
  }

  .case-hero__chevron:hover,
  .case-hero__chevron:focus-visible {
    transform: translateY(-50%) scale(1.03);
  }

  .case-hero__chevron--prev {
    left: 0.25rem;
  }

  .case-hero__chevron--next {
    right: 0.25rem;
  }

  .case-hero__media::before {
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.86) 0%, rgba(5, 10, 20, 0.5) 32%, rgba(5, 10, 20, 0.2) 62%, rgba(5, 10, 20, 0) 100%);
  }

  html[data-theme="light"] .case-hero__media::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.66) 34%, rgba(255, 255, 255, 0.28) 64%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-motion__item--prototype,
  .hero-motion__item--wireframe {
    display: none;
  }

  .artifact-thumb {
    flex-basis: min(72vw, 228px);
  }

  .highlight-card {
    flex-basis: min(80vw, 296px);
  }

  .highlight-card img {
    min-height: 200px;
    aspect-ratio: 1.2 / 1;
  }

  .artifact-rail__control {
    display: none;
  }

  .artifact-set__head,
  .lightbox__chrome {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.62rem;
  }

  .site-footer__brand {
    margin-bottom: 0.1rem;
  }

  .site-footer__links {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.42rem 0.8rem;
    margin-top: -0.04rem;
  }

  .site-footer__contact {
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: -0.06rem;
  }

  .client-marquee {
    mask-image: none;
  }

  .case-video__poster {
    max-width: none;
  }

  .phone-testimonials__device-wrap {
    width: min(100%, 300px);
    min-height: 478px;
  }

  .phone-testimonials__screen {
    inset: 4.8% 18.2% 21.8% 18.2%;
  }

  .phone-testimonials__viewport {
    padding: 1.06rem 0.96rem 0.94rem;
  }

  .phone-testimonial__quote {
    font-size: 0.8rem;
    line-height: 1.42;
    max-width: 62%;
  }

  .lightbox__stage {
    min-height: min(68vh, 680px);
  }

  .lightbox__nav {
    top: auto;
    bottom: 0.85rem;
    transform: none;
  }

  .lightbox__nav:disabled {
    transform: none;
  }

  .lightbox__nav--prev {
    left: 0.85rem;
  }

  .lightbox__nav--next {
    right: 0.85rem;
  }
}

@media (max-width: 420px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

  .client-marquee__track {
    transform: none !important;
  }

  .tile-hero__lightning,
  .tile-hero__storm-flash,
  .tile-hero__storm-clouds {
    display: none !important;
  }

  .hero-video-layer,
  .case-hero__media-video {
    display: none !important;
  }

  .app-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .app-ready [data-reveal].is-visible [data-reveal-child] {
    animation: none !important;
  }
}
