/* Goldstine homepage hero, lane home (1 Dec 2026): the copy block, the numbered stepper, the dither layer and the palette morph.
   Loaded after placement.css; #video-projection#video-projection outranks its selectors. */
@property --hx-bg { syntax: '<color>'; inherits: true; initial-value: #241207; }
@property --hx-accent { syntax: '<color>'; inherits: true; initial-value: #D98416; }
@property --hx-soft { syntax: '<color>'; inherits: true; initial-value: #F2B865; }

html.goldstine-home .goldstine-projection-hero .hero { display: none !important; }
html.goldstine-home .goldstine-projection-hero { background: var(--hx-bg, #111A23) !important; }
#video-projection#video-projection { --edge: var(--g-edge, clamp(20px, 3.4vw, 56px)); transition: --hx-bg .9s ease, --hx-accent .9s ease, --hx-soft .9s ease; touch-action: pinch-zoom; }
#video-projection#video-projection canvas#sketch { touch-action: pinch-zoom; }
#video-projection#video-projection .projection-experience { position: relative; }

/* layers above the projection */
#video-projection#video-projection .hx-dither { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; image-rendering: pixelated; image-rendering: crisp-edges; transition: opacity .45s ease, visibility 0s linear 0s; }
#video-projection#video-projection .hx-dither.is-off { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
#video-projection#video-projection .hx-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  radial-gradient(135% 110% at 0% 100%, color-mix(in srgb, var(--hx-bg) 95%, transparent) 0%, color-mix(in srgb, var(--hx-bg) 85%, transparent) 50%, color-mix(in srgb, var(--hx-bg) 0%, transparent) 86%),
  linear-gradient(180deg, rgb(8 10 12 / .38) 0%, transparent 18%); }
#video-projection#video-projection[data-mode="static"] .projection-viewport { visibility: hidden; }

/* the copy: kicker, the area's title, its real line and link */
#video-projection#video-projection .hx-copy { position: absolute; z-index: 4; left: var(--edge); bottom: clamp(28px, 5.5vh, 60px); width: min(62vw, 900px); display: grid; justify-items: start; gap: clamp(12px, 1.6vh, 18px); pointer-events: none; color: #fff; }
#video-projection#video-projection .hx-copy :is(a, button) { pointer-events: auto; }
#video-projection#video-projection .hx-copy p { margin: 0; }
#video-projection#video-projection .hx-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 5px 14px 5px 5px; border-radius: var(--g-r-pill, 999px); background: rgb(10 14 18 / .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 650 12px/1.2 GoldstineSynonym, sans-serif !important; letter-spacing: var(--g-track-label, .16em); text-transform: uppercase; color: var(--hx-soft) !important; }
#video-projection#video-projection .hx-num { display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 8px; border: 1px solid currentColor; border-radius: var(--g-r-pill, 999px); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
#video-projection#video-projection .hx-title { display: grid; font: 500 clamp(52px, 10.4vw, 168px)/.9 GoldstineChillax, sans-serif !important; letter-spacing: -.045em; color: #fff !important; white-space: nowrap; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
#video-projection#video-projection .hx-ln { display: block; overflow: hidden; padding: .02em .04em .1em 0; margin-bottom: -.08em; }
#video-projection#video-projection .hx-ln > span { display: inline-block; will-change: transform; }
#video-projection#video-projection .hx-line { max-width: 33em; font: 400 clamp(17px, 1.35vw, 21px)/1.45 GoldstineSynonym, sans-serif !important; color: #EEF2F5 !important; text-wrap: pretty; }
#video-projection#video-projection .hero-stage-action { position: static !important; inset: auto !important; max-width: none !important; display: block !important; margin-top: 6px; text-align: left !important; }
#video-projection#video-projection .hero-stage-link { display: inline-flex; align-items: center; gap: 18px; min-height: 52px; padding: 0 12px 0 24px; border: 0; border-radius: var(--g-r-pill, 999px); background: var(--hx-accent); color: var(--hx-ink, #12161A); font: 600 16px/1 GoldstineSynonym, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); transition: background-color .25s, color .25s, transform .25s; }
#video-projection#video-projection .hero-stage-link .hx-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(0 0 0 / .14); font-size: 15px; transition: transform .3s var(--g-ease, cubic-bezier(.16,1,.3,1)); }
#video-projection#video-projection .hero-stage-link:hover { background: #fff; color: var(--g-ink, #12161A); transform: translateY(-2px); }
#video-projection#video-projection .hero-stage-link:hover .hx-arrow { transform: rotate(45deg); }
#video-projection#video-projection .hero-stage-link:focus-visible { outline: 2px solid #fff !important; outline-offset: 4px; }

/* the stepper: numbers, a marker per area, the active name, a rail that fills during the tour */
#video-projection#video-projection .hero-stepper { position: absolute; z-index: 6; right: clamp(16px, 2.4vw, 40px); left: auto; top: 50%; transform: translateY(-50%); width: auto !important; display: grid; justify-items: end; gap: 14px; }
#video-projection#video-projection .hero-stepper ul.btns { position: relative !important; display: flex !important; flex-direction: column !important; align-items: flex-end; gap: 0 !important; width: auto !important; }
#video-projection#video-projection .hero-stepper ul.btns::before { display: none !important; }
#video-projection#video-projection .hero-stepper .btns__item { width: auto; }
#video-projection#video-projection .hero-stepper .btns button { display: flex !important; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 12px; width: auto; min-height: 44px; height: 44px; padding: 0 0 0 10px !important; border: 0 !important; background: transparent !important; color: #DCE3E8 !important; font: 500 14px/1 GoldstineSynonym, sans-serif !important; cursor: pointer; }
#video-projection#video-projection .hero-stepper .hero-step-marker { display: block; flex: 0 0 auto; width: 16px; height: 2px !important; border-radius: 2px; background: rgb(255 255 255 / .55) !important; transform-origin: right center; transition: width .45s var(--g-ease, cubic-bezier(.16,1,.3,1)), background-color .45s; }
#video-projection#video-projection .hero-stepper .hx-step-n { font: 600 12px/1 GoldstineSynonym, sans-serif; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: rgb(220 227 232 / .9); transition: color .3s; }
#video-projection#video-projection .hero-stepper .hero-step-name { display: block !important; visibility: visible !important; position: static !important; transform: translateX(8px); opacity: 0; white-space: nowrap; font-size: 14px !important; padding: 6px 10px; border-radius: var(--g-r-pill, 999px); background: rgb(10 14 18 / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .3s, transform .4s var(--g-ease, cubic-bezier(.16,1,.3,1)); pointer-events: none; }
#video-projection#video-projection .hero-stepper .btns button:is(:hover, :focus-visible) .hero-step-name, #video-projection#video-projection .hero-stepper .btns button.active .hero-step-name { opacity: 1; transform: none; }
#video-projection#video-projection .hero-stepper .btns button.active .hero-step-marker { width: 34px; background: var(--hx-accent) !important; }
#video-projection#video-projection .hero-stepper .btns button.active .hx-step-n { color: #fff; }
#video-projection#video-projection .hero-stepper .btns button.active .hero-step-name { background: rgb(10 14 18 / .7); color: #fff; }
#video-projection#video-projection .hero-stepper .btns button.is-pending .hero-step-marker { width: 26px; background: var(--hx-soft) !important; }
#video-projection#video-projection .hero-stepper .btns button:hover { color: #fff !important; }
#video-projection#video-projection .hero-stepper .btns button:focus-visible { outline: 2px solid var(--hx-soft) !important; outline-offset: 2px; border-radius: var(--g-r-sm, 6px); }
#video-projection#video-projection .hero-step-progress { position: absolute !important; right: -10px !important; left: auto !important; top: 22px !important; bottom: 22px !important; width: 2px !important; height: auto !important; background: rgb(255 255 255 / .18) !important; border-radius: 2px; pointer-events: none; }
#video-projection#video-projection .hero-step-progress > span { display: block; width: 100%; height: 100%; background: var(--hx-accent); transform: scaleY(0); transform-origin: top center; }
#video-projection#video-projection .hx-count { margin: 0; padding-right: 2px; font: 600 12px/1 GoldstineSynonym, sans-serif; letter-spacing: var(--g-track-label, .1em); font-variant-numeric: tabular-nums; color: #DCE3E8; }
#video-projection#video-projection .hx-count b { color: #fff; font-weight: 650; }

/* the hint, bottom right */
#video-projection#video-projection .hx-hint { position: absolute; z-index: 4; right: clamp(16px, 2.4vw, 40px); bottom: clamp(28px, 5.5vh, 60px); margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: var(--g-r-pill, 999px); background: rgb(10 14 18 / .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 13px/1 GoldstineSynonym, sans-serif; color: #E3E9ED; pointer-events: none; }
#video-projection#video-projection .hx-hint-wheel { position: relative; width: 14px; height: 20px; border: 1.5px solid currentColor; border-radius: var(--g-r-sm, 8px); }
#video-projection#video-projection .hx-hint-wheel::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: hx-wheel 1.8s ease-in-out infinite; }
@keyframes hx-wheel { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* tablets */
@media (max-width: 1100px) and (min-width: 701px) {
  #video-projection#video-projection .hx-copy { width: min(70vw, 760px); }
  #video-projection#video-projection .hx-hint { display: none; }
}
@media (max-height: 640px) and (min-width: 701px) {
  #video-projection#video-projection .hx-title { font-size: clamp(48px, 15vh, 120px) !important; }
  #video-projection#video-projection .hx-hint { display: none; }
}

/* phones: a segmented bar under the header, the copy along the bottom */
@media (max-width: 700px) {
  #video-projection#video-projection .hero-stepper { left: 15px; right: 15px; top: calc(80px + env(safe-area-inset-top, 0px)); transform: none; justify-items: stretch; gap: 0; }
  #video-projection#video-projection .hero-stepper ul.btns { flex-direction: row !important; align-items: stretch; gap: 4px !important; width: 100% !important; }
  #video-projection#video-projection .hero-stepper .btns__item { flex: 1 1 0; min-width: 0; }
  #video-projection#video-projection .hero-stepper .btns button { flex-direction: column; justify-content: flex-start; align-items: center; gap: 8px; width: 100%; height: 44px; min-height: 44px; padding: 8px 0 0 !important; }
  #video-projection#video-projection .hero-stepper .hero-step-marker, #video-projection#video-projection .hero-stepper .btns button.active .hero-step-marker, #video-projection#video-projection .hero-stepper .btns button.is-pending .hero-step-marker { width: 100%; height: 3px !important; transform-origin: left center; }
  #video-projection#video-projection .hero-stepper .hero-step-name { display: none !important; }
  #video-projection#video-projection .hero-step-progress { display: none !important; }
  #video-projection#video-projection .hx-count { display: none; }
  #video-projection#video-projection .hx-hint { display: none; }
  #video-projection#video-projection .hx-copy { left: 20px; right: 20px; width: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  #video-projection#video-projection .hx-title { font-size: clamp(46px, 13.6vw, 72px) !important; }
  #video-projection#video-projection .hx-line { font-size: 16px !important; }
  #video-projection#video-projection .hero-stage-link { min-height: 50px; font-size: 15px; }
  #video-projection#video-projection .hx-scrim { background: linear-gradient(0deg, color-mix(in srgb, var(--hx-bg) 96%, transparent) 0%, color-mix(in srgb, var(--hx-bg) 84%, transparent) 36%, color-mix(in srgb, var(--hx-bg) 0%, transparent) 64%), linear-gradient(180deg, rgb(8 10 12 / .45) 0%, transparent 22%); }
}

@media (prefers-reduced-motion: reduce) {
  #video-projection#video-projection, #video-projection#video-projection * { transition: none !important; }
  #video-projection#video-projection .hx-hint-wheel::after { animation: none !important; }
}

/* glass behind the stepper, count and hint, dark enough to hold 4.5:1 over the brightest frame */
@media (min-width: 701px) {
  #video-projection#video-projection .hero-stepper ul.btns { padding: 6px 10px !important; border-radius: var(--g-r-card, 24px); background: rgb(10 14 18 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
  #video-projection#video-projection .hero-step-progress { right: 4px !important; top: 28px !important; bottom: 28px !important; }
  #video-projection#video-projection .hero-stepper .hero-step-name { background: rgb(10 14 18 / .78); }
  #video-projection#video-projection .hx-count { padding: 7px 12px; border-radius: var(--g-r-pill, 999px); background: rgb(10 14 18 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
#video-projection#video-projection .hx-hint { background: rgb(10 14 18 / .72); }
