/* Homepage divisions: full-screen turbine with the flywheel as its control.
   Every rule is scoped to .zt-groups so Flatsome styles and this block never collide. */
.zt-groups {
  --zt-ink: #F3F5F8;
  --zt-muted: #B9C3D1;
  --zt-rule: rgba(255, 255, 255, .14);
  --zt-accent: #C8202F;
  --zt-hover: rgba(255, 255, 255, .06);
  --zt-chip: rgba(10, 18, 32, .72);
  --zt-sbw: 0px;
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
  min-height: clamp(700px, 100svh, 1040px);
  background: #0B1626;
  color: var(--zt-ink);
  font-family: inherit;
  overflow: hidden;
}
.zt-groups *, .zt-groups *::before, .zt-groups *::after { box-sizing: border-box; }
/* Edge to edge inside a boxed Flatsome row: add class zt-bleed */
.zt-groups.zt-bleed { width: calc(100vw - var(--zt-sbw)); max-width: none; left: 50%; margin-left: calc((100vw - var(--zt-sbw)) / -2); }

/* The scene fills the whole section; a scrim keeps the left panel readable */
.zt-groups .zt-stage { position: absolute; inset: 0; background: #0B1626; touch-action: pan-y; }
.zt-groups::before {
  content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: min(64%, 980px); pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 11, 21, .9) 0%, rgba(5, 11, 21, .74) 40%, rgba(5, 11, 21, 0) 100%);
}
.zt-groups .zt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.zt-groups .zt-canvas.zt-drag { cursor: grabbing; }

/* Left panel: title, flywheel, divisions */
.zt-groups .zt-panel {
  position: relative; z-index: 2; width: clamp(380px, 36vw, 520px);
  padding: clamp(40px, 7vh, 84px) 24px clamp(32px, 5vh, 56px) clamp(24px, 4.5vw, 72px);
  display: flex; flex-direction: column; pointer-events: none;
}
.zt-groups .zt-panel > * { pointer-events: auto; }

.zt-groups .zt-title { margin: 0; color: var(--zt-ink); font-size: clamp(36px, 3.5vw, 54px); line-height: 1.02; letter-spacing: -0.02em; text-transform: none; }
.zt-groups .zt-title span { display: block; transform-origin: 0 70%; }
.zt-groups .zt-t1 { font-weight: 800; }
.zt-groups .zt-t2 { font-weight: 300; }
.zt-groups .zt-lede { margin: 14px 0 0; color: var(--zt-muted); font-size: 16px; line-height: 1.55; max-width: 36ch; }

.zt-groups .zt-wheel {
  position: relative; flex: none; width: min(100%, 33vh, 340px); aspect-ratio: 1 / 1;
  margin: clamp(2px, 1vh, 12px) 0 clamp(2px, 1vh, 12px) -5%;
}
.zt-groups .zt-wheel[hidden] { display: none; }

.zt-groups .zt-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--zt-rule); }
.zt-groups .zt-list li { margin: 0; border-bottom: 1px solid var(--zt-rule); position: relative; list-style: none; transition: background .35s ease; }
.zt-groups .zt-list li::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px;
  background: var(--zt-accent); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.zt-groups .zt-list li.zt-on { background: rgba(255, 255, 255, .045); }
.zt-groups .zt-list li.zt-on::before { transform: scaleY(1); }

.zt-groups .zt-row {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid;
  grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px;
  width: 100%; min-height: 44px; padding: 11px 8px 11px 18px; font-family: inherit; text-align: left;
}
.zt-groups .zt-row:hover { background: var(--zt-hover); }
.zt-groups .zt-row:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -2px; }
.zt-groups .zt-name { font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--zt-ink); }
.zt-groups .zt-where { font-size: 13px; color: var(--zt-muted); white-space: nowrap; }
.zt-groups .zt-what { grid-column: 1 / -1; font-size: 14px; color: var(--zt-muted); }
.zt-js .zt-list .zt-what { display: none; }
.zt-js .zt-list .zt-on .zt-what { display: block; color: #FFFFFF; font-weight: 700; margin-top: 4px; }

.zt-groups .zt-more { display: grid; grid-template-rows: 1fr; }
.zt-groups .zt-more > div { overflow: hidden; }
.zt-groups .zt-more p { margin: 0 18px 6px; font-size: 15px; line-height: 1.55; max-width: 40ch; color: #D5DDE8; }
.zt-groups .zt-more a {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0 18px 10px;
  font-weight: 800; font-size: 15px; color: #FFFFFF; text-decoration: none;
  border-bottom: 2px solid var(--zt-accent);
}
.zt-groups .zt-more a:hover { color: #FFD7DA; }
.zt-groups .zt-more a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.zt-js .zt-more { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s ease, visibility 0s linear .4s; }
.zt-js .zt-on .zt-more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s ease; }

/* Labels pinned to the turbine */
.zt-groups .zt-pins { position: absolute; inset: 0; pointer-events: none; }
.zt-groups .zt-pin {
  all: unset; position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--zt-chip); color: var(--zt-ink);
  font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.2; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .3s ease, background .3s ease; will-change: transform;
}
.zt-groups .zt-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #FFFFFF; position: relative; flex: none; }
.zt-groups .zt-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); animation: zt-ping 2.4s ease-out infinite;
}
.zt-groups .zt-pin.zt-on { background: var(--zt-accent); }
.zt-groups .zt-pin.zt-on .zt-dot { background: #FFFFFF; }
.zt-groups .zt-pin.zt-dim { opacity: .45; }
.zt-groups .zt-pin:hover { opacity: 1; }
@keyframes zt-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.zt-groups .zt-whole {
  all: unset; position: absolute; right: clamp(16px, 3vw, 40px); top: clamp(16px, 3vh, 32px); z-index: 3; cursor: pointer;
  min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--zt-chip); color: var(--zt-ink);
  font-family: inherit; font-size: 14px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.zt-groups .zt-whole[hidden] { display: none; }
.zt-groups .zt-whole:focus-visible, .zt-groups .zt-pin:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.zt-groups .zt-hint {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vh, 28px); margin: 0; font-size: 13px;
  color: var(--zt-muted); pointer-events: none; transition: opacity .4s ease;
}
.zt-groups .zt-fallback {
  position: absolute; inset: 0 0 0 40%; display: none; align-items: center; justify-content: center;
  padding: 32px; text-align: center; color: var(--zt-muted);
}
.zt-groups.zt-nogl .zt-fallback { display: flex; }
.zt-groups.zt-nogl .zt-hint { display: none; }

/* Title entrance, in step with the flywheel spin-up */
.zt-js .zt-t1 { transform: scale(0); }
.zt-js .zt-t2 { opacity: 0; transform: translateX(22px); }
.zt-groups.zt-in .zt-t1 { animation: zt-pop 1.9s cubic-bezier(.2, .9, .25, 1) both; }
.zt-groups.zt-in .zt-t2 { animation: zt-slide .6s cubic-bezier(.16, 1, .3, 1) .92s both; }
@keyframes zt-pop { 0% { transform: scale(0); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes zt-slide { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

/* Phones and narrow tablets: title, scene, wheel overlapping the scene's lower edge, list */
@media (max-width: 899px) {
  .zt-groups { min-height: 0; display: flex; flex-direction: column; padding: 40px 20px 32px; }
  .zt-groups::before { display: none; }
  .zt-groups .zt-panel { display: contents; }
  .zt-groups .zt-title { order: 1; font-size: clamp(34px, 9vw, 44px); }
  .zt-groups .zt-lede { order: 2; }
  .zt-groups .zt-stage { position: relative; order: 3; height: min(60svh, 460px); margin-top: 24px; border-radius: 14px; overflow: hidden; }
  .zt-groups .zt-wheel { order: 4; z-index: 2; width: min(78vw, 300px); margin: -72px auto 4px; }
  .zt-groups .zt-list { order: 5; }
  .zt-groups .zt-hint { display: none; }
  .zt-groups .zt-whole { top: 12px; right: 12px; }
  .zt-groups .zt-fallback { inset: 0; }
  .zt-groups .zt-pin { font-size: 12px; padding: 4px 10px 4px 4px; gap: 6px; }
  .zt-groups .zt-dot { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .zt-groups .zt-dot::after { animation: none; }
  .zt-groups .zt-list li::before, .zt-js .zt-more { transition: none; }
  .zt-js .zt-t1, .zt-js .zt-t2 { transform: none; opacity: 1; animation: none !important; }
}
