/* Hero */
.fx-hero { --hero-ov: .45; }
.fx-hero--ov-light { --hero-ov: .25; }
.fx-hero--ov-strong { --hero-ov: .62; }

/* ---- fullbleed & slider ---- */
.fx-s-hero--fullbleed, .fx-s-hero--slider { padding: 0; background: var(--fx-inverse); color: #fff; }
.fx-hero__stage { position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate; }
.fx-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fx-hero__img, .fx-hero__video, .fx-hero__bg .fx-ph { width: 100%; height: 100%; object-fit: cover; }
.fx-hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(0,0,0,calc(var(--hero-ov) * .7)) 0%, rgba(0,0,0,calc(var(--hero-ov) * .2)) 38%, rgba(0,0,0,calc(var(--hero-ov) * 1.25)) 100%),
  linear-gradient(90deg, rgba(0,0,0,calc(var(--hero-ov) * .9)) 0%, rgba(0,0,0,0) 65%); }
.fx-hero--center .fx-hero__bg::after { background: linear-gradient(180deg, rgba(0,0,0,calc(var(--hero-ov) * .7)), rgba(0,0,0,calc(var(--hero-ov) * 1.1))); }
html:not([data-fx-motion="none"]) .fx-s-hero--fullbleed .fx-hero__img,
html:not([data-fx-motion="none"]) .fx-hero__slide.is-active .fx-hero__img { animation: fx-kenburns 16s var(--fx-ease) both; }
@keyframes fx-kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.fx-hero__content { position: relative; display: flex; align-items: flex-end; padding-top: calc(var(--fx-header-h) + 48px); padding-bottom: clamp(72px, 11vh, 140px); min-height: 100svh; }
.fx-hero--center .fx-hero__content { align-items: center; justify-content: center; text-align: center; }
.fx-hero__copy { max-width: 920px; }
.fx-hero--center .fx-hero__copy { margin-inline: auto; }
.fx-s-hero--fullbleed .fx-hero__title, .fx-s-hero--slider .fx-hero__title { color: #fff; }
.fx-s-hero--fullbleed .fx-hero__title em, .fx-s-hero--slider .fx-hero__title em { color: color-mix(in srgb, var(--fx-accent) 55%, #fff); }
.fx-s-hero--fullbleed .fx-eyebrow, .fx-s-hero--slider .fx-eyebrow { color: rgba(255,255,255,.86); }
.fx-hero__text { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 54ch; margin-top: 1.6rem; color: rgba(255,255,255,.86); }
.fx-hero--center .fx-hero__text { margin-inline: auto; }
.fx-hero--center .fx-actions { justify-content: center; }
.fx-hero__ghost { --b-ink: #fff !important; }
.fx-hero__title { --d: 2; }

/* staged entrance for text over images */
html.fx-js:not([data-fx-motion="none"]) .fx-hero__rise { opacity: 0; transform: translateY(28px); animation: fx-rise 1.1s var(--fx-ease) forwards; animation-delay: calc(200ms + var(--d, 1) * 140ms); }
html.fx-js:not([data-fx-motion="none"]) .fx-hero__slide:not(.is-active) .fx-hero__rise { animation: none; }
@keyframes fx-rise { to { opacity: 1; transform: none; } }

/* slider */
.fx-hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--fx-ease), visibility 0s 1.2s; }
.fx-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--fx-ease); z-index: 1; }
.fx-hero__controls { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vh, 44px); display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.fx-hero__dots { display: flex; gap: 10px; }
.fx-hero__dots button { width: 44px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.fx-hero__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.fx-hero__dots button[aria-current="true"]::after { animation: fx-progress var(--fx-slide-dur, 7000ms) linear forwards; }
@keyframes fx-progress { to { transform: scaleX(1); } }
.fx-round-btn--light { color: #fff; border-color: rgba(255,255,255,.35); }
.fx-round-btn--light:hover:not(:disabled) { background: #fff; color: #111; border-color: #fff; }
.fx-s-hero--slider .fx-hero__content { padding-bottom: clamp(110px, 16vh, 180px); }

/* scroll cue */
.fx-hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 20px; z-index: 2; }
.fx-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: fx-scroll 2s var(--fx-ease) infinite; }
@keyframes fx-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.fx-s-hero--slider .fx-hero__scroll { display: none; }
.fx-hero__anchor { position: absolute; bottom: 0; }

/* rotating badge */
.fx-hero__badge { position: absolute; right: clamp(20px, 6vw, 96px); bottom: clamp(96px, 16vh, 180px); width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 18px; z-index: 2;
  background: color-mix(in srgb, var(--fx-bg) 14%, transparent); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--fx-font-display); font-size: 1.05rem; line-height: 1.15; font-style: italic; }
.fx-hero__badge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.4); animation: fx-spin 30s linear infinite; }
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx-hero__badge--split, .fx-hero__badge--ed { color: var(--fx-ink); background: var(--fx-bg); border-color: var(--fx-line); right: auto; left: -40px; bottom: 48px; box-shadow: var(--fx-shadow); }
.fx-hero__badge--split::before, .fx-hero__badge--ed::before { border-color: var(--fx-line); }
.fx-hero__badge--ed { left: auto; right: 6%; top: -66px; bottom: auto; }

/* ---- split ---- */
.fx-s-hero--split { padding-top: calc(var(--fx-pad) * .55); }
.fx-hero__split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.fx-s-hero--split .fx-hero__title { font-size: clamp(var(--fx-s4), 6vw, calc(var(--fx-s6) * 1.15)); }
.fx-s-hero--split .fx-hero__text { color: var(--fx-muted); }
.fx-hero__visual { position: relative; }
.fx-hero__main { aspect-ratio: 4 / 5; }
.fx-hero__detail { position: absolute; width: 38%; aspect-ratio: 3 / 4; left: -14%; bottom: -8%; border: 8px solid var(--fx-bg); border-radius: var(--fx-radius-lg); box-shadow: var(--fx-shadow-lg); }

/* ---- editorial ---- */
.fx-s-hero--editorial { padding-top: calc(var(--fx-pad) * .5); }
.fx-hero__ed-top { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 40px); }
.fx-hero__ed-text { max-width: 38ch; color: var(--fx-muted); font-size: 1.05rem; }
.fx-hero__ed-title { font-size: clamp(var(--fx-s4), 9.6vw, calc(var(--fx-s6) * 1.75)); line-height: .92; max-width: 15ch; }
.fx-hero--center .fx-hero__ed-title { margin-inline: auto; text-align: center; }
.fx-hero--center .fx-hero__ed-top { justify-content: center; text-align: center; }
.fx-hero__strip { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--fx-gap); margin-top: clamp(40px, 6vw, 88px); }
.fx-hero__strip:has(.fx-hero__strip-side) { grid-template-columns: 2.2fr 1fr; }
.fx-hero__strip-main { aspect-ratio: 21 / 9; }
.fx-hero__strip:has(.fx-hero__strip-side) .fx-hero__strip-main { aspect-ratio: auto; min-height: 420px; }
.fx-hero__strip-side { aspect-ratio: 3 / 4; }

@media (max-width: 860px) {
  .fx-hero__split { grid-template-columns: 1fr; }
  .fx-hero__detail { left: auto; right: 4%; width: 36%; }
  .fx-hero__badge { width: 104px; height: 104px; font-size: .9rem; bottom: 120px; }
  .fx-hero__badge--split { left: 4%; }
  .fx-hero__strip:has(.fx-hero__strip-side) { grid-template-columns: 1fr; }
  .fx-hero__strip-main { aspect-ratio: 4 / 3; }
  .fx-hero__strip-side { display: none; }
  .fx-hero__controls .fx-carousel__nav { display: none; }
}
