:root {
  color-scheme: dark;
  --bg: #050403;
  --surface: #0a0804;
  --gold: #efc64f;
  --gold-bright: #ffe89a;
  --gold-line: rgba(239, 198, 79, .36);
  --text: #fffdf6;
  --muted: #c9c3b6;
  --success: #34c281;
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  font-family: "Quicksand", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); }
button, a { font: inherit; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 20; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .75rem 1rem; background: var(--text); color: var(--bg); }
.skip-link:focus { transform: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; padding: 1rem var(--gutter); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand img { display: block; width: clamp(9rem, 14vw, 12rem); height: auto; }
.header-action { color: var(--gold-bright); font-weight: 700; text-decoration: none; }
.header-action span { margin-left: .45rem; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .82fr) minmax(32rem, 1.18fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); min-height: calc(100svh - 5.5rem); padding: clamp(4rem, 8vh, 7rem) var(--gutter); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(105deg, #050403 0 43%, rgba(5,4,3,.72) 63%, rgba(5,4,3,.28) 100%), url("assets/sidebar-bg.png") right center / min(38rem, 44vw) 100% no-repeat; opacity: .88; }
.ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.ambient-one { width: 28rem; height: 28rem; right: 11%; top: 9%; background: radial-gradient(circle, rgba(239,198,79,.13), transparent 69%); }
.ambient-two { width: 18rem; height: 18rem; left: -6rem; bottom: -7rem; background: radial-gradient(circle, rgba(52,194,129,.08), transparent 72%); }

.hero-copy { max-width: 40rem; }
.context { margin: 0 0 1rem; color: var(--gold); font-weight: 700; }
h1 { max-width: 11ch; margin: 0; font-size: clamp(3rem, 5.6vw, 5.8rem); line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
.lead { max-width: 61ch; margin: 1.7rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.7; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3.3rem; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.15rem; border-radius: 7px; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { border: 1px solid var(--gold); background: var(--gold); color: #171106; }
.button-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button-secondary { border: 1px solid var(--gold-line); background: transparent; color: var(--text); }
.button-secondary:hover { border-color: var(--gold); background: rgba(239,198,79,.06); }
.play-icon { font-size: .7rem; color: var(--gold); }
.connection-note { display: flex; align-items: center; gap: .65rem; margin-top: 1.4rem; color: var(--muted); font-size: .88rem; }
.connection-note span { width: .55rem; height: .55rem; flex: none; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(52,194,129,.12); }

.video-shell { max-width: 58rem; }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--gold-line); border-radius: 14px; background: #000; box-shadow: 0 8px 0 rgba(239,198,79,.09); }
.video-frame video, .video-poster, .video-poster img { width: 100%; height: 100%; }
.video-frame video { display: block; object-fit: cover; }
.video-poster { position: relative; display: block; padding: 0; border: 0; background: #000; color: var(--text); cursor: pointer; }
.video-poster img { display: block; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.62)); }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; width: 4.6rem; height: 4.6rem; place-items: center; transform: translate(-50%,-50%); border: 1px solid var(--gold); border-radius: 50%; background: rgba(5,4,3,.84); color: var(--gold-bright); font-size: 1.35rem; padding-left: .2rem; transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease; }
.video-poster:hover .video-play { transform: translate(-50%,-50%) scale(1.06); background: #151006; }
.video-label { position: absolute; right: 1rem; bottom: 1rem; padding: .5rem .7rem; border-radius: 5px; background: rgba(0,0,0,.76); color: var(--gold-bright); font-size: .78rem; font-weight: 700; }
.video-shell > p { max-width: 58ch; margin: .85rem 0 0; color: var(--muted); font-size: .9rem; }

.partner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); background: var(--surface); }
.partner-copy p { margin: 0; }
.partner-copy p:first-child { color: var(--text); font-size: 1.12rem; font-weight: 700; }
.partner-copy p:last-child { margin-top: .35rem; color: var(--muted); }
.partner-link { display: flex; align-items: center; gap: 1rem; min-width: min(100%, 22rem); padding: .8rem 1rem; border: 1px solid var(--gold-line); border-radius: 10px; text-decoration: none; }
.partner-link:hover { border-color: var(--gold); }
.partner-logo-wrap { display: grid; width: 4.25rem; height: 3rem; flex: none; place-items: center; padding: .35rem; border-radius: 6px; background: white; }
.partner-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-link strong, .partner-link small { display: block; }
.partner-link small { margin-top: .15rem; color: var(--muted); }
.partner-arrow { margin-left: auto; color: var(--gold); font-size: 1.3rem; }

footer { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 1.5rem var(--gutter); color: #a9a397; font-size: .78rem; text-align: center; }
footer img { width: 1.75rem; height: 1.75rem; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero::before { background-size: 58rem 100%; background-position: 100% 50%; opacity: .62; }
  .hero-copy { max-width: 48rem; }
  h1 { max-width: 12ch; }
  .video-shell { width: 100%; max-width: none; }
}

@media (max-width: 650px) {
  .site-header { min-height: 4.8rem; }
  .header-action { font-size: .84rem; }
  .hero { gap: 3rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .video-play { width: 3.8rem; height: 3.8rem; }
  .partner { align-items: stretch; flex-direction: column; }
  .partner-link { min-width: 0; width: 100%; }
  footer { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
