/* Home hero slideshow: approved preview v3 (2026-11-30). Always night, in both themes.
   Computer (wider than 900px): the photo fills the screen under the header, cropped around its subject.
   Phone, and tablet held upright (900px and narrower, or portrait): the whole photo, never cropped, with the text below it. */
.zbs-sec, .zbs-sec > .e-con-inner { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
.zbs-sec .elementor-widget-html, .zbs-sec .elementor-widget-container { width: 100%; margin: 0 !important; padding: 0 !important; }
body .zbs-hero { --zbs-ease: cubic-bezier(.22,.61,.36,1); --zbs-sand: #F6D59A; --zbs-lochre: #E7A659; --zbs-night: #15161A;
  position: relative; overflow: hidden; isolation: isolate; background: #0d0d10; color: #F2ECE2; margin: 0; }
body .zbs-hero *, body .zbs-hero *::before, body .zbs-hero *::after { box-sizing: border-box; }
body .zbs-stage { position: relative; margin: 0; width: 100%;
  height: calc(100vh - var(--zbs-hh, 80px)); height: calc(100svh - var(--zbs-hh, 80px)); min-height: 520px; overflow: hidden; }
body .zbs-frame { position: absolute; inset: 0; overflow: hidden; }
body .zbs-slide { position: absolute; inset: 0; margin: 0; padding: 0; opacity: 0; z-index: 0; transition: opacity 1.8s cubic-bezier(.45,0,.55,1); will-change: opacity; backface-visibility: hidden; transform: translateZ(0); }
body .zbs-slide.on { opacity: 1; z-index: 2; }
body .zbs-slide.was { opacity: 1; z-index: 1; transition: none; }
body .zbs-hero .zbs-slide img { display: block; width: 100%; height: 100%; max-width: none; border: 0; border-radius: 0; box-shadow: none;
  object-fit: cover; object-position: var(--fp, 50% 50%); }
body .zbs-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,16,.35) 0%, rgba(13,13,16,0) 22%, rgba(13,13,16,0) 42%, rgba(13,13,16,.84) 100%); }
body .zbs-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 clamp(28px,4vw,64px) clamp(30px,5vh,64px); }
body .zbs-hero .zbs-eyebrow { margin: 0; font: 500 12px/1.4 var(--zb-font-mono, "IBM Plex Mono", monospace); letter-spacing: .14em; text-transform: uppercase;
  color: var(--zbs-sand); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
body .zbs-hero .zbs-title { font: 500 clamp(36px,5vw,76px)/1 var(--zb-font-display, "Archivo Expanded", sans-serif); letter-spacing: -.02em;
  margin: 18px 0; padding: 0; max-width: 15ch; color: #F2ECE2; text-transform: none; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
body .zbs-hero .zbs-lead { font: italic 400 clamp(18px,1.6vw,23px)/1.45 var(--zb-font-serif, "Newsreader", serif); max-width: 560px; margin: 0 0 30px;
  color: rgba(242,236,226,.92); text-shadow: 0 2px 20px rgba(0,0,0,.45); }
body .zbs-btns { display: flex; flex-wrap: wrap; gap: 14px; }
body .zbs-hero a.zbs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; font: 500 14px/1 var(--zb-font-display, "Archivo Expanded", sans-serif); letter-spacing: .02em; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s; }
body .zbs-hero a.zbs-btn-p, body .zbs-hero a.zbs-btn-p:visited { background: var(--zbs-lochre); color: var(--zbs-night); }
body .zbs-hero a.zbs-btn-p:hover { background: var(--zbs-sand); color: var(--zbs-night); }
body .zbs-hero a.zbs-btn-g, body .zbs-hero a.zbs-btn-g:visited { border-color: rgba(242,236,226,.6); color: #F2ECE2; background: transparent; }
body .zbs-hero a.zbs-btn-g:hover { border-color: var(--zbs-sand); color: var(--zbs-sand); }
body .zbs-hero a:focus-visible, body .zbs-hero button:focus-visible { outline: 2px solid var(--zbs-lochre); outline-offset: 3px; }

/* Controls: top right, away from the signature at the bottom right. */
body .zbs-ctl { position: absolute; z-index: 4; right: clamp(16px,2.4vw,36px); top: clamp(16px,2.4vw,32px); display: flex; align-items: center; gap: 14px; }
body .zbs-ctl[hidden] { display: none; }
body .zbs-count { font: 500 12px/1 var(--zb-font-mono, "IBM Plex Mono", monospace); letter-spacing: .14em; color: rgba(242,236,226,.9); min-width: 58px; text-align: right; }
body .zbs-count b { color: var(--zbs-sand); font-weight: 500; }
body .zbs-bars { display: flex; gap: 6px; }
body .zbs-hero button.zbs-bar, body .zbs-hero button.zbs-bar:hover, body .zbs-hero button.zbs-bar:focus { position: relative; width: 34px; height: 24px; min-height: 0;
  border: 0; border-radius: 0; background: transparent; padding: 0; margin: 0; cursor: pointer; box-shadow: none; }
body .zbs-bar::before, body .zbs-bar span { content: ""; position: absolute; left: 0; top: 11px; height: 2px; border-radius: 2px; }
body .zbs-bar::before { right: 0; background: rgba(242,236,226,.32); }
body .zbs-bar span { width: 0; background: var(--zbs-sand); }
body .zbs-bar.done span { width: 100%; }
body .zbs-bar.on span { animation: zbs-fill var(--zbs-dur, 5s) linear forwards; }
body .zbs-paused .zbs-bar.on span, body .zbs-still .zbs-bar.on span { animation: none; width: 100%; }
@keyframes zbs-fill { from { width: 0; } to { width: 100%; } }
body .zbs-hero button.zbs-pp, body .zbs-hero button.zbs-pp:focus { width: 36px; height: 36px; min-height: 0; border-radius: 50%; border: 1px solid rgba(242,236,226,.45);
  background: rgba(13,13,16,.35); color: #F2ECE2; display: grid; place-items: center; cursor: pointer; padding: 0; margin: 0; box-shadow: none; }
body .zbs-hero button.zbs-pp:hover { border-color: var(--zbs-sand); color: var(--zbs-sand); background: rgba(13,13,16,.35); }
body .zbs-pp svg { width: 14px; height: 14px; fill: currentColor; }
body .zbs-pp .zbs-play { display: none; }
body .zbs-paused .zbs-pp .zbs-play, body .zbs-still .zbs-pp .zbs-play { display: block; }
body .zbs-paused .zbs-pp .zbs-pause, body .zbs-still .zbs-pp .zbs-pause { display: none; }

@media (max-width: 900px), (orientation: portrait) {
  body .zbs-stage { height: auto; min-height: 0; }
  body .zbs-hero .zbs-slide img { object-fit: contain; object-position: 50% 50%; }
  body .zbs-frame { position: relative; inset: auto; aspect-ratio: 3 / 2; }
  body .zbs-frame::after { background: linear-gradient(180deg, rgba(13,13,16,.4) 0%, rgba(13,13,16,0) 30%); }
  body .zbs-copy { position: relative; padding: 28px 24px 52px; }
  body .zbs-hero .zbs-title { max-width: none; }
}
@media (max-width: 600px) {
  body .zbs-copy { padding: 22px 16px 44px; }
  body .zbs-btns .zbs-btn { flex: 1 1 100%; }
  body .zbs-hero button.zbs-bar { width: 22px; }
  body .zbs-count { display: none; }
  body .zbs-ctl { gap: 8px; right: 10px; top: 10px; }
  body .zbs-hero button.zbs-pp { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  body .zbs-slide, body .zbs-hero a.zbs-btn { transition: none; }
  body .zbs-bar.on span { animation: none; width: 100%; }
}
