:root {
  --scalavue-blue: #0055a4;
  --scalavue-red: #ff3137;
  --scalavue-red-ink: #c5222d;
  --scalavue-ink: #171717;
  --scalavue-paper: #fff;
  --scalavue-soft: #686860;
  --scalavue-rule: #e6e6e2;
  --scalavue-gutter: clamp(1.25rem, 5.2vw, 5.5rem);
  --homepage-header-height: 5.8125rem;
  --font-sans: var(--font-open-sans);
  --font-display: var(--font-work-sans);
  --font-mono: var(--font-work-sans);
  --text-poster: clamp(2.6rem, 5vw, 4.8rem);
  --leading-poster: .92;
  --tracking-poster: -.065em;
  --text-section: clamp(1.8rem, 3vw, 2.8rem);
  --text-card: clamp(1.1rem, 1.5vw, 1.4rem);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--scalavue-ink);
  background: var(--scalavue-paper);
  font-family: var(--font-sans), sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.stage {
  width: 100%;
  max-width: 88rem;
  box-sizing: border-box;
  padding-inline: var(--scalavue-gutter);
  margin-inline: auto;
}

.scene-hero .stage {
  padding-inline: var(--scalavue-gutter);
}

.site-header {
  overflow: visible;
  pointer-events: auto;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--scalavue-rule);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-home {
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: auto;
  position: static;
  min-height: 3rem;
  color: var(--scalavue-blue);
  text-decoration: none;
}

.nav-home::after {
  display: none;
}

.scalavue-logo {
  width: clamp(8.5rem, 14vw, 12rem);
  height: auto;
  display: block;
  transform: translateX(-2.6%);
}

.airabbit-site {
  --scalavue-blue: var(--scalavue-red-ink);
}

.airabbit-brand-logo {
  width: min(100%, 12rem);
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  transform: translateX(-3.4%);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.7vw, 2.7rem);
}

.nav-row a,
.nav-sheet-list a {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(.95rem, 1.4vw, 1.35rem);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: .35em;
}

.nav-row a:hover,
.nav-row a:focus-visible,
.nav-row .nav-here,
.nav-sheet-list a:hover,
.nav-sheet-list .nav-here {
  color: var(--scalavue-blue);
  text-decoration: underline;
}

.nav-row .nav-jump {
  color: var(--scalavue-blue);
  font-weight: 650;
}

.site-switch-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  flex: 0 0 auto;
}

.site-switch-link {
  min-height: 2.5rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem .8rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: 999px;
  background: var(--scalavue-paper);
  color: var(--scalavue-blue);
  font-family: var(--font-display), sans-serif;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-switch-link:hover,
.site-switch-link:focus-visible {
  border-color: var(--scalavue-blue);
  background: #edf4fb;
  color: var(--scalavue-blue);
}

.site-switch-link:focus-visible {
  outline: 2px solid var(--scalavue-blue);
  outline-offset: 2px;
}

.nav-sheet-list .site-switch-menu-link {
  width: fit-content;
  min-height: 2.5rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: .55rem .8rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: 999px;
  background: var(--scalavue-paper);
  font-weight: 650;
  text-decoration: none;
}

.nav-sheet-list .site-switch-menu-link--parent {
  border-color: #c5d6e5;
  color: var(--scalavue-blue);
}

.nav-services {
  position: relative;
}

.nav-services-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(.95rem, 1.4vw, 1.35rem);
  font-weight: 500;
  cursor: pointer;
}

.nav-services-toggle[aria-expanded="true"] {
  color: var(--scalavue-blue);
}

.nav-services-toggle.nav-here,
.nav-services-toggle:hover,
.nav-services-toggle:focus-visible {
  color: var(--scalavue-blue);
  text-decoration: underline;
  text-underline-offset: .35em;
}

.nav-services-menu {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: -1.25rem;
  width: 15.5rem;
  display: grid;
  gap: .15rem;
  padding: .75rem;
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
  box-shadow: 0 1rem 2.5rem rgb(23 23 23 / 9%);
}

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

.nav-services-menu a {
  padding: .7rem .75rem;
  font-size: 1rem;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  cursor: pointer;
}

.nav-toggle-glyph,
.nav-toggle-glyph::before,
.nav-toggle-glyph::after {
  width: 1.15rem;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.nav-toggle-glyph {
  position: relative;
}

.nav-toggle-glyph::before,
.nav-toggle-glyph::after {
  position: absolute;
  left: 0;
}

.nav-toggle-glyph::before {
  top: -.35rem;
}

.nav-toggle-glyph::after {
  top: .35rem;
}

.nav-sheet {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 125;
  width: min(25rem, calc(100vw - 2rem));
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 5.5rem clamp(1.5rem, 5vw, 2.5rem) 2rem;
  border-left: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
  box-shadow: -1rem 0 3rem rgb(23 23 23 / 10%);
  overscroll-behavior: contain;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 124;
  border: 0;
  background: rgb(23 23 23 / 32%);
}

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

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

.nav-sheet-close {
  position: absolute;
  top: 1.25rem;
  right: var(--scalavue-gutter);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-sheet-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.nav-sheet-list .nav-sheet-label {
  margin: 1.25rem 0 .25rem;
  font-size: .72rem;
}

.scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4.5rem, 7vw, 7.5rem);
  border-bottom: 1px solid var(--scalavue-rule);
}

.homepage-deck > section {
  scroll-margin-top: var(--homepage-header-height);
}

.scene-hero {
  min-height: min(82svh, 52rem);
  justify-content: flex-start;
  padding-top: clamp(3.75rem, 7vh, 5.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 7.5rem);
  border-bottom: 0;
}

.scene-hero .mono {
  font-size: clamp(.68rem, 1.1vw, .86rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.service-hero {
  min-height: min(72svh, 44rem);
  scroll-margin-top: 5.75rem;
  border-bottom: 1px solid var(--scalavue-rule);
}

.service-hero:nth-of-type(even) {
  background: #fafaf7;
}

.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(14rem, .85fr) minmax(18rem, 1.15fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.service-hero-layout .statement-sm {
  max-width: 12ch;
  font-size: var(--text-section);
  line-height: 1.04;
}

.service-hero-layout .say {
  max-width: 54ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.service-hero-layout .say + .say {
  margin-top: 1.1rem;
}

.homepage-section-nav {
  position: fixed;
  top: 50%;
  right: 1rem;
  z-index: 110;
  width: 10.5rem;
  max-height: calc(100svh - 2rem);
  box-sizing: border-box;
  padding: .6rem;
  display: grid;
  gap: .5rem;
  transform: translateY(-50%);
  border: 1px solid rgb(23 23 23 / 10%);
  border-radius: .75rem;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 .4rem 1.5rem rgb(23 23 23 / 9%);
  backdrop-filter: blur(12px);
}

.homepage-section-nav-hidden {
  display: none;
}

.homepage-section-nav:not(.studio-section-nav) {
  width: min(13.25rem, calc(100vw - 2rem));
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-meta {
  display: block;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-meta [data-section-next-label] {
  display: none;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-controls {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  grid-template-areas:
    "up toggle down"
    "links links links";
  align-items: center;
  gap: .4rem;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-controls > [data-section-up] {
  grid-area: up;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-controls > [data-section-toggle] {
  grid-area: toggle;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-controls > [data-section-down] {
  grid-area: down;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-controls > .homepage-section-nav-links {
  grid-area: links;
}

.homepage-section-nav:not(.studio-section-nav) .section-nav-toggle {
  min-height: 2.25rem;
  display: flex;
  justify-content: center;
  font-size: .75rem;
}

.homepage-section-nav:not(.studio-section-nav) .homepage-section-nav-links {
  display: none;
}

.homepage-section-nav:not(.studio-section-nav).homepage-section-nav-expanded .homepage-section-nav-links {
  display: grid;
}

.homepage-section-nav-meta,
.homepage-section-nav-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
}

.homepage-section-nav-meta {
  display: grid;
  gap: .15rem;
  min-width: 0;
  font-family: var(--font-display), sans-serif;
  font-size: .75rem;
}

.homepage-section-nav-meta [data-section-current] {
  color: var(--scalavue-ink);
  font-weight: 700;
}

.homepage-section-nav-meta [data-section-next-label] {
  overflow: hidden;
  color: var(--scalavue-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .68rem;
}

.homepage-section-nav-controls {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.homepage-section-nav-links {
  min-width: 0;
  max-height: min(62svh, 35rem);
  display: grid;
  gap: .3rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.homepage-section-nav-links::-webkit-scrollbar {
  display: none;
}

.homepage-section-nav button {
  width: 100%;
  min-height: 2.25rem;
  box-sizing: border-box;
  padding: .45rem .55rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .5rem;
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .7rem;
  font-weight: 550;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.homepage-section-nav-links button > span:first-child {
  flex: 0 0 1.2rem;
  color: var(--scalavue-soft);
  font-family: var(--font-mono), monospace;
  font-size: .62rem;
}

.homepage-section-nav-links button > span:last-child {
  min-width: 0;
}

.homepage-section-nav-links > a {
  width: 100%;
  min-height: 2.25rem;
  box-sizing: border-box;
  padding: .45rem .55rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .5rem;
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .7rem;
  font-weight: 550;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.homepage-section-nav-links > a > span:first-child {
  flex: 0 0 1.2rem;
  color: var(--scalavue-soft);
  font-family: var(--font-mono), monospace;
  font-size: .62rem;
}

.homepage-section-nav-links > a > span:last-child {
  min-width: 0;
}

.homepage-section-nav button:hover,
.homepage-section-nav button:focus-visible {
  border-color: var(--scalavue-blue);
  color: var(--scalavue-blue);
}

.homepage-section-nav-links > a:hover,
.homepage-section-nav-links > a:focus-visible,
.homepage-section-nav-links > a[aria-current="location"] {
  border-color: var(--scalavue-blue);
  background: #edf4fb;
  color: var(--scalavue-blue);
}

.homepage-section-nav .section-nav-arrow {
  min-height: 1.75rem;
  padding: 0;
  font-size: .9rem;
}

.homepage-section-nav .section-nav-toggle {
  display: none;
}

.homepage-section-nav-links button[aria-current="step"] {
  border-color: var(--scalavue-blue);
  background: #edf4fb;
  color: var(--scalavue-blue);
}

.homepage-section-nav-links button[aria-current="step"] > span:first-child {
  color: var(--scalavue-blue);
}

.homepage-section-nav button[disabled] {
  opacity: .38;
  pointer-events: none;
}

.homepage-section-progress {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 111;
  height: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.homepage-section-progress > span {
  width: 0;
  height: 100%;
  display: block;
  background: var(--scalavue-blue);
  transition: width 420ms ease;
}

body.section-interacting .homepage-section-progress {
  opacity: 1;
}

.home-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 2rem 0 0;
  color: var(--scalavue-soft);
  font-family: var(--font-display), sans-serif;
  font-size: .88rem;
  font-weight: 550;
}

.home-scroll-hint > span:first-child {
  color: var(--scalavue-blue);
  font-size: 1.1rem;
}

.home-scroll-hint .scroll-hint-mobile {
  display: none;
}

.homepage-deck .say {
  font-size: clamp(.9rem, 1vw, 1.05rem);
  line-height: 1.45;
}

.homepage-deck .poster-md {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.homepage-deck .statement-sm {
  max-width: 30ch;
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
  line-height: 1.08;
}

.homepage-deck .feature-grid {
  gap: .75rem;
  margin-top: 1.1rem;
}

.homepage-deck .feature-card,
.homepage-deck .studio-product-card {
  min-height: 0;
  padding: 1rem;
}

.homepage-deck .feature-card .mono {
  margin: 0;
  font-size: .62rem;
}

.homepage-deck .feature-card h3 {
  margin-top: .5rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.15;
}

.homepage-deck .feature-card p:not(.mono) {
  margin: .55rem 0 0;
  font-size: .86rem;
  line-height: 1.4;
}

.poster {
  max-width: none;
  margin: .28em 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-poster);
  font-weight: var(--font-weight-cover, 800);
  line-height: var(--leading-poster, .96);
  letter-spacing: var(--tracking-poster, -.065em);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.poster-md {
  max-width: 17ch;
  margin: .4em 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-section);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.statement {
  max-width: 19ch;
  margin: .25em 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-poster);
  font-weight: 750;
  line-height: var(--leading-poster);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.statement-sm {
  max-width: 23ch;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hand,
.hand-inline {
  color: var(--scalavue-blue);
  font-family: ScalavueHand, var(--font-display), sans-serif;
  font-weight: 400;
}

.hand-inline {
  font-size: .92em;
}

.marked-word {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.marked-word svg {
  position: absolute;
  inset: -.15em -.38em;
  z-index: -1;
  width: calc(100% + .76em);
  height: calc(100% + .3em);
  overflow: visible;
  fill: none;
  stroke: var(--scalavue-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.hand-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hand-underline svg {
  position: absolute;
  bottom: -.18em;
  left: 0;
  width: 100%;
  height: .12em;
  overflow: visible;
  color: var(--scalavue-blue);
  pointer-events: none;
}

.hand-underline path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
}

.inkline {
  width: 100%;
  height: clamp(3.5rem, 7vw, 6rem);
  margin-block: -2rem;
  overflow: hidden;
  pointer-events: none;
}

.inkline svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke-width: clamp(3.5px, .35vw, 6px);
}

.inkline path {
  fill: none;
  stroke: var(--scalavue-blue);
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.say {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: var(--scalavue-soft);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.62;
}

.mono {
  font-family: var(--font-mono), monospace;
  font-size: .75rem;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.text-electric {
  color: var(--scalavue-blue);
}

.text-soft {
  color: var(--scalavue-soft);
}

.page-shell {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: 7rem;
}

.page-heading {
  max-width: 74rem;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--scalavue-rule);
}

.page-heading .statement {
  max-width: 18ch;
}

.page-eyebrow {
  color: var(--scalavue-blue);
}

.mt-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.section-intro > .say,
.section-intro > div > .say:first-child {
  margin-top: 0;
}

.feature-grid,
.project-grid,
.research-grid,
.model-grid,
.team-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-card,
.project-card,
.research-card,
.model-card,
.team-card,
.faq-item,
.note-card {
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
}

.feature-card,
.project-card,
.research-card,
.model-card,
.team-card,
.note-card {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.feature-card h3,
.project-card h3,
.research-card h3,
.model-card h3,
.team-card h3 {
  margin: .65rem 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.feature-card p,
.project-card p,
.research-card p,
.model-card p,
.team-card p,
.note-card p {
  color: var(--scalavue-soft);
  line-height: 1.65;
}

.card-link,
.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  color: var(--scalavue-blue);
  font-family: var(--font-display), sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: .3em;
}

.card-link:hover,
.cta-inline:hover {
  text-decoration: underline;
}

.card-link::after,
.cta-inline::after {
  content: "\2192";
}

.feature-card,
.project-card {
  min-height: 15rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card .project-summary {
  flex: 1;
}

.project-visual {
  width: 100%;
  min-height: 8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 80% 20%, rgb(0 85 164 / 22%), transparent 32%),
    linear-gradient(135deg, #f8f8f5, #efefed);
}

.project-visual span {
  color: var(--scalavue-blue);
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -.06em;
}

.project-visual small {
  color: var(--scalavue-soft);
  font-family: var(--font-mono), monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
}

.filter-button {
  padding: .55rem .85rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--scalavue-ink);
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--scalavue-blue);
  background: var(--scalavue-blue);
  color: white;
}

.project-card[hidden] {
  display: none;
}

.faq-item {
  padding: 1.2rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
}

.faq-item p {
  max-width: 68ch;
  color: var(--scalavue-soft);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: .5rem;
  font-family: var(--font-display), sans-serif;
  font-weight: 550;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .9rem 1rem;
  border: 1px solid #c9c9c3;
  border-radius: 0;
  background: white;
  color: var(--scalavue-ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--scalavue-blue);
  outline-offset: 2px;
}

.button-primary {
  width: fit-content;
  padding: .85rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--scalavue-blue);
  color: white;
  font-family: var(--font-display), sans-serif;
  font-weight: 650;
  cursor: pointer;
}

.button-primary:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.legal-copy {
  max-width: 74ch;
}

.legal-copy h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.legal-copy p,
.legal-copy li {
  color: var(--scalavue-soft);
  line-height: 1.7;
}

.site-footer {
  padding-block: 4rem 2rem;
  background: #f8f8f6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.footer-links a {
  text-underline-offset: .3em;
}

.footer-links a:hover {
  color: var(--scalavue-blue);
}

.studio-hero {
  background: var(--scalavue-paper);
}

.studio-brand-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.studio-brand-row img {
  display: block;
  width: clamp(8rem, 12vw, 10rem);
  height: auto;
}

.studio-hero .page-eyebrow {
  display: block;
}

.studio-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.studio-hero-grid .statement-sm {
  max-width: 16ch;
}

.studio-hero-content {
  max-width: 54ch;
}

.studio-hero-copy {
  max-width: 48ch;
  margin: 0;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 2rem;
}

.studio-scenario {
  display: grid;
  grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scalavue-rule);
}

.studio-scenario h3 {
  max-width: 24ch;
  margin: .5rem 0 0;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.12;
}

.studio-scenario > div:last-child p {
  margin: 0;
  color: var(--scalavue-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.studio-hero .home-scroll-hint {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.studio-section {
  scroll-margin-top: calc(var(--homepage-header-height) + 1rem);
}

.studio-section:nth-of-type(even) {
  background: #fafaf7;
}

.studio-section-intro {
  max-width: 60ch;
  margin: 0 0 2rem;
}

.studio-step-grid,
.studio-superpower-grid,
.studio-system-grid,
.studio-columns,
.studio-blueprints,
.studio-specs {
  display: grid;
  gap: 1rem;
}

.studio-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-step-grid--three,
.studio-superpower-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-step-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-superpower-grid,
.studio-specs,
.studio-specs--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.studio-columns,
.studio-blueprints {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-blueprints--single {
  grid-template-columns: 1fr;
}

.studio-superpower,
.studio-system,
.studio-step,
.studio-column,
.studio-blueprint,
.studio-spec {
  min-width: 0;
  min-height: 0;
}

.studio-superpower h3,
.studio-system h3,
.studio-step h3 {
  margin: .65rem 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.studio-superpower > p:last-child,
.studio-system > p:last-child,
.studio-step p,
.studio-column p,
.studio-blueprint p,
.studio-spec p {
  color: var(--scalavue-soft);
  line-height: 1.65;
}

.studio-superpower > p:last-child,
.studio-system > p:last-child {
  margin-bottom: 0;
}

.studio-column h2,
.studio-blueprint h2,
.studio-spec h2 {
  margin: .65rem 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.studio-blueprint {
  display: flex;
  flex-direction: column;
}

.studio-blueprint-domain {
  margin: .75rem 0 0;
  color: var(--scalavue-soft) !important;
  font-weight: 600;
}

.studio-tag {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--scalavue-blue) !important;
  font-family: var(--font-mono), sans-serif;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.growth-engine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.25rem, 3vw, 3rem);
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
}

.growth-stage {
  min-width: 0;
  border-top: 1px solid var(--scalavue-rule);
  padding-top: 1.2rem;
}

.growth-stage h3 {
  margin: .75rem 0 1.1rem;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.12;
}

.growth-stage ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.growth-stage li {
  border-top: 1px solid var(--scalavue-rule);
  padding-top: .8rem;
}

.growth-stage li strong,
.growth-stage li span {
  display: block;
}

.growth-stage li span {
  margin-top: .2rem;
  color: var(--scalavue-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.growth-cognitive {
  text-align: center;
}

.growth-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  margin: 1rem auto;
  border: 1px solid rgb(0 85 164 / 28%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 85 164 / 6%), transparent 68%);
}

.growth-orbit::before,
.growth-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgb(0 85 164 / 28%);
  border-radius: 50%;
}

.growth-orbit::before {
  inset: 11%;
}

.growth-orbit::after {
  inset: 23%;
  border-color: rgb(0 85 164 / 48%);
}

.growth-core-disc {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid var(--scalavue-blue);
  border-radius: 50%;
  background: var(--scalavue-paper);
}

.growth-core-disc small {
  color: var(--scalavue-blue);
  font-family: var(--font-mono), sans-serif;
  font-size: .5rem;
  letter-spacing: .08em;
}

.growth-core-disc strong {
  margin-top: .4rem;
  font-family: var(--font-mono), sans-serif;
  font-size: clamp(.85rem, 1.4vw, 1.1rem);
  line-height: 1.1;
}

.growth-cognitive > p:last-child {
  max-width: 24ch;
  margin: 0 auto;
  color: var(--scalavue-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.growth-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--scalavue-rule);
  border-top: 0;
  color: var(--scalavue-soft);
  font-family: var(--font-mono), sans-serif;
  font-size: .7rem;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}

.growth-loop span[aria-hidden="true"] {
  color: var(--scalavue-blue);
}

.studio-specs,
.studio-specs--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-spec {
  min-height: 0;
}

.footer-rule {
  height: 1px;
  margin-block: 3rem 1.25rem;
  background: var(--scalavue-rule);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--scalavue-soft);
  font-size: .85rem;
}

.footer-bottom .footer-links {
  flex-direction: row;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--scalavue-soft);
  font-size: .85rem;
}

.footer-social-label {
  margin: 0;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social-links a[aria-disabled="true"] {
  color: #92928c;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  background: white;
  color: var(--scalavue-ink);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 64rem) {
  :root {
    --scalavue-gutter: clamp(1.25rem, 5vw, 3.25rem);
    --homepage-header-height: 4rem;
  }

  .nav-row {
    display: none;
  }

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

  .nav-sheet:not([hidden]) {
    display: block;
  }

  .homepage-section-nav {
    top: auto;
    right: .65rem;
    bottom: calc(.65rem + var(--cookie-consent-nav-offset, 0px));
    left: .65rem;
    width: auto;
    max-height: min(42svh, 22rem);
    transform: translateY(calc(100% + 1rem));
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .homepage-section-nav:not(.studio-section-nav) {
    width: auto;
  }

  .homepage-section-nav-meta {
    display: block;
  }

  .homepage-section-nav-controls {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: .4rem;
  }

  .homepage-section-nav-controls > [data-section-up] {
    grid-column: 1;
    grid-row: 1;
  }

  .homepage-section-nav-controls > [data-section-toggle] {
    grid-column: 2;
    grid-row: 1;
  }

  .homepage-section-nav-controls > [data-section-down] {
    grid-column: 3;
    grid-row: 1;
  }

  .homepage-section-nav-controls > .homepage-section-nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .homepage-section-nav .section-nav-toggle {
    min-height: 2.25rem;
    display: flex;
    justify-content: center;
    font-size: .75rem;
  }

  .homepage-section-nav.homepage-section-nav-visible,
  .homepage-section-nav:hover,
  .homepage-section-nav:focus-within {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .homepage-section-nav-meta [data-section-next-label] {
    display: none;
  }

  .homepage-section-nav-links {
    display: none;
    max-height: min(28svh, 15rem);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .homepage-section-nav-expanded .homepage-section-nav-links {
    display: grid;
  }

  .homepage-section-progress {
    display: none;
  }

  .homepage-deck .home-scroll-hint .scroll-hint-desktop {
    display: none;
  }

  .homepage-deck .home-scroll-hint .scroll-hint-mobile {
    display: inline;
  }

  .nav-backdrop:not([hidden]) {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .header-inner {
    min-height: 4rem;
  }

  .scene.scene-hero {
    min-height: min(78svh, 46rem);
    justify-content: flex-start;
    padding-top: clamp(3.25rem, 7vh, 4.5rem);
  }

  .inkline {
    margin-block: 0;
  }

  .section-intro {
    grid-template-columns: minmax(10rem, .8fr) minmax(0, 1.2fr);
  }

  .contact-layout {
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* Homepage story and system diagrams */
.work-thread-card {
  min-width: 0;
}

.work-thread {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.work-thread li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .7rem;
  padding: .7rem 0;
  border-top: 1px solid var(--scalavue-rule);
}

.thread-step {
  color: var(--scalavue-red-ink);
  font: 700 .7rem/1.5 var(--font-mono), monospace;
}

.work-thread li strong,
.work-thread li small {
  display: block;
}

.work-thread li strong {
  font-size: .9rem;
  line-height: 1.35;
}

.work-thread li small {
  margin-top: .2rem;
  color: var(--scalavue-soft);
  font-size: .76rem;
  line-height: 1.45;
}

.thread-state {
  color: var(--scalavue-soft);
  font: 650 .62rem/1.4 var(--font-mono), monospace;
  text-transform: uppercase;
}

.thread-footnote,
.illustrative-note {
  max-width: 70ch;
  margin: 1.1rem 0 0;
  color: var(--scalavue-soft);
  font-size: .8rem;
  line-height: 1.55;
}

.ecosystem-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1.15fr) 2rem minmax(0, 1fr);
  align-items: stretch;
  gap: .75rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.ecosystem-node {
  min-width: 0;
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: .75rem;
  background: #fff;
}

.ecosystem-node-featured {
  border-color: #c7d9e9;
  background: #f5f9fc;
}

.ecosystem-node h3 {
  margin: .5rem 0;
  font: 750 clamp(1.4rem, 2vw, 2rem)/1.1 var(--font-display), sans-serif;
  letter-spacing: -.04em;
}

.ecosystem-node p:not(.mono) {
  margin: 0;
  color: var(--scalavue-soft);
  font-size: .92rem;
  line-height: 1.6;
}

.ecosystem-node > span {
  display: block;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--scalavue-rule);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.45;
}

.ecosystem-verticals {
  display: grid;
  gap: .45rem;
  margin-top: .8rem;
}

.ecosystem-verticals a {
  display: grid;
  gap: .2rem;
  padding: .65rem .7rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .45rem;
  background: #fff;
  color: var(--scalavue-ink);
  text-decoration: none;
}

.ecosystem-verticals a:hover,
.ecosystem-verticals a:focus-visible {
  border-color: var(--scalavue-blue);
  box-shadow: 0 0 0 2px rgb(33 74 113 / 12%);
}

.ecosystem-verticals strong {
  color: var(--scalavue-blue);
  font-size: .84rem;
}

.ecosystem-verticals span {
  color: var(--scalavue-soft);
  font-size: .72rem;
  line-height: 1.4;
}

.ecosystem-connector {
  display: grid;
  place-items: center;
  color: var(--scalavue-blue);
  font-size: 1.45rem;
}

.ecosystem-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--scalavue-rule);
}

.ecosystem-bottomline p {
  margin: 0;
  font-weight: 650;
}

.ecosystem-products {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  margin-top: 1rem;
}

.ecosystem-products a,
.foundation-rail a {
  color: var(--scalavue-blue);
  font-size: .84rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

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

.case-story {
  min-width: 0;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: .75rem;
  background: #fff;
}

.case-story h3 {
  margin: .65rem 0 0;
  font: 700 clamp(1.25rem, 1.7vw, 1.55rem)/1.15 var(--font-display), sans-serif;
  letter-spacing: -.035em;
}

.case-story > p:not(.mono) {
  color: var(--scalavue-soft);
  font-size: .91rem;
  line-height: 1.65;
}

.case-story .case-decision {
  padding-top: .8rem;
  border-top: 1px solid var(--scalavue-rule);
  color: var(--scalavue-ink);
  font-size: .82rem;
}

.case-story .card-link {
  display: inline-block;
  margin-top: .35rem;
}

.foundation-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}

.foundation-rail article {
  min-width: 0;
  padding: 1.1rem;
  border-top: 2px solid var(--scalavue-blue);
  background: #f7f8fa;
}

.foundation-rail article > span {
  color: var(--scalavue-blue);
  font: 700 .7rem/1.4 var(--font-mono), monospace;
}

.foundation-rail h3 {
  margin: .65rem 0 .35rem;
  font: 700 1.12rem/1.2 var(--font-display), sans-serif;
}

.foundation-rail p {
  min-height: 6.2em;
  margin: 0 0 .9rem;
  color: var(--scalavue-soft);
  font-size: .82rem;
  line-height: 1.55;
}

.home-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.home-contact-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: .75rem;
  background: #f7f8fa;
}

.home-contact-card ol {
  display: grid;
  gap: .7rem;
  padding-left: 1.4rem;
  margin: 1rem 0 1.25rem;
  line-height: 1.5;
}

@media (max-width: 64rem) {
  .case-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-story:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 44rem) {
  .ecosystem-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }

  .ecosystem-connector {
    min-height: 1.2rem;
    transform: rotate(90deg);
  }

  .ecosystem-bottomline,
  .home-contact-layout {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .case-story-grid,
  .foundation-rail {
    grid-template-columns: 1fr;
  }

  .case-story:last-child {
    grid-column: auto;
  }

  .foundation-rail p {
    min-height: 0;
  }

  .work-thread li {
    grid-template-columns: 1.5rem minmax(0, 1fr);
  }

  .thread-state {
    grid-column: 2;
  }
}

@media (max-width: 38rem) {
  .header-inner {
    min-height: 4.25rem;
  }

  .nav-row {
    display: none;
  }

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

  .nav-sheet:not([hidden]) {
    display: block;
  }

  .section-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

/* Scalavue enterprise AI positioning */
.home-architecture-visual {
  min-width: 0;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid #253c4d;
  border-radius: .85rem;
  background:
    radial-gradient(ellipse at 55% 42%, rgb(39 104 132 / 28%), transparent 48%),
    linear-gradient(145deg, #101923, #142a37 62%, #102229);
  color: #f2f5f6;
  box-shadow: 0 1.5rem 3.5rem rgb(14 30 42 / 18%);
}

.home-architecture-heading {
  display: grid;
  gap: .6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(198 219 226 / 20%);
}

.home-architecture-heading span,
.home-architecture-outcome span {
  color: #a7d4e5;
  font: 700 .62rem/1.4 var(--font-mono), monospace;
  letter-spacing: .1em;
}

.home-architecture-heading strong {
  max-width: 30ch;
  font: 720 clamp(1.2rem, 1.9vw, 1.65rem)/1.15 var(--font-display), sans-serif;
  letter-spacing: -.035em;
}

.home-architecture-boundary {
  position: relative;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgb(134 189 207 / 50%);
  border-radius: .65rem;
  background: rgb(7 19 28 / 35%);
}

.home-boundary-label {
  display: inline-block;
  padding: .25rem .45rem;
  border-radius: .25rem;
  background: #244655;
  color: #d3e8ee;
  font: 650 .6rem/1.4 var(--font-mono), monospace;
  text-transform: uppercase;
}

.home-architecture-boundary ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
  padding: 0;
  margin: .8rem 0 0;
  list-style: none;
}

.home-architecture-boundary li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .3rem;
  padding: .7rem .55rem;
  border-top: 2px solid #82c5d7;
  background: rgb(255 255 255 / 5%);
}

.home-architecture-boundary li b {
  color: #a7d4e5;
  font: 700 .58rem/1.3 var(--font-mono), monospace;
}

.home-architecture-boundary li strong {
  font-size: .82rem;
}

.home-architecture-boundary li small {
  color: #c1ced4;
  font-size: .63rem;
  line-height: 1.4;
}

.home-architecture-outcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .7rem;
  padding: .75rem .85rem;
  border: 1px solid rgb(167 212 229 / 25%);
  border-radius: .5rem;
  background: rgb(29 74 86 / 44%);
}

.home-architecture-outcome strong {
  max-width: 28ch;
  color: #e4edf0;
  font-size: .72rem;
  line-height: 1.4;
  text-align: right;
}

.home-architecture-visual > p {
  margin: .75rem 0 0;
  color: #b8c8cf;
  font-size: .7rem;
  line-height: 1.5;
}

.home-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}

.home-enterprise-grid article,
.home-deployment-grid article {
  min-width: 0;
  padding: clamp(1rem, 1.7vw, 1.35rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: .7rem;
  background: #fff;
}

.home-enterprise-grid article > span {
  color: var(--scalavue-blue);
  font: 700 .63rem/1.45 var(--font-mono), monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-enterprise-grid h3,
.home-deployment-grid h3 {
  margin: .75rem 0 .4rem;
  font: 720 clamp(1.08rem, 1.45vw, 1.32rem)/1.15 var(--font-display), sans-serif;
  letter-spacing: -.035em;
}

.home-enterprise-grid p,
.home-deployment-grid p:not(.mono) {
  color: var(--scalavue-soft);
  font-size: .83rem;
  line-height: 1.55;
}

.home-enterprise-grid a,
.home-deployment-grid a {
  display: inline-block;
  margin-top: .45rem;
  color: var(--scalavue-blue);
  font-size: .8rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.home-enterprise-links {
  display: grid;
  justify-items: start;
  gap: .35rem;
  margin-top: .45rem;
}

.home-enterprise-links a {
  margin-top: 0;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.platform-flow li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .4rem;
  padding: 1rem;
  border-top: 2px solid var(--scalavue-blue);
  background: #f7f8fa;
}

.platform-flow li b {
  color: var(--scalavue-blue);
  font: 700 .65rem/1.4 var(--font-mono), monospace;
}

.platform-flow li strong {
  font: 720 1.05rem/1.2 var(--font-display), sans-serif;
}

.platform-flow li span,
.platform-flow-note {
  color: var(--scalavue-soft);
  font-size: .78rem;
  line-height: 1.5;
}

.platform-flow-note {
  max-width: 68ch;
  margin: 1rem 0 0;
}

.home-enterprise-note,
.home-proof-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--scalavue-rule);
}

.home-enterprise-note p,
.home-proof-link span {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.home-enterprise-note .cta-inline,
.home-proof-link a {
  flex: 0 0 auto;
  margin: 0;
  color: var(--scalavue-blue);
  font-size: .84rem;
  font-weight: 650;
}

.home-deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 2rem;
}

.home-deployment-grid .mono {
  min-height: 2.8em;
  font-size: .62rem;
  line-height: 1.45;
}

.home-deployment-grid h3 {
  min-height: 3.4em;
}

.home-proof-link {
  padding-block: .85rem;
}

.home-program-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
}

.home-program-steps article {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1rem .6rem;
  border-top: 2px solid var(--scalavue-blue);
  background: #f7f8fa;
}

.home-program-steps article > b {
  color: var(--scalavue-blue);
  font: 700 .67rem/1.5 var(--font-mono), monospace;
}

.home-program-steps h3 {
  margin: 0;
  font: 700 1rem/1.2 var(--font-display), sans-serif;
}

.home-program-steps p {
  margin: .45rem 0 0;
  color: var(--scalavue-soft);
  font-size: .79rem;
  line-height: 1.5;
}

.home-scale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.home-scale-grid .statement-sm {
  max-width: 14ch;
}

.home-scale-panel {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: .75rem;
  background: #f7f8fa;
}

.home-scale-panel > .mono {
  color: var(--scalavue-blue);
}

.home-scale-panel ul {
  display: grid;
  gap: .85rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.home-scale-panel li {
  display: grid;
  gap: .2rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--scalavue-rule);
}

.home-scale-panel li strong {
  font-size: .87rem;
}

.home-scale-panel li span {
  color: var(--scalavue-soft);
  font-size: .78rem;
  line-height: 1.45;
}

.home-scale-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
}

.home-scale-links a {
  color: var(--scalavue-blue);
  font-size: .83rem;
  font-weight: 650;
}

@media (max-width: 64rem) {
  .home-enterprise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 44rem) {
  .home-architecture-boundary ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-architecture-outcome,
  .home-enterprise-note,
  .home-proof-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-architecture-outcome strong {
    text-align: left;
  }

  .home-enterprise-grid,
  .home-deployment-grid,
  .home-program-steps,
  .home-scale-grid,
  .platform-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-deployment-grid .mono,
  .home-deployment-grid h3 {
    min-height: 0;
  }

  .home-scale-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 38rem) {
  :root {
    --text-poster: clamp(2.35rem, 10.5vw, 3.5rem);
    --text-section: clamp(2rem, 9vw, 3rem);
    --text-card: 1.3rem;
  }

  .scene {
    padding-block: 3.75rem;
  }

  .scene-hero {
    min-height: 0;
    max-height: none;
    padding-top: 3.25rem;
  }

  .service-hero {
    min-height: 0;
    scroll-margin-top: 4.25rem;
  }

  .service-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-hero-layout .statement-sm {
    max-width: 18ch;
    margin-top: .35em;
    font-size: var(--text-section);
  }

  .poster {
    margin-top: .38em;
    line-height: .96;
  }

  .poster-md,
  .statement,
  .statement-sm {
    max-width: 18ch;
  }

  .say {
    max-width: 42ch;
    font-size: 1rem;
    line-height: 1.58;
  }

  .work-measure,
  .title-measure,
  .page-measure {
    max-width: 100%;
  }

  .page-shell {
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .page-heading {
    padding-bottom: 3.25rem;
  }

  .mt-section {
    margin-top: 3.25rem;
  }

  .feature-grid,
  .project-grid,
  .research-grid,
  .model-grid,
  .team-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card,
  .project-card,
  .research-card,
  .model-card,
  .team-card,
  .note-card {
    padding: 1.25rem;
  }

  .feature-card,
  .project-card {
    min-height: 0;
  }

  .project-filters {
    gap: .4rem;
  }

  .filter-button {
    min-height: 2.75rem;
  }

  .button-primary {
    width: 100%;
    min-height: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-social {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media (max-width: 64rem) {
  .nav-row {
    display: none;
  }

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

.homepage-deck .home-hero .poster {
  font-size: clamp(2.35rem, 3.4vw, 3.65rem);
  line-height: .98;
}

.homepage-deck .home-hero {
  justify-content: center;
  padding-block: clamp(3rem, 5vh, 4.5rem);
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, .95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy .work-measure {
  max-width: 54ch;
  margin-top: 1.35rem;
  line-height: 1.55;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.65rem;
}

.home-hero-actions .cta-inline {
  min-height: 2.9rem;
  box-sizing: border-box;
  margin-top: 0;
  padding: .7rem 1rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: 999px;
}

.home-hero-actions .home-hero-primary {
  border-color: var(--scalavue-blue);
  background: var(--scalavue-blue);
  color: #fff;
}

.home-hero-actions .home-hero-primary:hover,
.home-hero-actions .home-hero-primary:focus-visible {
  background: #06477f;
  text-decoration: none;
}

.home-hero-actions .home-hero-secondary:hover,
.home-hero-actions .home-hero-secondary:focus-visible {
  border-color: var(--scalavue-blue);
  text-decoration: none;
}

.home-hero-studio-link {
  margin: .7rem 0 0;
}

.home-hero-studio-link .cta-inline {
  margin-top: 0;
  font-size: .95rem;
}

.home-work-visual {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  border: 1px solid var(--scalavue-rule);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0, rgb(0 85 164 / 7%), transparent 14rem),
    #fff;
  box-shadow: 0 1.25rem 3.5rem rgb(18 38 58 / 8%);
}

.home-work-visual::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--scalavue-blue) 0 72%, #f5c536 72%);
  content: "";
}

.home-work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-work-header .mono,
.home-work-examples > .mono,
.home-built-products > .mono {
  margin: 0;
  color: var(--scalavue-blue);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-work-caption {
  margin: .45rem 0 0;
  color: var(--scalavue-soft);
  font-family: var(--font-display), sans-serif;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
}

.home-work-signal {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
  padding: .45rem .6rem;
  border: 1px solid #d7e4f0;
  border-radius: 999px;
  background: #f5f9fd;
  color: var(--scalavue-blue);
  font-family: var(--font-mono), monospace;
  font-size: .55rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-work-signal i {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #f5c536;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: 1.05rem;
}

.home-capability {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  padding: .62rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .6rem;
  background: rgb(255 255 255 / 88%);
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.home-capability:hover,
.home-capability:focus-visible {
  border-color: var(--scalavue-blue);
  background: #f5f9fd;
  text-decoration: none;
}

.home-capability-wide {
  grid-column: 1 / -1;
}

.home-capability-number {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid #d7e4f0;
  border-radius: 50%;
  color: var(--scalavue-blue);
  font-family: var(--font-mono), monospace;
  font-size: .58rem;
  font-weight: 650;
}

.home-capability strong,
.home-capability small {
  display: block;
}

.home-capability strong {
  font-family: var(--font-display), sans-serif;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.25;
}

.home-capability small {
  margin-top: .18rem;
  color: var(--scalavue-soft);
  font-size: .62rem;
  line-height: 1.25;
}

.home-capability-arrow {
  color: var(--scalavue-blue);
  font-size: .8rem;
}

.home-work-examples,
.home-built-products {
  margin-top: .95rem;
  padding-top: .85rem;
  border-top: 1px solid var(--scalavue-rule);
}

.home-work-examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .5rem;
}

.home-work-examples article {
  min-width: 0;
  padding: .6rem .65rem;
  border-left: 2px solid var(--scalavue-blue);
  background: #f7f9fb;
}

.home-work-examples article span,
.home-work-examples article strong {
  display: block;
}

.home-work-examples article span {
  color: var(--scalavue-soft);
  font-family: var(--font-mono), monospace;
  font-size: .53rem;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-work-examples article strong {
  margin-top: .28rem;
  font-family: var(--font-display), sans-serif;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.3;
}

.home-product-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .5rem;
}

.home-product-link {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: .55rem .6rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .55rem;
  background: #fff;
  text-decoration: none;
}

.home-product-link:hover,
.home-product-link:focus-visible,
.home-product-external:hover,
.home-product-external:focus-visible {
  border-color: var(--scalavue-red-ink);
  background: #fff8f8;
  text-decoration: none;
}

.home-product-link img {
  width: min(100%, 8rem);
  height: 1.25rem;
  object-fit: contain;
  object-position: left center;
}

.home-product-link span,
.home-product-external span {
  color: var(--scalavue-soft);
  font-size: .61rem;
  line-height: 1.3;
}

.home-product-external {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .65rem;
  border: 1px solid var(--scalavue-rule);
  border-radius: .55rem;
  background: #fff;
  text-decoration: none;
}

.home-product-external strong {
  color: var(--scalavue-red-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

.home-product-external b {
  margin-left: .25rem;
  color: var(--scalavue-red-ink);
  font-weight: 650;
}

.homepage-deck .service-hero {
  min-height: 0;
}

.home-approach .poster-md {
  max-width: 22ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.home-approach .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}

.home-approach .feature-card,
.home-collaboration .feature-card {
  min-height: 0;
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.home-approach .feature-card h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
}

.home-approach .feature-card p:not(.mono) {
  font-size: .94rem;
  line-height: 1.5;
}

.home-selected-work .feature-grid,
.home-collaboration .feature-grid {
  margin-top: 1.5rem;
}

.home-collaboration .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.cookie-consent {
  position: fixed;
  bottom: .75rem;
  left: 50%;
  z-index: 120;
  width: min(90rem, calc(100vw - 2rem));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .85rem;
  transform: translateX(-50%);
  border-radius: .65rem;
  border: 1px solid var(--scalavue-rule);
  background: rgb(255 255 255 / 98%);
  color: var(--scalavue-ink);
  box-shadow: 0 .4rem 1.5rem rgb(23 23 23 / 9%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.cookie-consent-copy svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  stroke: currentColor;
}

.cookie-consent-copy p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
}

.cookie-consent-copy [data-cookie-settings] {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--scalavue-blue);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.cookie-consent-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.cookie-consent-actions button,
.cookie-dialog .cookie-dialog-actions button {
  min-height: 2.25rem;
  padding: .45rem .8rem;
  border: 1.5px solid var(--scalavue-ink);
  border-radius: 999px;
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
}

.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible,
.cookie-dialog .cookie-dialog-actions button:hover,
.cookie-dialog .cookie-dialog-actions button:focus-visible {
  border-color: var(--scalavue-blue);
  color: var(--scalavue-blue);
}

.cookie-dialog {
  width: min(33rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  box-sizing: border-box;
  margin: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow: auto;
  border: 1px solid var(--scalavue-rule);
  border-radius: 0;
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  box-shadow: 0 .75rem 2rem rgb(23 23 23 / 12%);
}

.cookie-dialog::backdrop {
  background: rgb(23 23 23 / 48%);
  backdrop-filter: blur(2px);
}

.cookie-dialog h2 {
  margin: .5rem 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.cookie-dialog p {
  color: var(--scalavue-soft);
  line-height: 1.6;
}

.cookie-dialog .cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.cookie-dialog .cookie-close {
  border-color: var(--scalavue-rule);
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .3em;
  cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
  color: var(--scalavue-blue);
}

@media (max-width: 64rem) {
  :root {
    --homepage-header-height: 4.0625rem;
  }

  .studio-hero-content {
    max-width: 48rem;
  }

  .studio-scenario {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .studio-hero .home-scroll-hint span {
    transform: rotate(90deg);
  }

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

  .studio-superpower-grid,
  .studio-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-blueprints,
  .studio-columns {
    grid-template-columns: 1fr;
  }

  .studio-column,
  .studio-blueprint {
    min-height: 0;
  }

  .growth-engine {
    grid-template-columns: 1fr;
  }

  .homepage-section-nav {
    display: grid;
  }

  .home-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .homepage-deck .scene-hero.home-hero {
    min-height: 0;
    justify-content: flex-start;
    padding-block: clamp(3rem, 7vh, 4.5rem) clamp(3.5rem, 8vw, 5rem);
  }

  .homepage-deck .home-hero .poster {
    font-size: clamp(2.35rem, 6.1vw, 3.4rem);
  }

  .home-work-visual {
    width: 100%;
    max-width: 42rem;
  }

  .studio-hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .studio-preview-wrap {
    margin-top: 1.25rem;
  }

  .homepage-deck .home-scroll-hint .scroll-hint-desktop {
    display: none;
  }

  .homepage-deck .home-scroll-hint .scroll-hint-mobile {
    display: inline;
  }

  .studio-hero .home-scroll-hint span {
    transform: none;
  }

  .home-approach .feature-grid,
  .home-collaboration .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 38rem) {
  :root {
    --homepage-header-height: 4.3125rem;
  }

  .studio-brand-row img {
    width: clamp(8rem, 38vw, 10rem);
  }

  .studio-hero-content .studio-actions {
    margin-top: 1.25rem;
  }

  .studio-section {
    padding-block: 3.75rem;
  }

  .studio-step-grid {
    grid-template-columns: 1fr;
  }

  .studio-superpower-grid,
  .studio-system-grid {
    grid-template-columns: 1fr;
  }

  .studio-hero-content .studio-actions {
    display: flex;
    gap: .5rem;
  }
  .studio-specs {
    grid-template-columns: 1fr;
  }

  .studio-spec {
    min-height: 0;
  }

  .growth-engine {
    gap: 2rem;
    padding: 1.1rem;
  }

  .growth-orbit {
    width: min(100%, 14rem);
  }

  .growth-loop {
    gap: .5rem .7rem;
    padding: .9rem .65rem;
    font-size: .62rem;
  }

  .homepage-deck .scene-hero {
    padding-bottom: 3.75rem;
  }

  .home-scroll-hint {
    margin-top: 1.4rem;
    font-size: .8rem;
  }

  .homepage-deck .home-hero .poster {
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }

  .home-work-visual {
    padding: 1.1rem;
  }

  .home-work-header {
    align-items: flex-start;
  }

  .home-work-signal {
    padding: .4rem .5rem;
    font-size: .5rem;
  }

  .home-capability-grid,
  .home-work-examples-grid {
    gap: .4rem;
  }

  .home-capability {
    grid-template-columns: 1.4rem minmax(0, 1fr) auto;
    gap: .4rem;
    padding: .5rem .45rem;
  }

  .home-capability strong {
    font-size: .8rem;
  }

  .home-capability small {
    font-size: .68rem;
    line-height: 1.3;
  }

  .home-work-examples article {
    padding: .5rem;
  }

  .home-work-examples article strong {
    font-size: .76rem;
  }

  .home-product-links {
    gap: .4rem;
  }

  .home-product-link {
    padding: .5rem;
  }

  .home-product-link img {
    height: 1.05rem;
  }

  .home-product-link span,
  .home-product-external span {
    font-size: .68rem;
    line-height: 1.3;
  }

  .home-work-signal {
    display: none;
  }

  .home-work-caption {
    max-width: 34ch;
    font-size: .88rem;
  }

  .home-work-examples-grid {
    grid-template-columns: 1fr;
  }

  .home-work-examples article {
    display: grid;
    grid-template-columns: minmax(5.5rem, .7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: .45rem;
  }

  .home-work-examples article strong {
    margin-top: 0;
  }

  .home-approach .poster-md {
    max-width: 20ch;
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .home-approach .feature-grid,
  .home-selected-work .feature-grid,
  .home-collaboration .feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    margin: 1.25rem 0 0;
    padding: 0;
    overflow: visible;
  }

  .home-approach .feature-card,
  .home-selected-work .feature-card,
  .home-collaboration .feature-card {
    min-height: 0;
    scroll-snap-align: none;
  }

  .cookie-consent {
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
    width: auto;
    display: grid;
    gap: .55rem;
    padding: .7rem;
    transform: none;
  }

  .cookie-consent-copy {
    align-items: flex-start;
  }

  .cookie-consent-copy svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .cookie-consent-copy p {
    font-size: .7rem;
  }

  .cookie-consent-actions {
    gap: .4rem;
  }

  .cookie-consent-actions button {
    flex: 1 1 8rem;
    min-height: 2rem;
    padding: .35rem .65rem;
    font-size: .72rem;
  }

  .cookie-dialog .cookie-dialog-actions {
    display: grid;
  }

  .cookie-dialog .cookie-dialog-actions button {
    width: 100%;
  }
}

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

}

.studio-title {
  max-width: 17ch;
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
}

.studio-lede {
  max-width: 68ch;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 1.5rem;
}

.studio-preview-wrap {
  margin-top: 1.25rem;
}

.studio-preview-intro {
  margin-bottom: 1.5rem;
}

.studio-hero .home-scroll-hint {
  margin-top: 1rem;
}

.studio-preview {
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
}

.studio-preview-heading,
.preview-operations-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--scalavue-rule);
}

.studio-preview-heading p {
  margin: 0;
}

.studio-preview-status,
.preview-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--scalavue-soft);
  font-family: var(--font-display), sans-serif;
  font-size: .82rem;
}

.studio-preview-status > span,
.preview-live > span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #27835f;
}

.studio-preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--scalavue-rule);
}

.studio-preview-tabs button {
  min-height: 3.5rem;
  padding: .75rem 1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--scalavue-soft);
  font-family: var(--font-display), sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.studio-preview-tabs button[aria-selected="true"] {
  border-bottom-color: var(--scalavue-blue);
  color: var(--scalavue-blue);
}

.studio-preview-tabs button:focus-visible {
  outline: 2px solid var(--scalavue-blue);
  outline-offset: -3px;
}

.studio-preview-panel[hidden] {
  display: none;
}

.studio-preview-panel {
  min-height: 21rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(13rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.studio-preview-copy {
  max-width: 34ch;
}

.studio-preview-copy h3 {
  margin: .65rem 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.studio-preview-copy > p:last-of-type {
  color: var(--scalavue-soft);
  line-height: 1.6;
}

.preview-harness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.preview-harness-card {
  min-height: 8rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  border: 1px solid var(--scalavue-rule);
  background: #fafaf7;
}

.preview-harness-card .mono {
  color: var(--scalavue-blue);
  font-size: .62rem;
  letter-spacing: .1em;
}

.preview-harness-card strong,
.preview-build-timeline strong,
.preview-run-card strong {
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.preview-harness-card > span:last-child,
.preview-build-timeline li div span {
  color: var(--scalavue-soft);
  font-size: .82rem;
  line-height: 1.45;
}

.preview-brief {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-left: 2px solid var(--scalavue-blue);
  background: #fafaf7;
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .9rem;
  line-height: 1.5;
}

.preview-build-timeline {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.preview-build-timeline li {
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--scalavue-rule);
}

.preview-timeline-marker {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--scalavue-rule);
  border-radius: 50%;
  color: var(--scalavue-blue);
  font-family: var(--font-mono), sans-serif;
  font-size: .7rem;
}

.preview-build-timeline li div {
  display: grid;
  gap: .3rem;
}

.preview-build-timeline li > b {
  color: var(--scalavue-soft);
  font-family: var(--font-display), sans-serif;
  font-size: .75rem;
  font-weight: 550;
}

.preview-operations {
  border: 1px solid var(--scalavue-rule);
}

.preview-operations-top {
  flex-wrap: wrap;
  padding: .75rem 1rem;
  background: #fafaf7;
}

.preview-operations-top .mono,
.preview-run-card .mono {
  font-size: .62rem;
  letter-spacing: .1em;
}

.preview-run-card {
  padding: 1rem;
  border-top: 1px solid var(--scalavue-rule);
}

.preview-run-card:first-of-type {
  border-top: 0;
}

.preview-run-card > div {
  display: grid;
  grid-template-columns: .55rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
}

.preview-run-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #27835f;
}

.preview-run-dot--wait {
  background: #c28b24;
}

.preview-run-card .mono {
  color: var(--scalavue-soft);
}

.preview-run-card p {
  margin: .75rem 0;
  color: var(--scalavue-soft);
  font-size: .88rem;
}

.preview-run-card button {
  min-height: 2rem;
  padding: .35rem .7rem;
  border: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: .75rem;
}

.studio-preview-footnote {
  margin: 0;
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--scalavue-rule);
  color: var(--scalavue-soft);
  font-size: .78rem;
}

.studio-steps-grid,
.studio-workflow-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-products-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-proof-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-steps-grid .feature-card,
.studio-products-grid .feature-card,
.studio-workflow-grid .feature-card {
  min-height: 0;
}

.studio-steps-grid h3,
.studio-products-grid h3,
.studio-workflow-grid h3 {
  margin-top: .65rem;
  font-size: var(--text-card);
}

.studio-products-grid .studio-product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.studio-product-card .studio-product-subtitle {
  margin: .55rem 0 0;
  color: var(--scalavue-ink);
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.studio-product-card .cta-inline {
  margin-top: auto;
  padding-top: 1rem;
}

.growth-os-stages {
  margin: .75rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  list-style: none;
}

.growth-os-stages li {
  min-width: 0;
  padding: .65rem;
  border: 1px solid var(--scalavue-rule);
  background: #fafaf7;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.growth-os-stages li strong {
  font-family: var(--font-display), sans-serif;
  font-size: .8rem;
}

.growth-os-stages li span {
  color: var(--scalavue-soft);
  font-size: .7rem;
  line-height: 1.4;
}

.growth-chief-of-staff {
  margin: .9rem 0 0;
  padding: .75rem 1rem;
  display: grid;
  gap: .25rem;
  border-left: 2px solid var(--scalavue-blue);
  background: #fafaf7;
}

.growth-chief-of-staff strong {
  font-family: var(--font-display), sans-serif;
}

.growth-chief-of-staff span {
  color: var(--scalavue-soft);
  font-size: .88rem;
  line-height: 1.45;
}

.studio-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.studio-home-products .feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.studio-home-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-home-products .card-link {
  margin-top: auto;
  padding-top: .6rem;
}

.studio-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.studio-hero-copy {
  min-width: 0;
}

.studio-title {
  max-width: 22ch;
  font-size: clamp(2.4rem, 3.2vw, 3.55rem);
  line-height: .96;
}

.studio-lede {
  max-width: 50ch;
}

.studio-actions {
  gap: .45rem .9rem;
  margin-top: 1rem;
}

.studio-hero .home-scroll-hint {
  margin-top: 1rem;
  font-size: .78rem;
}

.studio-preview-wrap {
  min-width: 0;
  margin-top: 0;
}

.studio-preview-intro {
  display: block;
  margin-bottom: .65rem;
}

.studio-preview-intro .statement-sm {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.studio-preview-intro .say {
  margin-top: .35rem;
  font-size: .82rem;
}

.studio-preview-heading {
  padding: .55rem .75rem;
  font-size: .7rem;
}

.studio-preview-status {
  font-size: .68rem;
}

.studio-preview-tabs button {
  min-height: 2.6rem;
  padding: .5rem .65rem;
  font-size: .75rem;
}

.studio-preview-panel {
  min-height: 0;
  padding: .75rem;
  gap: .75rem;
}

.studio-preview-copy {
  max-width: 28ch;
}

.studio-preview-copy h3 {
  margin: .4rem 0;
  font-size: clamp(1.1rem, 1.65vw, 1.4rem);
}

.studio-preview-copy > p:last-of-type {
  font-size: .78rem;
  line-height: 1.4;
}

.preview-harness-grid {
  gap: .45rem;
}

.preview-harness-card {
  min-height: 5rem;
  padding: .65rem;
  gap: .3rem;
}

.preview-harness-card strong {
  font-size: .8rem;
}

.preview-harness-card > span:last-child {
  font-size: .68rem;
  line-height: 1.3;
}

.studio-preview-footnote {
  padding: .5rem .75rem;
  font-size: .67rem;
}

@media (max-width: 64rem) {
  .growth-os-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .studio-preview-wrap {
    margin-top: 1.25rem;
  }

  .studio-steps-grid,
  .studio-products-grid,
  .studio-workflow-grid,
  .studio-home-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 48rem) {
  .growth-os-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-preview-heading,
  .preview-operations-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-preview-tabs {
    grid-template-columns: repeat(3, minmax(8.5rem, 1fr));
    overflow-x: auto;
  }

  .studio-preview-tabs button {
    min-height: 3.25rem;
    padding: .65rem .75rem;
    font-size: .8rem;
  }

  .studio-preview-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .studio-preview-copy {
    max-width: 58ch;
  }

  .studio-steps-grid,
  .studio-products-grid,
  .studio-workflow-grid,
  .studio-home-products {
    grid-template-columns: 1fr;
  }

  .studio-proof-grid {
    grid-template-columns: 1fr;
  }

  .homepage-deck .contact-layout {
    gap: 1.25rem;
  }

  .homepage-deck .contact-form {
    gap: .65rem;
  }

  .homepage-deck .contact-form input,
  .homepage-deck .contact-form textarea {
    padding: .6rem .75rem;
  }

  .homepage-deck .contact-form textarea {
    min-height: 4rem;
  }

  .studio-home-products .feature-card {
    min-height: 0;
  }
}

@media (min-width: 64.0625rem) {
  .studio-deck > section:not(#studio-intro) > .stage {
    display: grid;
    align-content: center;
    padding-bottom: 4rem;
  }
}

.security-hero {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--scalavue-rule);
  background: var(--scalavue-paper);
}

.security-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.security-hero-copy .statement {
  max-width: 13ch;
}

.security-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.25rem;
}

.security-agent-visual {
  border: 1px solid var(--scalavue-rule);
  border-radius: .75rem;
}

@media (max-width: 58rem) {
  .security-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-agent-visual {
    width: 100%;
    max-width: 42rem;
  }
}
