:root {
  --home-ink-strong: rgba(244, 239, 231, 0.92);
  --home-line-soft: rgba(244, 239, 231, 0.12);
  --home-line-strong: rgba(244, 239, 231, 0.2);
  --home-copper: #c69772;
  --home-ivory: #efe3ce;
  --home-paper: #e4d5bb;
  --home-paper-deep: #d7c3a1;
  --home-green: #8cc8bd;
  --home-indigo: #989bd8;
  --home-rose: #d99595;
}

body.home-signature {
  background:
    linear-gradient(180deg, #05080a 0%, #0c1112 16%, #171716 16%, #171716 34%, #101516 34%, #101516 66%, #090d0f 66%, #090d0f 100%),
    linear-gradient(90deg, rgba(198, 151, 114, 0.08), transparent 28%, transparent 72%, rgba(239, 227, 206, 0.04) 100%);
}

body.home-signature::before {
  background:
    linear-gradient(90deg, rgba(244, 239, 231, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(244, 239, 231, 0.032) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, transparent 0%, rgba(198, 151, 114, 0.06) 24%, transparent 48%, rgba(124, 201, 186, 0.04) 78%, transparent 100%);
  background-size: 148px 148px, 148px 148px, 100% 100%;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.44) 76%, transparent);
  transform: translateY(calc(var(--page-scroll, 0) * 110px));
}

body.home-signature::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  background:
    repeating-linear-gradient(160deg, rgba(244, 239, 231, 0.022) 0 1px, transparent 1px 24px),
    linear-gradient(90deg, transparent 0%, rgba(198, 151, 114, 0.05) 34%, transparent 56%, rgba(124, 201, 186, 0.04) 100%);
  opacity: 0.16;
  mix-blend-mode: screen;
  animation: home-signature-drift 28s linear infinite;
}

.home-signature .site-shell {
  width: min(1440px, calc(100% - 48px));
  padding-top: 0;
}

.home-signature .site-header {
  top: 0;
  margin-bottom: 54px;
  padding: 22px 0 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(6, 10, 11, 0.96), rgba(6, 10, 11, 0.82) 70%, transparent);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.home-signature .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 231, 0.16) 18%, rgba(124, 201, 186, 0.16) 64%, transparent);
}

.home-signature .brand-mark {
  border-radius: 8px;
  background: var(--home-ivory);
  color: #071012;
  box-shadow: none;
}

.home-signature .top-nav {
  gap: 22px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-signature .top-nav a {
  opacity: 0.82;
}

.home-signature .home-main {
  gap: 82px;
}

.home-signature .home-observatory {
  padding-top: 18px;
  min-height: calc(100svh - 132px);
}

.home-signature .signal-field {
  border-top-color: rgba(244, 239, 231, 0.15);
}

.home-signature .signal-field-a {
  left: 38%;
  width: 62%;
}

.home-signature .signal-field-b {
  top: 114px;
  left: 6%;
  width: 18%;
}

.home-signature .hero-poster-grid {
  gap: 34px 52px;
  align-items: end;
}

.home-signature .hero-title-stack h1 {
  max-width: 8.4ch;
  font-size: clamp(4.2rem, 8.4vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.home-signature .hero-note-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(239, 227, 206, 0.98), rgba(215, 195, 161, 0.96)),
    linear-gradient(90deg, rgba(198, 151, 114, 0.14), transparent 58%);
  transform: translateY(12px);
}

.home-signature .hero-note-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(72, 52, 33, 0.12);
  pointer-events: none;
}

.home-signature .hero-note-list li,
.home-signature .hero-note-caption {
  color: rgba(18, 17, 15, 0.78);
}

.home-signature .hero-context {
  padding-top: 20px;
  border-top: 1px solid var(--home-line-soft);
}

.home-signature .hero-context-copy,
.home-signature .section-aside,
.home-signature .lede.narrow {
  color: rgba(244, 239, 231, 0.84);
}

.home-signature .hero-supportline {
  max-width: 43ch;
}

.home-signature .hero-console-preview {
  position: relative;
  padding-bottom: 22px;
  border-color: rgba(244, 239, 231, 0.16);
}

.home-signature .hero-console-preview::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 239, 231, 0.08);
  pointer-events: none;
}

.home-signature .console-preview-header > span,
.home-signature .console-preview-label,
.home-signature .console-preview-grid span {
  color: rgba(244, 239, 231, 0.52);
}

.home-signature .console-preview-primary strong {
  color: var(--home-ivory);
}

.home-signature .console-preview-grid article {
  border-top-color: var(--home-line-soft);
}

.home-signature .console-preview-grid article:nth-child(1) strong {
  color: var(--home-copper);
}

.home-signature .console-preview-grid article:nth-child(2) strong {
  color: var(--home-green);
}

.home-signature .console-preview-grid article:nth-child(3) strong {
  color: var(--home-indigo);
}

.home-signature .console-preview-grid article:nth-child(4) strong {
  color: var(--home-rose);
}

.home-signature .button {
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 4px;
  border: 1px solid rgba(244, 239, 231, 0.16);
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-signature .button:hover {
  transform: translateY(-2px);
}

.home-signature .button-primary {
  background: var(--home-ivory);
  color: #071012;
  border-color: transparent;
}

.home-signature .button-primary:hover {
  background: #f5ecdc;
}

.home-signature .button-ghost {
  position: relative;
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
}

.home-signature .button-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  opacity: 0.34;
}

.home-signature .button-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.home-signature .button-full {
  width: 100%;
}

.home-signature .hero-ledger {
  gap: 42px;
  margin-top: 78px;
  padding-top: 34px;
}

.home-signature .hero-ledger-grid {
  gap: 30px;
}

.home-signature .ledger-item {
  padding-top: 20px;
}

.home-signature .ledger-index,
.home-signature .atlas-number,
.home-signature .timeline-time,
.home-signature .runway-night,
.home-signature .screening-row > span {
  color: var(--home-copper);
}

.home-signature .section-heading-split {
  gap: 44px;
}

.home-signature .load-map-section,
.home-signature .timeline-stage,
.home-signature .protocol-runway,
.home-signature .screening-stage,
.home-signature .editorial-stage,
.home-signature .capture-stage {
  padding-top: 30px;
  border-top-color: var(--home-line-soft);
}

.home-signature .load-map-grid {
  gap: 62px;
}

.home-signature .load-control-panel,
.home-signature .load-output-panel {
  border-color: var(--home-line-soft);
}

.home-signature .signal-control {
  padding-top: 20px;
  border-top-color: var(--home-line-soft);
}

.home-signature .signal-control-head {
  color: var(--home-ink-strong);
}

.home-signature .signal-control input[type="range"]::-webkit-slider-runnable-track,
.home-signature .signal-control input[type="range"]::-moz-range-track {
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.18));
}

.home-signature .signal-control input[type="range"]::-webkit-slider-thumb,
.home-signature .signal-control input[type="range"]::-moz-range-thumb {
  border-radius: 2px;
  background: var(--home-ivory);
}

.home-signature .choice-group {
  border-top-color: var(--home-line-soft);
}

.home-signature .choice-chip {
  border-radius: 3px;
  border-color: rgba(244, 239, 231, 0.14);
}

.home-signature .choice-chip:hover,
.home-signature .choice-chip.is-active {
  border-color: rgba(244, 239, 231, 0.34);
  background: rgba(239, 227, 206, 0.08);
}

.home-signature .load-output-panel {
  position: sticky;
  top: 108px;
  align-self: start;
}

.home-signature .load-visual {
  padding-bottom: 26px;
  border-color: var(--home-line-soft);
}

.home-signature .load-visual::before {
  background: repeating-linear-gradient(180deg, rgba(244, 239, 231, 0.024) 0 1px, transparent 1px 56px);
}

.home-signature .load-visual-grid {
  min-height: 340px;
  gap: 18px;
}

.home-signature .load-bar {
  height: 208px;
  border-color: rgba(244, 239, 231, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.home-signature .load-bar span {
  min-height: 12%;
}

.home-signature .load-bar-card:nth-child(1) .load-bar span {
  background: linear-gradient(180deg, #f1e2d0 0%, var(--home-copper) 100%);
}

.home-signature .load-bar-card:nth-child(2) .load-bar span {
  background: linear-gradient(180deg, #dcf0ec 0%, var(--home-green) 100%);
}

.home-signature .load-bar-card:nth-child(3) .load-bar span {
  background: linear-gradient(180deg, #dedeef 0%, var(--home-indigo) 100%);
}

.home-signature .load-bar-card:nth-child(4) .load-bar span {
  background: linear-gradient(180deg, #eddede 0%, var(--home-rose) 100%);
}

.home-signature .load-diagnosis {
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(239, 227, 206, 0.98), rgba(215, 195, 161, 0.95)),
    linear-gradient(90deg, rgba(198, 151, 114, 0.14), transparent 54%);
}

.home-signature .load-diagnosis .eyebrow,
.home-signature .load-diagnosis h3,
.home-signature .load-diagnosis .load-order span {
  color: #171410;
}

.home-signature .load-diagnosis-copy,
.home-signature .load-advice {
  color: rgba(23, 20, 16, 0.74);
}

.home-signature .load-order span {
  padding-left: 18px;
}

.home-signature .load-order span::before {
  top: 0.45em;
  width: 7px;
  height: 7px;
  background: var(--home-copper);
}

.home-signature .load-diagnosis .button-secondary {
  color: #171410;
  border-color: rgba(23, 20, 16, 0.18);
  background: rgba(255, 255, 255, 0.32);
}

.home-signature .timeline-run {
  gap: 28px;
}

.home-signature .timeline-stop:nth-child(2),
.home-signature .timeline-stop:nth-child(4) {
  margin-top: 26px;
}

.home-signature .runway-line::before {
  background: linear-gradient(180deg, transparent, rgba(244, 239, 231, 0.12) 12%, rgba(244, 239, 231, 0.12) 88%, transparent);
}

.home-signature .runway-step::before {
  background: var(--home-ivory);
}

.home-signature .screening-row {
  gap: 22px;
  border-top-color: var(--home-line-soft);
}

.home-signature .screening-row:last-child,
.home-signature .support-link:last-child {
  border-bottom-color: var(--home-line-soft);
}

.home-signature .editorial-grid,
.home-signature .capture-shell {
  gap: 46px;
}

.home-signature .editorial-note,
.home-signature .support-snapshot,
.home-signature .capture-form,
.home-signature .support-link,
.home-signature .faq-list-rails .faq-item:first-child {
  border-top-color: var(--home-line-soft);
}

.home-signature .support-link strong,
.home-signature .read-next strong {
  font-size: 1.5rem;
}

.home-signature .read-next {
  gap: 24px;
  border-top-color: var(--home-line-soft);
}

.home-signature .read-next a {
  padding-top: 16px;
  border-top-color: var(--home-line-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.home-signature .read-next a:hover {
  transform: translateX(8px);
  border-top-color: var(--home-line-strong);
}

.home-signature .site-footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--home-line-soft);
}

.home-signature [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  clip-path: none;
  transition: opacity 520ms ease, transform 760ms cubic-bezier(0.2, 0.7, 0.08, 1);
}

.home-signature [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes home-signature-drift {
  0% {
    transform: translate3d(-2%, 0, 0);
  }

  50% {
    transform: translate3d(2%, -1.5%, 0);
  }

  100% {
    transform: translate3d(-2%, 0, 0);
  }
}

@media (max-width: 1180px) {
  .home-signature .site-shell {
    width: min(100% - 24px, 1440px);
  }

  .home-signature .hero-poster-grid,
  .home-signature .hero-ledger,
  .home-signature .load-map-grid,
  .home-signature .editorial-grid,
  .home-signature .capture-shell,
  .home-signature .section-heading-split {
    grid-template-columns: 1fr;
  }

  .home-signature .hero-poster-grid {
    grid-template-areas:
      "title"
      "note"
      "context"
      "console";
    gap: 24px;
  }

  .home-signature .load-output-panel {
    position: static;
  }

  .home-signature .hero-note-card {
    transform: none;
  }

  .home-signature .console-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-signature .timeline-run {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-signature .hero-title-stack h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .home-signature .home-observatory {
    min-height: auto;
  }

  .home-signature .hero-ledger-grid,
  .home-signature .timeline-run,
  .home-signature .read-next {
    grid-template-columns: 1fr;
  }

  .home-signature .console-preview-grid {
    grid-template-columns: 1fr;
  }

  .home-signature .runway-step:nth-child(odd),
  .home-signature .runway-step:nth-child(even) {
    grid-column: 1 / -1;
  }

  .home-signature .runway-line::before {
    display: none;
  }

  .home-signature .site-header {
    margin-bottom: 40px;
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-signature::after {
    animation: none;
  }

  .home-signature [data-reveal],
  .home-signature [data-reveal].is-visible,
  .home-signature .button,
  .home-signature .choice-chip,
  .home-signature .read-next a {
    transition: none;
    transform: none;
  }
}
