html:has(> .homepage) {
  overflow: auto;
}

body.homepage {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

.home-width {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}

.home-header {
  position: relative;
  z-index: 3;
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.home-header .brand-icon {
  pointer-events: auto;
}

.home-header .brand-icon svg {
  width: 116px;
}

.home-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.home-header nav a,
.homepage .footer-link {
  color: var(--ink);
  text-decoration: none;
  opacity: 1;
}

.home-header nav a:hover,
.homepage .footer-link:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  color: var(--ink);
  background: none;
  border: 1px solid var(--dim);
  padding: 0.55rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.homepage .stage {
  height: auto;
}

.home-hero {
  min-height: calc(100svh - 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: 3rem 6rem;
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 0 0 2rem;
  color: #233B57;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-contact {
  padding-block: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid #E0E0E1;
  scroll-margin-top: 1rem;
}

.home-contact h2 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}

.home-contact .contact-form {
  width: min(100%, 30rem);
  gap: 0.75rem;
}

.home-contact label:not(:first-child) {
  margin-top: 0.75rem;
}

.home-contact textarea {
  resize: vertical;
}

.home-contact .send-btn {
  align-self: start;
  border: 1px solid var(--dim);
  padding: 0.65rem 0.95rem;
}

.homepage .site-footer {
  position: relative;
  bottom: auto;
  padding: 1rem 1.5rem 2rem;
}

.homepage .footer-link {
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .home-width {
    width: calc(100% - 2.5rem);
  }

  .home-header {
    padding-block: 0.75rem;
  }

  .home-header:has(.menu-toggle[aria-expanded="true"]) nav {
    flex-basis: 100%;
  }

  .home-header:has(nav a:not([hidden]) ~ a:not([hidden])) .menu-toggle {
    display: inline-block;
  }

  .home-header:has(nav a:not([hidden]) ~ a:not([hidden])) .menu-toggle[aria-expanded="false"] + nav {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
  }

}

.hero-intro {
  max-width: 38ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1.5rem;
}

.hero-actions .cta:first-child {
  border-color: var(--accent);
}

.investigation {
  border-block: 1px solid #E8EFF6;
  padding-block: 1.15rem;
}

.investigation h2,
.investigation-map,
.investigation-controls button {
  font: 0.82rem/1.4 ui-monospace, monospace;
}

.investigation h2 {
  margin: 0 0 1.5rem;
  color: var(--accent);
}

.investigation-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
  margin-bottom: 1.75rem;
}

.investigation-map[hidden],
.investigation-controls[hidden] {
  display: none;
}

.investigation-map > span {
  position: relative;
  padding-top: 1.25rem;
}

.investigation-map > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.48rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2B64A6;
}

.investigation-map > span.active {
  color: #2F6EB6;
}

.investigation-track {
  position: absolute;
  inset: 0 12.5% auto;
  height: 1px;
  background: #2B64A6;
}

.investigation-agent {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0.72rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2F6EB6;
  box-shadow: 0 0 0.8rem #2B64A6;
}

.investigation-findings {
  margin: 0;
  padding-inline-start: 1.35rem;
}

.investigation-findings li + li {
  margin-top: 1rem;
}

.investigation.is-playing .investigation-findings {
  padding: 0;
  list-style: none;
  min-height: 8.5rem;
}

.investigation h3 {
  color: #233B57;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.investigation p {
  margin: 0;
  line-height: 1.5;
}

.investigation-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.investigation-controls button {
  border: 1px solid #2B64A6;
  background: none;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  min-height: 44px;
  cursor: pointer;
}

.investigation-controls button:disabled {
  opacity: 0.55;
  cursor: default;
}

.home-film {
  border-top: 1px solid #E0E0E1;
  padding-block: clamp(2rem, 7vw, 5rem);
  scroll-margin-top: 1rem;
}

.home-film video {
  display: block;
  width: 100%;
  max-height: 74svh;
}

@media (max-width: 700px) {
  .home-hero {
    padding-block: 2rem 3.5rem;
  }
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  border-top: 1px solid #E0E0E1;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.how-copy h2 {
  max-width: 20ch;
  margin: 0 0 1.25rem;
  color: #233B57;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.how-method {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.how-method dt {
  color: #2F6EB6;
  margin-bottom: 0.3rem;
}

.how-method dd {
  margin: 0;
  line-height: 1.5;
}

.how-investigation .scenario-label {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font: 0.82rem/1.4 ui-monospace, monospace;
}

.how-investigation h4 {
  color: #233B57;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.how-investigation .investigation-agent {
  transition: left 550ms ease-in-out;
}

.how-investigation.is-playing li {
  margin: 0;
}

@media (max-width: 700px) {
  .how-it-works {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-investigation .investigation-map {
    font-size: 0.73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-investigation .investigation-agent {
    transition: none;
  }
}

.audience-section {
  border-top: 1px solid #E0E0E1;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.audience-label {
  color: var(--accent);
  font: 0.82rem/1.4 ui-monospace, monospace;
  margin: 0 0 1rem;
}

.audience-section h2 {
  max-width: 24ch;
  color: #233B57;
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.audience-intro {
  max-width: 66ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin: 0 0 2rem;
}

.audience-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
}

.audience-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audience-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.audience-card {
  border: 1px solid #E8EFF6;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.audience-figure {
  color: #2F6EB6;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.audience-card p, .audience-card dd { line-height: 1.55; }
.audience-card dd { margin: 0.65rem 0 0; }
.audience-card dt, .audience-card h4 {
  color: #233B57;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
}

.incident-meta { color: #2F6EB6; font-size: 0.9rem; }
.source-link { color: var(--ink); text-underline-offset: 0.2em; }
.source-link:hover { color: #2F6EB6; }

.audience-incidents, .audience-close { margin-top: clamp(2rem, 5vw, 4rem); }
.audience-section h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 400; margin: 0 0 1rem; }
#governments .cta { margin-top: 1rem; }

.home-contact select {
  background: transparent;
  color: var(--ink);
  border: 1px solid #2B64A6;
  padding: 0.55rem;
  font: inherit;
  color-scheme: light;
}

@media (max-width: 700px) {
  .audience-grid.two, .audience-grid.three { grid-template-columns: minmax(0, 1fr); }
}

.enterprise-film {
  display: block;
  width: min(100%, 58rem);
  height: auto;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.homepage {
  --champagne: #2F6EB6;
  --rule: rgba(47,110,182,0.28);
}

.home-header nav a,
.menu-toggle,
.hero-intro,
.audience-intro,
.audience-card p,
.audience-card dd,
.how-method dd,
.investigation p {
  font-family: system-ui, sans-serif;
}

.home-header nav a {
  font-size: 0.875rem;
  letter-spacing: 0.035em;
  padding-block: 0.6rem;
}

.home-film {
  border-top: 0;
  padding-block: 0 clamp(2.5rem, 6vw, 5rem);
}

.home-film video,
.enterprise-film {
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.home-hero {
  min-height: auto;
  padding-block: clamp(3rem, 7vw, 7rem);
}

.hero-copy h1,
.how-copy h2,
.audience-section h2 {
  color: #233B57;
}

.hero-intro,
.audience-intro {
  color: #40526A;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
}

.homepage .cta.visible {
  border: 1px solid var(--champagne);
  border-radius: 2px;
  padding: 0.8rem 1.15rem;
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  color: #F5F5F5;
  background: var(--champagne);
}

.homepage .cta.visible:hover {
  background: #2F6EB6;
  color: #F5F5F5;
}

.investigation,
.how-it-works,
.audience-section,
.home-contact {
  border-color: var(--rule);
}

.investigation h2,
.how-investigation .scenario-label,
.audience-label {
  color: var(--champagne);
  letter-spacing: 0.09em;
}

.audience-card {
  border: 0;
  border-top: 1px solid var(--rule);
  padding-inline: 0;
}

.audience-grid {
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
}

.audience-figure {
  color: var(--champagne);
  font-variant-numeric: lining-nums;
}

.incident-meta {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.homepage :focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .home-hero {
    padding-block: 2rem 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
}

.case-panel {
  border-block: 1px solid var(--rule);
  padding-block: 1.25rem;
}

.case-map {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  background-position: center;
}

.case-site,
.case-sources span {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 0.5rem 0.65rem;
  font: 0.75rem/1.3 ui-monospace, monospace;
}

.case-site {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--champagne);
}

.case-sources {
  position: absolute;
  inset: 0 4% 0 auto;
  display: grid;
  align-content: space-evenly;
}

.case-route {
  position: absolute;
  left: 21%;
  top: 50%;
  width: 62%;
  height: 1px;
  transform: rotate(var(--angle));
  transform-origin: left center;
  background: var(--champagne);
  opacity: 0.48;
}

.case-agent {
  background: none;
  opacity: 1;
}

.case-agent::after {
  content: "";
  position: absolute;
  top: -0.24rem;
  left: 100%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 12px var(--champagne);
}

.case-panel.in-view .case-agent::after {
  animation: travel-to-source 1.25s var(--delay) both ease-in-out;
}

.case-panel.in-view .case-discovery p {
  animation: reveal-finding 0.6s 1.75s both ease-out;
}

.case-panel.in-view .case-discovery h3,
.case-panel.in-view .case-discovery a {
  animation: reveal-finding 0.6s 3s both ease-out;
}

.case-discovery p,
.case-feed li span,
.case-reports span,
.case-assessment span {
  color: var(--champagne);
  font: 0.8rem/1.45 ui-monospace, monospace;
}

.case-discovery h3 {
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  font-weight: 400;
  margin: 0 0 1rem;
}

.case-feed {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.4rem;
  border-left: 1px solid var(--rule);
}

.case-feed li {
  position: relative;
  padding-block: 0.85rem 1.5rem;
}

.case-feed li::before {
  content: "";
  position: absolute;
  left: calc(-1.4rem - 4px);
  top: 1.25rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
}

.case-feed p,
.case-reports p,
.case-assessment p {
  margin: 0.4rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

#how-it-works .case-feed li {
  min-height: clamp(7rem, 24vh, 13rem);
}

.case-feed li.awaiting-view:not(.in-view) { opacity: 0; }
.case-feed li.in-view { animation: reveal-finding 0.55s both ease-out; }

.case-glimpse {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-block: 2rem;
}

.case-glimpse .enterprise-film { margin: 0; }
.home-film video, .case-glimpse video { height: auto; }

.government-glimpse { max-width: 52rem; margin-block: 2rem; }
.case-reports { display: grid; grid-template-columns: 1fr 1fr; }
.case-reports > div { padding: 0.5rem 1rem 1rem; border-left: 1px solid var(--rule); }
.case-assessment { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

@keyframes travel-to-source { from { left: 0; } to { left: 100%; } }
@keyframes reveal-finding {
  from { opacity: 0; transform: translateY(0.55rem); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .case-glimpse { grid-template-columns: minmax(0, 1fr); }
  .case-reports { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .homepage .case-agent::after,
  .homepage .case-discovery *,
  .homepage .case-feed li { animation: none; opacity: 1; }
}

.video-play-fallback {
  display: block;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.about-section {
  text-align: center;
}

.about-section h2 {
  max-width: 28ch;
  margin-inline: auto;
}

.about-years {
  display: block;
  margin-bottom: 0.2em;
  color: var(--champagne);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.85;
  font-variant-numeric: lining-nums;
}

.about-combined {
  max-width: 34ch;
  margin: clamp(0.75rem, 2vw, 1.25rem) auto 0;
  color: var(--v-navy, inherit);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  line-height: 1.25;
  text-wrap: balance;
}

.about-combined-years {
  color: var(--champagne);
  font-variant-numeric: lining-nums;
}

.about-intro {
  max-width: 49ch;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  text-wrap: pretty;
}

#enterprises .enterprise-film,
#homeland-security .enterprise-film {
  height: auto;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 0;
}

.ambient-signals {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-edge {
  position: absolute;
  inset-block: 5% 4%;
  width: clamp(8px, 1.6vw, 28px);
  border-inline-start: 1px solid rgba(47,110,182,0.1);
}

.ambient-edge-left { left: max(6px, calc((100vw - 81rem) / 2)); }
.ambient-edge-right { right: max(6px, calc((100vw - 81rem) / 2)); }

.ambient-edge i {
  position: absolute;
  left: calc(var(--lane) * 4px);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 9px var(--champagne);
  opacity: 0.42;
  animation: ambient-drift var(--period) var(--phase) ease-in-out infinite alternate;
}

.ambient-edge i:nth-child(1) { --lane: 0; --y: 16%; --period: 29s; --phase: -8s; --travel: 55vh; }
.ambient-edge i:nth-child(2) { --lane: 1; --y: 81%; --period: 37s; --phase: -19s; --travel: -57vh; }
.ambient-edge i:nth-child(3) { --lane: 2; --y: 30%; --period: 23s; --phase: -6s; --travel: 42vh; }
.ambient-edge-right i { animation-direction: alternate-reverse; }

.ambient-discovery {
  position: absolute;
  width: 12.5rem;
  padding: 0.8rem 0 0 1rem;
  border-top: 1px solid rgba(47,110,182,0.36);
  color: #2F6EB6;
  font: 0.75rem/1.45 ui-monospace, monospace;
  animation: ambient-discovery 5s both;
}

.ambient-discovery::before,
.ambient-discovery::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.ambient-discovery::before { left: 0; }
.ambient-discovery::after { right: 0; }

.ambient-signals.is-paused .ambient-edge i { animation-play-state: paused; }

.homepage .site-footer {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.ambient-toggle {
  pointer-events: auto;
  border: 0;
  padding: 0.5rem 0.25rem;
  color: #2F6EB6;
  background: transparent;
  font: 0.75rem/1.4 system-ui, sans-serif;
  cursor: pointer;
}

@keyframes ambient-drift {
  from { transform: translateY(0); }
  to { transform: translate(4px, var(--travel)); opacity: 0.21; }
}

@keyframes ambient-discovery {
  0%, 100% { opacity: 0; }
  18%, 72% { opacity: 0.88; }
}

@media (max-width: 700px) {
  .ambient-edge i:nth-child(n + 2) { display: none; }
  .ambient-edge i { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-edge i { animation: none; }
  .ambient-discovery, .ambient-toggle { display: none; }
}

.audience-scenario {
  max-width: 65rem;
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}

.scenario-network {
  --branches: 3;
  --branch-inset: 16.667%;
  margin: 0;
  text-align: center;
  font: 0.85rem/1.4 ui-monospace, monospace;
}

.scenario-network.two-regions {
  --branches: 2;
  --branch-inset: 25%;
}

.scenario-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--branches), minmax(0, 1fr));
  margin: 0;
  padding: 0 0 1.5rem;
  list-style: none;
}

.scenario-branches::after {
  content: "";
  position: absolute;
  inset: auto var(--branch-inset) 0;
  border-bottom: 1px solid var(--rule);
}

.scenario-branches li {
  position: relative;
  padding-inline: 0.35rem;
}

.scenario-branches li::after {
  content: "";
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  height: 1.3rem;
  border-left: 1px solid var(--rule);
}

.scenario-branches small {
  display: block;
  margin-top: 0.25rem;
  color: var(--champagne);
}

.scenario-target {
  display: block;
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  margin: 1.5rem auto 0;
  border-radius: 50%;
  background: var(--champagne);
}

.scenario-target::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 1.5rem;
  border-left: 1px solid var(--rule);
}

.audience-scenario .case-feed li:last-child {
  padding-bottom: 0.85rem;
}

@media (max-width: 700px) {
  .scenario-layout { grid-template-columns: minmax(0, 1fr); }
}

.home-hero.home-hero-brief {
  grid-template-columns: minmax(0, 1fr);
}

.home-hero-brief .hero-copy h1 {
  max-width: 18ch;
}

/* Background music: small round mute / unmute button, bottom-right */
.sound-toggle {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #233B57;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #DFE1E4;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(35, 59, 87, 0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sound-toggle[hidden] { display: none; }

.sound-toggle:hover {
  color: #2F6DB5;
  box-shadow: 0 4px 16px rgba(35, 59, 87, 0.18);
  transform: translateY(-1px);
}

.sound-toggle.is-playing {
  color: #fff;
  background: #233B57;
  border-color: #233B57;
  animation: music-pulse 2.6s ease-out infinite;
}

.sound-toggle.is-playing:hover { background: #2F6DB5; border-color: #2F6DB5; }

.sound-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-icon path:first-child { stroke-width: 1; }
.sound-icon-on { display: none; }
.sound-toggle.is-playing .sound-icon-on { display: block; }
.sound-toggle.is-playing .sound-icon-off { display: none; }

@keyframes music-pulse {
  0% { box-shadow: 0 2px 10px rgba(35, 59, 87, 0.18), 0 0 0 0 rgba(47, 109, 181, 0.35); }
  70% { box-shadow: 0 2px 10px rgba(35, 59, 87, 0.18), 0 0 0 10px rgba(47, 109, 181, 0); }
  100% { box-shadow: 0 2px 10px rgba(35, 59, 87, 0.18), 0 0 0 0 rgba(47, 109, 181, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .sound-toggle.is-playing { animation: none; }
}

@media (max-width: 700px) {
  .home-header .brand-icon { order: -2; }
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 5vw, 4rem);
}

.product-details .product-note {
  padding-block: clamp(1.25rem, 3vw, 2.75rem);
}

.product-note h2 {
  font-size: clamp(1.65rem, 3vw, 2.75rem);
}

.product-note .audience-intro {
  margin-bottom: 0;
}

.scenario-summary {
  max-width: 65ch;
  margin: 0;
  color: #2F6EB6;
  font: 0.9rem/1.6 system-ui, sans-serif;
}

.scenario-summary strong { font-weight: 600; }

#enterprises .audience-intro,
#homeland-security .audience-intro {
  margin-bottom: 0.85rem;
}

.home-hero-brief .hero-intro {
  max-width: 58ch;
}

.home-header nav { gap: 0.5rem 1rem; }

@media (max-width: 1050px) {
  .home-header:has(nav a) .menu-toggle { display: inline-block; }
  .home-header .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .home-header .menu-toggle[aria-expanded="true"] + nav { flex-basis: 100%; }
}

@media (max-width: 700px) {
  .product-details { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 701px) {
  .product-details .product-note {
    padding-block: clamp(1.25rem, calc(3vw - 2.1px), 2.75rem);
  }
}

@media (max-width: 700px) {
  .home-hero.home-hero-brief { padding-block: 1.25rem 1.5rem; }
  .home-hero-brief h1 { margin-bottom: 1rem; }
  .home-hero-brief .hero-intro { margin-bottom: 1.15rem; }
  .product-details .product-note { padding-block: 0.8rem; }
  .product-note h2 { margin-bottom: 0.6rem; }
  .product-note .audience-intro { font-size: 0.95rem; line-height: 1.55; }
  #enterprises { padding-top: 1.9rem; }
  #enterprises h2 { font-size: 1.75rem; margin-bottom: 0.85rem; }
  #enterprises .audience-intro { font-size: 0.95rem; line-height: 1.55; }
}

.about-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 3vw, 2rem);
  width: min(100%, 32rem);
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
}

.about-portraits img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  mask-image: linear-gradient(to bottom, #F5F5F5 76%, transparent);
}

.approach-callout {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-left: 1rem;
  border-left: 1px solid var(--champagne);
}

.approach-callout h3 {
  margin: 0 0 0.5rem;
  color: var(--champagne);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.25;
}

.hero-actions {
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.625rem, 2.5vw, 2rem);
}

.hero-actions .cta { flex: 0 0 auto; }

.hero-signals {
  position: relative;
  flex: 0 1 12rem;
  min-width: 0;
  height: 2.65rem;
  color: var(--champagne);
  font: 0.7rem/1.15 system-ui, sans-serif;
}

.hero-signal-path {
  position: relative;
  height: 1px;
  width: 80%;
  max-width: 9rem;
  margin: 0.3rem 0 0.55rem 3px;
  background: var(--rule);
}

.hero-signal-path:nth-child(2) { width: 56%; margin-left: 12%; }

.hero-signal-path::before,
.hero-signal-path::after,
.hero-signal-path i {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2B64A6;
  transform: translate(-50%, -50%);
}

.hero-signal-path::before { left: 0; }
.hero-signal-path::after { left: 100%; animation: hero-signal-arrival 4s infinite; }

.hero-signal-path i {
  left: 0;
  width: 7px;
  height: 7px;
  background: #2F6EB6;
  box-shadow: 0 0 9px #2F6EB6;
  animation: hero-signal-travel 4s infinite;
}

.hero-signal-path:nth-child(2) i,
.hero-signal-path:nth-child(2)::after { animation-delay: -0.35s; }

.hero-finding {
  display: block;
  animation: hero-finding-reveal 4s infinite;
}

.hero-signals.is-paused *,
.hero-signals.is-paused .hero-signal-path::after { animation-play-state: paused; }

@keyframes hero-signal-travel {
  0% { left: 0; opacity: 1; }
  45%, 85% { left: 100%; opacity: 1; }
  96%, 100% { left: 100%; opacity: 0; }
}

@keyframes hero-signal-arrival {
  0%, 42%, 88%, 100% { box-shadow: none; }
  49%, 74% { box-shadow: 0 0 0 4px rgba(43,100,166,0.314), 0 0 11px #2F6EB6; }
}

@keyframes hero-finding-reveal {
  0%, 42%, 96%, 100% { opacity: 0; }
  52%, 83% { opacity: 1; }
}

@media (max-width: 700px) {
  .hero-signals { flex-basis: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-signal-path i,
  .hero-signal-path::after,
  .hero-finding { animation: none; }
  .hero-signal-path i { left: 100%; }
}

.film-sound-toggle {
  margin-top: 0.65rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--champagne);
  font: inherit;
  cursor: pointer;
}
