/* Home-only header behavior and hero alignment. */
body[data-page="home"] .site-header {
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
  will-change: transform;
}

/* The logo image is already transparent; remove the white holder behind it. */
body[data-page="home"] .site-header .brand {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* The header becomes a floating navigation bar only after scrolling down. */
body[data-page="home"].home-header-scroll-active .site-header {
  position: fixed;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(17, 53, 104, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(17, 53, 104, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* Scrolling upward hides the floating menu until the next downward scroll. */
body[data-page="home"].home-header-scroll-hidden .site-header {
  transform: translate3d(0, calc(-100% - 10px), 0);
}

/* Keep the hero copy on the same left edge as the logo in the current menu. */
body[data-page="home"] .hero-content {
  padding-inline-start: var(--home-hero-copy-offset, 0px);
}

/* Lower the complete hero message without changing the height of the hero. */
@media (min-width: 761px) {
  body[data-page="home"] .hero-content {
    padding-top: clamp(158px, 18vh, 210px);
    padding-bottom: clamp(44px, 6vh, 76px);
  }
}

/* Half the previous home-page H1 scale. */
body[data-page="home"] .hero-title {
  font-size: clamp(1.3rem, 3.1vw, 3.4rem);
  line-height: 0.98;
}

@media (max-width: 760px) {
  body[data-page="home"].home-header-scroll-active .header-inner {
    min-height: 68px;
  }

  body[data-page="home"] .hero-content {
    padding-inline-start: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .site-header {
    transition: none;
  }
}

/* Biology of Human Experience: restrained infographic treatment. */
body[data-page="home"] .wellbeing-cascade {
  min-height: 0;
  padding-block: clamp(68px, 7vw, 112px);
  isolation: isolate;
  background-color: #dcecf4;
  background-image: url("../images/biology-human-experience-background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="home"] .wellbeing-cascade::before {
  background:
    linear-gradient(90deg, rgba(229, 243, 249, 0.76) 0%, rgba(235, 247, 251, 0.58) 34%, rgba(222, 239, 247, 0.38) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(216, 235, 244, 0.42) 100%);
  opacity: 1;
}

body[data-page="home"] .wellbeing-cascade .section-shell {
  width: min(1320px, calc(100% - clamp(40px, 6vw, 96px)));
}

body[data-page="home"] .wellbeing-layout {
  grid-template-columns: minmax(250px, 0.72fr) minmax(640px, 1.72fr);
  gap: clamp(62px, 7vw, 116px);
  align-items: stretch;
}

body[data-page="home"] .wellbeing-intro {
  align-self: stretch;
  width: min(100%, 300px);
  min-height: 930px;
  margin: 0;
  padding-top: 180px;
}

body[data-page="home"] .wellbeing-feedback {
  max-width: 238px;
  margin: 0 0 52px;
  gap: 18px;
}

body[data-page="home"] .wellbeing-feedback strong {
  width: 170px;
  min-height: 92px;
  border-color: rgba(53, 102, 73, 0.45);
  border-radius: 12px;
  color: #3c704a;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(18, 54, 101, 0.1);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  font-size: 1.02rem;
  line-height: 1.34;
}

body[data-page="home"] .wellbeing-feedback span {
  color: rgba(18, 54, 101, 0.78);
  font-size: 0.91rem;
  line-height: 1.58;
}

body[data-page="home"] .wellbeing-title {
  max-width: 286px;
  margin: 0;
  color: #123665;
  font-size: clamp(2rem, 2.85vw, 3.35rem);
  font-weight: 760;
  line-height: 1.08;
  text-shadow: 0 1px 20px rgba(255, 255, 255, 0.86);
}

body[data-page="home"] .wellbeing-title::after {
  width: 58px;
  margin-top: 22px;
  background: #c69644;
}

body[data-page="home"] .wellbeing-intro > p {
  max-width: 268px;
  margin: 24px 0 0;
  color: rgba(18, 54, 101, 0.78);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* One quiet connector color keeps the long feedback path legible. */
body[data-page="home"] .wellbeing-intro::before {
  top: 40px;
  bottom: 132px;
  left: calc(100% + 96px);
  width: 2px;
  background: #183146;
}

body[data-page="home"] .wellbeing-intro::after {
  left: calc(100% + 96px);
  bottom: 52px;
  width: 176px;
  height: 80px;
  border-color: #183146;
  border-radius: 0 0 0 42px;
}

body[data-page="home"] .wellbeing-feedback::before {
  left: calc(100% + 96px);
  top: -140px;
  width: 178px;
  height: 140px;
  border-color: #183146;
  border-radius: 178px 0 0 0;
}

body[data-page="home"] .wellbeing-feedback::after {
  left: calc(100% + 268px);
  top: -147px;
  border-left-color: #183146;
}

body[data-page="home"] .wellbeing-flow {
  width: min(100%, 850px);
  gap: 18px;
  padding-left: 88px;
}

body[data-page="home"] .wellbeing-card {
  --cascade-color: #1d6782 !important;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 32px;
  min-height: 94px;
}

body[data-page="home"] .wellbeing-card:first-child,
body[data-page="home"] .wellbeing-card:last-child {
  --cascade-color: #527e5d !important;
}

body[data-page="home"] .wellbeing-card::after {
  left: 76px;
  width: 15px;
  height: 2px;
  background: rgba(29, 103, 130, 0.76);
}

body[data-page="home"] .wellbeing-card-panel::before {
  left: -22px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 9px;
}

body[data-page="home"] .wellbeing-node {
  width: 76px;
  height: 76px;
  border-color: rgba(29, 103, 130, 0.45);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(18, 54, 101, 0.1);
}

body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
  bottom: -24px;
  width: 12px;
  height: 24px;
  background: #1d6782;
}

body[data-page="home"] .wellbeing-icon-svg {
  width: 38px;
  height: 38px;
  stroke-width: 3;
  filter: none;
}

body[data-page="home"] .wellbeing-card-panel {
  grid-template-columns: 104px 1px minmax(0, 1fr);
  gap: 22px;
  min-height: 94px;
  padding: 16px 30px;
  border-color: rgba(18, 54, 101, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(18, 54, 101, 0.12);
  backdrop-filter: blur(13px) saturate(118%);
  -webkit-backdrop-filter: blur(13px) saturate(118%);
}

body[data-page="home"] .wellbeing-number {
  font-size: clamp(2.45rem, 3.2vw, 3.65rem);
  font-weight: 760;
}

body[data-page="home"] .wellbeing-divider {
  height: 58px;
  background: rgba(29, 103, 130, 0.42);
}

body[data-page="home"] .wellbeing-card-body {
  width: auto;
  min-width: 0;
}

body[data-page="home"] .wellbeing-card h3 {
  margin-bottom: 6px;
  color: #1d6782;
  font-size: clamp(1rem, 1.38vw, 1.46rem);
  font-weight: 760;
  line-height: 1.16;
}

body[data-page="home"] .wellbeing-card p {
  color: rgba(18, 54, 101, 0.8);
  font-size: clamp(0.78rem, 0.95vw, 1rem);
  font-weight: 560;
  line-height: 1.48;
}

body[data-page="home"] .wellbeing-card:first-child h3,
body[data-page="home"] .wellbeing-card:last-child h3 {
  color: #527e5d;
}

@media (max-width: 1040px) {
  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: minmax(220px, 0.72fr) minmax(520px, 1.72fr);
    gap: 52px;
  }

  body[data-page="home"] .wellbeing-intro {
    min-height: 900px;
  }

}

@media (max-width: 760px) {
  body[data-page="home"] .wellbeing-cascade {
    background-position: 41% top;
  }

  body[data-page="home"] .wellbeing-cascade::before {
    background:
      linear-gradient(180deg, rgba(235, 247, 251, 0.72) 0%, rgba(224, 240, 247, 0.58) 42%, rgba(223, 239, 247, 0.76) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(216, 235, 244, 0.2));
  }

  body[data-page="home"] .wellbeing-cascade .section-shell {
    width: min(100% - 28px, var(--container));
  }

  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body[data-page="home"] .wellbeing-intro {
    min-height: auto;
    max-width: 560px;
    padding-top: 0;
  }

  body[data-page="home"] .wellbeing-feedback {
    margin-bottom: 30px;
    padding-top: 34px;
  }

  /* On a single-column layout, the feedback loop becomes a compact arc above its label. */
  body[data-page="home"] .wellbeing-intro::before,
  body[data-page="home"] .wellbeing-intro::after {
    display: none;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    display: block;
    left: 0;
    top: 0;
    width: 112px;
    height: 28px;
    border-radius: 112px 0 0 0;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    display: block;
    left: 104px;
    top: -7px;
  }

  body[data-page="home"] .wellbeing-flow {
    max-width: 100%;
    gap: 14px;
    padding-left: 0;
  }

  body[data-page="home"] .wellbeing-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
  }

  /* Preserve the node-to-card arrow at mobile widths. */
  body[data-page="home"] .wellbeing-card::after {
    display: block;
    left: 54px;
    width: 9px;
    height: 2px;
    background: color-mix(in srgb, var(--cascade-color) 84%, transparent);
  }

  body[data-page="home"] .wellbeing-card-panel::before {
    display: block;
    left: -14px;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 7px;
  }

  body[data-page="home"] .wellbeing-node {
    width: 54px;
    height: 54px;
  }

  body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
    bottom: -19px;
    width: 9px;
    height: 19px;
  }

  body[data-page="home"] .wellbeing-icon-svg {
    width: 29px;
    height: 29px;
  }

  body[data-page="home"] .wellbeing-card-panel {
    grid-template-columns: 54px 1px minmax(0, 1fr);
    gap: 12px;
    min-height: 74px;
    padding: 12px 14px;
  }

  body[data-page="home"] .wellbeing-number {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
  }

  body[data-page="home"] .wellbeing-divider {
    height: 42px;
  }

  body[data-page="home"] .wellbeing-card h3 {
    margin-bottom: 3px;
    font-size: clamp(0.9rem, 4vw, 1.08rem);
  }

  body[data-page="home"] .wellbeing-card p {
    font-size: clamp(0.72rem, 3.25vw, 0.86rem);
    line-height: 1.38;
  }
}

/* Match the compact, left-to-right infographic proportion of the reference. */
body[data-page="home"] .wellbeing-cascade {
  padding-block: clamp(48px, 5vw, 76px);
}

body[data-page="home"] .wellbeing-cascade .section-shell {
  width: min(1080px, calc(100% - clamp(40px, 6vw, 80px)));
}

body[data-page="home"] .wellbeing-layout {
  grid-template-columns: minmax(230px, 0.72fr) minmax(570px, 1.58fr);
  gap: clamp(54px, 6vw, 76px);
}

body[data-page="home"] .wellbeing-intro {
  width: min(100%, 260px);
  min-height: 652px;
  padding-top: 0;
}

body[data-page="home"] .wellbeing-feedback {
  max-width: 170px;
  margin: 160px 0 24px 24px;
  gap: 11px;
}

body[data-page="home"] .wellbeing-feedback strong {
  width: 112px;
  min-height: 62px;
  border-radius: 9px;
  font-size: 0.82rem;
  line-height: 1.28;
}

body[data-page="home"] .wellbeing-feedback span {
  font-size: 0.7rem;
  line-height: 1.46;
}

body[data-page="home"] .wellbeing-title {
  max-width: 220px;
  margin: 0 0 18px 24px;
  font-size: clamp(1.55rem, 2.28vw, 2.25rem);
  line-height: 1.08;
}

body[data-page="home"] .wellbeing-title::after {
  width: 46px;
  height: 2px;
  margin-top: 15px;
}

body[data-page="home"] .wellbeing-intro > p {
  max-width: 220px;
  margin: 0 0 0 24px;
  font-size: 0.76rem;
  line-height: 1.5;
}

/* The loop aligns with the first and last icon nodes rather than the text cards. */
body[data-page="home"] .wellbeing-intro::before {
  top: 160px;
  bottom: 134px;
  left: 238px;
  width: 2px;
}

body[data-page="home"] .wellbeing-intro::after {
  left: 238px;
  bottom: 38px;
  width: 158px;
  height: 96px;
  border-radius: 0 0 0 34px;
}

body[data-page="home"] .wellbeing-feedback::before {
  left: 206px;
  top: -136px;
  width: 162px;
  height: 136px;
  border-radius: 162px 0 0 0;
}

body[data-page="home"] .wellbeing-feedback::after {
  left: 360px;
  top: -143px;
}

body[data-page="home"] .wellbeing-flow {
  width: min(100%, 620px);
  gap: 10px;
  padding-left: 70px;
}

body[data-page="home"] .wellbeing-card {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  min-height: 58px;
}

body[data-page="home"] .wellbeing-card::after {
  left: 56px;
  width: 11px;
}

body[data-page="home"] .wellbeing-card-panel::before {
  left: -18px;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 7px;
}

body[data-page="home"] .wellbeing-node {
  width: 52px;
  height: 52px;
  box-shadow: 0 8px 18px rgba(18, 54, 101, 0.09);
}

body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
  bottom: -17px;
  width: 9px;
  height: 17px;
}

body[data-page="home"] .wellbeing-icon-svg {
  width: 31px;
  height: 31px;
  stroke-width: 3.2;
}

body[data-page="home"] .wellbeing-card-panel {
  grid-template-columns: 68px 1px minmax(0, 1fr);
  gap: 16px;
  min-height: 58px;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(18, 54, 101, 0.07);
}

body[data-page="home"] .wellbeing-number {
  font-size: clamp(1.65rem, 2.25vw, 2.2rem);
}

body[data-page="home"] .wellbeing-divider {
  height: 34px;
}

body[data-page="home"] .wellbeing-card h3 {
  margin-bottom: 2px;
  font-size: clamp(0.8rem, 0.94vw, 0.96rem);
  line-height: 1.12;
}

body[data-page="home"] .wellbeing-card p {
  font-size: clamp(0.6rem, 0.7vw, 0.69rem);
  line-height: 1.32;
}

@media (max-width: 1040px) {
  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: minmax(205px, 0.7fr) minmax(500px, 1.5fr);
    gap: 42px;
  }

  body[data-page="home"] .wellbeing-intro {
    min-height: 632px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .wellbeing-intro {
    width: 100%;
    min-height: auto;
  }

  body[data-page="home"] .wellbeing-feedback,
  body[data-page="home"] .wellbeing-title,
  body[data-page="home"] .wellbeing-intro > p {
    margin-left: 0;
  }

  body[data-page="home"] .wellbeing-flow {
    width: 100%;
    padding-left: 0;
  }

  body[data-page="home"] .wellbeing-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }

  body[data-page="home"] .wellbeing-card-panel {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    min-height: 68px;
    padding: 10px 14px;
  }

  body[data-page="home"] .wellbeing-divider {
    display: none;
  }
}

/* Desktop alignment: the feedback copy sits inside the loop and every loop end meets a node. */
@media (min-width: 1181px) {
  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: 390px 620px;
    justify-content: center;
    gap: 44px;
  }

  body[data-page="home"] .wellbeing-intro {
    width: 390px;
  }

  body[data-page="home"] .wellbeing-feedback {
    margin-left: 104px;
  }

  body[data-page="home"] .wellbeing-title,
  body[data-page="home"] .wellbeing-intro > p {
    margin-left: 104px;
  }

  /* Vertical feedback rail starts before the copy; horizontal paths meet node 01 and node 09. */
  body[data-page="home"] .wellbeing-intro::before {
    left: 26px;
  }

  body[data-page="home"] .wellbeing-intro::after {
    left: 26px;
    width: 478px;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    left: -78px;
    width: 478px;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    left: 389px;
  }
}

/* Keep the complete nine-step cascade within one desktop viewport. */
@media (min-width: 761px) {
  body[data-page="home"] .wellbeing-cascade {
    padding-block: clamp(28px, 2.8vw, 40px);
  }

  body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame {
    min-height: 0 !important;
    display: block !important;
  }

  body[data-page="home"] .wellbeing-intro {
    min-height: 518px;
  }

  body[data-page="home"] .wellbeing-feedback {
    margin-top: 130px;
    margin-bottom: 18px;
  }

  body[data-page="home"] .wellbeing-intro::before {
    top: 130px;
    bottom: 96px;
  }

  body[data-page="home"] .wellbeing-intro::after {
    bottom: 28px;
    height: 68px;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    top: -104px;
    height: 104px;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    top: -111px;
  }

  body[data-page="home"] .wellbeing-flow {
    gap: 4px;
  }

  body[data-page="home"] .wellbeing-card {
    min-height: 54px;
  }

  body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
    bottom: -12px;
    height: 13px;
  }

  body[data-page="home"] .wellbeing-card-panel {
    min-height: 54px;
    padding-block: 6px;
  }

  body[data-page="home"] .wellbeing-divider {
    height: 32px;
  }
}

/* This compact diagram should be understandable immediately, without staged scrolling. */
body[data-page="home"].js-reveal-ready .wellbeing-cascade .wellbeing-card,
body[data-page="home"].storytelling-ready .wellbeing-cascade .story-heading-reveal,
body[data-page="home"].storytelling-ready .wellbeing-cascade .story-text-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Authoritative feedback-loop geometry. The base stylesheet hides these paths below 1060px,
   so each viewport range explicitly restores the line and anchors it to the cascade nodes. */
@media (min-width: 761px) and (max-width: 1180px) {
  body[data-page="home"] .wellbeing-layout {
    --loop-intro-width: 230px;
    --loop-gap: clamp(22px, 3vw, 34px);
    --loop-flow-pad: 48px;
    --loop-rail-x: 18px;
    --loop-feedback-x: 48px;
    --loop-target-x: calc(var(--loop-intro-width) + var(--loop-gap) + var(--loop-flow-pad));
    grid-template-columns: var(--loop-intro-width) minmax(0, 620px);
    gap: var(--loop-gap);
    justify-content: center;
  }

  body[data-page="home"] .wellbeing-intro {
    position: relative;
    justify-self: stretch;
    width: var(--loop-intro-width);
    min-height: 518px;
  }

  body[data-page="home"] .wellbeing-feedback {
    margin: 130px 0 18px var(--loop-feedback-x);
  }

  body[data-page="home"] .wellbeing-flow {
    justify-self: start;
    width: 100%;
    max-width: 620px;
    padding-left: var(--loop-flow-pad);
  }

  body[data-page="home"] .wellbeing-intro::before,
  body[data-page="home"] .wellbeing-intro::after,
  body[data-page="home"] .wellbeing-feedback::before,
  body[data-page="home"] .wellbeing-feedback::after {
    display: block;
    pointer-events: none;
  }

  body[data-page="home"] .wellbeing-intro::before {
    top: 130px;
    bottom: 96px;
    left: var(--loop-rail-x);
    width: 2px;
    background: #183146;
  }

  body[data-page="home"] .wellbeing-intro::after {
    left: var(--loop-rail-x);
    bottom: 28px;
    width: calc(var(--loop-target-x) - var(--loop-rail-x));
    height: 68px;
    border-color: #183146;
    border-radius: 0 0 0 34px;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    left: calc(var(--loop-rail-x) - var(--loop-feedback-x));
    top: -104px;
    width: calc(var(--loop-target-x) - var(--loop-rail-x));
    height: 104px;
    border-color: #183146;
    border-radius: calc(var(--loop-target-x) - var(--loop-rail-x)) 0 0 0;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    left: calc(var(--loop-target-x) - var(--loop-feedback-x) - 11px);
    top: -111px;
    border-left-color: #183146;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .wellbeing-cascade .section-shell {
    position: relative;
    width: calc(100% - 28px);
    height: var(--wellbeing-mobile-height, 180px);
    overflow: visible;
  }

  body[data-page="home"] .wellbeing-layout {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1080px;
    grid-template-columns: 390px 620px;
    gap: 44px;
    align-items: stretch;
    justify-content: center;
    transform: translateX(-50%) scale(var(--wellbeing-mobile-scale, 0.34));
    transform-origin: top center;
  }

  body[data-page="home"] .wellbeing-intro {
    position: relative;
    justify-self: stretch;
    width: 390px;
    max-width: none;
    min-height: 518px;
  }

  body[data-page="home"] .wellbeing-feedback {
    position: relative;
    overflow: visible;
    max-width: 170px;
    margin: 130px 0 18px 104px;
    padding-top: 0;
  }

  body[data-page="home"] .wellbeing-title,
  body[data-page="home"] .wellbeing-intro > p {
    margin-left: 104px;
  }

  body[data-page="home"] .wellbeing-flow {
    justify-self: start;
    width: 620px;
    max-width: 620px;
    gap: 4px;
    padding-left: 70px;
  }

  body[data-page="home"] .wellbeing-intro::before,
  body[data-page="home"] .wellbeing-intro::after,
  body[data-page="home"] .wellbeing-feedback::before,
  body[data-page="home"] .wellbeing-feedback::after {
    display: block;
    pointer-events: none;
  }

  body[data-page="home"] .wellbeing-intro::before {
    top: 130px;
    bottom: 96px;
    left: 26px;
    width: 2px;
    background: #183146;
  }

  body[data-page="home"] .wellbeing-intro::after {
    left: 26px;
    bottom: 28px;
    width: 478px;
    height: 68px;
    border-color: #183146;
    border-radius: 0 0 0 34px;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    left: -78px;
    top: -104px;
    width: 478px;
    height: 104px;
    border-color: #183146;
    border-radius: 478px 0 0 0;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    left: 389px;
    top: -111px;
    border-left-color: #183146;
  }

  body[data-page="home"] .wellbeing-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
    min-height: 54px;
  }

  body[data-page="home"] .wellbeing-card::after {
    display: block;
    left: 56px;
    width: 11px;
  }

  body[data-page="home"] .wellbeing-card-panel::before {
    display: block;
    left: -18px;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 7px;
  }

  body[data-page="home"] .wellbeing-node {
    width: 52px;
    height: 52px;
  }

  body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
    bottom: -12px;
    width: 9px;
    height: 13px;
  }

  body[data-page="home"] .wellbeing-card-panel {
    grid-template-columns: 68px 1px minmax(0, 1fr);
    gap: 16px;
    min-height: 54px;
    padding: 6px 18px;
  }

  body[data-page="home"] .wellbeing-divider {
    display: block;
    height: 32px;
  }
}

/* Biology of Human Experience — desktop proportions measured from Asset 1@2x.png.
   The reference is a 2048 x 840 @2x export, so the layout scales from a
   1024 x 420 CSS-pixel design and caps at the source artwork size. */
/* Keep the inter-step arrows fully visible between each node. */
body[data-page="home"] .wellbeing-card,
body[data-page="home"] .wellbeing-node {
  overflow: visible;
}

body[data-page="home"] .wellbeing-card {
  z-index: calc(9 - var(--cascade-index, 0));
}

body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
  bottom: -5px;
  z-index: 4;
  width: 7px;
  height: 5px;
}

@media (min-width: 1024px) {
  body[data-page="home"] .wellbeing-cascade,
  body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame {
    display: block !important;
    height: min(43.310546875vw, 887px);
    min-height: min(43.310546875vw, 887px) !important;
    padding: min(2.44140625vw, 50px) 0 min(2.34375vw, 48px);
    background-position: center center;
    background-size: cover;
  }

  body[data-page="home"] .wellbeing-cascade::before {
    background:
      linear-gradient(90deg, rgba(232, 246, 251, 0.74) 0%, rgba(235, 247, 251, 0.58) 38%, rgba(220, 238, 246, 0.36) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(213, 233, 242, 0.38) 100%);
  }

  body[data-page="home"] .wellbeing-cascade .section-shell,
  body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame > .section-shell {
    width: min(69.287109375vw, 1419px) !important;
    height: min(38.525390625vw, 789px);
    margin: 0 auto !important;
    transform: none;
  }

  body[data-page="home"] .wellbeing-layout {
    grid-template-columns: min(25.390625vw, 520px) min(40.478515625vw, 829px);
    gap: min(3.41796875vw, 70px);
    align-items: stretch;
    justify-content: start;
  }

  body[data-page="home"] .wellbeing-intro,
  body.storytelling-ready[data-page="home"] .wellbeing-cascade .wellbeing-intro {
    position: relative !important;
    top: auto !important;
    width: min(25.390625vw, 520px);
    max-width: none;
    min-height: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    transform: none !important;
  }

  body[data-page="home"] .wellbeing-feedback {
    position: static;
    display: block;
    width: 0;
    height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body[data-page="home"] .wellbeing-feedback span {
    position: absolute;
    top: min(13.623046875vw, 279px);
    left: min(6.7138671875vw, 137.5px);
    width: min(11.81640625vw, 242px);
    color: rgba(18, 54, 101, 0.82);
    font-size: min(0.78125vw, 16px);
    font-weight: 520;
    line-height: 1.32;
  }

  body[data-page="home"] .wellbeing-feedback strong {
    position: absolute;
    top: min(16.2109375vw, 332px);
    left: min(23.7548828125vw, 486.5px);
    z-index: 3;
    width: min(7.421875vw, 152px);
    min-height: min(4.00390625vw, 82px);
    border: 1px solid rgba(64, 111, 78, 0.32);
    border-radius: min(0.5859375vw, 12px);
    color: #4e7d59;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 min(0.48828125vw, 10px) min(1.5625vw, 32px) rgba(18, 54, 101, 0.09);
    font-size: min(0.830078125vw, 17px);
    line-height: 1.32;
  }

  body[data-page="home"] .wellbeing-title {
    position: absolute;
    top: min(19.23828125vw, 394px);
    left: min(6.7138671875vw, 137.5px);
    width: min(15.13671875vw, 310px);
    max-width: none;
    margin: 0;
    color: #11396d;
    font-size: min(2.34375vw, 48px);
    font-weight: 770;
    line-height: 1.04;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  body[data-page="home"] .wellbeing-title::after {
    width: min(3.02734375vw, 62px);
    height: min(0.09765625vw, 2px);
    margin-top: min(0.78125vw, 16px);
    background: #c99336;
  }

  body[data-page="home"] .wellbeing-intro > p {
    position: absolute;
    top: min(28.955078125vw, 593px);
    left: min(6.7138671875vw, 137.5px);
    width: min(13.18359375vw, 270px);
    max-width: none;
    margin: 0;
    color: rgba(18, 54, 101, 0.82);
    font-size: min(0.78125vw, 16px);
    font-weight: 560;
    line-height: 1.5;
  }

  body[data-page="home"] .wellbeing-intro::before,
  body[data-page="home"] .wellbeing-intro::after,
  body[data-page="home"] .wellbeing-feedback::before,
  body[data-page="home"] .wellbeing-feedback::after {
    display: block;
    pointer-events: none;
  }

  body[data-page="home"] .wellbeing-intro::before {
    top: min(1.85546875vw, 38px);
    bottom: min(1.806640625vw, 37px);
    left: min(27.5146484375vw, 563.5px);
    width: 0;
    border-left: min(0.09765625vw, 2px) dashed rgba(78, 125, 89, 0.72);
    border-radius: 0;
    background: none;
  }

  body[data-page="home"] .wellbeing-intro::after {
    left: min(27.5146484375vw, 563.5px);
    bottom: min(1.806640625vw, 37px);
    width: min(5.17578125vw, 106px);
    height: 0;
    border: 0;
    border-bottom: min(0.09765625vw, 2px) dashed rgba(78, 125, 89, 0.72);
    border-radius: 0;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    top: min(1.85546875vw, 38px);
    left: min(27.5146484375vw, 563.5px);
    width: min(5.17578125vw, 106px);
    height: 0;
    border: 0;
    border-top: min(0.09765625vw, 2px) dashed rgba(78, 125, 89, 0.72);
    border-radius: 0;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    top: min(1.513671875vw, 31px);
    left: min(32.470703125vw, 665px);
    border-top-width: min(0.341796875vw, 7px);
    border-bottom-width: min(0.341796875vw, 7px);
    border-left-width: min(0.537109375vw, 11px);
    border-left-color: #5b8a65;
    filter: none;
  }

  body[data-page="home"] .wellbeing-flow {
    justify-self: start;
    width: min(39.794921875vw, 815px);
    max-width: none;
    height: 100%;
    gap: min(0.5859375vw, 12px);
    padding-left: min(4.150390625vw, 85px);
    transform: translateX(max(-0.48828125vw, -10px));
  }

  body[data-page="home"] .wellbeing-card {
    --cascade-color: #176a83 !important;
    grid-template-columns: min(3.515625vw, 72px) minmax(0, 1fr);
    gap: min(1.7578125vw, 36px);
    min-height: min(3.759765625vw, 77px);
    height: min(3.759765625vw, 77px);
  }

  body[data-page="home"] .wellbeing-card:first-child,
  body[data-page="home"] .wellbeing-card:last-child {
    --cascade-color: #527f5d !important;
  }

  body[data-page="home"] .wellbeing-card::after {
    left: min(3.515625vw, 72px);
    width: min(0.78125vw, 16px);
    height: min(0.09765625vw, 2px);
    background: var(--cascade-color);
  }

  body[data-page="home"] .wellbeing-card-panel::before {
    left: max(-1.07421875vw, -22px);
    border-top-width: min(0.29296875vw, 6px);
    border-bottom-width: min(0.29296875vw, 6px);
    border-left-width: min(0.48828125vw, 10px);
  }

  body[data-page="home"] .wellbeing-node {
    width: min(3.515625vw, 72px);
    height: min(3.515625vw, 72px);
    border-color: color-mix(in srgb, var(--cascade-color) 48%, transparent);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 min(0.244140625vw, 5px) min(0.830078125vw, 17px) rgba(18, 54, 101, 0.09);
  }

  body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
    bottom: max(-0.78125vw, -16px);
    z-index: 4;
    width: min(0.5859375vw, 12px);
    height: min(0.78125vw, 16px);
    background: var(--cascade-color);
  }

  body[data-page="home"] .wellbeing-icon-svg {
    width: min(1.66015625vw, 34px);
    height: min(1.66015625vw, 34px);
    stroke-width: 3;
    filter: none;
  }

  body[data-page="home"] .wellbeing-card-panel {
    grid-template-columns: min(4.58984375vw, 94px) 1px minmax(0, 1fr);
    gap: min(0.9765625vw, 20px);
    min-height: min(3.759765625vw, 77px);
    height: min(3.759765625vw, 77px);
    padding: min(0.390625vw, 8px) min(0.9765625vw, 20px);
    border-color: rgba(18, 54, 101, 0.08);
    border-radius: min(0.5859375vw, 12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 min(0.341796875vw, 7px) min(1.171875vw, 24px) rgba(18, 54, 101, 0.08);
    backdrop-filter: blur(10px) saturate(110%);
    -webkit-backdrop-filter: blur(10px) saturate(110%);
  }

  body[data-page="home"] .wellbeing-number {
    font-size: min(2.34375vw, 48px);
    font-weight: 760;
  }

  body[data-page="home"] .wellbeing-divider {
    display: block;
    height: min(2.34375vw, 48px);
    background: color-mix(in srgb, var(--cascade-color) 42%, transparent);
  }

  body[data-page="home"] .wellbeing-card h3 {
    margin-bottom: min(0.09765625vw, 2px);
    color: var(--cascade-color);
    font-size: min(0.9765625vw, 20px);
    font-weight: 760;
    line-height: 1.08;
  }

  body[data-page="home"] .wellbeing-card p {
    color: rgba(18, 54, 101, 0.82);
    font-size: min(0.732421875vw, 15px);
    font-weight: 560;
    line-height: 1.18;
  }
}

/* Science Platform: compact ten-card grid on the left, preserving the person on the right. */
body[data-page="home"] .concept {
  isolation: isolate;
  padding-block: clamp(36px, 4vw, 60px);
  background-color: #cfded8;
  background-image: url("../images/science-platform-cards-background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="home"] .concept::before {
  background:
    linear-gradient(90deg, rgba(229, 242, 237, 0.62) 0%, rgba(222, 238, 233, 0.42) 43%, rgba(205, 226, 220, 0.1) 64%, rgba(23, 58, 54, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(23, 57, 53, 0.1) 100%);
  opacity: 1;
}

body[data-page="home"] .concept .section-shell {
  width: min(760px, 52vw) !important;
  margin-right: auto !important;
  margin-left: clamp(120px, 18vw, 280px) !important;
}

body[data-page="home"] .concept-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 14px);
}

body[data-page="home"] .concept .concept-item {
  min-height: clamp(164px, 14vw, 190px);
  padding: clamp(12px, 1.15vw, 16px);
  border: 1px solid rgba(235, 255, 252, 0.68);
  border-radius: clamp(14px, 1.4vw, 20px);
  background:
    linear-gradient(180deg, rgba(10, 38, 37, 0.03) 10%, rgba(12, 29, 28, 0.78) 100%),
    var(--concept-card-image);
  background-position: center;
  background-size: cover;
  box-shadow:
    0 22px 52px rgba(24, 68, 66, 0.22),
    inset 0 1px 0 rgba(244, 255, 253, 0.38);
}

body[data-page="home"] .concept .concept-item h3 {
  color: #f9fffd;
  font-size: clamp(0.72rem, 0.92vw, 0.96rem);
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(7, 31, 30, 0.76);
}

/* Keep the long Neuroplasticity label inside its compact card. */
body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] {
  padding-bottom: clamp(18px, 1.55vw, 22px);
}

body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3 {
  width: 100%;
  font-size: calc(clamp(0.78rem, 1vw, 1rem) - 1pt);
  line-height: 1.22;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

html[lang="th"] body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3 {
  font-size: calc(clamp(0.48rem, 0.73vw, 0.66rem) - 1pt);
  letter-spacing: -0.085em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1180px) and (min-width: 761px) {
  body[data-page="home"] .concept .section-shell {
    width: min(660px, 64vw) !important;
    margin-left: clamp(22px, 3vw, 40px) !important;
  }

  body[data-page="home"] .concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="home"] .concept .concept-item {
    min-height: 132px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .concept {
    background-position: 91% top;
    background-size: auto 860px;
  }

  body[data-page="home"] .concept::before {
    background:
      linear-gradient(180deg, rgba(240, 251, 249, 0.66) 0%, rgba(222, 241, 239, 0.48) 52%, rgba(205, 228, 225, 0.6) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(24, 75, 73, 0.13));
  }

  body[data-page="home"] .concept .section-shell {
    width: min(100% - 28px, var(--container)) !important;
    margin-inline: auto !important;
  }

  body[data-page="home"] .concept-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="home"] .concept .concept-item {
    min-height: 210px;
  }
}

/* Science topic gallery: editorial mosaic inspired by the supplied Agrize reference. */
body[data-page="home"] .concept {
  padding-block: 0;
  background: #075b55;
  content-visibility: visible !important;
  contain: none !important;
}

body[data-page="home"] .concept.scroll-reveal,
body[data-page="home"].js-reveal-ready .concept.scroll-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

body[data-page="home"] .concept::before {
  display: none;
}

body[data-page="home"] .concept .section-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body[data-page="home"] .concept-grid {
  counter-reset: concept-card;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(252px, 23.45vw, 336px) clamp(168px, 15.05vw, 217px);
  gap: 0;
  overflow: hidden;
  background: #075b55;
}

body[data-page="home"] .concept .concept-item {
  --mosaic-overlay: rgba(4, 37, 35, 0.28);
  counter-increment: concept-card;
  position: relative;
  min-height: 0;
  min-width: 0;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(22px, 2.15vw, 38px);
  border: 0;
  border-radius: 0;
  color: #f8fff9;
  background-color: #075b55;
  background-image: var(--concept-card-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  isolation: isolate;
}

body[data-page="home"] .concept .concept-item:nth-child(-n + 4) {
  grid-column: span 3;
}

body[data-page="home"] .concept .concept-item:nth-child(n + 5) {
  grid-column: span 2;
}

body[data-page="home"] .concept .concept-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--mosaic-overlay);
  pointer-events: none;
  transition: background-color 420ms ease;
}

body[data-page="home"] .concept .concept-item::after {
  content: counter(concept-card, decimal-leading-zero);
  position: absolute;
  top: clamp(18px, 1.8vw, 28px);
  right: clamp(18px, 1.8vw, 28px);
  bottom: auto;
  left: auto;
  z-index: 2;
  width: auto;
  height: auto;
  border-radius: 0;
  color: currentColor;
  background: none;
  font-size: clamp(0.66rem, 0.72vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

body[data-page="home"] .concept .concept-item h3 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: 0;
  color: inherit;
  font-size: clamp(0.98rem, 1.42vw, 1.55rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: none;
  text-wrap: balance;
}

body[data-page="home"] .concept .concept-item h3::before {
  content: var(--arotec-label-science, "A&S SCIENCE");
  display: block;
  margin-bottom: clamp(9px, 0.8vw, 13px);
  font-size: clamp(0.58rem, 0.62vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
}

body[data-page="home"] .concept .concept-item:nth-child(n + 5) h3 {
  max-width: 15ch;
  font-size: clamp(0.98rem, 1.42vw, 1.55rem);
}

body[data-page="home"] .concept .concept-item:nth-child(1) {
  --mosaic-overlay: rgba(1, 78, 70, 0.9);
  align-items: center;
  justify-content: center;
  text-align: center;
}

body[data-page="home"] .concept .concept-item:nth-child(2),
body[data-page="home"] .concept .concept-item:nth-child(4),
body[data-page="home"] .concept .concept-item:nth-child(7),
body[data-page="home"] .concept .concept-item:nth-child(9) {
  --mosaic-overlay: rgba(3, 31, 30, 0.26);
}

body[data-page="home"] .concept .concept-item:nth-child(3),
body[data-page="home"] .concept .concept-item:nth-child(6) {
  --mosaic-overlay: rgba(245, 244, 237, 0.92);
  align-items: center;
  color: #075b55;
}

body[data-page="home"] .concept .concept-item:nth-child(5) {
  --mosaic-overlay: rgba(0, 160, 113, 0.88);
}

body[data-page="home"] .concept .concept-item:nth-child(8) {
  --mosaic-overlay: rgba(0, 85, 78, 0.86);
  align-items: center;
}

body[data-page="home"] .concept .concept-item:nth-child(10) {
  --mosaic-overlay: rgba(0, 74, 68, 0.82);
}

body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] {
  padding-bottom: clamp(22px, 2.15vw, 38px);
}

body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3,
html[lang="th"] body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3 {
  width: auto;
  font-size: clamp(0.98rem, 1.42vw, 1.55rem);
  letter-spacing: -0.035em;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

@media (hover: hover) {
  body[data-page="home"] .concept .concept-item:hover,
  body[data-page="home"] .concept .concept-item:focus-within {
    z-index: 3;
    transform: none;
    filter: saturate(1.08) contrast(1.03);
    box-shadow: inset 0 0 0 3px rgba(248, 255, 249, 0.72);
  }

  body[data-page="home"] .concept .concept-item:hover::before,
  body[data-page="home"] .concept .concept-item:focus-within::before {
    background: color-mix(in srgb, var(--mosaic-overlay) 86%, transparent);
  }
}

body[data-page="home"] .concept .concept-item:focus-visible {
  z-index: 4;
  outline: 3px solid #ffffff;
  outline-offset: -5px;
}

body[data-page="home"].storytelling-ready main > .concept.story-section-frame {
  min-height: 0 !important;
  display: block !important;
  align-items: initial !important;
}

body[data-page="home"] .concept .concept-item.story-image-reveal,
body[data-page="home"].storytelling-ready .concept .concept-item.story-image-reveal,
body[data-page="home"].storytelling-ready .concept.story-section-frame.is-story-visible .concept-item.story-image-reveal {
  opacity: 1;
  clip-path: none !important;
  border-radius: 0 !important;
  transform: none;
  filter: none;
}

@media (max-width: 900px) {
  body[data-page="home"] .concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(168px, 43.4vw, 238px);
  }

  body[data-page="home"] .concept .concept-item:nth-child(n) {
    grid-column: span 1;
    min-height: 0;
    padding: clamp(20px, 5vw, 30px);
  }

  body[data-page="home"] .concept .concept-item:nth-child(5),
  body[data-page="home"] .concept .concept-item:nth-child(10) {
    grid-column: 1 / -1;
    min-height: clamp(147px, 35vw, 203px);
  }

  body[data-page="home"] .concept .concept-item h3,
  body[data-page="home"] .concept .concept-item:nth-child(n + 5) h3,
  body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3,
  html[lang="th"] body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3 {
    font-size: clamp(1.05rem, 4.2vw, 1.55rem);
  }
}

@media (max-width: 540px) {
  body[data-page="home"] .concept-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: min(65.8vw, 266px);
  }

  body[data-page="home"] .concept .concept-item:nth-child(n),
  body[data-page="home"] .concept .concept-item:nth-child(5),
  body[data-page="home"] .concept .concept-item:nth-child(10) {
    grid-column: 1;
    min-height: 0;
  }

  body[data-page="home"] .concept .concept-item h3,
  body[data-page="home"] .concept .concept-item:nth-child(n + 5) h3,
  body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3,
  html[lang="th"] body[data-page="home"] .concept .concept-item[style*="science-platform-neuroplasticity"] h3 {
    max-width: 16ch;
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
}

/* Biology of Human Experience: cellular-blue background with transparent glass cards. */
body[data-page="home"] .wellbeing-cascade {
  background-color: #052a54;
  background-image: url("../images/biology-human-experience-cellular-blue.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="home"] .wellbeing-cascade::before {
  background:
    linear-gradient(90deg, rgba(2, 22, 52, 0.62) 0%, rgba(3, 35, 74, 0.42) 46%, rgba(7, 50, 96, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 23, 54, 0.14) 0%, rgba(2, 24, 58, 0.34) 100%);
  opacity: 1;
}

body[data-page="home"] .wellbeing-cascade .wellbeing-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .wellbeing-cascade .wellbeing-card-panel {
  border-color: rgba(220, 246, 255, 0.22);
  background: rgba(5, 29, 63, 0.16);
  box-shadow:
    0 12px 30px rgba(0, 15, 41, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px) saturate(112%);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-node {
  border-color: rgba(220, 246, 255, 0.38);
  color: #d7f5ff;
  background: rgba(5, 29, 63, 0.14);
  box-shadow:
    0 9px 24px rgba(0, 15, 41, 0.2),
    0 0 0 5px rgba(218, 245, 255, 0.08);
  backdrop-filter: blur(8px) saturate(112%);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-card {
  --cascade-color: #d7f5ff !important;
}

body[data-page="home"] .wellbeing-cascade .wellbeing-card:first-child,
body[data-page="home"] .wellbeing-cascade .wellbeing-card:last-child {
  --cascade-color: #c9f2d8 !important;
}

body[data-page="home"] .wellbeing-cascade .wellbeing-title,
body[data-page="home"] .wellbeing-cascade .wellbeing-card p,
body[data-page="home"] .wellbeing-cascade .wellbeing-intro > p,
body[data-page="home"] .wellbeing-cascade .wellbeing-feedback span {
  color: rgba(246, 252, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 18, 48, 0.46);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-card h3,
body[data-page="home"] .wellbeing-cascade .wellbeing-number {
  color: var(--cascade-color);
  text-shadow: 0 2px 18px rgba(0, 18, 48, 0.52);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-divider {
  background: rgba(220, 246, 255, 0.28);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-feedback strong {
  isolation: isolate;
  z-index: 6;
  border-color: rgba(220, 246, 255, 0.3);
  color: #d7f3e1;
  background: rgba(5, 29, 63, 0.9);
  box-shadow:
    0 12px 30px rgba(0, 15, 41, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-intro::before,
body[data-page="home"] .wellbeing-cascade .wellbeing-intro::after,
body[data-page="home"] .wellbeing-cascade .wellbeing-feedback::before {
  border-color: rgba(201, 242, 216, 0.7);
}

body[data-page="home"] .wellbeing-cascade .wellbeing-feedback::after {
  border-left-color: rgba(201, 242, 216, 0.82);
}

@media (max-width: 760px) {
  body[data-page="home"] .wellbeing-cascade {
    background-position: 36% center;
  }

  body[data-page="home"] .wellbeing-cascade::before {
    background:
      linear-gradient(180deg, rgba(2, 22, 52, 0.54) 0%, rgba(3, 34, 72, 0.4) 48%, rgba(2, 25, 59, 0.58) 100%),
      linear-gradient(90deg, rgba(2, 22, 52, 0.28), rgba(7, 50, 96, 0.1));
  }
}

/* Biology of Human Experience: preserve the desktop composition below 1024px.
   The 2048px reference canvas scales as one unit so typography, connectors,
   cards, and feedback-loop geometry remain identical at every viewport. */
@media (max-width: 1023px) {
  body[data-page="home"] .wellbeing-cascade,
  body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame {
    position: relative;
    display: block !important;
    height: var(--wellbeing-responsive-height, 443.5px);
    min-height: var(--wellbeing-responsive-height, 443.5px) !important;
    padding: 0;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
  }

  body[data-page="home"] .wellbeing-cascade .section-shell,
  body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame > .section-shell {
    position: absolute;
    top: var(--wellbeing-responsive-top, 25px);
    left: 50%;
    width: 1419px !important;
    height: 789px !important;
    margin: 0 !important;
    overflow: visible;
    transform: translateX(-50%) scale(var(--wellbeing-unified-scale, 0.5)) !important;
    transform-origin: top center;
  }

  body[data-page="home"] .wellbeing-layout {
    position: static;
    width: 1419px;
    height: 789px;
    grid-template-columns: 520px 829px;
    gap: 70px;
    align-items: stretch;
    justify-content: start;
    transform: none !important;
  }

  body[data-page="home"] .wellbeing-intro,
  body.storytelling-ready[data-page="home"] .wellbeing-cascade .wellbeing-intro {
    position: relative !important;
    top: auto !important;
    justify-self: stretch;
    width: 520px;
    max-width: none;
    min-height: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    transform: none !important;
  }

  body[data-page="home"] .wellbeing-feedback {
    position: static;
    display: block;
    width: 0;
    height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  body[data-page="home"] .wellbeing-feedback span {
    position: absolute;
    top: 279px;
    left: 137.5px;
    width: 242px;
    font-size: 16px;
    font-weight: 520;
    line-height: 1.32;
  }

  body[data-page="home"] .wellbeing-feedback strong {
    position: absolute;
    top: 332px;
    left: 486.5px;
    z-index: 6;
    width: 152px;
    min-height: 82px;
    border-radius: 12px;
    font-size: 17px;
    line-height: 1.32;
  }

  body[data-page="home"] .wellbeing-title {
    position: absolute;
    top: 394px;
    left: 137.5px;
    width: 310px;
    max-width: none;
    margin: 0;
    font-size: 48px;
    font-weight: 770;
    line-height: 1.04;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  body[data-page="home"] .wellbeing-title::after {
    width: 62px;
    height: 2px;
    margin-top: 16px;
  }

  body[data-page="home"] .wellbeing-intro > p {
    position: absolute;
    top: 593px;
    left: 137.5px;
    width: 270px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: 560;
    line-height: 1.5;
  }

  body[data-page="home"] .wellbeing-intro::before,
  body[data-page="home"] .wellbeing-intro::after,
  body[data-page="home"] .wellbeing-feedback::before,
  body[data-page="home"] .wellbeing-feedback::after {
    display: block;
    pointer-events: none;
  }

  body[data-page="home"] .wellbeing-intro::before {
    top: 38px;
    bottom: 37px;
    left: 563.5px;
    width: 0;
    border-left: 2px dashed rgba(201, 242, 216, 0.7);
    border-radius: 0;
    background: none;
  }

  body[data-page="home"] .wellbeing-intro::after {
    left: 563.5px;
    bottom: 37px;
    width: 106px;
    height: 0;
    border: 0;
    border-bottom: 2px dashed rgba(201, 242, 216, 0.7);
    border-radius: 0;
  }

  body[data-page="home"] .wellbeing-feedback::before {
    top: 38px;
    left: 563.5px;
    width: 106px;
    height: 0;
    border: 0;
    border-top: 2px dashed rgba(201, 242, 216, 0.7);
    border-radius: 0;
  }

  body[data-page="home"] .wellbeing-feedback::after {
    top: 31px;
    left: 665px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
    border-left-color: rgba(201, 242, 216, 0.82);
    filter: none;
  }

  body[data-page="home"] .wellbeing-flow {
    justify-self: start;
    width: 815px;
    max-width: none;
    height: 100%;
    gap: 12px;
    padding-left: 85px;
    transform: translateX(-10px);
  }

  body[data-page="home"] .wellbeing-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 36px;
    min-height: 77px;
    height: 77px;
  }

  body[data-page="home"] .wellbeing-card::after {
    display: block;
    left: 72px;
    width: 16px;
    height: 2px;
  }

  body[data-page="home"] .wellbeing-card-panel::before {
    display: block;
    left: -22px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  body[data-page="home"] .wellbeing-node {
    width: 72px;
    height: 72px;
  }

  body[data-page="home"] .wellbeing-card:not(:last-child) .wellbeing-node::after {
    bottom: -16px;
    z-index: 4;
    width: 12px;
    height: 16px;
  }

  body[data-page="home"] .wellbeing-icon-svg {
    width: 34px;
    height: 34px;
    stroke-width: 3;
  }

  body[data-page="home"] .wellbeing-card-panel {
    grid-template-columns: 94px 1px minmax(0, 1fr);
    gap: 20px;
    min-height: 77px;
    height: 77px;
    padding: 8px 20px;
    border-radius: 12px;
  }

  body[data-page="home"] .wellbeing-number {
    font-size: 48px;
    font-weight: 760;
  }

  body[data-page="home"] .wellbeing-divider {
    display: block;
    height: 48px;
  }

  body[data-page="home"] .wellbeing-card h3 {
    margin-bottom: 2px;
    font-size: 20px;
    font-weight: 760;
    line-height: 1.08;
  }

  body[data-page="home"] .wellbeing-card p {
    font-size: 15px;
    font-weight: 560;
    line-height: 1.18;
  }
}

/* The section heading uses the shared, unscaled typography specification.
   Only the infographic remains on its original responsive reference canvas. */
body[data-page="home"] .wellbeing-cascade,
body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame {
  position: relative;
  display: block !important;
  height: auto;
  min-height: 0 !important;
  padding-block: clamp(48px, 5vw, 80px);
  overflow: hidden;
}

body[data-page="home"] .wellbeing-cascade > .section-shell.wellbeing-heading,
body.storytelling-ready[data-page="home"] main > .wellbeing-cascade.story-section-frame > .section-shell.wellbeing-heading {
  position: relative;
  inset: auto;
  display: grid;
  gap: 24px;
  width: min(1320px, calc(100% - clamp(40px, 6vw, 96px))) !important;
  height: auto !important;
  margin: 0 auto 32px !important;
  overflow: visible;
  transform: none !important;
}

body[data-page="home"] .wellbeing-heading > .wellbeing-title {
  position: static;
  inset: auto;
  width: 100%;
  max-width: 1080px;
  margin: 0;
  text-wrap: balance;
}

body[data-page="home"] .wellbeing-heading > .wellbeing-title::after {
  display: none;
}

body[data-page="home"] .wellbeing-heading > p {
  position: static;
  width: 100%;
  max-width: 960px;
  margin: 0;
  color: rgba(246, 252, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 18, 48, 0.46);
}

body[data-page="home"] .wellbeing-diagram {
  position: relative;
  width: 100%;
  height: min(38.525390625vw, 789px);
}

body[data-page="home"] .wellbeing-diagram > .wellbeing-layout {
  top: 0;
}
