:root {
  --bg: #f6eee5;
  --bg-2: #ead8ca;
  --bg-3: #e0cab9;
  --surface: rgba(255, 249, 243, 0.36);
  --text: #15232d;
  --text-soft: rgba(21, 35, 45, 0.7);
  --line: rgba(21, 35, 45, 0.14);
  --line-strong: rgba(21, 35, 45, 0.28);
  --accent: #c31f32;
  --accent-2: #ff6677;
  --accent-soft: rgba(195, 31, 50, 0.12);
  --deep: #0d1821;
  --shell: min(1280px, calc(100vw - 40px));
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.84), transparent 18%),
    radial-gradient(circle at 84% 10%, rgba(195, 31, 50, 0.14), transparent 22%),
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(180deg, #fbf5ef 0%, #efe1d5 38%, #e6d2c4 100%);
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}

body.is-loading {
  overflow: hidden;
}

body.nav-condensed .site-header {
  background: rgba(246, 238, 229, 0.72);
}

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

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

button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.preloader,
.ambient,
.grid-overlay,
.grain,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.preloader {
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(180deg, #f8eee6 0%, #ead8ca 48%, #d9bdb0 100%);
}

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(195, 31, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 31, 50, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.8;
}

.preloader__inner {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.preloader__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.preloader__mark {
  color: var(--accent);
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 0.88;
  letter-spacing: 0.08em;
}

.preloader__inner p {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.8rem, 10vw, 5rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.preloader__inner span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preloader__bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  background: rgba(21, 35, 45, 0.1);
}

.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.ambient {
  z-index: -5;
  filter: blur(50px);
}

.ambient--one {
  inset: -8% auto auto -10%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.ambient--two {
  inset: 24% -14% auto auto;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: rgba(195, 31, 50, 0.16);
}

.ambient--three {
  inset: auto auto 6% 24%;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  background: rgba(255, 132, 150, 0.14);
}

.grid-overlay {
  z-index: -4;
  background-image:
    linear-gradient(rgba(195, 31, 50, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 31, 50, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 85%);
}

.grain {
  z-index: -3;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(21, 35, 45, 0.24) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 36%, rgba(21, 35, 45, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 52% 78%, rgba(21, 35, 45, 0.15) 0 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
}

.scanline {
  z-index: -2;
  opacity: 0.32;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.18) 48%, transparent 100%);
  transform: translateY(-100%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    transform 300ms ease;
  background: rgba(246, 238, 229, 0.32);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 68px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 8px 12px 8px 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform-origin: center;
}

.brand__copy {
  display: grid;
  gap: 4px;
}

.brand__top,
.brand__bottom,
.eyebrow,
.section-intro__kicker,
.timeline-item__eyebrow,
.monitor-card__label,
.status-note,
.hero__meta p,
.hero__diagnostics span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__top {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-soft);
}

.brand__bottom {
  font-size: 0.82rem;
  font-weight: 800;
}

.action-link,
.status-note {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.action-link {
  position: relative;
}

.action-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.scene-rail {
  --rail-progress: 0;
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 164px;
  transform: translateY(-50%);
}

.scene-rail-track {
  position: relative;
  height: min(62vh, 560px);
}

.scene-rail-line,
.scene-rail-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
}

.scene-rail-line {
  background: rgba(255, 255, 255, 0.18);
}

.scene-rail-progress {
  bottom: auto;
  height: calc(var(--rail-progress) * 100%);
  background: linear-gradient(180deg, rgba(255, 248, 251, 0.96), rgba(255, 248, 251, 0.28));
  box-shadow: 0 0 22px rgba(255, 248, 251, 0.22);
}

.scene-rail-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.scene-point {
  display: inline-flex;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.scene-point-core {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.scene-point-core::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 248, 251, 0.24);
  transform: scale(0.72);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.scene-point-text {
  display: grid;
  gap: 1px;
  opacity: 0.56;
  transition: opacity 220ms ease, transform 220ms ease;
}

.scene-point-step,
.scene-rail-step {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scene-point-label,
.scene-rail-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.scene-point.is-active .scene-point-core,
.scene-point:hover .scene-point-core,
.scene-point:focus-visible .scene-point-core {
  border-color: rgba(255, 248, 251, 0.76);
}

.scene-point.is-active .scene-point-core::after,
.scene-point:hover .scene-point-core::after,
.scene-point:focus-visible .scene-point-core::after {
  background: #fff8fb;
  transform: scale(1);
  box-shadow: 0 0 24px rgba(255, 248, 251, 0.34);
}

.scene-point.is-active .scene-point-text,
.scene-point:hover .scene-point-text,
.scene-point:focus-visible .scene-point-text {
  opacity: 1;
  transform: translateX(2px);
}

main {
  padding-top: 68px;
}

.panel-block {
  position: relative;
  min-height: 100vh;
  padding: 84px 0;
}

.hero {
  display: flex;
  align-items: center;
  padding-top: 34px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__word {
  position: absolute;
  font-family: "Anton", sans-serif;
  font-size: clamp(4.2rem, 17vw, 15rem);
  line-height: 0.84;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero__word--one {
  top: 8%;
  left: -1%;
}

.hero__word--two {
  right: -2%;
  top: 46%;
}

.hero__word--three {
  left: 30%;
  bottom: 2%;
  color: rgba(195, 31, 50, 0.1);
}

.hero__beam {
  position: absolute;
  top: 12%;
  right: 6%;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 31, 50, 0.18) 0%, transparent 68%);
  filter: blur(16px);
}

.hero__ring {
  position: absolute;
  border: 1px solid rgba(195, 31, 50, 0.14);
  border-radius: 50%;
}

.hero__ring--one {
  top: 18%;
  right: 10%;
  width: 26vw;
  height: 26vw;
}

.hero__ring--two {
  bottom: 10%;
  left: 12%;
  width: 20vw;
  height: 20vw;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 50px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero__title,
.section-intro h2,
.method__copy h2,
.cta__box h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero__title {
  display: grid;
  gap: 4px;
  font-size: clamp(4.4rem, 11vw, 9rem);
  line-height: 0.84;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line > span {
  display: block;
}

.hero__subtitle {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.34rem);
  line-height: 1.68;
  color: var(--text-soft);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

.hero__meta p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-soft);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.metric {
  position: relative;
  padding-left: 18px;
}

.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.metric span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 32px;
}

.action-link {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.action-link--primary {
  color: var(--accent);
}

.action-link--secondary {
  color: var(--text);
}

.hero__stage {
  position: relative;
}

.monitor-card {
  position: relative;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 24, 33, 0.2);
}

.monitor-card__header,
.monitor-card__footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.monitor-card__header {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.monitor-card__wave {
  position: relative;
  z-index: 2;
  margin: 34px 0 24px;
  padding: 26px 0;
}

.monitor-card__wave svg {
  width: 100%;
  height: auto;
}

.ecg-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecg-path--main {
  stroke: var(--accent);
  stroke-width: 5;
}

.ecg-path--ghost {
  stroke: rgba(195, 31, 50, 0.22);
  stroke-width: 3;
}

.monitor-card__grid {
  position: absolute;
  inset: 36px 0 54px;
  background-image:
    linear-gradient(rgba(195, 31, 50, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 31, 50, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.monitor-card__pulse {
  position: absolute;
  top: 50%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(195, 31, 50, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
}

.monitor-card__pulse--one {
  left: 30%;
}

.monitor-card__pulse--two {
  left: 66%;
}

.monitor-card__footer {
  align-items: flex-end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.monitor-card__footer > div {
  max-width: 50%;
}

.monitor-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-soft);
}

.monitor-card__footer strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero__diagnostics {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.diag-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.diag-line span {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-soft);
}

.diag-line strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 74px;
  overflow: hidden;
  border-top: 1px solid rgba(21, 35, 45, 0.1);
  border-bottom: 1px solid rgba(21, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero__ticker-track {
  display: inline-flex;
  gap: 26px;
  white-space: nowrap;
  padding: 14px 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__ticker-track span::after {
  content: "•";
  margin-left: 26px;
  color: rgba(21, 35, 45, 0.35);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.section-intro {
  max-width: 960px;
}

.section-intro__kicker {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.section-intro h2,
.method__copy h2,
.cta__box h2 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 34px;
}

.overview__lead,
.overview__body,
.method__copy p,
.cta__box p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.overview__rows,
.timeline__list {
  margin-top: 44px;
}

.overview-row,
.timeline-item,
.module-card,
.method-card,
.audience-card,
.outcome-card,
.cta__box {
  border: 0;
  background: transparent;
}

.overview-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.overview-row + .overview-row,
.timeline-item + .timeline-item {
  margin-top: 18px;
}

.overview-row__index,
.module-card__index,
.timeline-item__step,
.method-card span {
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  line-height: 0.82;
  color: var(--accent);
}

.overview-row h3,
.module-card h3,
.timeline-item h3,
.method-card h3,
.audience-card h3,
.outcome-card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.overview-row p,
.module-card p,
.timeline-item p,
.method-card p,
.audience-card p,
.outcome-card p {
  margin: 0;
  line-height: 1.74;
  color: var(--text-soft);
}

.modules__grid,
.audience__grid,
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.module-card,
.method-card,
.audience-card,
.outcome-card {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.modules__grid--four,
.outcomes__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card__lead {
  margin-bottom: 16px;
}

.module-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.74;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.timeline-item__eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.method__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}

.status-note {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
}

.outcome-card__index {
  display: block;
  margin-bottom: 10px;
  font-family: "Anton", sans-serif;
  font-size: 3rem;
  line-height: 0.82;
  color: var(--accent);
}

.gsap-reveal,
.split-word {
  will-change: transform, opacity;
}

.split-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-word {
  display: inline-block;
}

@media (max-width: 1120px) {
  .site-header__inner,
  .hero__layout,
  .method__grid,
  .overview__grid,
  .cta__box {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    display: grid;
  }

  .hero__metrics,
  .modules__grid,
  .audience__grid,
  .outcomes__grid,
  .method__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__ticker {
    bottom: 82px;
  }
}

@media (max-width: 820px) {
  .panel-block {
    min-height: auto;
    padding: 64px 0;
  }

  .site-header__inner {
    min-height: auto;
    padding: 8px 0;
  }

  .hero {
    padding-top: 22px;
  }

  .hero__layout,
  .overview__grid,
  .modules__grid,
  .audience__grid,
  .outcomes__grid,
  .method__cards,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .hero__ticker {
    position: static;
    margin-top: 34px;
  }

  .hero__scroll {
    position: static;
    margin-top: 24px;
    transform: none;
  }

  .overview-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .monitor-card__footer {
    flex-direction: column;
    align-items: start;
  }

  .monitor-card__footer > div {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .scene-rail {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 18px;
    width: auto;
    transform: none;
  }

  .scene-rail-track {
    height: auto;
  }

  .scene-rail-line,
  .scene-rail-progress {
    top: 10px;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    height: 2px;
  }

  .scene-rail-progress {
    width: calc(var(--rail-progress) * 100%);
  }

  .scene-rail-points {
    flex-direction: row;
    align-items: center;
    height: auto;
  }

  .scene-point {
    flex: 1 1 0;
    justify-content: center;
  }

  .scene-point-text {
    display: none;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: min(1280px, calc(100vw - 24px));
  }

  main {
    padding-top: 82px;
  }

  .brand__top {
    font-size: 0.54rem;
  }

  .brand__bottom {
    font-size: 0.76rem;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .hero__title {
    font-size: clamp(3.6rem, 16vw, 5.6rem);
  }

  .section-intro h2,
  .method__copy h2,
  .cta__box h2 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }
}
