:root {
  --bg: #0D0D0D;
  --panel: #232A1C;
  --line: #3A4030;
  --ink: #FFFFFF;
  --muted: #A6B0A0;
  --acid: #EDEE3E;
  --sage: #C6D2C6;
  --clay: #BF6455;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html.st-locked,
html.st-locked body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

[data-sw-seo] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.st-root {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 12% 0%, rgba(237, 238, 62, 0.10), transparent 62%),
    radial-gradient(60% 50% at 92% 8%, rgba(35, 42, 28, 0.85), transparent 66%),
    var(--bg);
}

/* ------------------------------------------------------------------ top bar */

.st-topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1.8vh, 20px) clamp(18px, 4vw, 40px);
}

.st-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.st-brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.st-brand__name em { font-style: normal; color: var(--acid); }

.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-decoration: none;
  padding: 11px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.st-btn--primary { background: var(--acid); color: #0D0D0D; }
.st-btn--primary:hover { background: #F5F663; }
.st-btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.st-btn--ghost:hover { border-color: var(--acid); color: var(--acid); }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 3px; }

/* ------------------------------------------------------------------ heading */

.st-headzone {
  flex: 0.9 1 0%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(18px, 5vw, 40px) clamp(14px, 2.2vh, 26px);
}

.st-head {
  width: 100%;
  max-width: 62ch;
  text-align: center;
  opacity: 0;
  transform: translateY(calc(var(--dir, 1) * 30px));
}

.st-head.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 14px;
}
.st-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--acid); }

.st-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.1vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.st-body {
  margin: 14px auto 0;
  max-width: 58ch;
  font-size: clamp(0.83rem, 1.05vw, 1rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------------------------------------------------------------------- nav */

.st-nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.st-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}
.st-nav__inner::-webkit-scrollbar { display: none; }

.st-nav__item {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  font-weight: 500;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px clamp(15px, 1.8vw, 26px);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.st-nav__item:hover { color: var(--ink); }
.st-nav__item.is-active { color: #0D0D0D; background: var(--acid); font-weight: 600; }

/* -------------------------------------------------------------------- panel */

/* No padding here — panels are absolutely positioned and would ignore it anyway
   (an abspos child resolves against the padding box). Insets live on .st-panel. */
.st-panelzone {
  position: relative;
  flex: 1.7 1 0%;
  min-height: 0;
}

.st-panel {
  position: absolute;
  inset: clamp(14px, 2vh, 24px) clamp(18px, 5vw, 40px) clamp(16px, 2.6vh, 30px);
  opacity: 0;
  transform: translateY(calc(var(--dir, 1) * 46px));
  pointer-events: none;
}

.st-panel.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: auto;
}

.st-panel.is-out {
  opacity: 0;
  transform: translateY(calc(var(--dir, 1) * -46px));
  transition: opacity 0.28s ease-in, transform 0.28s ease-in;
}

.st-card {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.st-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

/* Scrim keeps the overlay copy legible over any frame of the footage. */
.st-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.88) 42%, rgba(13, 13, 13, 0.28) 72%, rgba(13, 13, 13, 0) 100%),
    linear-gradient(to top, rgba(13, 13, 13, 0.6) 0%, transparent 42%);
}

.st-overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(20px, 3.4vw, 46px);
}

.st-overlay__fit {
  width: 100%;
  max-width: 52ch;
  transform-origin: left center;
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 22px);
}

.st-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.4vh, 14px);
}

.st-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  line-height: 1.55;
  color: var(--ink);
}

.st-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.st-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 11px;
  background: rgba(35, 42, 28, 0.6);
}

.st-note {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.st-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 860px) {
  .st-headzone { flex: 0.75 1 0%; }
  .st-scrim {
    background:
      linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.82) 46%, rgba(13, 13, 13, 0.25) 100%);
  }
  .st-overlay { align-items: flex-end; padding: clamp(16px, 4vw, 24px); }
  .st-overlay__fit { max-width: none; transform-origin: bottom left; }
  .st-btn { padding: 10px 16px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-head,
  .st-panel {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
