/* Foghorn adaptive workspace — the post-hero homepage experience. */
:root {
  --workspace-line: rgba(255, 255, 255, 0.14);
  --workspace-line-soft: rgba(255, 255, 255, 0.075);
  --workspace-ink: #f5f5f3;
  --workspace-muted: #a5a5aa;
  --workspace-paper: #f1f1ef;
  --workspace-red: #e50917;
  --workspace-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --onyx-curtain-ease: cubic-bezier(.76, 0, .24, 1);
  --onyx-scene-ease: cubic-bezier(.43, 0, .02, 1);
  --system-morph-speed: 1.3s;
}

/* Keep every scroll surface usable without exposing browser chrome. */
html,
body,
body * {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.workspace-home {
  background: #080809;
}

/* Copy may wrap between words, never through the middle of one. */
body *:not(input):not(textarea) {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* A permanent Onyx-style frame shared by the hero and workspace. */
.site-frame {
  position: fixed;
  inset: 16px;
  z-index: 120;
  pointer-events: none;
  border: 1px solid var(--workspace-line);
}

.site-frame-cross {
  position: absolute;
  width: 13px;
  height: 13px;
}

.site-frame-cross::before,
.site-frame-cross::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .68);
}

.site-frame-cross::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 2px;
}

.site-frame-cross::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 13px;
}

.site-frame-cross--tl { top: -7px; left: -7px; }
.site-frame-cross--tr { top: -7px; right: -7px; }
.site-frame-cross--bl { bottom: -7px; left: -7px; }
.site-frame-cross--br { right: -7px; bottom: -7px; }

body.workspace-active {
  overflow: hidden;
}

body.workspace-home .conversation-dock {
  display: none !important;
}

body.workspace-home .hero .nav {
  transition: opacity 280ms ease, transform 420ms var(--workspace-ease), visibility 280ms ease;
}

body.workspace-home .hero {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: auto;
  height: auto;
  min-height: 0;
  transform-origin: 50% 50%;
  will-change: opacity;
  transition:
    opacity .65s var(--onyx-scene-ease),
    border-color .4s ease;
}

body.workspace-active .hero {
  inset: 0;
  transform: none;
}

/* The hero resolves into a quiet system surface before the split completes. */
.hero-system-veil {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  background: #0b0b0d;
  transition: opacity 700ms var(--onyx-curtain-ease);
  will-change: opacity;
}

body.workspace-hero-fading .hero-system-veil {
  opacity: 1;
}

body.workspace-hero-fading .hero-bg-video { filter: none; }

/* Once the veil is opaque, remove every live hero layer before the morph ends. */
body.workspace-hero-covered .hero {
  background-color: #080809 !important;
  background-image: none !important;
}

body.workspace-hero-covered .hero-bg-video,
body.workspace-hero-covered .hero-video-fade,
body.workspace-hero-covered .hero-grid-glow,
body.workspace-hero-covered .hero-shade,
body.workspace-hero-covered .hero-content,
body.workspace-hero-covered .hero .nav {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

body.workspace-hero-covered .hero-system-veil {
  opacity: 1;
  visibility: visible;
}

body.workspace-settled .hero {
  background-color: #050506 !important;
  background-image: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

body.workspace-home .hero-bg-video {
  transition:
    opacity 700ms var(--onyx-curtain-ease),
    filter 700ms var(--onyx-curtain-ease),
    visibility 0s linear 0s;
}

body.workspace-home .hero-bg-video.is-loop-active,
body.workspace-home .hero-bg-video.is-loop-inactive {
  transition:
    opacity 1.1s cubic-bezier(.45, 0, .55, 1),
    filter 700ms var(--onyx-curtain-ease),
    visibility 0s linear 0s;
}

body.workspace-home .hero-bg-video.is-loop-active { opacity: 1; }
body.workspace-home .hero-bg-video.is-loop-inactive { opacity: 0; }

body.workspace-home .hero-video-fade,
body.workspace-home .hero-grid-glow,
body.workspace-home .hero-shade {
  transition: opacity .59s var(--onyx-curtain-ease), visibility 0s linear 0s;
}

body.workspace-settled .hero-bg-video,
body.workspace-settled .hero-video-fade,
body.workspace-settled .hero-grid-glow,
body.workspace-settled .hero-shade {
  opacity: 0 !important;
  visibility: hidden;
}

body.workspace-home .hero-content {
  transition: none;
}

body.workspace-active .hero-content {
  transform: none;
  pointer-events: none;
}

.hero-content h1 .hero-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-content h1 .hero-char {
  display: inline-block;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition:
    opacity 300ms var(--onyx-scene-ease) var(--hero-char-in-delay, 0ms),
    filter 380ms var(--onyx-scene-ease) var(--hero-char-in-delay, 0ms),
    transform 420ms var(--onyx-scene-ease) var(--hero-char-in-delay, 0ms);
  will-change: opacity, filter, transform;
}

body.workspace-active .hero-content h1 .hero-char {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(var(--hero-char-x, 0), var(--hero-char-y, -3px), 0) scale(.975);
  transition-delay: var(--hero-char-out-delay, 0ms);
}

body.workspace-home .hero-content > .location-pill,
body.workspace-home .hero-content > .ask-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 360ms var(--onyx-scene-ease), transform 480ms var(--onyx-scene-ease);
}

body.workspace-active .hero-content > .location-pill,
body.workspace-active .hero-content > .ask-card {
  opacity: 0;
  transform: translate3d(0, 5px, 0);
  pointer-events: none;
}

body.workspace-active .hero-content > .location-pill { transition-delay: 40ms; }
body.workspace-active .hero-content > .ask-card { transition-delay: 140ms; }

.hero-intro .hero-intro-line {
  display: block;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  transition:
    opacity 360ms var(--onyx-scene-ease) var(--hero-line-in-delay, 0ms),
    filter 420ms var(--onyx-scene-ease) var(--hero-line-in-delay, 0ms),
    transform 460ms var(--onyx-scene-ease) var(--hero-line-in-delay, 0ms);
  will-change: opacity, filter, transform;
}

body.workspace-active .hero-intro .hero-intro-line {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0, 5px, 0);
  transition-delay: var(--hero-line-out-delay, 0ms);
}

.hero-intro .hero-intro-measure-word { display: inline; }

body.workspace-active .hero .nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

body.workspace-settled .hero-system-veil {
  opacity: 1;
}

body.workspace-home main > section:not(.hero):not(.foghorn-workspace),
body.workspace-home main > footer {
  display: none;
}

.foghorn-workspace {
  position: fixed;
  inset: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  background: transparent;
  border: 0;
  isolation: isolate;
  visibility: hidden;
  pointer-events: none;
  transition: border-color 520ms var(--onyx-curtain-ease), visibility 0s linear var(--system-morph-speed);
}

.foghorn-workspace.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: border-color 520ms var(--onyx-curtain-ease), visibility 0s linear 0s;
}

.foghorn-workspace.is-entered {
  border-color: transparent;
}

.foghorn-workspace > .workspace-cross { display: none; }

.workspace-mount > .workspace-cross--tm,
.workspace-mount > .workspace-cross--bm { display: block; }

.workspace-exit {
  --workspace-exit-size: clamp(44px, 4.3vw, 62px);
  --workspace-exit-inset: clamp(14px, 2.64vw, 38px);
  --workspace-exit-mark-size: calc(var(--workspace-exit-size) * .4516);
  --workspace-exit-mark-weight: clamp(1.5px, .139vw, 2px);
  position: absolute;
  top: var(--workspace-exit-inset);
  right: var(--workspace-exit-inset);
  z-index: 140;
  display: grid;
  place-items: center;
  width: var(--workspace-exit-size);
  height: var(--workspace-exit-size);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  background: var(--workspace-red);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 360ms var(--workspace-ease),
    transform 520ms var(--workspace-ease),
    visibility 0s linear 520ms,
    background-color 240ms ease;
}

.workspace-exit > span {
  --workspace-exit-icon-scale: 1;
  display: grid;
  place-items: center;
  width: var(--workspace-exit-mark-size);
  height: var(--workspace-exit-mark-size);
  transform: scale(var(--workspace-exit-icon-scale)) rotate(0deg);
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 420ms var(--workspace-ease);
}

.workspace-exit > span::before,
.workspace-exit > span::after {
  content: "";
  grid-area: 1 / 1;
  width: var(--workspace-exit-mark-size);
  height: var(--workspace-exit-mark-weight);
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
}

.workspace-exit > span::before { transform: rotate(45deg); }
.workspace-exit > span::after { transform: rotate(-45deg); }

.foghorn-workspace.is-entered .workspace-exit {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 300ms, 300ms, 0s, 0s;
}

.foghorn-workspace.is-closing .workspace-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  .workspace-exit:hover { background: #f10c1b; }
  .workspace-exit:hover > span {
    transform: scale(var(--workspace-exit-icon-scale)) rotate(90deg);
  }
}

.workspace-exit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.workspace-mobile-view-toggle {
  --workspace-mobile-control-size: clamp(44px, 4.3vw, 62px);
  --workspace-mobile-control-inset: clamp(14px, 2.64vw, 38px);
  --workspace-mobile-control-icon: calc(var(--workspace-mobile-control-size) * .4516);
  display: none;
  position: absolute;
  z-index: 150;
  place-items: center;
  width: var(--workspace-mobile-control-size);
  height: var(--workspace-mobile-control-size);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  color: #fff;
  background: var(--workspace-red);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 320ms var(--workspace-ease),
    visibility 0s linear 520ms,
    transform 480ms var(--workspace-ease),
    background-color 240ms ease;
}

.workspace-mobile-view-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition:
    opacity 260ms var(--workspace-ease),
    transform 440ms var(--workspace-ease);
}

.workspace-mobile-view-icon svg {
  width: var(--workspace-mobile-control-icon);
  height: var(--workspace-mobile-control-icon);
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.workspace-mobile-view-icon--viewer svg,
.workspace-mobile-view-icon--chat svg {
  fill: currentColor;
  stroke: none;
}

.workspace-mobile-view-icon--viewer {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.workspace-mobile-view-icon--chat {
  opacity: 0;
  transform: scale(.68) rotate(-28deg);
}

.workspace-mobile-view-toggle.is-viewer-active .workspace-mobile-view-icon--viewer {
  opacity: 0;
  transform: scale(.68) rotate(28deg);
}

.workspace-mobile-view-toggle.is-viewer-active .workspace-mobile-view-icon--chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.workspace-mobile-view-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .workspace-mobile-view-toggle:hover {
    background: #f10c1b;
  }
}

.viewer-icon-switch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 145;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition:
    opacity 360ms var(--workspace-ease),
    transform 520ms var(--workspace-ease),
    visibility 0s linear 520ms;
}

.foghorn-workspace.is-entered .viewer-icon-switch {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 180ms, 180ms, 0s;
}

.foghorn-workspace.is-closing .viewer-icon-switch {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition-delay: 0s;
}

.viewer-icon-switch button {
  --viewer-toggle-shift: 0px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 34px);
  place-items: center;
  width: 76px;
  height: 42px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: rgba(255, 255, 255, .48);
  background: rgba(11, 11, 13, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 280ms ease, box-shadow 360ms ease;
}

.viewer-icon-switch button.is-site-active { --viewer-toggle-shift: 34px; }

.viewer-icon-switch button > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transition: color 320ms var(--workspace-ease), transform 420ms var(--workspace-ease);
}

.viewer-icon-switch button > span:first-child,
.viewer-icon-switch button.is-site-active > span:last-of-type { color: #fff; }
.viewer-icon-switch button.is-site-active > span:first-child { color: rgba(255, 255, 255, .44); }

.viewer-icon-switch button > i {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--workspace-red);
  box-shadow: 0 4px 16px rgba(229, 9, 23, .34);
  transform: translateX(var(--viewer-toggle-shift));
  transition: transform 520ms var(--workspace-ease), box-shadow 320ms ease;
}

.viewer-icon-switch svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  shape-rendering: geometricPrecision;
  transition: transform 420ms var(--workspace-ease);
}

@media (hover: hover) and (pointer: fine) {
  .viewer-icon-switch button:hover {
    border-color: rgba(255, 255, 255, .42);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .045);
  }

  .viewer-icon-switch button:hover > i { box-shadow: 0 5px 20px rgba(229, 9, 23, .48); }
  .viewer-icon-switch button:hover > span { transform: translateY(-1px); }
}

.viewer-icon-switch button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.workspace-mount {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.workspace-mount::after {
  content: "";
  position: absolute;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: calc(100% + 16px);
  width: 13px;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(rgba(255,255,255,.24), rgba(255,255,255,.24)) center / 1px 100% no-repeat;
  transform: translateX(-6.5px);
  transition:
    left var(--system-morph-speed) var(--onyx-curtain-ease),
    opacity 295ms var(--onyx-curtain-ease);
  will-change: left;
}

.foghorn-workspace.is-entered .workspace-mount::after {
  left: 50%;
  opacity: 1;
}

/* Keep the divider attached to the retreating curtain until both reach the
   physical right edge; hiding it early makes the close motion look detached. */
.foghorn-workspace.is-closing .workspace-mount::after {
  opacity: 1;
}

.workspace-cross {
  position: absolute;
  z-index: 121;
  width: 13px;
  height: 13px;
  pointer-events: none;
  opacity: 0;
  transition:
    left var(--system-morph-speed) var(--onyx-curtain-ease),
    opacity 295ms var(--onyx-curtain-ease);
  will-change: left;
}

.foghorn-workspace.is-entered .workspace-cross { opacity: 1; }

.workspace-cross::before,
.workspace-cross::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.68);
}

.workspace-cross::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 2px;
}

.workspace-cross::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 13px;
}

.workspace-cross--tl { top: -7px; left: -7px; }
.workspace-cross--tr { top: -7px; right: -7px; }
.workspace-cross--bl { bottom: -7px; left: -7px; }
.workspace-cross--br { right: -7px; bottom: -7px; }
.workspace-cross--tm,
.workspace-cross--bm {
  left: calc(100% + 16px);
  transform: translateX(-50%);
}
.workspace-cross--tm { top: -7px; }
.workspace-cross--bm { bottom: -7px; }
.foghorn-workspace.is-entered .workspace-cross--tm,
.foghorn-workspace.is-entered .workspace-cross--bm { left: 50%; }

.foghorn-workspace.is-closing .workspace-cross--tm,
.foghorn-workspace.is-closing .workspace-cross--bm { opacity: 1; }

.chat-experience.is-workspace {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.chat-experience.is-workspace::before,
.chat-experience.is-workspace::after {
  display: none;
}

.foghorn-workspace .chat-experience.is-workspace .chat-topbar {
  display: none !important;
}

.foghorn-workspace .chat-brand {
  min-height: 48px;
}

.foghorn-workspace .chat-close {
  min-width: 48px;
  min-height: 48px;
}

.foghorn-workspace .chat-canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.foghorn-workspace .guided-panel {
  position: relative;
  min-width: 0;
  padding: 0;
  border-right: 0;
  background: #0b0b0d;
}

.foghorn-workspace .guided-panel::before,
.foghorn-workspace .guided-panel::after {
  display: none;
}

.foghorn-workspace .guided-panel::before { top: 0; }
.foghorn-workspace .guided-panel::after { top: 100%; }

.foghorn-workspace .adaptive-site-preview {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0e0e10;
  box-shadow: none;
  opacity: 0;
  transition: opacity .52s var(--onyx-curtain-ease);
}

.foghorn-workspace.is-content-ready .adaptive-site-preview {
  opacity: 1;
}

.foghorn-workspace.is-closing .adaptive-site-preview {
  opacity: 0;
  transition-duration: 160ms;
  transition-delay: 0s;
}

.foghorn-workspace .adaptive-browser-bar {
  display: none !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--workspace-line);
  background: #0b0b0d;
}

.viewer-status-mark {
  display: flex;
  align-items: center;
  gap: 4px;
}

.foghorn-workspace .viewer-status-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3c3c41;
}

.foghorn-workspace .viewer-status-mark i:first-child {
  background: var(--workspace-red);
  box-shadow: 0 0 12px rgba(229, 9, 23, 0.55);
}

.foghorn-workspace .adaptive-browser-bar small {
  justify-self: center;
  color: #89898f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.viewer-mode-switch,
.workspace-mobile-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--workspace-line);
  background: #111113;
}

.viewer-mode-switch button,
.workspace-mobile-switch button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: max-content !important;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  color: #87878d;
  background: transparent;
  font: 700 10px/1 "Inter", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.viewer-mode-switch button + button,
.workspace-mobile-switch button + button {
  border-left: 1px solid var(--workspace-line);
}

.viewer-mode-switch button.is-active,
.workspace-mobile-switch button.is-active {
  color: #fff;
  background: #29292d;
}

.viewer-mode-switch button:focus-visible,
.workspace-mobile-switch button:focus-visible,
.viewer-route-strip button:focus-visible,
.viewer-page button:focus-visible,
.viewer-page input:focus-visible,
.viewer-page select:focus-visible,
.viewer-page textarea:focus-visible {
  outline: 2px solid #ff3b46;
  outline-offset: -2px;
}

.foghorn-workspace .adaptive-page {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.workspace-site-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #0e0e10;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  will-change: transform;
  transition:
    transform 720ms var(--workspace-ease),
    box-shadow 360ms ease,
    visibility 0s linear 720ms;
}

.workspace-site-layer::-webkit-scrollbar { display: none; }

.workspace-site-layer.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  box-shadow: -28px 0 64px rgba(0, 0, 0, .26);
  transition-delay: 0s;
}

.workspace-site-layer.is-view-changing { opacity: .94; }

.workspace-site-layer > .viewer-page {
  min-height: 100%;
  background: #f6f6f5;
}

.foghorn-workspace [data-guide-content] {
  position: relative;
  z-index: 1;
}

/* A silent, living canvas while the guide is waiting for its first presentation. */
.guide-idle-space {
  --idle-grid-size: clamp(52px, 5vw, 76px);
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(213, 1, 13, .14), transparent 34%),
    radial-gradient(circle at 12% 86%, rgba(255, 255, 255, .025), transparent 30%),
    linear-gradient(145deg, #111113 0%, #0d0d0f 68%, #101012 100%);
}

.guide-idle-space::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: var(--idle-grid-size) var(--idle-grid-size);
}

.guide-idle-space::before {
  content: "";
  z-index: 0;
  opacity: .72;
}

.guide-idle-space::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30%;
  pointer-events: none;
  opacity: .42;
  background: linear-gradient(112deg, transparent 28%, rgba(213, 1, 13, .075) 46%, rgba(255, 255, 255, .025) 50%, transparent 67%);
  transform: translate3d(-4%, 2%, 0) rotate(-1deg);
}

.guide-grid-glow {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.guide-grid-glow i {
  --guide-glow-opacity: .58;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--guide-glow-opacity);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .94) 1px, rgba(255, 24, 40, .48) 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, .94) 1px, rgba(255, 24, 40, .48) 2px, transparent 3px);
  background-size: var(--idle-grid-size) var(--idle-grid-size);
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 50%, #000 0%, #000 12%, rgba(0,0,0,.8) 28%, rgba(0,0,0,.3) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 42% 38% at 50% 50%, #000 0%, #000 12%, rgba(0,0,0,.8) 28%, rgba(0,0,0,.3) 58%, transparent 82%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 292px 196px;
  mask-size: 292px 196px;
  contain: layout paint style;
  will-change: mask-position, mask-size, opacity;
}

.guide-grid-glow i + i {
  -webkit-mask-image: radial-gradient(ellipse 36% 43% at 50% 50%, #000 0%, rgba(0,0,0,.8) 25%, rgba(0,0,0,.22) 60%, transparent 84%);
  mask-image: radial-gradient(ellipse 36% 43% at 50% 50%, #000 0%, rgba(0,0,0,.8) 25%, rgba(0,0,0,.22) 60%, transparent 84%);
  -webkit-mask-size: 180px 300px;
  mask-size: 180px 300px;
}

.guide-grid-glow b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 1px, rgba(255, 24, 40, .46) 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, .96) 1px, rgba(255, 24, 40, .46) 2px, transparent 3px);
  background-size: var(--idle-grid-size) var(--idle-grid-size);
  -webkit-mask-image: radial-gradient(ellipse 43% 40% at center, #000 0 8%, rgba(0,0,0,.72) 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 43% 40% at center, #000 0 8%, rgba(0,0,0,.72) 30%, transparent 78%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 112px 88px;
  mask-size: 112px 88px;
  contain: layout paint style;
  will-change: mask-position, opacity;
}

.guide-idle-prompt {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 4px;
  border: 0;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  font: 600 11px/1 "Inter", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  cursor: pointer;
  transform: translate3d(-50%, calc(-50% + 8px), 0);
  transition: color 300ms ease, opacity 700ms ease 500ms, transform 700ms var(--workspace-ease) 500ms;
}

.foghorn-workspace.is-content-ready .guide-idle-prompt {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0);
}

.guide-idle-prompt > i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #ef1827;
  box-shadow: 0 0 12px rgba(239, 24, 39, .58);
}

.guide-idle-prompt .ui-icon {
  --ui-icon-size: 17px;
  transition: transform 300ms var(--workspace-ease);
}

.guide-idle-prompt:hover,
.guide-idle-prompt:focus-visible { color: #fff; }
.guide-idle-prompt:hover .ui-icon,
.guide-idle-prompt:focus-visible .ui-icon { transform: translateX(4px); }
.guide-idle-prompt:focus-visible { outline: 1px solid rgba(255, 255, 255, .56); outline-offset: 6px; }

.adaptive-site-preview[data-viewer-mode="site"] .guide-idle-space::after,
.foghorn-workspace.is-closing .guide-idle-space::after {
  animation-play-state: paused;
}

.adaptive-site-preview[data-viewer-mode="site"] .guide-grid-glow,
.foghorn-workspace.is-closing .guide-grid-glow {
  visibility: hidden;
}

@keyframes guide-idle-aura {
  0% { transform: translate3d(-12%, 8%, 0) rotate(-2deg); }
  50% { transform: translate3d(12%, -7%, 0) rotate(2deg); }
  100% { transform: translate3d(-12%, 8%, 0) rotate(-2deg); }
}

.foghorn-workspace .adaptive-mini-nav {
  display: none !important;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  min-height: 66px;
  padding: 0 18px;
  gap: 18px;
  border-bottom: 1px solid var(--workspace-line);
  background: rgba(12, 12, 14, 0.96);
}

.foghorn-workspace .adaptive-mini-nav img {
  width: 124px;
  max-height: 34px;
  object-fit: contain;
}

.foghorn-workspace .adaptive-mini-nav > span {
  color: #f4f4f5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.viewer-route-strip {
  justify-self: end;
  display: flex;
  min-width: 0;
  height: 100%;
}

.viewer-route-strip button {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  color: #85858b;
  background: transparent;
  font: 700 9px/1 "Inter", sans-serif;
  letter-spacing: 0.075em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease;
}

.viewer-route-strip button:hover,
.viewer-route-strip button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.foghorn-workspace [data-guide-content] {
  position: relative;
  min-height: 0;
  overflow: hidden;
  transition: opacity 180ms ease, transform 240ms var(--workspace-ease);
}

.foghorn-workspace [data-guide-content].is-site-view {
  display: block !important;
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.foghorn-workspace [data-guide-content].is-site-view::-webkit-scrollbar {
  display: none;
}

.foghorn-workspace .adaptive-page,
.foghorn-workspace [data-guide-content] {
  height: 100%;
}

.foghorn-workspace .immersive-toolbar,
.foghorn-workspace .immersive-history,
.foghorn-workspace .save-drawer,
.foghorn-workspace .viewer-mode-switch,
.foghorn-workspace .viewer-route-strip,
.foghorn-workspace .immersive-suggestions,
.foghorn-workspace .compose-foot {
  display: none !important;
}

.foghorn-workspace .chat-messages {
  padding: clamp(34px, 5vw, 92px) clamp(28px, 5vw, 88px);
}

.foghorn-workspace .chat-welcome {
  width: min(610px, 100%);
  margin: auto 0;
}

.foghorn-workspace .chat-welcome::before {
  width: 240px;
  height: 240px;
  top: -82px;
  left: -68px;
  opacity: .68;
}

.foghorn-workspace .chat-welcome-conversation {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.foghorn-workspace .chat-welcome .ready-orb {
  width: 46px;
  height: 46px;
  margin: 3px 0 0;
  opacity: 0;
  transform: translateY(8px) scale(.92);
  animation: none;
}

.foghorn-workspace .chat-welcome-dialogue {
  display: grid;
  justify-items: start;
  gap: 9px;
  min-width: 0;
}

.foghorn-workspace .chat-welcome-message {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px 17px 17px 17px;
  color: #ececef;
  background: rgba(25, 25, 28, .88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transform-origin: 0 0;
}

.foghorn-workspace .chat-welcome-greeting {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.foghorn-workspace .chat-welcome-lead {
  padding: 16px 19px 17px;
  border-color: rgba(213, 1, 13, .28);
  color: #f7f7f8;
  background:
    linear-gradient(125deg, rgba(213, 1, 13, .10), transparent 55%),
    rgba(24, 24, 27, .94);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.foghorn-workspace.is-content-ready .chat-welcome .ready-orb {
  animation:
    chat-welcome-orb-in 560ms cubic-bezier(.22, 1, .36, 1) 120ms both,
    ready-breathe 3.2s ease-in-out 900ms infinite;
}

.foghorn-workspace.is-content-ready .chat-welcome-greeting {
  animation: chat-welcome-message-in 620ms cubic-bezier(.22, 1, .36, 1) 360ms both;
}

.foghorn-workspace.is-content-ready .chat-welcome-lead {
  animation: chat-welcome-message-in 720ms cubic-bezier(.22, 1, .36, 1) 920ms both;
}

@keyframes chat-welcome-orb-in {
  from { opacity: 0; transform: translateY(8px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chat-welcome-message-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 5px 17px 17px 17px);
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 5px 17px 17px 17px);
    transform: translateY(0) scale(1);
  }
}

.foghorn-workspace .chat-compose {
  padding: 16px clamp(24px, 4vw, 68px) 20px;
  background: #0d0d0f;
}

.foghorn-workspace .immersive-form {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  margin: 0;
  padding: 7px 8px 7px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .075), transparent 36%),
    rgba(11, 11, 13, .86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 22px 58px rgba(0, 0, 0, .38);
  backdrop-filter: blur(20px) saturate(1.08);
  cursor: text;
  transform: translateY(0);
  transition:
    border-color 320ms var(--workspace-ease),
    background-color 320ms var(--workspace-ease),
    box-shadow 420ms var(--workspace-ease),
    transform 420ms var(--workspace-ease);
}

.foghorn-workspace .immersive-form::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(112deg, transparent 8%, rgba(255, 255, 255, .065) 31%, transparent 57%),
    radial-gradient(circle at 82% 46%, rgba(213, 1, 13, .1), transparent 27%);
  transform: translate3d(-2.5%, 0, 0);
  transition:
    opacity 420ms var(--workspace-ease),
    transform 620ms var(--workspace-ease);
}

@media (hover: hover) and (pointer: fine) {
  .foghorn-workspace .immersive-form:hover {
    border-color: rgba(255, 255, 255, .31);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .09),
      0 24px 62px rgba(0, 0, 0, .43),
      0 0 0 1px rgba(213, 1, 13, .055);
    transform: translateY(-1px);
  }

  .foghorn-workspace .immersive-form:hover::before {
    opacity: .8;
    transform: translate3d(0, 0, 0);
  }
}

.foghorn-workspace .immersive-form:focus-within {
  border-color: rgba(255, 70, 80, .46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .095),
    inset 0 0 0 1px rgba(213, 1, 13, .1),
    0 20px 54px rgba(0, 0, 0, .42),
    0 0 28px rgba(213, 1, 13, .075);
  transform: translateY(0);
}

.foghorn-workspace .immersive-form:focus-within::before {
  opacity: .48;
  transform: translate3d(0, 0, 0);
}

.foghorn-workspace .interface-prompt-rotator {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 20px;
  right: 72px;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  color: rgba(255, 255, 255, .54);
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -.012em;
  line-height: 1.5;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  transition: color 320ms var(--workspace-ease);
}

.foghorn-workspace .immersive-form:hover .interface-prompt-rotator {
  color: rgba(255, 255, 255, .66);
}

.foghorn-workspace .interface-prompt-rotator::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -.14em;
  background: rgba(255, 255, 255, .72);
  animation: hero-prompt-caret 1.05s steps(1, end) infinite;
}

.foghorn-workspace .interface-prompt-rotator:empty::after { display: none; }

.foghorn-workspace .immersive-form:has(.interface-prompt-rotator:not(:empty)) textarea {
  caret-color: transparent;
}

.foghorn-workspace .immersive-form textarea {
  align-self: center;
  min-height: 24px;
  max-height: 96px;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  color: rgba(255, 255, 255, .92);
  line-height: 1.5;
  box-shadow: none !important;
}

.foghorn-workspace .immersive-form textarea::placeholder {
  color: rgba(255, 255, 255, .54);
}

.foghorn-workspace .immersive-form button {
  place-self: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: var(--workspace-red);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 8px 24px rgba(213, 1, 13, .3);
}

/* Match the hero and travelling handoff exactly so the action never appears
   to resize as the shared prompt lands in the interface. */
.foghorn-workspace .immersive-form .prompt-send-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2.15;
}

/* One continuous prompt object travels above the scene while the hero becomes
   the two-panel workspace. The real controls are hidden only for the handoff. */
.prompt-handoff {
  position: fixed;
  z-index: 180;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 7px 8px 7px 20px;
  overflow: hidden;
  pointer-events: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .075), transparent 36%),
    rgba(11, 11, 13, .94);
  backdrop-filter: blur(20px) saturate(1.08);
  transform-origin: center;
  will-change: left, top, width, height, transform, box-shadow;
}

.prompt-handoff > span {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: -.012em;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-handoff > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: var(--workspace-red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px rgba(213,1,13,.3);
}

.prompt-handoff .prompt-send-icon {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.prompt-handoff-active .hero .hero-prompt,
body.prompt-handoff-active .foghorn-workspace .immersive-form {
  opacity: 0 !important;
}

body.prompt-handoff-active .foghorn-workspace .workspace-exit,
body.prompt-handoff-active .foghorn-workspace .viewer-icon-switch,
body.prompt-handoff-active .foghorn-workspace .workspace-mobile-view-toggle {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.prompt-handoff-active .foghorn-workspace .chat-panel > .chat-compose {
  opacity: 1 !important;
  transition: none !important;
}

.foghorn-workspace [data-guide-content].is-view-changing {
  opacity: 0;
  transform: translateY(12px);
}

.viewer-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: 100%;
  color: #101012;
  background: var(--workspace-paper);
}

.viewer-page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: var(--viewer-viewport-height, calc(100dvh - 32px));
  padding: clamp(38px, 6vw, 82px);
  overflow: hidden;
  text-align: left;
  color: var(--workspace-ink);
  background:
    linear-gradient(115deg, rgba(213, 1, 13, 0.03), rgba(213, 1, 13, 0.19)),
    radial-gradient(circle at 86% 18%, rgba(232, 16, 29, 0.36), transparent 31%),
    #0c0c0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.viewer-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 25% 25%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 82%);
}

.viewer-page--about .viewer-page-hero {
  background:
    linear-gradient(115deg, rgba(213, 1, 13, .03), rgba(213, 1, 13, .12)),
    #0c0c0e;
}

.viewer-page--about .viewer-page-hero::before { z-index: 1; }

.viewer-page--about .viewer-page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(2.5%, -2.5%, 0) scale(.84);
  transform-origin: 86% 18%;
  background: radial-gradient(circle at 86% 18%, rgba(255, 77, 88, .22), rgba(232, 16, 29, .38) 12%, rgba(213, 1, 13, .16) 24%, transparent 42%);
  transition: opacity 1.5s cubic-bezier(.22, 1, .36, 1) 100ms, transform 1.75s cubic-bezier(.22, 1, .36, 1) 100ms;
  will-change: opacity, transform;
}

.viewer-page--about.is-entered .viewer-page-hero::after {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.viewer-page--about .viewer-page-hero h1,
.viewer-page--about .viewer-page-hero > p:last-child,
.viewer-page--about .viewer-page-hero .viewer-page-eyebrow { z-index: 2; }

.viewer-page-eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #ff5b64;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.viewer-page-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--workspace-red);
  box-shadow: 0 0 14px rgba(229, 9, 23, 0.8);
}

.viewer-page-hero h1 {
  position: relative;
  max-width: 870px;
  margin: 0;
  font: 500 clamp(48px, 5.2vw, 82px)/0.94 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.viewer-page-hero > p:last-child {
  position: relative;
  max-width: 680px;
  margin: 28px 0 0;
  color: #b8b8bd;
  font-size: 16px;
  line-height: 1.65;
}

/* The opening panel is structural, so it stays solid while only its type
   responds to the entrance and scroll position. */
.viewer-page-hero[data-viewer-reveal] {
  opacity: 1;
  transform: none;
}

.viewer-page-hero[data-viewer-reveal] .viewer-page-eyebrow,
.viewer-page-hero[data-viewer-reveal] > p:last-child {
  opacity: var(--viewer-text-progress, 0);
  transform: translateY(calc((1 - var(--viewer-text-progress, 0)) * 30px));
  transition: none;
  will-change: opacity, transform;
}

.viewer-page.is-entry-animating .viewer-page-hero .viewer-page-eyebrow,
.viewer-page.is-entry-animating .viewer-page-hero > p:last-child {
  transition: opacity 620ms var(--workspace-ease), transform 720ms var(--workspace-ease);
}

.viewer-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.viewer-word-mask:not(:last-child) {
  margin-right: 0.23em;
}

.viewer-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(108%);
  transition:
    opacity 720ms var(--workspace-ease) calc(var(--word-index, 0) * 48ms),
    transform 820ms var(--workspace-ease) calc(var(--word-index, 0) * 48ms);
}

[data-viewer-reveal].is-revealed .viewer-word {
  opacity: 1;
  transform: translateY(0);
}

.viewer-page--about .viewer-page-hero h1 em { color: var(--workspace-red); font-style: normal; }
.viewer-page--about .viewer-page-eyebrow {
  position: absolute;
  z-index: 1;
  top: clamp(38px, 6vw, 82px);
  left: clamp(38px, 6vw, 82px);
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  color: #d7d7dc;
  background: rgba(255, 255, 255, .07);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.viewer-page--about .viewer-page-eyebrow i { display: none; }
.viewer-hero-word { display: inline-block; white-space: nowrap; }
.viewer-hero-char {
  --char-progress: clamp(0, calc((var(--viewer-progress, 0) - var(--char-order, 0) * .52) * 2.083), 1);
  display: inline-block;
  opacity: var(--char-progress);
  filter: blur(calc((1 - var(--char-progress)) * 8px));
  transform: translate3d(calc(var(--char-x, 0px) * (1 - var(--char-progress))), calc(var(--char-y, 7px) * (1 - var(--char-progress))), 0) scale(calc(.94 + var(--char-progress) * .06));
  transition: none;
  will-change: opacity, filter, transform;
}
.viewer-page.is-entry-animating .viewer-page-hero .viewer-hero-char {
  transition: opacity 520ms var(--onyx-scene-ease) var(--char-delay, 100ms), filter 680ms var(--onyx-scene-ease) var(--char-delay, 100ms), transform 760ms var(--onyx-scene-ease) var(--char-delay, 100ms);
}

.viewer-about-story { padding: clamp(58px, 8vw, 112px) clamp(48px, 7vw, 96px); background: #f4f4f2; border-bottom: 1px solid #c8c8c7; }
.viewer-about-story h2 { max-width: 760px; margin: 0; font: 500 clamp(40px, 5vw, 72px)/.98 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.viewer-about-story-copy { max-width: none; margin: clamp(70px, 10vw, 136px) 0 0; color: #151517; font: 450 clamp(28px, 3.4vw, 50px)/1.14 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.viewer-about-story-copy p { margin: 0; }
.viewer-about-story-copy p + p { margin-top: .72em; }
.viewer-about-story-copy blockquote {
  --quote-line-progress: 0;
  position: relative;
  max-width: 24ch;
  margin: .9em 0;
  padding: .12em 0 .12em .88em;
  box-shadow: inset clamp(4px, .42vw, 7px) 0 0 rgba(213, 1, 13, .14);
  color: #101012;
  font-size: 1.08em;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.05em;
}
.viewer-about-story-copy blockquote::before {
  content: "“";
  position: absolute;
  top: -.08em;
  left: .18em;
  color: var(--workspace-red);
  font-size: .72em;
  line-height: 1;
}
.viewer-about-story-copy blockquote::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(4px, .42vw, 7px);
  border-radius: 999px;
  background: var(--workspace-red);
  box-shadow: 0 0 18px rgba(213, 1, 13, .22);
  transform: scaleY(var(--quote-line-progress));
  transform-origin: 50% 0;
  transition: transform 90ms linear;
  will-change: transform;
}
.viewer-story-word { opacity: calc(.17 + var(--story-word-progress, 0) * .83); }
.viewer-about-principles { padding: clamp(58px, 7vw, 92px); color: #f5f5f6; background: radial-gradient(circle at 92% 14%, rgba(213, 1, 13, .13), transparent 34%), #0c0c0e; }
.viewer-about-principles > h2 { max-width: 580px; margin: 0; font: 600 clamp(42px, 5vw, 72px)/.94 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.viewer-about-principles > h2 em { color: var(--workspace-red); font-style: normal; }
.viewer-about-principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 76px); }
.viewer-about-principles article {
  --card-glow-x: 50%;
  --card-glow-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 154px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  transition: transform 520ms var(--workspace-ease), border-color 360ms ease, background-color 360ms ease, box-shadow 520ms var(--workspace-ease);
}
.viewer-about-principles article::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle 190px at var(--card-glow-x) var(--card-glow-y), rgba(213, 1, 13, .2), rgba(213, 1, 13, .055) 42%, transparent 72%);
  transition: opacity 360ms ease;
}
.viewer-about-principles article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  opacity: 0;
  transform: scaleX(.25);
  background: linear-gradient(90deg, transparent, rgba(255, 45, 57, .9), transparent);
  transition: opacity 360ms ease, transform 520ms var(--workspace-ease);
}
.viewer-about-principles h3 { position: relative; z-index: 1; margin: 0; color: #f1f1f3; font: 600 clamp(18px, 1.7vw, 24px)/1.1 "Space Grotesk", sans-serif; letter-spacing: -.025em; transition: color 320ms ease, transform 520ms var(--workspace-ease); }
.viewer-about-principles p { position: relative; z-index: 1; max-width: 520px; margin: 14px 0 0; color: #96969d; font-size: 14px; line-height: 1.6; transition: color 320ms ease, transform 520ms var(--workspace-ease); }

@media (hover: hover) and (pointer: fine) {
  .viewer-about-principles article:hover {
    z-index: 2;
    transform: translateY(-7px) scale(1.008);
    border-color: rgba(255, 57, 69, .42);
    background-color: rgba(255, 255, 255, .04);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .32), 0 0 34px rgba(213, 1, 13, .1);
  }
  .viewer-about-principles article:hover::before,
  .viewer-about-principles article:hover::after { opacity: 1; }
  .viewer-about-principles article:hover::after { transform: scaleX(1); }
  .viewer-about-principles article:hover h3 { color: #fff; transform: translateY(-2px); }
  .viewer-about-principles article:hover p { color: #c0c0c6; transform: translateY(1px); }
}
.viewer-about-team { padding: clamp(58px, 7vw, 92px); color: #f5f5f6; background: radial-gradient(circle at 4% 8%, rgba(213, 1, 13, .1), transparent 30%), #111113; }
.viewer-about-team > h2 { max-width: 620px; margin: 0; font: 600 clamp(42px, 5vw, 72px)/.94 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.viewer-about-team > h2 em { color: var(--workspace-red); font-style: normal; }
.viewer-about-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 76px); perspective: 1200px; }
.viewer-about-team article {
  --team-rotate-x: 0deg;
  --team-rotate-y: 0deg;
  --team-glow-x: 50%;
  --team-glow-y: 35%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: #151517;
  transform-style: preserve-3d;
  transition: transform 620ms var(--workspace-ease), border-color 360ms ease, box-shadow 620ms var(--workspace-ease);
  will-change: transform;
}
.viewer-about-team article::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 180px at var(--team-glow-x) var(--team-glow-y), rgba(255, 255, 255, .18), rgba(213, 1, 13, .08) 34%, transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 360ms ease;
}
.viewer-team-portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; color: rgba(255, 255, 255, .92); background: radial-gradient(circle at 72% 22%, rgba(232, 16, 29, .5), transparent 27%), linear-gradient(145deg, #29292e, #121214 58%, #25070a); transform: translateZ(0); transition: transform 620ms var(--workspace-ease), filter 420ms ease; }
.viewer-team-portrait::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 25% 20%; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.viewer-team-portrait::after { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 72px rgba(213, 1, 13, .035); }
.viewer-team-portrait span { position: relative; z-index: 1; font: 500 clamp(80px, 10vw, 144px)/1 "Space Grotesk", sans-serif; letter-spacing: -.08em; text-shadow: 0 18px 38px rgba(0, 0, 0, .36); transition: transform 620ms var(--workspace-ease); }
.viewer-team-portrait--photo::before,
.viewer-team-portrait--photo::after { display: none; }
.viewer-team-portrait img { --portrait-scale: 1; --portrait-y: 0%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: translateY(var(--portrait-y)) scale(var(--portrait-scale)); transition: transform 760ms var(--workspace-ease), filter 420ms ease; }
.viewer-team-portrait--closer img { --portrait-scale: 1.08; --portrait-y: 1.2%; }
.viewer-about-team article:nth-child(2) .viewer-team-portrait { background: radial-gradient(circle at 28% 18%, rgba(232, 16, 29, .46), transparent 28%), linear-gradient(215deg, #2d2d31, #131315 58%, #210609); }
.viewer-about-team h3 { position: relative; z-index: 2; margin: 0; padding: 22px 24px 24px; color: #f4f4f5; font: 600 clamp(22px, 2.2vw, 30px)/1 "Space Grotesk", sans-serif; letter-spacing: -.035em; transform: translateZ(0); transition: transform 620ms var(--workspace-ease), color 320ms ease; }

@media (hover: hover) and (pointer: fine) {
  .viewer-about-team article:hover {
    z-index: 3;
    transform: translateY(-9px) rotateX(var(--team-rotate-x)) rotateY(var(--team-rotate-y)) scale(1.015);
    border-color: rgba(255, 62, 74, .42);
    box-shadow: 0 30px 68px rgba(0, 0, 0, .42), 0 0 36px rgba(213, 1, 13, .12);
  }
  .viewer-about-team article:hover::before { opacity: 1; }
  .viewer-about-team article:hover .viewer-team-portrait { transform: translateZ(28px); filter: saturate(1.06) contrast(1.03); }
  .viewer-about-team article:hover .viewer-team-portrait img { transform: translateY(var(--portrait-y)) scale(calc(var(--portrait-scale) + .065)); }
  .viewer-about-team article:hover .viewer-team-portrait span { transform: scale(1.05); }
  .viewer-about-team article:hover h3 { color: #fff; transform: translateZ(38px) translateY(-2px); }
}

.viewer-about-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(430px, 72vh, 720px);
  place-items: center;
  perspective: 1000px;
  padding: clamp(70px, 10vw, 140px) clamp(24px, 6vw, 84px);
  overflow: hidden;
  color: #f5f5f3;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 50% 42%, rgba(213, 1, 13, .1), transparent 34%),
    radial-gradient(ellipse at 8% 24%, rgba(108, 18, 82, .12), transparent 34%),
    linear-gradient(115deg, #151017, #0d0d0f 52%, #18090c);
}

.viewer-about-cta-ambient {
  position: absolute;
  z-index: 0;
  inset: -18%;
  pointer-events: none;
  opacity: calc(.42 + var(--viewer-section-progress, .5) * .5);
  background:
    radial-gradient(circle at 54% 48%, rgba(213, 1, 13, .24), transparent 22%),
    radial-gradient(ellipse at 28% 62%, rgba(96, 13, 72, .2), transparent 36%),
    radial-gradient(circle at 76% 28%, rgba(255, 54, 66, .06), transparent 24%);
  transform: translate3d(calc(-3vw + var(--viewer-section-progress, .5) * 6vw), calc(24px - var(--viewer-section-progress, .5) * 46px), 0) scale(calc(.94 + var(--viewer-section-progress, .5) * .14));
  transition: opacity 100ms linear, transform 100ms linear;
  will-change: opacity, transform;
}

.viewer-about-cta-orbit {
  position: absolute;
  z-index: 1;
  left: clamp(-76px, 4vw, 72px);
  top: 16%;
  width: clamp(170px, 23vw, 330px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: calc(.34 + var(--viewer-section-progress, .5) * .5);
  transform-style: preserve-3d;
  transform: translate3d(calc(-5vw + var(--viewer-section-progress, .5) * 10vw), calc(42px - var(--viewer-section-progress, .5) * 68px), 0) rotateX(calc(68deg - var(--viewer-section-progress, .5) * 24deg)) rotateY(calc(-18deg + var(--viewer-section-progress, .5) * 32deg)) rotateZ(calc(-34deg + var(--viewer-section-progress, .5) * 58deg)) scale(calc(.88 + var(--viewer-section-progress, .5) * .14));
  transition: opacity 100ms linear, transform 100ms linear;
  will-change: opacity, transform;
}

.viewer-about-cta-orbit::before,
.viewer-about-cta-orbit::after,
.viewer-about-cta-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.viewer-about-cta-orbit::before {
  inset: 3%;
  border: 2px solid rgba(255, 41, 53, .55);
  background: radial-gradient(circle at 36% 28%, rgba(255, 103, 112, .12), rgba(213, 1, 13, .035) 46%, transparent 68%);
  box-shadow: inset 0 0 28px rgba(255, 44, 56, .1), 0 0 34px rgba(213, 1, 13, .14);
  transform: translateZ(12px);
}

.viewer-about-cta-orbit::after {
  width: 27%;
  aspect-ratio: 1;
  top: 36.5%;
  left: 36.5%;
  background: radial-gradient(circle at 32% 27%, #ff6b73, #d5010d 42%, #670006 76%);
  box-shadow: inset -12px -14px 22px rgba(54, 0, 4, .45), 0 13px 34px rgba(213, 1, 13, .28);
  transform: translateZ(72px);
}

.viewer-about-cta-orbit span {
  inset: 17%;
  border: 1px solid rgba(255, 112, 121, .28);
  transform: translateZ(38px) rotateX(72deg) rotateY(18deg);
}

.viewer-about-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .3;
  background-image: radial-gradient(circle, rgba(255, 62, 74, .7) 0 2px, transparent 2.5px);
  background-position: 78% 19%;
  background-size: 340px 290px;
  mask-image: radial-gradient(circle at 78% 24%, #000, transparent 37%);
  transform: translate3d(calc(-2vw + var(--viewer-section-progress, .5) * 4vw), calc(18px - var(--viewer-section-progress, .5) * 36px), 0) scale(calc(.96 + var(--viewer-section-progress, .5) * .06));
  transition: transform 100ms linear;
  will-change: transform;
}

.viewer-about-cta-content { position: relative; z-index: 2; display: grid; justify-items: center; }

.viewer-about-cta h2 {
  max-width: 820px;
  margin: 0;
  font: 600 clamp(46px, 6.6vw, 92px)/.96 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}

.viewer-about-cta .viewer-hero-char {
  filter: none;
  transition: opacity 90ms linear, transform 90ms linear;
  will-change: opacity, transform;
}

.viewer-about-cta .nav-cta {
  position: relative;
  isolation: isolate;
  width: 168px;
  min-height: 50px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 0 20px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: #d5010d;
  box-shadow: 0 8px 24px rgba(213, 1, 13, .24);
  cursor: pointer;
}

.viewer-about-cta .nav-cta-label,
.viewer-about-cta .nav-cta-contact {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  backface-visibility: hidden;
  transition: opacity 300ms cubic-bezier(.8, 0, .2, 1), transform 440ms cubic-bezier(.8, 0, .2, 1);
  will-change: opacity, transform;
}

.viewer-about-cta .nav-cta-label {
  opacity: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translate3d(0, 0, 0);
}

.viewer-about-cta .nav-cta-contact {
  opacity: 0;
  transform: translate3d(0, 13px, 0) scale(.76) rotate(-7deg);
}

.viewer-about-cta .nav-cta-contact svg { width: 25px; height: 25px; }

@media (hover: hover) and (pointer: fine) {
  .viewer-about-cta .nav-cta:hover .nav-cta-label {
    opacity: 0;
    transform: translate3d(0, -13px, 0) scale(.96);
  }

  .viewer-about-cta .nav-cta:hover .nav-cta-contact {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.viewer-about-cta .nav-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.viewer-about-cta .nav-cta:focus-visible .nav-cta-label { opacity: 0; transform: translate3d(0, -13px, 0) scale(.96); }
.viewer-about-cta .nav-cta:focus-visible .nav-cta-contact { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }

@media (max-width: 900px) {
  .viewer-page-hero { min-height: var(--viewer-viewport-height, calc(100dvh - 82px)); }
}

@media (max-width: 760px) {
  .viewer-page--about .viewer-page-eyebrow { top: 34px; left: 22px; }
  .viewer-about-story { padding: 52px 22px 64px; }
  .viewer-about-story-copy { margin-top: 42px; }
  .viewer-about-principles { padding: 52px 22px 64px; }
  .viewer-about-principles-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .viewer-about-principles article { min-height: 0; }
  .viewer-about-team { padding: 52px 22px 64px; }
  .viewer-about-team-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .viewer-about-cta { min-height: 66vh; padding: 80px 22px; }
  .viewer-about-cta h2 { font-size: clamp(46px, 13vw, 64px); }
  .viewer-about-cta-orbit { left: -92px; top: 8%; width: 230px; }
}

.viewer-page-body {
  background: var(--workspace-paper);
}

[data-viewer-reveal] {
  --viewer-progress: 0;
  --viewer-text-progress: 0;
  opacity: 1;
  transform: none;
  transition: none;
}

.viewer-page.is-entry-animating [data-viewer-reveal] {
  transition: none;
}

.viewer-stat-board,
.viewer-route-board,
.viewer-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px 0;
  background: #c8c8c7;
}

.viewer-stat-board article {
  min-height: 240px;
  padding: clamp(28px, 4vw, 54px);
  background: #f4f4f2;
}

.viewer-stat-board span,
.viewer-index,
.viewer-end-panel > span,
.viewer-comparison article > span,
.viewer-question > span,
.viewer-answer > span {
  color: #d5010d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.viewer-stat-board strong {
  display: block;
  margin-top: 58px;
  font: 500 clamp(26px, 2.4vw, 40px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.viewer-stat-board p {
  max-width: 28ch;
  margin: 15px 0 0;
  color: #66666b;
  font-size: 14px;
  line-height: 1.6;
}

.viewer-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  min-height: 390px;
  border-bottom: 1px solid #c8c8c7;
}

.viewer-feature-split > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
}

.viewer-feature-split > div + div { border-left: 1px solid #c8c8c7; }

.viewer-feature-split h2,
.viewer-end-panel h2 {
  max-width: 650px;
  margin: 20px 0 0;
  font: 500 clamp(38px, 4.2vw, 68px)/0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.viewer-feature-split p {
  color: #626267;
  font-size: 16px;
  line-height: 1.68;
}

.viewer-page button {
  min-height: 48px;
  border-radius: 0;
}

.viewer-feature-split button,
.viewer-end-panel button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid #171719;
  color: #fff;
  background: #171719;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.viewer-feature-split button .ui-icon,
.viewer-end-panel button .ui-icon {
  --ui-icon-size: 18px;
  color: #ff3340;
  transition: transform 250ms var(--workspace-ease);
}

.viewer-feature-split button:hover .ui-icon,
.viewer-end-panel button:hover .ui-icon { transform: translate(3px, -3px); }

.viewer-route-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.viewer-route-board button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  min-height: 180px;
  padding: 28px;
  border: 0;
  color: #161618;
  background: #f4f4f2;
  text-align: left;
  cursor: pointer;
}

.viewer-route-board button:hover { background: #e9e9e7; }
.viewer-route-board span { color: #d5010d; font-size: 10px; font-weight: 800; }
.viewer-route-board strong { font: 500 clamp(23px, 2.6vw, 38px)/1 "Space Grotesk", sans-serif; letter-spacing: -0.04em; }
.viewer-route-board .ui-icon { --ui-icon-size: 22px; color: #d5010d; }

.viewer-service-list article,
.viewer-process article {
  display: grid;
  grid-template-columns: minmax(82px, 0.18fr) minmax(0, 1fr);
  min-height: 310px;
  border-bottom: 1px solid #c8c8c7;
}

.viewer-service-list article > span,
.viewer-process article > span {
  padding: clamp(28px, 4vw, 54px);
  color: #d5010d;
  font-size: 11px;
  font-weight: 800;
  border-right: 1px solid #c8c8c7;
}

.viewer-service-list article > div,
.viewer-process article > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}

.viewer-service-list h2,
.viewer-process h2,
.viewer-comparison h2 {
  margin: 0;
  font: 500 clamp(34px, 4vw, 62px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.viewer-service-list p,
.viewer-process p,
.viewer-comparison p {
  max-width: 660px;
  margin: 20px 0 0;
  color: #68686d;
  font-size: 16px;
  line-height: 1.68;
}

.viewer-service-list small {
  margin-top: 34px;
  color: #8a8a8e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.viewer-end-panel {
  padding: clamp(48px, 7vw, 96px);
  color: #f5f5f3;
  background: #0d0d0f;
}

.viewer-end-panel > span { color: #ff4a55; }
.viewer-end-panel button { color: #111113; background: #f4f4f2; border-color: #f4f4f2; }

.viewer-process {
  counter-reset: process;
}

.viewer-process article:nth-child(even) > div { background: #e9e9e7; }

.viewer-quote-panel {
  padding: clamp(52px, 8vw, 110px);
  color: #fff;
  background: linear-gradient(120deg, #0d0d0f 55%, #35080c);
}

.viewer-quote-panel blockquote {
  max-width: 920px;
  margin: 0;
  font: 500 clamp(38px, 5vw, 76px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.viewer-quote-panel p { margin: 38px 0 0; color: #ff4a55; font-size: 10px; font-weight: 800; letter-spacing: .14em; }

.viewer-conversation-demo {
  display: grid;
  gap: 24px;
  padding: clamp(42px, 7vw, 92px);
  color: #fff;
  background: #0d0d0f;
}

.viewer-question,
.viewer-answer {
  max-width: 72%;
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,.16);
}

.viewer-question { justify-self: end; background: #202023; }
.viewer-answer { position: relative; background: #161618; }
.viewer-question p,
.viewer-answer p { margin: 12px 0 0; font: 500 clamp(20px, 2.4vw, 34px)/1.25 "Space Grotesk",sans-serif; letter-spacing: -.03em; }
.viewer-answer i { position: absolute; left: -1px; bottom: -1px; width: 34%; height: 2px; background: var(--workspace-red); box-shadow: 0 0 18px rgba(229,9,23,.55); }

.viewer-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #c8c8c7;
}

.viewer-comparison article { min-height: 350px; padding: clamp(34px, 5vw, 70px); }
.viewer-comparison article + article { border-left: 1px solid #c8c8c7; background: #e9e9e7; }
.viewer-comparison h2 { margin-top: 48px; }

.viewer-trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.viewer-trust-grid span { min-height: 130px; padding: 28px 20px; color: #1b1b1d; background: #f4f4f2; font: 700 13px/1.4 "Space Grotesk",sans-serif; }
.viewer-trust-grid span::before { content: "+"; display: block; margin-bottom: 28px; color: #d5010d; }

.viewer-contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(38px, 6vw, 82px);
}

.viewer-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.viewer-contact-form label { display: grid; gap: 9px; color: #3f3f43; font-size: 12px; font-weight: 700; }
.viewer-contact-form input,
.viewer-contact-form select,
.viewer-contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #bebebd;
  border-radius: 0;
  color: #171719;
  background: #f8f8f6;
  font: 400 16px/1.45 "Inter",sans-serif;
}
.viewer-contact-form textarea { min-height: 150px; resize: vertical; }
.viewer-contact-form > button { justify-self: start; min-width: 220px; padding: 0 18px; border: 0; color: #fff; background: #d5010d; font-size: 12px; font-weight: 800; cursor: pointer; }
.viewer-contact-form > button .ui-icon { --ui-icon-size: 18px; float: right; margin-left: 28px; }
.viewer-form-note,
.viewer-form-status { margin: 0; color: #747479; font-size: 12px; }
.viewer-contact-form.is-reviewing { box-shadow: inset 4px 0 #d5010d; }

.viewer-page-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 58px);
  border-top: 1px solid #c8c8c7;
  color: #77777c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.workspace-mobile-switch { display: none; }

.foghorn-workspace .immersive-suggestions button {
  min-height: 44px;
}

.foghorn-workspace .immersive-suggestions.is-discovery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 2px 1px;
  overflow: visible;
}

.foghorn-workspace .immersive-suggestions.is-discovery button {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #3a3a40;
  border-radius: 999px;
  color: #d8d8dc;
  background: linear-gradient(145deg, #18181b, #111113);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  animation: workspace-suggestion-in .42s var(--workspace-ease) forwards;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s var(--workspace-ease);
}

.foghorn-workspace .immersive-suggestions.is-discovery button:nth-child(2) { animation-delay: 70ms; }
.foghorn-workspace .immersive-suggestions.is-discovery button:nth-child(3) { animation-delay: 140ms; }

.foghorn-workspace .immersive-suggestions.is-discovery button:hover,
.foghorn-workspace .immersive-suggestions.is-discovery button:focus-visible {
  color: #fff;
  border-color: #d5010d;
  background: #201416;
  transform: translateY(-1px);
  outline: none;
}

@keyframes workspace-suggestion-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 950px) {
  .foghorn-workspace .immersive-suggestions.is-discovery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foghorn-workspace .immersive-suggestions.is-discovery button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.foghorn-workspace .chat-experience.is-workspace .chat-topbar {
  opacity: 0;
  transform: translateY(-100%);
  transition:
    transform .72s var(--onyx-curtain-ease),
    opacity .38s var(--onyx-curtain-ease);
}

.foghorn-workspace.is-entered .chat-experience.is-workspace .chat-topbar {
  opacity: 1;
  transform: none;
  transition:
    transform .9s var(--onyx-curtain-ease) .32s,
    opacity .5s var(--onyx-curtain-ease) .32s;
}

.foghorn-workspace .chat-experience.is-workspace .guided-panel {
  opacity: 0;
  transform: none;
  transition: opacity 460ms var(--workspace-ease);
}

.foghorn-workspace.is-content-ready .chat-experience.is-workspace .guided-panel {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.foghorn-workspace .chat-experience.is-workspace .chat-panel {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 100%);
  background: #0d0d0f;
  transition: clip-path var(--system-morph-speed) var(--onyx-curtain-ease) 0s;
  transition-delay: 0s;
  transform-origin: right center;
  will-change: clip-path;
}

@media (min-width: 901px) {
  /* Keep the animation's compositing root viewport-sized. The visible board
     remains inset, but the moving chat surface can paint behind its frame. */
  .foghorn-workspace {
    inset: 0;
    content-visibility: visible;
    contain: none;
  }

  .foghorn-workspace .workspace-mount {
    position: absolute;
    inset: 16px;
    width: auto;
    height: auto;
  }

  .foghorn-workspace .chat-experience.is-workspace,
  .foghorn-workspace .workspace-mount,
  .foghorn-workspace .chat-canvas {
    overflow: visible;
  }

  .foghorn-workspace .chat-experience.is-workspace {
    /* The base chat shell advertises transform via will-change, which turns it
       into the containing block for fixed descendants and traps the curtain
       inside the inset board. The workspace transition must use the viewport. */
    will-change: auto;
  }

  .foghorn-workspace .chat-experience.is-workspace .chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    width: auto;
    height: auto;
    margin: 0;
    padding: 16px 16px 16px 0;
  }

  .foghorn-workspace .viewer-icon-switch {
    top: 38px;
  }
}

.foghorn-workspace.is-entered .chat-experience.is-workspace .chat-panel {
  clip-path: inset(0);
}

/* Keep controls from being visibly sliced by the moving panel curtain. */
.foghorn-workspace .chat-experience.is-workspace .chat-panel > .chat-messages,
.foghorn-workspace .chat-experience.is-workspace .chat-panel > .chat-compose {
  opacity: 0;
  transition: opacity 160ms ease 0s;
}

.foghorn-workspace.is-settled .chat-experience.is-workspace .chat-panel > .chat-messages,
.foghorn-workspace.is-settled .chat-experience.is-workspace .chat-panel > .chat-compose {
  opacity: 1;
  transition: opacity 480ms var(--onyx-curtain-ease) 120ms;
}

.foghorn-workspace.is-closing .chat-experience.is-workspace .chat-panel > .chat-messages,
.foghorn-workspace.is-closing .chat-experience.is-workspace .chat-panel > .chat-compose {
  opacity: 0;
  transition: opacity 160ms ease 0s;
}

@media (max-width: 1180px) {
  body.workspace-active .hero { inset: 0 50% 0 0; }
  .foghorn-workspace .chat-canvas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-route-strip button { padding-inline: 7px; font-size: 8px; }
  .foghorn-workspace .adaptive-mini-nav { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .foghorn-workspace .adaptive-mini-nav > span { display: none; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .site-frame { inset: 8px; }
  .workspace-mount::after { display: none; }
  .workspace-mount > .workspace-cross--tm,
  .workspace-mount > .workspace-cross--bm { display: none; }
  .viewer-icon-switch { display: none !important; }

  .workspace-mobile-view-toggle {
    display: grid;
    top: var(--workspace-mobile-control-inset);
    left: var(--workspace-mobile-control-inset);
  }

  .foghorn-workspace.is-entered .workspace-mobile-view-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 300ms, 0s, 300ms, 0s;
  }

  .foghorn-workspace.is-closing .workspace-mobile-view-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition-delay: 0s;
  }

  .foghorn-workspace {
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    border-color: transparent;
    content-visibility: visible;
    contain: none;
    clip-path: none;
    background: #0b0b0d;
    transform: translate3d(0, 100%, 0);
    will-change: transform;
    transition:
      border-color .35s ease,
      visibility 0s linear var(--system-morph-speed);
  }

  .foghorn-workspace .workspace-mount {
    position: absolute;
    inset: 8px;
    width: auto;
    height: auto;
  }

  .foghorn-workspace.is-entered {
    animation: workspace-mobile-enter var(--system-morph-speed) var(--onyx-curtain-ease) both;
  }

  .foghorn-workspace.is-closing {
    animation: workspace-mobile-exit var(--system-morph-speed) var(--onyx-curtain-ease) both;
  }

  .foghorn-workspace .chat-experience.is-workspace .chat-panel,
  .foghorn-workspace.is-entered .chat-experience.is-workspace .chat-panel {
    clip-path: none;
  }

  body.workspace-active:not(.workspace-settled) .hero {
    inset: 0;
    opacity: 1;
    transform: none;
  }

  .foghorn-workspace .chat-topbar {
    display: none !important;
  }

  .foghorn-workspace .chat-brand { width: 48px; padding: 0; }
  .foghorn-workspace .chat-brand > span:last-child,
  .foghorn-workspace .chat-progress,
  .foghorn-workspace .chat-close { display: none; }

  .workspace-mobile-switch {
    display: flex;
    justify-self: end;
  }

  .workspace-mobile-switch button {
    min-width: 76px;
    min-height: 44px;
    padding: 0 12px;
  }

  .foghorn-workspace .chat-canvas { display: block; }
  .foghorn-workspace .guided-panel { display: none; }
  .foghorn-workspace .chat-panel { width: 100%; height: 100%; }

  .foghorn-workspace .mobile-preview-drawer {
    position: absolute;
    inset: 0;
    z-index: 18;
    padding: 0;
    background: #0b0b0d;
    transform: translateX(-4%);
  }

  .foghorn-workspace .mobile-preview-drawer.is-open { transform: none; }
  .foghorn-workspace .mobile-guide-topbar { min-height: 56px; border-bottom: 1px solid var(--workspace-line); background: #0b0b0d; }
  .foghorn-workspace .mobile-guide-topbar button { min-height: 44px; }
  .foghorn-workspace .mobile-guide-host { height: calc(100% - 56px); padding: 8px; overflow: hidden; }
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation::-webkit-scrollbar { display: none; }
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation .adaptive-site-preview,
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation .adaptive-page,
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation .grounded-webview,
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation .generated-presentation-host {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }
  .foghorn-workspace .mobile-guide-host .adaptive-site-preview { height: 100%; border-radius: 0; }
  .foghorn-workspace .adaptive-browser-bar { min-height: 46px; }
  .viewer-mode-switch button { min-height: 44px; padding-inline: 10px; }

  .foghorn-workspace .adaptive-mini-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 58px;
    padding: 0;
  }
  .foghorn-workspace .adaptive-mini-nav img { display: none; }
  .viewer-route-strip { justify-self: stretch; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .viewer-route-strip::-webkit-scrollbar { display: none; }
  .viewer-route-strip button { min-height: 44px; padding: 0 9px; font-size: 10px; }
  .foghorn-workspace [data-guide-content].is-site-view { padding: 0 !important; }

  .foghorn-workspace [data-close-save] { min-width: 44px; min-height: 44px; }

  .viewer-page-hero { min-height: var(--viewer-viewport-height, calc(100dvh - 82px)); padding: 34px 22px; }
  .viewer-page-hero h1 { font-size: clamp(40px, 11.5vw, 58px); line-height: .98; }
  .viewer-page-hero > p:last-child { margin-top: 22px; font-size: 16px; line-height: 1.58; }
  .viewer-stat-board { grid-template-columns: 1fr; }
  .viewer-stat-board article { min-height: 190px; padding: 28px 22px; }
  .viewer-stat-board strong { margin-top: 38px; font-size: 32px; }
  .viewer-stat-board p { font-size: 15px; }
  .viewer-feature-split { grid-template-columns: 1fr; }
  .viewer-feature-split > div { padding: 40px 22px; }
  .viewer-feature-split > div + div { border-top: 1px solid #c8c8c7; border-left: 0; }
  .viewer-feature-split h2,
  .viewer-end-panel h2 { font-size: clamp(38px, 10vw, 54px); }
  .viewer-route-board { grid-template-columns: 1fr; }
  .viewer-route-board button { min-height: 132px; padding: 22px; }
  .viewer-route-board strong { font-size: 28px; }
  .viewer-service-list article,
  .viewer-process article { grid-template-columns: 58px minmax(0, 1fr); min-height: 250px; }
  .viewer-service-list article > span,
  .viewer-process article > span { padding: 28px 16px; }
  .viewer-service-list article > div,
  .viewer-process article > div { padding: 36px 22px; }
  .viewer-service-list h2,
  .viewer-process h2,
  .viewer-comparison h2 { font-size: 38px; }
  .viewer-service-list p,
  .viewer-process p,
  .viewer-comparison p { font-size: 16px; }
  .viewer-end-panel,
  .viewer-quote-panel,
  .viewer-conversation-demo { padding: 48px 22px; }
  .viewer-quote-panel blockquote { font-size: 43px; }
  .viewer-question,
  .viewer-answer { max-width: 92%; padding: 20px; }
  .viewer-question p,
  .viewer-answer p { font-size: 22px; }
  .viewer-comparison { grid-template-columns: 1fr; }
  .viewer-comparison article { min-height: 280px; padding: 38px 22px; }
  .viewer-comparison article + article { border-top: 1px solid #c8c8c7; border-left: 0; }
  .viewer-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-trust-grid span { min-height: 116px; }
  .viewer-contact-form { padding: 34px 22px; }
  .viewer-page-footer { padding: 18px 22px; }
}

@media (max-width: 760px) {
  .foghorn-workspace .immersive-form,
  .prompt-handoff {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 60px;
    padding: 7px 7px 7px 16px;
    border-radius: 16px;
  }

  .foghorn-workspace .immersive-form button,
  .prompt-handoff > i {
    width: 44px;
    height: 44px;
  }

  .prompt-handoff > span { font-size: 13px; }

  .foghorn-workspace .interface-prompt-rotator {
    left: 16px;
    right: 66px;
    font-size: 13px;
  }
}

@keyframes workspace-mobile-enter {
  from { transform: translate3d(0, 100%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes workspace-mobile-exit {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 100%, 0); }
}

@media (max-width: 560px) and (orientation: portrait) {
  .viewer-form-row { grid-template-columns: 1fr; }
  .viewer-contact-form > button { width: 100%; min-height: 50px; }
  .viewer-trust-grid { grid-template-columns: 1fr; }
  .viewer-page-footer { gap: 12px; flex-direction: column; }
}

@media (max-height: 560px) and (orientation: landscape) and (max-width: 950px) {
  .site-frame { inset: 6px; }
  .foghorn-workspace {
    inset: 6px;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    clip-path: none;
  }

  body.workspace-active .hero { inset: 0 50% 0 0; opacity: 1; transform: none; }

  .foghorn-workspace .chat-topbar {
    display: none !important;
  }

  .foghorn-workspace .chat-brand small,
  .foghorn-workspace .chat-progress { display: none; }
  .foghorn-workspace .chat-brand { min-height: 44px; }
  .foghorn-workspace .chat-close { min-height: 44px; height: 44px; }
  .workspace-mobile-switch { display: none; }
  .foghorn-workspace .chat-canvas { display: grid; grid-template-columns: 1fr 1fr; }
  .foghorn-workspace .guided-panel { display: block; padding: 0; }
  .foghorn-workspace .chat-panel { display: flex; min-width: 0; }
  .foghorn-workspace .mobile-preview-drawer { display: none !important; }
  .foghorn-workspace .adaptive-browser-bar { min-height: 44px; padding: 0 8px; }
  .foghorn-workspace .adaptive-browser-bar small { font-size: 8px; }
  .viewer-mode-switch button { min-height: 44px; padding: 0 8px; font-size: 8px; }
  .foghorn-workspace .adaptive-mini-nav { min-height: 44px; padding: 0 8px; }
  .foghorn-workspace .adaptive-mini-nav img { width: 82px; }
  .viewer-route-strip { overflow-x: auto; scrollbar-width: none; }
  .viewer-route-strip button { min-height: 44px; padding: 0 6px; font-size: 8px; }
  .viewer-page-hero { min-height: 260px; padding: 24px 20px; }
  .viewer-page-eyebrow { margin-bottom: 12px; font-size: 8px; }
  .viewer-page-hero h1 { font-size: clamp(34px, 5.8vw, 48px); }
  .viewer-page-hero > p:last-child { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .foghorn-workspace .immersive-toolbar { min-height: 44px; padding: 6px 10px; }
  .foghorn-workspace .chat-messages { padding: 12px; }
  .foghorn-workspace .chat-welcome .ready-orb { width: 36px; height: 36px; margin-bottom: 10px; }
  .foghorn-workspace .chat-welcome .kicker { margin-bottom: 5px; font-size: 8px; }
  .foghorn-workspace .chat-welcome h3 { font-size: 28px; line-height: .98; }
  .foghorn-workspace .chat-welcome-copy { margin-top: 10px; font-size: 13px; line-height: 1.45; }
  .foghorn-workspace .chat-welcome-note { display: none; }
  .foghorn-workspace .chat-compose { padding: 6px 8px; }
  .foghorn-workspace .immersive-suggestions { display: none; }
  .foghorn-workspace .compose-foot { display: none; }
}

/* Phones use one consistent bottom-sheet transition in either orientation.
   Keep this after the landscape layout rules so those rules cannot restore the
   old inset or horizontal curtain. */
@media (max-width: 950px) {
  .foghorn-workspace {
    inset: 0;
    border-color: transparent;
    clip-path: none;
    background: #0b0b0d;
    transform: translate3d(0, 100%, 0);
    will-change: transform;
  }

  .foghorn-workspace.is-entered {
    animation: workspace-mobile-enter var(--system-morph-speed) var(--onyx-curtain-ease) both;
  }

  .foghorn-workspace.is-closing {
    animation: workspace-mobile-exit var(--system-morph-speed) var(--onyx-curtain-ease) both;
  }

  .foghorn-workspace .chat-experience.is-workspace .chat-panel,
  .foghorn-workspace.is-entered .chat-experience.is-workspace .chat-panel {
    clip-path: none;
  }

  body.workspace-active:not(.workspace-settled) .hero {
    inset: 0;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  .foghorn-workspace .workspace-mount {
    position: absolute;
    inset: 6px;
    width: auto;
    height: auto;
  }

  .foghorn-workspace .grounded-webview[data-presentation="system-simulation"] {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .foghorn-workspace .grounded-webview[data-presentation="system-simulation"]::-webkit-scrollbar { display: none; }

  .foghorn-workspace .grounded-webview[data-presentation="system-simulation"] > .system-simulation-host {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }
}

/* The workspace covers the hero; it never resizes or reflows the hero itself. */
body.workspace-home.workspace-active .hero {
  inset: 0;
  transform: none;
}

body.workspace-home.workspace-active:not(.workspace-settled) .hero {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .foghorn-workspace.is-open {
    transform: translate3d(0, 0, 0) !important;
    animation: none !important;
  }

  .hero-content h1 .hero-char,
  body.workspace-home .hero-content > .location-pill,
  body.workspace-home .hero-content > .ask-card,
  .hero-intro .hero-intro-line,
  body.workspace-home .hero .nav,
  .hero-system-veil {
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  .foghorn-workspace *,
  .foghorn-workspace *::before,
  .foghorn-workspace *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .viewer-word,
  [data-viewer-reveal] {
    opacity: 1;
    transform: none;
  }

  .viewer-about-principles article:hover,
  .viewer-about-team article:hover,
  .viewer-about-team article:hover .viewer-team-portrait,
  .viewer-about-team article:hover .viewer-team-portrait img,
  .viewer-about-team article:hover .viewer-team-portrait span,
  .viewer-about-team article:hover h3 { transform: none; }
}
