/* Horizon Assessment, 30 Oct 16:15 (Shali): on top of Codex's scene story (horizon-story.css).
   1. Lighter: Starlight ground with a subtle warm gradient; Void type; gold kept off the light ground (price and button Void).
   2. Coverage as a horizontal carousel: the checks travel left to right, the centre one larger, the sides fading out. */
#assessment.hz-story { color: var(--void);
  background: radial-gradient(70% 55% at 50% 0%, rgba(231, 192, 137, .16), rgba(231, 192, 137, 0) 70%),
              linear-gradient(180deg, #f4f2ed 0%, var(--star) 55%, #ece4d6 100%); }
#assessment .hz-h { background: linear-gradient(115deg, var(--void) 30%, #6e5638 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
#assessment .hz-lede { color: rgba(14, 14, 15, .78); }
#assessment .hz-sub { color: rgba(14, 14, 15, .52); }
#assessment .hz-ch, #assessment .hz-pt, #assessment .hz-closing { color: var(--void); }
#assessment .hz-pd { color: rgba(14, 14, 15, .6); }
#assessment .hz-path-visual img { mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
#assessment .hz-ot { color: rgba(14, 14, 15, .66); }
#assessment .hz-ol { color: rgba(14, 14, 15, .6); }
#assessment .hz-was { color: rgba(14, 14, 15, .4); }
#assessment .hz-now { color: var(--void); }
#assessment .hz-cta { background: var(--void); color: var(--star); }
#assessment .hz-cta:hover { background: #2a2a2b; }
#assessment .hz-cta:focus-visible { outline-color: var(--void); }
#assessment .hz-od { color: rgba(14, 14, 15, .5); }

/* carousel (built by horizon-carousel.js; without it the list stays the wrapped grid) */
#assessment .hz-rail { position: relative; width: 100vw; margin: 56px calc(50% - 50vw) 0; overflow: hidden; padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%); }
#assessment .hz-rail .hz-list { display: flex; gap: 0; width: max-content; max-width: none; margin: 0; padding: 0;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
#assessment .hz-rail .hz-list.no-anim { transition: none; }
#assessment .hz-rail .hz-item { flex: 0 0 var(--hzc-w, 240px); flex-direction: column; justify-content: center; align-items: center; gap: 16px; min-height: 0; padding: 0 12px; text-align: center;
  opacity: .32; transform: scale(.86); transition: opacity .7s ease, transform .7s cubic-bezier(.65, 0, .35, 1); cursor: pointer; }
#assessment .hz-rail .hz-item.is-centre { opacity: 1; transform: scale(1.18); }
#assessment .hz-rail .hz-ic { width: auto; overflow: visible; font-size: 46px; color: transparent;
  background: linear-gradient(135deg, var(--void) 0%, #6e5638 55%, #c99d62 100%); -webkit-background-clip: text; background-clip: text; }
#assessment .hz-rail .hz-t { max-width: 15em; font: 400 18px/1.35 var(--f-text); color: var(--void); text-wrap: balance; }
#assessment .hz-rail .hz-item:last-child { grid-column: auto; }
@media (max-width: 759px) {
  #assessment .hz-rail { margin-top: 40px; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
  #assessment .hz-rail .hz-item { --hzc-w: 150px; }
  #assessment .hz-rail .hz-ic { font-size: 38px; }
  #assessment .hz-rail .hz-t { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { #assessment .hz-rail .hz-list, #assessment .hz-rail .hz-item { transition: none; } }

/* controls: bottom centre, the site's 16 px rounded rectangles; Void on the light ground */
#assessment .hz-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
#assessment .hz-cbtn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(14, 14, 15, .2); border-radius: 16px;
  background: transparent; color: var(--void); cursor: pointer; transition: background .25s ease, border-color .25s ease; }
#assessment .hz-cbtn svg { width: 22px; height: 22px; fill: currentColor; }
#assessment .hz-toggle { background: var(--void); border-color: var(--void); color: var(--star); }
#assessment .hz-cbtn:hover { background: rgba(14, 14, 15, .06); border-color: rgba(14, 14, 15, .4); }
#assessment .hz-toggle:hover { background: #2a2a2b; }
#assessment .hz-cbtn:focus-visible { outline: 2px solid var(--void); outline-offset: 3px; }
@media (max-width: 759px) { #assessment .hz-ctrl { margin-top: 20px; } #assessment .hz-cbtn { width: 44px; height: 44px; } }

/* Offer as a gradient card (30 Oct, Shali): one centred column on a Void-to-bronze gradient with a soft gold glow; gold is
   on Void here, so the price and button go back to Horizon Gold. Was + now sit on one shared baseline, centred as a pair. */
#assessment .hz-offer { width: min(100%, 560px); margin: 48px auto 0; padding: 48px 40px 40px; border-radius: 32px; color: var(--star); text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(231, 192, 137, .22), rgba(231, 192, 137, 0) 60%),
              linear-gradient(160deg, #2a241d 0%, #141312 45%, var(--void) 100%);
  box-shadow: 0 30px 70px rgba(14, 14, 15, .18), inset 0 1px 0 rgba(233, 228, 218, .08); }
#assessment.hz-story .hz-scene .hz-offer { padding: 48px 40px 40px; }
#assessment .hz-ot { color: var(--star); font-size: clamp(22px, 2vw, 26px); }
#assessment .hz-price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 14px; row-gap: 8px; margin-top: 22px; }
#assessment .hz-ol { flex-basis: 100%; order: -1; color: var(--gold); letter-spacing: .06em; }
#assessment .hz-was { font-size: 18px; color: rgba(233, 228, 218, .45); }
#assessment .hz-now { color: var(--gold); font-size: clamp(56px, 5vw, 72px); }
#assessment .hz-cta { align-self: stretch; min-width: 0; margin-top: 30px; background: var(--gold); color: var(--void); }
#assessment .hz-cta:hover { background: #edd0a9; }
#assessment .hz-cta:focus-visible { outline-color: var(--gold); }
#assessment .hz-od { max-width: 24em; margin-top: 16px !important; color: rgba(233, 228, 218, .55); text-wrap: balance; }
@media (max-width: 759px) {
  #assessment .hz-offer, #assessment.hz-story .hz-scene .hz-offer { padding: 36px 22px 28px; border-radius: 24px; }
  #assessment .hz-now { font-size: 52px; }
}
