/* 2 Nov (Shali): Chaitanya's exact section content in the original three sections. Small additions only. */
/* Horizon story: "Explore the assessment" under each portrait card, a quiet text link. */
#assessment .hz-explore { display: inline-flex; align-items: center; gap: 6px; color: var(--void); text-decoration: underline;
  text-decoration-color: rgba(14, 14, 15, .28); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
#assessment .hz-explore:hover { text-decoration-color: var(--void); }
#assessment .hz-explore span { color: #8a6a3f; }
/* Beyond: eight add-ons, each with its own line; rows a touch tighter than the three-group version so the list breathes. */
html[data-bh="a"] .bh-list-8 .bh-item { padding: 18px 0; }
html[data-bh="a"] .bh-list-8 .bh-t { font-size: clamp(24px, 2.1vw, 32px); }
html[data-bh="a"] .bh-list-8 .bh-d { margin-top: 8px !important; font-size: 15px; }
.bh-note { margin: 22px 0 0 56px !important; font: 400 13px/1.5 var(--f-text); color: rgba(233, 228, 218, .5); }
@media (max-width: 759px) { .bh-note { margin-left: 0 !important; } }

/* 2 Nov third trim: Beyond a little tighter top and bottom. */
html[data-bh="a"] #beyond { padding-block: clamp(72px, 9vw, 120px); }
html[data-bh="a"] .bh-list-8 .bh-item { padding-block: 18px !important; }
/* Phone, third trim: Male / Female side by side (the copy is now one short link each), and less air between scenes. */
@media (max-width: 759px) {
  #assessment .hz-scene { padding-block: 56px !important; }
  #assessment .hz-scene-paths { padding: 48px 16px !important; }
  #assessment .hz-paths.hz-portrait-cards { grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  #assessment .hz-portrait-cards .hz-path { height: 360px; border-radius: 20px; }
  #assessment .hz-portrait-cards .hz-path-body { padding: 14px; gap: 10px; }
  #assessment .hz-portrait-cards .hz-path-copy { min-height: 0; }
  #assessment .hz-portrait-cards .hz-pt { font-size: 20px; }
  #assessment .hz-portrait-cards .hz-pd { margin-top: 6px; font-size: 13px; }
  html[data-bh="a"] .bh-list-8 .bh-item { padding-block: 14px !important; }
  .bh { padding-block: 64px !important; }
}

/* 2 Nov (Shali: bring the content together instead of faster scrolling): the Horizon story is folded into the quiet story's
   third stage. Two rows of the same cream glass cards: the three facts, then Male / Female Horizon and the founding offer.
   Same original pace; the second row only tightens the cards so the whole stage fits one screen. */
.quiet-points-inner { width: min(1120px, 100%); }
.quiet-cards-2 { margin-top: 14px !important; }
.quiet-points .quiet-cards li { padding: 22px 22px 24px; }
.quiet-points .quiet-cards .qc-ic { width: 40px; height: 40px; margin-bottom: 12px; }
.quiet-points .quiet-cards h3 { margin-bottom: 8px; }
.qc-path { display: grid !important; grid-template-columns: 64px 1fr; gap: 14px; align-items: end; }
.qc-fig { width: 64px; height: 84px; object-fit: contain; object-position: bottom; display: block; }
.qc-link { color: var(--void); text-decoration: underline; text-decoration-color: rgba(14,14,15,.28); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
.qc-link:hover { text-decoration-color: var(--void); }
.qc-link span { color: #8a6a3f; }
.qc-offer { display: flex !important; flex-direction: column; justify-content: space-between; gap: 10px; }
.quiet-cards .qc-ol { font-size: 13px !important; color: rgba(14,14,15,.6) !important; }
.quiet-cards .qc-price { display: flex; align-items: baseline; gap: 10px; }
.qc-price s { font-size: 15px; color: rgba(14,14,15,.45); }
.qc-price strong { font: 300 clamp(32px, 2.8vw, 40px)/1 var(--f-display); letter-spacing: -.04em; color: var(--void); }
.qc-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 16px;
  background: var(--void); color: var(--star); font: 500 14px/1 var(--f-text); cursor: pointer; transition: background-color .3s ease; }
.qc-cta:hover { background: #2a2a2b; }
.qc-cta .pki { width: 16px; height: 16px; }
@media (max-width: 759px) {
  .quiet-points .quiet-cards:not(.quiet-cards-2) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .quiet-points .quiet-cards:not(.quiet-cards-2) li { padding: 14px 12px; }
  .quiet-points .quiet-cards:not(.quiet-cards-2) .qc-ic { width: 28px; height: 28px; margin-bottom: 8px; }
  .quiet-points .quiet-cards:not(.quiet-cards-2) h3 { font-size: 17px; margin-bottom: 4px; }
  .quiet-points .quiet-cards:not(.quiet-cards-2) p { font-size: 11.5px; }
  .quiet-cards-2 { grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 8px !important; }
  .quiet-cards-2 .qc-path { grid-template-columns: 1fr; padding: 14px 12px !important; gap: 6px; }
  .quiet-cards-2 .qc-fig { width: 44px; height: 58px; }
  .quiet-cards-2 h3 { font-size: 18px !important; }
  .quiet-cards-2 .qc-link { font-size: 12px; }
  .quiet-cards-2 .qc-offer { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 14px !important; }
  .qc-price strong { font-size: 30px; }
  .qc-cta { width: 100%; }
  .quiet-points-heading { margin-bottom: 16px !important; }
}

/* 2 Nov: the nine areas as an icon row under the paragraph (Chaitanya's coverage line). They rise in one by one once the
   paragraph stage is on screen; same Flex Line icons as the cards, Starlight on Void. */
.quiet-areas { list-style: none; margin: clamp(28px, 5vh, 52px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px; max-width: 980px; }
.quiet-areas li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.qa-ic { display: block; width: 34px; height: 34px; color: var(--gold); }
.qa-t { font: 400 13px/1.35 var(--f-text); letter-spacing: 0; color: rgba(233, 228, 218, .78); white-space: normal; }
html.js .quiet-story.is-animated .quiet-areas li { opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
html.js .quiet-story.is-animated .quiet-explanation.is-active .quiet-areas li { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i) * .07s); }
@media (max-width: 1099px) { .quiet-areas { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 20px; max-width: 620px; } }
@media (max-width: 759px) {
  .quiet-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; margin-top: 28px; }
  .qa-ic { width: 28px; height: 28px; }
  .qa-t { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html.js .quiet-story.is-animated .quiet-areas li { opacity: 1; transform: none; transition: none; } }
/* Beyond: each add-on title links to its detail on the Diagnostics page, like Chaitanya's rows. */
.bh-link { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; transition: color .3s ease; }
.bh-arrow { color: var(--gold); font-size: .7em; transition: transform .3s ease; }
.bh-link:hover { color: var(--gold); }
.bh-link:hover .bh-arrow { transform: translate(2px, -2px); }

/* 2 Nov (Shali): the nine areas as larger outline cards in one row that glides right to left with the scroll, each card
   rising and settling a little after the one before (a soft wave). quiet-areas-wave.js sets --x on the row and --y / --o
   per card from the scroll; without script or with reduced motion it is a centred, wrapping row. */
.quiet-areas { display: flex !important; flex-wrap: nowrap; justify-content: flex-start; gap: 14px !important; grid-template-columns: none !important;
  width: 100vw; max-width: none !important; margin: clamp(36px, 6vh, 64px) 0 0 calc(50% - 50vw) !important; padding: 8px 0 !important;
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.quiet-areas li { flex: none; width: clamp(150px, 12vw, 176px); height: clamp(150px, 12vw, 176px); justify-content: center; gap: 16px !important;
  border: 1px solid rgba(233, 228, 218, .16); border-radius: 22px; background: rgba(233, 228, 218, .025);
  transform: translate3d(0, var(--y, 0px), 0) !important; opacity: var(--o, 1) !important; transition: border-color .4s ease, background-color .4s ease !important; }
.quiet-areas li:hover { border-color: rgba(231, 192, 137, .55); background: rgba(231, 192, 137, .05); }
.qa-ic { width: 46px !important; height: 46px !important; }
.qa-t { font-size: 15px !important; line-height: 1.3 !important; padding: 0 12px; color: rgba(233, 228, 218, .86) !important; }
html:not(.js) .quiet-areas, .quiet-story:not(.is-animated) .quiet-areas { width: auto; margin-left: 0 !important; flex-wrap: wrap; justify-content: center; transform: none; }
@media (max-width: 759px) {
  .quiet-areas { gap: 10px !important; margin-top: 28px !important; }
  .quiet-areas li { width: 118px; height: 118px; border-radius: 18px; gap: 10px !important; }
  .qa-ic { width: 34px !important; height: 34px !important; }
  .qa-t { font-size: 13px !important; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .quiet-areas { width: auto; margin-left: 0 !important; flex-wrap: wrap; justify-content: center; transform: none; } .quiet-areas li { transform: none !important; opacity: 1 !important; } }
/* 2 Nov: desktop cards sized so all nine fit the width when the row settles */
@media (min-width: 760px) { .quiet-areas li { width: clamp(118px, 9.2vw, 150px) !important; height: clamp(124px, 9.6vw, 156px) !important; } .qa-t { font-size: 14px !important; } }
@media (max-width: 759px) { .quiet-areas { flex-wrap: wrap !important; justify-content: center !important; width: auto !important; margin-left: 0 !important; transform: none !important; gap: 8px !important; }
  .quiet-areas li { width: calc((100% - 16px) / 3) !important; height: 96px !important; } }

/* 2 Nov (Shali): the eight add-ons as outline cards, same family as the nine area cards (fine light border, 22 px radius,
   faint fill, gold line icon); no arrows, the whole card is the link (the title link is stretched over the card). */
html[data-bh="a"] .bh-list-8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0; }
html[data-bh="a"] .bh-list-8 .bh-item { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 28px !important;
  border: 1px solid rgba(233, 228, 218, .16) !important; border-radius: 22px; background: rgba(233, 228, 218, .025);
  transition: border-color .4s ease, background-color .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
html[data-bh="a"] .bh-list-8 .bh-item:last-child { border-bottom: 1px solid rgba(233, 228, 218, .16) !important; }
html[data-bh="a"] .bh-list-8 .bh-item:hover { border-color: rgba(231, 192, 137, .55) !important; background: rgba(231, 192, 137, .05); transform: translateY(-2px); }
html[data-bh="a"] .bh-list-8 .bh-ic-lg { width: 40px; height: 40px; margin: 0; color: var(--gold); }
html[data-bh="a"] .bh-list-8 .bh-t { font-size: clamp(22px, 1.8vw, 26px); }
html[data-bh="a"] .bh-list-8 .bh-d { margin-top: 8px !important; font-size: 14.5px; }
.bh-link { position: static; }
.bh-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.bh-link:hover { color: inherit; }
.bh-link:focus-visible { outline: none; }
.bh-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 3px; }
html[data-bh="a"] .bh-list-8 .bh-item:hover .bh-t { color: var(--gold); }
.bh-note { margin-left: 0 !important; }
@media (max-width: 759px) {
  html[data-bh="a"] .bh-list-8 { grid-template-columns: 1fr 1fr; gap: 10px; }
  html[data-bh="a"] .bh-list-8 .bh-item { padding: 18px 16px 20px !important; gap: 12px; border-radius: 18px; }
  html[data-bh="a"] .bh-list-8 .bh-ic-lg { width: 30px; height: 30px; }
  html[data-bh="a"] .bh-list-8 .bh-t { font-size: 17px; }
  html[data-bh="a"] .bh-list-8 .bh-d { font-size: 12.5px; }
}

/* 2 Nov (Shali): add-ons as one horizontal row. The section pins (sticky) and the row slides right to left with the scroll
   (beyond-track.js sets --travel on the section and --tx on the row). Without script / reduced motion: a swipeable row. */
html[data-bh="a"] #beyond .bh-wrap { display: block; }
html[data-bh="a"] #beyond .bh-head { position: static; max-width: 760px; }
html[data-bh="a"] #beyond .bh-h br { display: none; }
html[data-bh="a"] .bh-list-8 { display: flex !important; flex-wrap: nowrap; gap: 16px; margin-top: clamp(36px, 5vh, 56px) !important; padding: 4px 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
html[data-bh="a"] .bh-list-8::-webkit-scrollbar { display: none; }
html[data-bh="a"] .bh-list-8 .bh-item { flex: none; width: clamp(260px, 24vw, 340px); min-height: clamp(220px, 28vh, 260px); scroll-snap-align: start; }
html[data-bh="a"] #beyond.is-track { height: calc(100svh + var(--travel, 0px)); padding: 0 !important; }
html[data-bh="a"] #beyond.is-track .bh-wrap { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr-h, 72px) + 8px) var(--m) 48px; overflow: hidden; }
html[data-bh="a"] #beyond.is-track .bh-list-8 { overflow: visible; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
html[data-bh="a"] #beyond.is-track .bh-note { margin-top: 18px !important; }
@media (max-width: 759px) {
  html[data-bh="a"] .bh-list-8 .bh-item { width: 74vw; min-height: 200px; }
}
html[data-bh="a"] #beyond .bh-col { min-width: 0; width: 100%; }
/* 2 Nov (Shali): Build on your Horizon uses the same frame as the sections above (centred 1200 px, 24 px on phones), with a
   centred heading and intro; the row starts and ends on those margins and only bleeds past them while it slides. */
html[data-bh="a"] #beyond.is-track .bh-wrap, html[data-bh="a"] #beyond .bh-wrap { padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important; }
html[data-bh="a"] #beyond .bh-head { max-width: 760px; margin: 0 auto; text-align: center; }
html[data-bh="a"] #beyond .bh-intro { margin-left: auto; margin-right: auto; max-width: 34em; }
html[data-bh="a"] #beyond .bh-note { text-align: center; }
